Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
常超
founder_vue
Commits
b81e23fe
Commit
b81e23fe
authored
Dec 02, 2021
by
gao_yingdong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
路由跳转修改
parent
96d24af8
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
122 additions
and
67 deletions
+122
-67
src/layout/menuLayout.vue
+1
-1
src/router/modules/qgccj.js
+8
-0
src/views/hbyprw/hbyprw/queryHbyp.vue
+7
-7
src/views/hbyprw/hpyprwSp/hpyprwSp.vue
+1
-1
src/views/hbyprw/queryYpcp/queryYpcp.vue
+3
-3
src/views/queryLz/queryLz/queryLz.vue
+8
-8
src/views/queryLz/queryLz/zyyppg.vue
+7
-7
src/views/shse/fzth/fzth.vue
+0
-0
src/views/shse/fzth/queryFzth.vue
+39
-15
src/views/shse/shseaj/queryShseaj.vue
+5
-5
src/views/shse/shsexs/queryXsxx.vue
+4
-4
src/views/yhz/cxyhz/cxyhz.vue
+20
-14
src/views/yhz/cxyhz/yhzXz.vue
+19
-2
No files found.
src/layout/menuLayout.vue
View file @
b81e23fe
...
@@ -174,7 +174,7 @@ export default {
...
@@ -174,7 +174,7 @@ export default {
path
:
"zdryGl"
,
path
:
"zdryGl"
,
});
});
}
else
if
(
item
.
id
==
"queryYpzl"
)
{
}
else
if
(
item
.
id
==
"queryYpzl"
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/wfzdzczl"
,
path
:
"/wfzdzczl"
,
});
});
}
else
{
}
else
{
...
...
src/router/modules/qgccj.js
View file @
b81e23fe
...
@@ -515,6 +515,14 @@ const menuLayouts = [
...
@@ -515,6 +515,14 @@ const menuLayouts = [
component
:
()
=>
import
(
"@/views/shse/fzth/fzthxz.vue"
)
component
:
()
=>
import
(
"@/views/shse/fzth/fzthxz.vue"
)
},
},
{
{
path
:
"/fzth"
,
name
:
"fzth"
,
meta
:
{
title
:
'犯罪团伙信息'
},
component
:
()
=>
import
(
"@/views/shse/fzth/fzth.vue"
)
},
{
path
:
"/cf"
,
path
:
"/cf"
,
name
:
"cf"
,
name
:
"cf"
,
meta
:
{
meta
:
{
...
...
src/views/hbyprw/hbyprw/queryHbyp.vue
View file @
b81e23fe
...
@@ -822,7 +822,7 @@ export default {
...
@@ -822,7 +822,7 @@ export default {
},
},
methods
:
{
methods
:
{
add
()
{
add
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryAdd"
,
path
:
"/queryAdd"
,
});
});
},
},
...
@@ -895,7 +895,7 @@ export default {
...
@@ -895,7 +895,7 @@ export default {
}
}
},
},
toJj
(
scope
)
{
toJj
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/jjhcyp"
,
path
:
"/jjhcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -903,7 +903,7 @@ export default {
...
@@ -903,7 +903,7 @@ export default {
});
});
},
},
toFp
(
scope
)
{
toFp
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/fphcyp"
,
path
:
"/fphcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -987,7 +987,7 @@ export default {
...
@@ -987,7 +987,7 @@ export default {
});
});
},
},
edit
(
scope
)
{
edit
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryXg"
,
path
:
"/queryXg"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -995,7 +995,7 @@ export default {
...
@@ -995,7 +995,7 @@ export default {
});
});
},
},
toInfor
(
scope
)
{
toInfor
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHbyp"
,
path
:
"/detailHbyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
xxzjbh
:
scope
.
xxzjbh
,
...
@@ -1037,7 +1037,7 @@ export default {
...
@@ -1037,7 +1037,7 @@ export default {
if
(
res
.
code
==
200
&&
res
.
success
)
{
if
(
res
.
code
==
200
&&
res
.
success
)
{
this
.
$message
.
success
(
"导入成功"
);
this
.
$message
.
success
(
"导入成功"
);
this
.
revokeVisiable
=
false
;
this
.
revokeVisiable
=
false
;
this
.
$router
.
push
(
"queryZdjyhd"
);
this
.
$router
.
push
ToTab
(
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$bus
.
$emit
(
"routerPath"
);
this
.
$bus
.
$emit
(
"routerPath"
);
...
@@ -1058,7 +1058,7 @@ export default {
...
@@ -1058,7 +1058,7 @@ export default {
}
}
},
},
toCbyp
(
scoped
)
{
toCbyp
(
scoped
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/bshcb"
,
path
:
"/bshcb"
,
});
});
},
},
...
...
src/views/hbyprw/hpyprwSp/hpyprwSp.vue
View file @
b81e23fe
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
});
});
},
},
toInfor
(
scope
)
{
toInfor
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHbyp"
,
path
:
"/detailHbyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
xxzjbh
:
scope
.
xxzjbh
,
...
...
src/views/hbyprw/queryYpcp/queryYpcp.vue
View file @
b81e23fe
...
@@ -468,7 +468,7 @@ export default {
...
@@ -468,7 +468,7 @@ export default {
},
},
methods
:
{
methods
:
{
add
()
{
add
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryAdd"
,
path
:
"/queryAdd"
,
});
});
},
},
...
@@ -641,7 +641,7 @@ export default {
...
@@ -641,7 +641,7 @@ export default {
});
});
},
},
toInfor
(
scope
)
{
toInfor
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHbyp"
,
path
:
"/detailHbyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
xxzjbh
:
scope
.
xxzjbh
,
...
@@ -650,7 +650,7 @@ export default {
...
@@ -650,7 +650,7 @@ export default {
},
},
tohqhcp
(
scope
)
{
tohqhcp
(
scope
)
{
debugger
;
debugger
;
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHcypcp"
,
path
:
"/detailHcypcp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
...
src/views/queryLz/queryLz/queryLz.vue
View file @
b81e23fe
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
},
},
methods
:
{
methods
:
{
add
()
{
add
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryAdd"
,
path
:
"/queryAdd"
,
});
});
},
},
...
@@ -257,7 +257,7 @@ export default {
...
@@ -257,7 +257,7 @@ export default {
}
}
},
},
toJj
(
scope
)
{
toJj
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/jjhcyp"
,
path
:
"/jjhcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -265,7 +265,7 @@ export default {
...
@@ -265,7 +265,7 @@ export default {
});
});
},
},
toFp
(
scope
)
{
toFp
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/fphcyp"
,
path
:
"/fphcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -277,7 +277,7 @@ export default {
...
@@ -277,7 +277,7 @@ export default {
this
.
dialogVisibleFk
=
true
;
this
.
dialogVisibleFk
=
true
;
},
},
toSq
(
scope
)
{
toSq
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryspAdd"
,
path
:
"/queryspAdd"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
xxzjbh
:
scope
.
row
.
xxzjbh
...
@@ -355,7 +355,7 @@ export default {
...
@@ -355,7 +355,7 @@ export default {
});
});
},
},
edit
(
scope
)
{
edit
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryXg"
,
path
:
"/queryXg"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -363,7 +363,7 @@ export default {
...
@@ -363,7 +363,7 @@ export default {
});
});
},
},
toInfor
(
scope
)
{
toInfor
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHbyp"
,
path
:
"/detailHbyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
xxzjbh
:
scope
.
xxzjbh
,
...
@@ -372,7 +372,7 @@ export default {
...
@@ -372,7 +372,7 @@ export default {
},
},
tohqhcp
(
scope
)
{
tohqhcp
(
scope
)
{
debugger
debugger
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHcypcp"
,
path
:
"/detailHcypcp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -414,7 +414,7 @@ export default {
...
@@ -414,7 +414,7 @@ export default {
if
(
res
.
code
==
200
&&
res
.
success
)
{
if
(
res
.
code
==
200
&&
res
.
success
)
{
this
.
$message
.
success
(
"导入成功"
);
this
.
$message
.
success
(
"导入成功"
);
this
.
revokeVisiable
=
false
;
this
.
revokeVisiable
=
false
;
this
.
$router
.
push
(
"queryZdjyhd"
);
this
.
$router
.
push
ToTab
(
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$bus
.
$emit
(
"routerPath"
);
this
.
$bus
.
$emit
(
"routerPath"
);
...
...
src/views/queryLz/queryLz/zyyppg.vue
View file @
b81e23fe
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
},
},
methods
:
{
methods
:
{
add
()
{
add
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryAdd"
,
path
:
"/queryAdd"
,
});
});
},
},
...
@@ -446,7 +446,7 @@ export default {
...
@@ -446,7 +446,7 @@ export default {
}
}
},
},
toJj
(
scope
)
{
toJj
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/jjhcyp"
,
path
:
"/jjhcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -454,7 +454,7 @@ export default {
...
@@ -454,7 +454,7 @@ export default {
});
});
},
},
toFp
(
scope
)
{
toFp
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/fphcyp"
,
path
:
"/fphcyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -539,7 +539,7 @@ export default {
...
@@ -539,7 +539,7 @@ export default {
});
});
},
},
edit
(
scope
)
{
edit
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/queryXg"
,
path
:
"/queryXg"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -547,7 +547,7 @@ export default {
...
@@ -547,7 +547,7 @@ export default {
});
});
},
},
toInfor
(
scope
)
{
toInfor
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHbyp"
,
path
:
"/detailHbyp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
xxzjbh
,
xxzjbh
:
scope
.
xxzjbh
,
...
@@ -556,7 +556,7 @@ export default {
...
@@ -556,7 +556,7 @@ export default {
},
},
tohqhcp
(
scope
)
{
tohqhcp
(
scope
)
{
debugger
;
debugger
;
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/detailHcypcp"
,
path
:
"/detailHcypcp"
,
query
:
{
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
,
xxzjbh
:
scope
.
row
.
xxzjbh
,
...
@@ -598,7 +598,7 @@ export default {
...
@@ -598,7 +598,7 @@ export default {
if
(
res
.
code
==
200
&&
res
.
success
)
{
if
(
res
.
code
==
200
&&
res
.
success
)
{
this
.
$message
.
success
(
"导入成功"
);
this
.
$message
.
success
(
"导入成功"
);
this
.
revokeVisiable
=
false
;
this
.
revokeVisiable
=
false
;
this
.
$router
.
push
(
"queryZdjyhd"
);
this
.
$router
.
push
ToTab
(
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
sessionStorage
.
setItem
(
"routerPath"
,
"queryZdjyhd"
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
$bus
.
$emit
(
"routerPath"
);
this
.
$bus
.
$emit
(
"routerPath"
);
...
...
src/views/shse/fzth/fzth.vue
0 → 100644
View file @
b81e23fe
This diff is collapsed.
Click to expand it.
src/views/shse/fzth/queryFzth.vue
View file @
b81e23fe
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
ref=
"rightContent"
ref=
"rightContent"
>
>
<template
#
listOperation=
"scope"
>
<template
#
listOperation=
"scope"
>
<span
class=
"hbyps"
@
click=
"toAdd(scope.scope)"
>
新增
</span>
<span
class=
"hbyps"
@
click=
"toHb(scope.scope)"
>
合并
</span>
<span
class=
"hbyps"
@
click=
"toHb(scope.scope)"
>
合并
</span>
</
template
>
</
template
>
<
template
#
btnGroup=
"scope"
>
<
template
#
btnGroup=
"scope"
>
...
@@ -29,7 +30,7 @@
...
@@ -29,7 +30,7 @@
v-for=
"(columnTitle, index) in xsTableList"
v-for=
"(columnTitle, index) in xsTableList"
:key=
"index"
:key=
"index"
:label=
"columnTitle.label"
:label=
"columnTitle.label"
:width=
"columnTitle.width
"
align=
"center
"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
style=
"color: #555555"
>
<div
style=
"color: #555555"
>
...
@@ -37,13 +38,13 @@
...
@@ -37,13 +38,13 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"是否主团伙"
>
<el-table-column
label=
"是否主团伙"
align=
"center"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-radio
-group
v-model=
"scope.row.sfzth"
>
<el-radio
<!-- :disabled="scope.row.disabled" -->
v-model=
"radio"
<el-radio
:label=
"1"
>
是
</el-radio>
:label=
"scope.$index"
<el-radio
:label=
"0"
>
否
</el-radio>
@
change
.
native=
"getRadio(scope.row, scope.$index)"
</el-radio-group
>
></el-radio
>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -69,6 +70,7 @@ export default {
...
@@ -69,6 +70,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
radio
:
false
,
xsTableList
:
[
xsTableList
:
[
{
{
label
:
"团伙编号"
,
label
:
"团伙编号"
,
...
@@ -85,11 +87,6 @@ export default {
...
@@ -85,11 +87,6 @@ export default {
width
:
"145"
,
width
:
"145"
,
prop
:
"thtm"
,
prop
:
"thtm"
,
},
},
// {
// label: "是否主团伙",
// prop: "sfzth",
// width: "200",
// },
],
],
sfzth
:
""
,
sfzth
:
""
,
dialogVisible
:
false
,
dialogVisible
:
false
,
...
@@ -166,13 +163,15 @@ export default {
...
@@ -166,13 +163,15 @@ export default {
},
},
fileArr
:
[],
fileArr
:
[],
zdXxzjbh
:
""
,
zdXxzjbh
:
""
,
indexRadio
:
0
,
};
};
},
},
created
()
{
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
},
methods
:
{
methods
:
{
toCf
(
scope
)
{
getRadio
(
scope
,
index
)
{
this
.
indexRadio
=
index
;
debugger
;
debugger
;
},
},
selectionChange
(
row
)
{
selectionChange
(
row
)
{
...
@@ -197,10 +196,16 @@ export default {
...
@@ -197,10 +196,16 @@ export default {
},
},
// 确认合并
// 确认合并
handleHb
()
{
handleHb
()
{
debugger
;
let
params
=
new
FormData
();
let
params
=
new
FormData
();
this
.
xsShuju
.
forEach
((
item
,
index
)
=>
{
this
.
xsShuju
.
forEach
((
item
,
index
)
=>
{
params
.
append
(
"th"
+
"["
+
index
+
"]"
+
".thbh"
,
item
.
thbh
);
params
.
append
(
"th"
+
"["
+
index
+
"]"
+
".thbh"
,
item
.
thbh
);
params
.
append
(
"th"
+
"["
+
index
+
"]"
+
".sfzth"
,
item
.
sfzth
);
params
.
append
(
"th"
+
"["
+
index
+
"]"
+
".sfzth"
,
index
==
this
.
indexRadio
?
"1"
:
"0"
);
console
.
log
(
index
==
this
.
indexRadio
?
"1"
:
"0"
);
});
});
hbThajxyr
(
params
).
then
((
res
)
=>
{
hbThajxyr
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
...
@@ -215,13 +220,27 @@ export default {
...
@@ -215,13 +220,27 @@ export default {
},
},
thxq
(
scope
)
{
thxq
(
scope
)
{
debugger
;
debugger
;
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/xq"
,
path
:
"/xq"
,
query
:
{
query
:
{
thbh
:
scope
.
row
.
thbh
,
thbh
:
scope
.
row
.
thbh
,
},
},
});
});
},
},
toAdd
()
{
this
.
$router
.
pushToTab
({
path
:
"/fzth"
,
});
},
},
mounted
()
{},
watch
:
{
xsShuju
:
{
handler
(
val
,
old
)
{
debugger
;
},
},
deep
:
true
,
},
},
};
};
</
script
>
</
script
>
...
@@ -273,6 +292,11 @@ export default {
...
@@ -273,6 +292,11 @@ export default {
}
}
</
style
>
</
style
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-radio__label
{
font-size
:
14px
;
padding-left
:
10px
;
display
:
none
;
}
.el-form-item
{
.el-form-item
{
margin
:
15px
0
20px
0
;
margin
:
15px
0
20px
0
;
}
}
...
...
src/views/shse/shseaj/queryShseaj.vue
View file @
b81e23fe
...
@@ -87,11 +87,11 @@ export default {
...
@@ -87,11 +87,11 @@ export default {
prop
:
"ajmc"
,
prop
:
"ajmc"
,
width
:
"200"
,
width
:
"200"
,
},
},
{
//
{
label
:
"接警编号"
,
//
label: "接警编号",
prop
:
"jjbh"
,
//
prop: "jjbh",
width
:
"200"
,
//
width: "200",
},
//
},
{
{
label
:
"发现时间"
,
label
:
"发现时间"
,
prop
:
"fxasjsj"
,
prop
:
"fxasjsj"
,
...
...
src/views/shse/shsexs/queryXsxx.vue
View file @
b81e23fe
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
},
},
methods
:
{
methods
:
{
toInfor
(
obj
)
{
toInfor
(
obj
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
'/xsxq'
,
path
:
'/xsxq'
,
query
:
{
query
:
{
shsexsbh
:
obj
.
shsexsbh
shsexsbh
:
obj
.
shsexsbh
...
@@ -194,7 +194,7 @@ export default {
...
@@ -194,7 +194,7 @@ export default {
});
});
},
},
add
()
{
add
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/xsxxxz"
,
path
:
"/xsxxxz"
,
});
});
},
},
...
@@ -225,7 +225,7 @@ export default {
...
@@ -225,7 +225,7 @@ export default {
});
});
},
},
toXg
(
scope
)
{
toXg
(
scope
)
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
"/xsxxxz"
,
path
:
"/xsxxxz"
,
query
:
{
query
:
{
shsexsbh
:
scope
.
row
.
shsexsbh
,
shsexsbh
:
scope
.
row
.
shsexsbh
,
...
@@ -237,7 +237,7 @@ export default {
...
@@ -237,7 +237,7 @@ export default {
this
.
slect
=
row
;
this
.
slect
=
row
;
},
},
toXf
()
{
toXf
()
{
this
.
$router
.
push
({
this
.
$router
.
push
ToTab
({
path
:
'/wfzdzczl'
path
:
'/wfzdzczl'
})
})
},
},
...
...
src/views/yhz/cxyhz/cxyhz.vue
View file @
b81e23fe
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
:cxUrl=
"cxUr2"
:cxUrl=
"cxUr2"
@
selectionChange=
"selectionChange"
@
selectionChange=
"selectionChange"
@
onSelect=
"onSelect"
@
onSelect=
"onSelect"
@
getRadio=
"getRadio"
></eldialog-content>
></eldialog-content>
<div
slot=
"footer"
class=
"dialog-footer"
>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
<el-button
...
@@ -86,6 +87,7 @@ export default {
...
@@ -86,6 +87,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
indexRadio
:
0
,
jjlyJyqk
:
""
,
jjlyJyqk
:
""
,
sfjsPdbz
:
""
,
sfjsPdbz
:
""
,
dialogFormYq
:
false
,
dialogFormYq
:
false
,
...
@@ -169,10 +171,10 @@ export default {
...
@@ -169,10 +171,10 @@ export default {
label
:
"用户手机"
,
label
:
"用户手机"
,
prop
:
"telephone"
,
prop
:
"telephone"
,
},
},
{
//
{
label
:
"用户单位代码"
,
//
label: "用户单位代码",
prop
:
"unitcode"
,
//
prop: "unitcode",
},
//
},
{
{
label
:
"用户单位名称"
,
label
:
"用户单位名称"
,
prop
:
"unitname"
,
prop
:
"unitname"
,
...
@@ -238,7 +240,10 @@ export default {
...
@@ -238,7 +240,10 @@ export default {
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
toInfor
()
{},
getRadio
(
scope
,
index
)
{
this
.
indexRadio
=
index
;
},
toInfor
()
{},
dialogBcYQ
()
{
dialogBcYQ
()
{
jsYhzYq
({
jsYhzYq
({
sfjsPdbz
:
this
.
sfjsPdbz
,
sfjsPdbz
:
this
.
sfjsPdbz
,
...
@@ -322,13 +327,13 @@ export default {
...
@@ -322,13 +327,13 @@ export default {
debugger
;
debugger
;
}
}
},
},
onSelect
(
rows
,
row
)
{
onSelect
(
rows
,
row
)
{
debugger
debugger
;
let
selected
=
rows
.
length
&&
rows
.
indexOf
(
row
)
!=
-
1
let
selected
=
rows
.
length
&&
rows
.
indexOf
(
row
)
!=
-
1
;
if
(
selected
==
true
)
{
//
if (selected == true) {
this
.
dialogForm
=
true
;
//
this.dialogForm = true;
}
//
}
},
},
// 保存
// 保存
dialogBc
()
{
dialogBc
()
{
...
@@ -345,10 +350,11 @@ export default {
...
@@ -345,10 +350,11 @@ export default {
params
.
append
(
`userList[
${
index
}
].yhLxdh`
,
item
.
telephone
);
params
.
append
(
`userList[
${
index
}
].yhLxdh`
,
item
.
telephone
);
params
.
append
(
`userList[
${
index
}
].yhDwdm`
,
item
.
unitcode
);
params
.
append
(
`userList[
${
index
}
].yhDwdm`
,
item
.
unitcode
);
params
.
append
(
`userList[
${
index
}
].yhDwmc`
,
item
.
unitname
);
params
.
append
(
`userList[
${
index
}
].yhDwmc`
,
item
.
unitname
);
params
.
append
(
`userList[
${
index
}
].yhJb`
,
index
==
this
.
indexRadio
?
'0001'
:
'0000'
);
});
});
this
.
selectedId1
.
forEach
((
item
,
index
)
=>
{
//
this.selectedId1.forEach((item, index) => {
params
.
append
(
`userList[
${
index
}
].yhJb`
,
item
.
radio
);
//
params.append(`userList[${index}].yhJb`, item.radio);
});
//
});
saveNewYhz
(
params
).
then
((
res
)
=>
{
saveNewYhz
(
params
).
then
((
res
)
=>
{
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
$message
({
this
.
$message
({
...
...
src/views/yhz/cxyhz/yhzXz.vue
View file @
b81e23fe
...
@@ -317,6 +317,15 @@
...
@@ -317,6 +317,15 @@
</div>
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"负责人"
align=
"center"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<el-radio
v-model=
"radio"
:label=
"scope.$index"
@
change
.
native=
"getRadio(scope.row, scope.$index)"
></el-radio>
</
template
>
</el-table-column>
</el-table>
</el-table>
<!--分页-->
<!--分页-->
<el-pagination
<el-pagination
...
@@ -377,6 +386,7 @@ export default {
...
@@ -377,6 +386,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
radio
:
false
,
srcList
:
[],
srcList
:
[],
tagType
:
[
"danger"
,
"success"
,
"warning"
,
"info"
,
""
],
tagType
:
[
"danger"
,
"success"
,
"warning"
,
"info"
,
""
],
tPage
:
null
,
tPage
:
null
,
...
@@ -473,6 +483,9 @@ export default {
...
@@ -473,6 +483,9 @@ export default {
self
.
doQuery
(
"yes"
);
self
.
doQuery
(
"yes"
);
},
},
methods
:
{
methods
:
{
getRadio
(
scope
,
index
)
{
this
.
$emit
(
"getRadio"
,
scope
,
index
);
},
change
(
scope
)
{
change
(
scope
)
{
debugger
;
debugger
;
},
},
...
@@ -492,8 +505,7 @@ export default {
...
@@ -492,8 +505,7 @@ export default {
this
.
$emit
(
"selectionChange"
,
row
);
this
.
$emit
(
"selectionChange"
,
row
);
},
},
onSelect
(
rows
,
row
)
{
onSelect
(
rows
,
row
)
{
this
.
$emit
(
"onSelect"
,
rows
,
row
);
this
.
$emit
(
"onSelect"
,
rows
,
row
);
},
},
EditCode
()
{
EditCode
()
{
var
self
=
this
;
var
self
=
this
;
...
@@ -1039,6 +1051,11 @@ export default {
...
@@ -1039,6 +1051,11 @@ export default {
}
}
</
style
>
</
style
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
/
deep
/
.el-radio__label
{
font-size
:
14px
;
padding-left
:
10px
;
display
:
none
;
}
@import
"@/assets/styles/rightContent.scss"
;
@import
"@/assets/styles/rightContent.scss"
;
.el-dropdown-menu
{
.el-dropdown-menu
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment