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
663a4c4e
Commit
663a4c4e
authored
Sep 10, 2021
by
liyuhang19990520
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
违法犯罪
parent
7386809d
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
639 additions
and
11 deletions
+639
-11
src/api/xxtk/wffzjl.js
+29
-0
src/router/modules/xxtk.js
+19
-1
src/utils/params.js
+147
-1
src/views/xxtk/gzry/queryGzry.vue
+11
-6
src/views/xxtk/wffzjl/addWffzjl.vue
+141
-0
src/views/xxtk/wffzjl/detailWffzjl.vue
+238
-0
src/views/xxtk/wffzjl/queryWffzjl.vue
+54
-3
No files found.
src/api/xxtk/wffzjl.js
0 → 100644
View file @
663a4c4e
/*
* @Author: your name
* @Date: 2021-09-01 10:46:56
* @LastEditTime: 2021-09-10 10:22:29
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\api\bkwpxx.js
*/
import
{
get
,
post
,
postform
}
from
"@/utils/http.js"
;
import
base
from
"@/api/base"
;
//人员违法犯罪经历信息采集模块
export
const
insertgzryWffzjl
=
params
=>
postform
(
`
${
base
.
alyIP
}
/gzryWffzjl/insertgzryWffzjl`
,
params
);
//人员违法犯罪经历信息修改模块
export
const
updategzryWffzjl
=
params
=>
postform
(
`
${
base
.
alyIP
}
/gzryWffzjl/updategzryWffzjl`
,
params
);
//人员违法犯罪经历删除模块
export
const
deletegzryWffzjlById
=
params
=>
post
(
`
${
base
.
alyIP
}
/gzryWffzjl/deletegzryWffzjlById`
,
params
);
//查询人员违法犯罪详情信息
export
const
selectWffzjlById
=
params
=>
post
(
`
${
base
.
alyIP
}
/gzryWffzjl/selectWffzjlById`
,
params
);
src/router/modules/xxtk.js
View file @
663a4c4e
...
...
@@ -82,11 +82,29 @@ const menuLayouts = [
path
:
"/queryWffzjl"
,
name
:
"queryWffzjl"
,
meta
:
{
title
:
'违法犯罪信息
管理
'
title
:
'违法犯罪信息
列表
'
},
component
:
()
=>
import
(
"@/views/xxtk/wffzjl/queryWffzjl.vue"
)
},
{
path
:
"/addWffzjl"
,
name
:
"addWffzjl"
,
meta
:
{
title
:
'违法犯罪信息管理'
,
isAdd
:
true
},
component
:
()
=>
import
(
"@/views/xxtk/wffzjl/addWffzjl.vue"
)
},
{
path
:
"/detailWffzjl"
,
name
:
"detailWffzjl"
,
meta
:
{
title
:
'违法犯罪信息详情'
,
isAdd
:
true
},
component
:
()
=>
import
(
"@/views/xxtk/wffzjl/detailWffzjl.vue"
)
},
{
path
:
"/querySwtz"
,
name
:
"querySwtz"
,
meta
:
{
...
...
src/utils/params.js
View file @
663a4c4e
/*
* @Author: your name
* @Date: 2021-09-07 15:09:40
* @LastEditTime: 2021-09-
09 10:52:04
* @LastEditTime: 2021-09-
10 11:13:10
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\utils\params.js
...
...
@@ -1158,3 +1158,148 @@ export const ryqtsf = [
codeTree
:
"CODE_IF"
,
},
]
//人员违法犯罪记录
export
const
wffzjl
=
[
{
name
:
"案件类别:"
,
id
:
"wffzjlAjlbdm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_AJLB_MIS"
,
},
{
name
:
"证件号码:"
,
id
:
"zjhm"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"常用证件:"
,
id
:
"cyzjCyzjdm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_ZJ"
,
},
{
name
:
"补充描述:"
,
id
:
"cyzjDmbcms"
,
type
:
"textarea"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"18"
,
},
{
name
:
"违法犯罪经历:"
,
id
:
"wffzjlWffzjldm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_WFFZJL"
,
},
{
name
:
"违法犯罪经历描述:"
,
id
:
"wffzjlWffzjlms"
,
type
:
"textarea"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"18"
,
},
{
name
:
"处理日期:"
,
id
:
"wffzjlClrq"
,
type
:
"dates"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"处理单位:"
,
id
:
"wffzjlCldwGajgjgdm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"QGCODE_UNIT"
,
},
{
name
:
"处理单位名称:"
,
id
:
"wffzjlCldwGajgmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"执行地点区划:"
,
id
:
"wffzjlZxddXzqhdm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"执行地点详址:"
,
id
:
"wffzjlZxddDzmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
},
{
name
:
"共同犯罪犯罪嫌疑人涉案地位作用:"
,
id
:
"wffzjlGtfzfzxyrsadwzydm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"CODE_GTFZFZXYRSADWZY"
,
},
{
name
:
"立案日期:"
,
id
:
"wffzjlLarq"
,
type
:
"dates"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"立案单位公安机关机构:"
,
id
:
"wffzjlLadwGajgjgdm"
,
type
:
"codeTree"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"2"
,
codeOptions
:
[],
codeTree
:
"QGCODE_UNIT"
,
},
{
name
:
"立案单位公安机关名称:"
,
id
:
"wffzjlLadwGajgmc"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
{
name
:
"违法犯罪经历案事件编号:"
,
id
:
"wffzjlAsjbh"
,
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入"
,
col
:
"2"
,
},
]
\ No newline at end of file
src/views/xxtk/gzry/queryGzry.vue
View file @
663a4c4e
...
...
@@ -23,14 +23,16 @@ export default {
},
data
()
{
return
{
header
:
'刑嫌调控工作管理'
,
//头部标题 (模块第一个页面需要)
header
:
"刑嫌调控工作管理"
,
//头部标题 (模块第一个页面需要)
pageBs
:
"gzrygl"
,
//页面名称
cxFormData
:
{
//查询条件
cxFormData
:
{
//查询条件
// lkPdbz: "2",
limit
:
10
,
page
:
1
,
},
cxQueryField
:
[
//查询条件
cxQueryField
:
[
//查询条件
{
name
:
"姓名"
,
id
:
"xm"
,
...
...
@@ -135,7 +137,8 @@ export default {
col
:
"3"
,
},
],
cxDefaultFormThead
:
[
//table 展示
cxDefaultFormThead
:
[
//table 展示
{
label
:
"姓名"
,
prop
:
"xm"
,
...
...
@@ -168,7 +171,8 @@ export default {
},
],
cxUrl
:
"/xxgzry/selectGzry"
,
//列表查询接口
Menu
:
[
//头部导航(模块第一个页面需要)
Menu
:
[
//头部导航(模块第一个页面需要)
{
id
:
"queryGzry"
,
label
:
"刑嫌对象"
,
...
...
@@ -322,7 +326,8 @@ export default {
disabled
:
false
,
},
],
leftMenus
:
[
//左侧导航(模块第一个页面需要)
leftMenus
:
[
//左侧导航(模块第一个页面需要)
{
id
:
"queryGzry"
,
label
:
"刑嫌列控管理"
,
...
...
src/views/xxtk/wffzjl/addWffzjl.vue
0 → 100644
View file @
663a4c4e
<
template
>
<div>
<form-compontent
:formField=
"propFormField"
:formLabelAligns=
"formLabelAlign"
@
submit=
"submit"
>
</form-compontent>
</div>
</
template
>
<
script
>
import
formCompontent
from
"@c/form.vue"
;
import
{
insertgzryWffzjl
,
updategzryWffzjl
,
selectWffzjlById
,
}
from
"@/api/xxtk/wffzjl.js"
;
import
{
wffzjl
}
from
"@/utils/params.js"
;
export
default
{
name
:
"addGzry"
,
components
:
{
formCompontent
,
},
data
()
{
return
{
propFormField
:
[
//基本信息
{
title
:
"新增违法犯罪记录"
,
id
:
1
,
objStr
:
""
,
index
:
0
,
data
:
wffzjl
,
},
],
formLabelAlign
:
{},
breadcrumbList
:
[
{
name
:
"刑嫌列控管理"
,
to
:
"/queryGzry"
,
isActive
:
false
,
},
{
name
:
"违法犯罪信息列表"
,
to
:
"/queryWffzjl"
,
isActive
:
false
,
},
{
name
:
this
.
$route
.
query
.
xxzjbh
?
"修改违法犯罪记录"
:
"新增违法犯罪记录"
,
to
:
"/addQtsf"
,
isActive
:
true
,
},
],
};
},
methods
:
{
submit
(
params
)
{
let
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在保存..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
if
(
!
this
.
xxzjbh
)
{
this
.
addSubmit
(
params
,
loading
);
}
else
{
this
.
editSubmit
(
params
,
loading
);
}
},
addSubmit
(
params
,
loading
)
{
insertgzryWffzjl
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
$router
.
push
(
"queryWffzjl"
);
},
});
}
else
{
this
.
$message
.
error
(
"添加失败,请检查数据格式是否正确"
);
}
});
},
editSubmit
(
params
,
loading
)
{
params
.
append
(
"xxzjbh"
,
this
.
xxzjbh
);
updategzryWffzjl
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"保存成功!"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
type
:
"success"
,
callback
:
()
=>
{
loading
.
close
();
this
.
$router
.
push
(
"queryWffzjl"
);
},
});
}
else
{
this
.
$message
.
error
(
"添加失败,请检查数据格式是否正确"
);
}
});
},
getshuju
()
{
var
self
=
this
;
selectWffzjlById
({
xxzjbh
:
this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
wffzjl
;
self
.
propFormField
.
forEach
((
fieldItem
)
=>
{
if
(
fieldItem
.
data
&&
fieldItem
.
data
.
length
>
0
)
{
fieldItem
.
data
.
forEach
((
i
)
=>
{
this
.
$set
(
this
.
formLabelAlign
,
i
.
id
,
result
[
i
.
id
]);
});
}
this
.
$forceUpdate
();
});
self
.
$set
(
self
.
formLabelAlign
,
"editing"
,
true
);
self
.
$forceUpdate
();
});
setTimeout
(()
=>
{
self
.
loading
=
false
;
},
1000
);
},
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Breadcrumb"
,
this
.
breadcrumbList
);
if
(
this
.
$route
.
query
.
xxzjbh
)
{
this
.
$set
(
this
.
propFormField
[
0
],
"title"
,
"修改违法犯罪记录"
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getshuju
();
}
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
\ No newline at end of file
src/views/xxtk/wffzjl/detailWffzjl.vue
0 → 100644
View file @
663a4c4e
<!--
* @Author: your name
* @Date: 2021-08-31 09:52:33
* @LastEditTime: 2021-09-10 11:10:45
* @LastEditors: Please set LastEditors
* @Description: In User Settings Edit
* @FilePath: \founder_vue\src\views\hnksh\ceshi.vue
-->
<
template
>
<div
class=
"Content"
id=
"hmxsDetail"
>
<right-content
:cxQueryField=
"cxQueryField"
:pageObject=
"pageObject"
:pageFooterProps=
"pageFooterProps"
labelWidth=
"110px"
title=
"生物特征详情"
>
</right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/PersonInfor.vue"
;
import
{
selectWffzjlById
}
from
"@/api/xxtk/wffzjl.js"
;
import
axios
from
"@/utils/http.js"
;
export
default
{
name
:
"queryAj"
,
components
:
{
rightContent
,
},
data
()
{
return
{
cxQueryField
:
[
{
label
:
"信息编号:"
,
prop
:
"xxzjbh"
,
col
:
"3"
,
},
{
label
:
"关联信息编号:"
,
prop
:
"glxxXxzjbh"
,
col
:
"3"
,
},
{
label
:
"常用证件:"
,
prop
:
"cyzjCyzjdm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"CODE_ZJ"
,
},
{
label
:
"常用证件补充描述:"
,
prop
:
"cyzjDmbcms"
,
col
:
"6"
,
},
{
label
:
"证件号码:"
,
prop
:
"zjhm"
,
col
:
"3"
,
},
{
label
:
"违法犯罪经历案事件编号:"
,
prop
:
"wffzjlAsjbh"
,
col
:
"3"
,
},
{
label
:
"共同犯罪犯罪嫌疑人涉案地位:"
,
prop
:
"wffzjlGtfzfzxyrsadwzydm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"CODE_GTFZFZXYRSADWZY"
,
},
{
label
:
"立案日期:"
,
prop
:
"wffzjlLarq"
,
col
:
"3"
,
},
{
label
:
"立案单位公安机关机构:"
,
prop
:
"wffzjlLadwGajgjgdm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"QGCODE_UNIT"
,
},
{
label
:
"立案单位公安机关名称:"
,
prop
:
"wffzjlLadwGajgmc"
,
col
:
"3"
,
},
{
label
:
"犯罪经历案件类别:"
,
prop
:
"wffzjlAjlbdm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"CODE_AJLB_MIS"
,
},
{
label
:
"违法犯罪经历:"
,
prop
:
"wffzjlWffzjldm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"CODE_WFFZJL"
,
},
{
label
:
"违法犯罪经历描述:"
,
prop
:
"wffzjlWffzjlms"
,
col
:
"6"
,
},
{
label
:
"违法犯罪经历处理日期:"
,
prop
:
"wffzjlClrq"
,
col
:
"3"
,
},
{
label
:
"违法犯罪经历处理单位:"
,
prop
:
"wffzjlCldwGajgjgdm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"QGCODE_UNIT"
,
},
{
label
:
"违法犯罪经历处理单位名称:"
,
prop
:
"wffzjlCldwGajgmc"
,
col
:
"3"
,
},
{
label
:
"违法犯罪经历执行地点:"
,
prop
:
"wffzjlZxddXzqhdm"
,
col
:
"3"
,
type
:
"codeTree"
,
codeTree
:
"CODE_XZQH"
,
},
{
label
:
"违法犯罪经历执行地点名称:"
,
prop
:
"wffzjlZxddDzmc"
,
col
:
"6"
,
},
],
pageFooterProps
:
[
{
label
:
"填表单位:"
,
prop
:
"xxdjdwGajgmc"
,
col
:
"3"
,
},
{
label
:
"填表人:"
,
prop
:
"xxdjryXm"
,
col
:
"3"
,
},
{
label
:
"填表时间:"
,
prop
:
"djsj"
,
col
:
"3"
,
},
],
defaultProps
:
{
parent
:
"parentId"
,
// 父级唯一标识
value
:
"id"
,
// 唯一标识
label
:
"label"
,
// 标签显示
children
:
"children"
,
// 子级
},
pageObject
:
{},
xxzjbh
:
""
,
breadcrumbList
:
[
{
name
:
"刑嫌列控管理"
,
to
:
"/queryGzry"
,
isActive
:
false
,
},
{
name
:
"违法犯罪信息列表"
,
to
:
"/queryWffzjl"
,
isActive
:
false
,
},
{
name
:
"违法犯罪信息详情"
,
to
:
"/detailWffzjl"
,
isActive
:
true
,
},
],
};
},
mounted
()
{},
methods
:
{
getInfor
()
{
let
_this
=
this
;
selectWffzjlById
({
xxzjbh
:
_this
.
xxzjbh
,
}).
then
((
res
)
=>
{
var
result
=
res
.
data
.
wffzjl
;
_this
.
filterTreeCode
(
result
);
});
},
filterTreeCode
(
obj
)
{
let
_this
=
this
;
let
arr
=
[...
_this
.
cxQueryField
,
...
_this
.
pageFooterProps
];
console
.
log
(
arr
);
arr
.
forEach
((
i
)
=>
{
if
(
i
.
type
&&
i
.
type
==
"codeTree"
)
{
axios
.
get
(
`JsonData/
${
i
.
codeTree
}
.json`
)
.
then
((
codRes
)
=>
{
let
value
=
_this
.
queryTree
(
codRes
.
data
.
rows
,
obj
[
i
.
prop
]);
_this
.
$set
(
_this
.
pageObject
,
i
.
prop
,
value
);
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
}
else
{
_this
.
$set
(
_this
.
pageObject
,
i
.
prop
,
obj
[
i
.
prop
]);
}
});
console
.
log
(
_this
.
pageObject
);
},
queryTree
(
tree
,
id
)
{
let
stark
=
[];
stark
=
stark
.
concat
(
tree
);
while
(
stark
.
length
)
{
const
temp
=
stark
.
shift
();
if
(
temp
[
this
.
defaultProps
.
children
])
{
stark
=
stark
.
concat
(
temp
[
this
.
defaultProps
.
children
]);
}
if
(
temp
[
this
.
defaultProps
.
value
]
===
id
)
{
return
temp
[
this
.
defaultProps
.
label
];
}
}
return
""
;
},
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Breadcrumb"
,
this
.
breadcrumbList
);
this
.
xxzjbh
=
this
.
$route
.
query
.
xxzjbh
;
this
.
getInfor
();
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
</
style
>
src/views/xxtk/wffzjl/queryWffzjl.vue
View file @
663a4c4e
...
...
@@ -6,14 +6,19 @@
:cxFormData=
"cxFormData"
:cxQueryField=
"cxQueryField"
:cxDefaultFormThead=
"cxDefaultFormThead"
ref=
"rightContent"
:cxUrl=
"cxUrl"
@
add=
"add"
@
dele=
"dele"
@
toInfor=
"toInfor"
@
edit=
"edit"
></right-content>
</div>
</
template
>
<
script
>
import
rightContent
from
"@c/ptCxForm_components.vue"
;
import
{
deletegzryWffzjlById
}
from
"@/api/xxtk/wffzjl.js"
;
export
default
{
name
:
"queryWffzjl"
,
components
:
{
...
...
@@ -30,8 +35,8 @@ export default {
cyzjCyzjdm
:
""
,
xzgzrybh
:
""
,
wffzjlAjlbdm
:
""
,
wffzjlWffzjldm
:
''
,
xxdjdwGajgjgdm
:
''
,
wffzjlWffzjldm
:
""
,
xxdjdwGajgjgdm
:
""
,
djkssj
:
""
,
djjssj
:
""
,
},
...
...
@@ -101,6 +106,10 @@ export default {
],
cxDefaultFormThead
:
[
{
label
:
"信息主键编号"
,
prop
:
"xxzjbh"
,
},
{
label
:
"常用证件"
,
prop
:
"cyzjCyzjdm"
,
},
...
...
@@ -140,7 +149,49 @@ export default {
created
()
{},
methods
:
{
add
()
{
this
.
$router
.
push
(
"addGzry"
);
this
.
$router
.
push
(
"addWffzjl"
);
},
dele
(
obj
)
{
this
.
$confirm
(
"此操作将永久删除该文件, 是否继续?"
,
"提示"
,
{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
,
})
.
then
(()
=>
{
deletegzryWffzjlById
({
xxzjbh
:
obj
.
row
.
xxzjbh
,
}).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$message
({
type
:
"success"
,
message
:
"删除成功"
,
});
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
}
});
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
});
});
},
toInfor
(
obj
)
{
this
.
$router
.
push
({
path
:
"/detailWffzjl"
,
query
:
{
xxzjbh
:
obj
.
xxzjbh
,
},
});
},
edit
(
obj
)
{
this
.
$router
.
push
({
path
:
"/addWffzjl"
,
query
:
{
xxzjbh
:
obj
.
row
.
xxzjbh
,
},
});
},
},
};
...
...
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