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
1414a812
Commit
1414a812
authored
Dec 13, 2021
by
叶富雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加路由
parent
61829021
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
138 additions
and
4 deletions
+138
-4
src/api/jcyjzxt/hmd.js
+9
-0
src/views/jcyjzxt/lkyj.vue
+129
-4
No files found.
src/api/jcyjzxt/hmd.js
View file @
1414a812
...
...
@@ -27,3 +27,12 @@ export const selectTbStJcyjgk = params =>
//列控预警更新
export
const
updateTbStJcyjgk
=
params
=>
postform
(
`
${
base
.
alyIP2
}
/jcyj/updateTbStJcyjgk`
,
params
);
//人员涉及案件信息
export
const
getAsjListByZjhm
=
params
=>
postform
(
`
${
base
.
alyIP2
}
/qgasj/getAsjListByZjhm`
,
params
);
//标识号涉案信息
export
const
getDzAjByBsh
=
params
=>
postform
(
`
${
base
.
alyIP2
}
/qgasj/getDzAjByBsh`
,
params
);
//同案人员信息
export
const
getTaryByZjhm
=
params
=>
postform
(
`
${
base
.
alyIP2
}
/qgasj/getTaryByZjhm`
,
params
);
src/views/jcyjzxt/lkyj.vue
View file @
1414a812
...
...
@@ -11,22 +11,59 @@
@
edit=
"edit"
@
dele=
"dele"
@
add=
"add"
@
selectionChange=
"selectionChange"
ref=
"rightContent"
>
<template
#
listOperation=
"scope"
>
<el-button
@
click=
"ajaf(scope.scope)"
size=
"mini"
>
案件案发
</el-button>
<el-button
@
click=
"sary(scope.scope)"
size=
"mini"
>
涉案人员
</el-button>
<el-button
@
click=
"toRouter('path')"
size=
"mini"
>
高危群体
</el-button>
<el-button
@
click=
"toRouter('path')"
size=
"mini"
>
涉案电话
</el-button>
<el-button
@
click=
"toRouter('path')"
size=
"mini"
>
异常资金流动
</el-button>
</
template
>
<
template
#
btnGroup=
"scope"
>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
删除
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
案件案发
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
高危群体
</el-button>
<el-button
@
click=
"dele(scope.scope)"
type=
"text"
>
案件案发
</el-button>
</
template
>
</right-content>
<el-dialog
title=
""
:visible
.
sync=
"getAsjListByZjhShow"
width=
"80%"
center
>
<el-table
:data=
"getAsjListByZjhmList"
style=
"width: 100%"
>
<el-table-column
prop=
"asjbh"
label=
"案件编号"
width=
"300"
></el-table-column>
<el-table-column
prop=
"ajmc"
label=
"案件名称"
></el-table-column>
<el-table-column
prop=
"ajlbdmStr"
label=
"案件类别"
></el-table-column>
<el-table-column
prop=
"afsj"
label=
"案发时间"
></el-table-column>
<el-table-column
prop=
"ladwGajgjgdmStr"
label=
"立案单位"
></el-table-column>
<el-table-column
prop=
"jyaq"
label=
"简要案情"
></el-table-column>
</el-table>
</el-dialog>
<el-dialog
title=
""
:visible
.
sync=
"getTaryByZjhmShow"
width=
"80%"
center
>
<el-table
:data=
"getTaryByZjhmList"
style=
"width: 100%"
>
<el-table-column
prop=
"xm"
label=
"姓名"
width=
"300"
></el-table-column>
<el-table-column
prop=
"xbdmStr"
label=
"性别"
></el-table-column>
<el-table-column
prop=
"gmsfzh"
label=
"身份证号码"
></el-table-column>
<el-table-column
prop=
"csrq"
label=
"出生日期"
></el-table-column>
<el-table-column
prop=
"hjdzXzqhdmStr"
label=
"户籍地区划"
></el-table-column>
<el-table-column
prop=
"lxdh"
label=
"联系电话"
></el-table-column>
</el-table>
</el-dialog>
</div>
</template>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deleteTbStJcyjgk
}
from
"@/api/jcyjzxt/hmd.js"
;
import
{
deleteTbStJcyjgk
,
getAsjListByZjhm
,
getDzAjByBsh
,
getTaryByZjhm
}
from
"@/api/jcyjzxt/hmd.js"
;
export
default
{
name
:
"rlqbxsxx"
,
...
...
@@ -35,6 +72,8 @@
},
data
()
{
return
{
selectedId
:[],
SJLYLIST
:[],
tableOperationWidth
:
200
,
header
:
"列控预警信息列表"
,
pageBs
:
"lkyj"
,
...
...
@@ -112,12 +151,80 @@
disabled
:
false
,
},
],
getAsjListByZjhShow
:
false
,
getAsjListByZjhmList
:[],
getTaryByZjhmShow
:
false
,
getTaryByZjhmList
:[],
};
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
},
methods
:
{
ajaf
(){
if
(
!
this
.
selectedId
.
length
){
this
.
$message
.
warning
(
'请选择'
)
return
}
if
(
this
.
selectedId
.
length
>
1
){
this
.
$message
.
warning
(
'只能单选'
)
return
}
let
paramas
=
new
FormData
();
console
.
log
(
this
.
SJLYLIST
);
if
(
this
.
SJLYLIST
[
0
]
===
'01'
||
this
.
SJLYLIST
[
0
]
===
'03'
)
{
paramas
.
append
(
'zjhm'
,
this
.
selectedId
[
0
]);
getAsjListByZjhm
(
paramas
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
this
.
getAsjListByZjhmList
=
res
.
data
.
rows
;
this
.
getAsjListByZjhShow
=
true
}
else
{
this
.
$message
.
warning
(
res
.
message
)
}
})
}
else
{
paramas
.
append
(
'bshm'
,
this
.
selectedId
[
0
])
getDzAjByBsh
(
paramas
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
this
.
getAsjListByZjhmList
=
res
.
data
.
rows
;
this
.
getAsjListByZjhShow
=
true
}
else
{
this
.
$message
.
warning
(
res
.
message
)
}
})
}
},
sary
(){
if
(
!
this
.
selectedId
.
length
){
this
.
$message
.
warning
(
'请选择'
);
return
}
if
(
this
.
selectedId
.
length
>
1
){
this
.
$message
.
warning
(
'只能单选'
);
return
}
let
paramas
=
new
FormData
();
/*getTaryByZjhm */
paramas
.
append
(
'zjhm'
,
this
.
selectedId
[
0
]);
getTaryByZjhm
(
paramas
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
this
.
getTaryByZjhmShow
=
true
;
this
.
getTaryByZjhmList
=
res
.
data
.
rows
;
}
})
},
selectionChange
(
row
){
if
(
row
.
length
>
1
){
this
.
$message
.
warning
(
'只能单选'
)
return
};
this
.
selectedId
=
[
row
[
0
].
yjxx
];
this
.
SJLYLIST
=
[
row
[
0
].
sjly
];
},
select
(
row
)
{
console
.
log
(
row
);
},
add
(){
this
.
$router
.
push
({
path
:
'/lkyjAdd'
...
...
@@ -129,6 +236,23 @@
query
:
{
xxzjbh
:
scope
.
row
.
xxzjbh
},
});
},
toRouter
(
path
){
if
(
!
this
.
selectedId
.
length
){
this
.
$message
.
warning
(
'请选择'
);
return
}
if
(
this
.
selectedId
.
length
>
1
){
this
.
$message
.
warning
(
'只能单选'
);
return
}
let
params
=
this
.
selectedId
[
0
];
this
.
$router
.
push
({
path
:
path
,
query
:{
sfz
:
params
}
})
},
dele
(
scope
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -161,6 +285,7 @@
},
mounted
()
{
},
watch
:{}
};
</
script
>
<
style
>
...
...
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