Commit b97f8630 by chenqiang

重点人员管理

parent 5902fca6
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -58,15 +58,6 @@ export default [
component: () => import("@/views/queryAj.vue")
},
{
path: "/grahEcharts",
name: "grahEcharts",
meta: {
title: "关系可视化",
auth: 5
},
component: () => import("@/views/relationGraph/grahEcharts.vue")
},
{
path: "/queryCheckAj",
name: "queryCheckAj",
meta: {
......@@ -216,6 +207,14 @@ export default [
component: () => import("@/views/cbyp/cba/tjaj.vue"),
}
]
}
},
{
path: "/myaddZdryInsert",
name: "myaddZdryInsert",
meta: {
title: '添加重点人员'
},
component: () => import("@/views/zdrygl/myaddZdryInsert.vue")
},
]
\ No newline at end of file
......@@ -9,7 +9,6 @@
import menuLayout from "@/layout/zdryLayout.vue";
// import menuLayout from "@/layout/menuLayout.vue";
const menuLayouts = [
{
path: "/zdryGl",
name: "zdryGl",
......@@ -64,13 +63,6 @@ const menuLayouts = [
title: '重点人员详情'
},
component: () => import("@/views/zdrygl/zdryDetail.vue")
}, {
path: "/myaddZdryInsert",
name: "myaddZdryInsert",
meta: {
title: '添加重点人员'
},
component: () => import("@/views/zdrygl/myaddZdryInsert.vue")
},
// {
// path: "/yjrwGl",
......
......@@ -11,8 +11,8 @@
@toInfor="toInfor"
>
<template #btnGroup="scope">
<span class="hbyp" @click="edit(scope.scope)">修改</span>
<span class="hbyp" @click="edit(scope.scope)">删除</span>
<!-- <span class="hbyp" @click="edit(scope.scope)">修改</span>-->
<span class="hbyp" @click="del(scope.scope)">删除</span>
</template>
</right-content>
</div>
......@@ -34,33 +34,21 @@ export default {
cxFormData: {
limit: 10,
page: 1,
xm: "", // 姓名
zjhm: "", // 证件号码
xzqhdm: "", // 户籍地区划
// ajzlb: "", // 案件类别
ajlbCode: "", // 案件类别
ajxzlb: "", // 小案类别
xalbdmbcms: "", // 细案类别
zdyCode: [], // 人员标签
xbdm: "", // 性别
mzdm: "", // 民族
splc: "", // 审批流程
lrrjh: JSON.parse(sessionStorage.getItem('userInfo')).account // 审批人警号
// sprjh: '' // 审批人警号
},
cxQueryField: [
// {
// name: '',
// id: 'zdyCode',
// type: 'checkbox',
// value: '01',
// placeholder: '',
// col: '1',
// checkList: [
// { label: '电信网络诈骗', val: 'zd010002' },
// { label: '涉黑涉恶', val: 'zd010006' },
// { label: '团伙作案', val: 'zd010018' },
// { label: '一人多案', val: 'zd010015' }
// ]
// },
{
name: "人员分类",
id: "ryfl",
type: "codeTreeDialog",
value: "",
placeholder: "请选择",
col: "3",
multiple: true,
codeOptions: [],
codeTree: "CODE_ZDGZRYFL",
},
{
name: "姓名",
id: "xm",
......@@ -81,7 +69,6 @@ export default {
name: "户籍地区划",
id: "xzqhdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
......@@ -89,59 +76,39 @@ export default {
codeTree: "CODE_XZQH",
},
{
name: "案件主类别",
id: "ajzlb",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_AJZLB",
},
{
name: "刑事类案案别",
id: "xalbdmbcms",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_XALBDMBCMS",
},
{
name: "案件类别",
id: "ajlbCode",
type: "codeTreeDialog",
props: "checkEmpty",
type: "codeTreeDialogAjlb",
value: "",
placeholder: "请选择",
col: "3",
codeTree: "CODE_AJLB_bz",
codeOptions: [],
codeTree: "CODE_AJLB",
},
// {
// name: "自定义标签",
// id: "zdyCodeTxt",
// type: "select",
// name: "小案类别",
// id: "ajxzlb",
// type: "codeTreeDialogAjlb",
// value: "",
// placeholder: "请选择",
// col: "3",
// selectData: [],
// codeOptions: [],
// codeTree: "CODE_GABAJZLB_bz",
// },
// {
// name: "细案类别",
// id: "xalbdmbcms",
// type: "codeTreeDialogAjlb",
// value: "",
// placeholder: "请选择",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_GABAJXZLB_bz",
// },
{
name: "人员标签",
id: "zdyCode",
type: "select",
value: "",
col: "3",
selectData: [],
},
{
name: "性别",
id: "xbdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
......@@ -152,43 +119,57 @@ export default {
name: "民族",
id: "mzdm",
type: "codeTreeDialog",
props: "checkEmpty",
value: "",
placeholder: "请选择",
col: "3",
codeOptions: [],
codeTree: "CODE_MZ_MIS",
codeTree: "CODE_MZ",
},
// {
// name: "人员标签",
// id: "zdyCode",
// type: "codeTreeDialog",
// codeTree: "",
// value: '',
// codeOptions: [],
// placeholder: "请选择",
// col: "3",
// },
{
name: "人员标签",
id: "zdyCode",
type: "codeTreeDialogRYBQ",
codeTree: "",
value: "",
codeOptions: [],
placeholder: "请选择",
col: "3",
},
{
name: "审批流程",
id: "splc",
props: "checkEmpty",
type: "select",
selectData: [
{
name: "",
value: "",
},
{
name: "暂未审批",
value: "1",
},
],
type: "radio",
value: "",
placeholder: "请选择",
col: "3",
radioData: [
{label: "全部", val: ""},
// {label: "审批通过", val: "0"},
{label: "暂未审批", val: 1},
// {label: "审批不通过", val: "2"},
],
},
// {
// name: "审批人警号",
// id: "sprjh",
// type: "text",
// value: "",
// placeholder: "请填写",
// col: "3",
// },
],
cxDefaultFormThead: [
{
label: "审批流程",
prop: "splcText",
},
{
label: "审批意见",
prop: "spyj",
},
{
label: "姓名",
toInfor: true,
prop: "xm",
......@@ -198,32 +179,27 @@ export default {
prop: "zjhm",
},
{
label: "作案年龄",
prop: "zanl",
},
{
label: "人员标签",
prop: "codeTxt",
width: "200",
label: "录入人",
prop: "lrr",
},
{
label: "人员分类",
prop: "ryflText",
width: "200",
label: "审批人",
prop: "sprxm",
},
{
label: "案件类别",
prop: "ajlbCodeTxt",
width: "350px",
label: "性别",
prop: "xbdmText",
},
{
label: "审批流程",
prop: "splcText",
label: "民族",
prop: "mzdmText",
width: "200",
},
{
label: "审批意见",
prop: "spyj",
},
label: "户籍",
prop: "xzqhdmText",
width: "200",
}
],
cxUrl: "/zdGzry/getZdGzryxx",
Menu: [
......@@ -244,17 +220,22 @@ export default {
// debugger;
},
methods: {
// 删除
del(){
},
getCode() {
let arr = [];
getRybq().then((res) => {
res.data.rows.forEach((item) => {
arr.push({
value: item.code,
name: item.name,
});
getRybq().then((res) => {
res.data.rows.forEach((item) => {
arr.push({
id: item.code,
label: item.name,
disabled: false,
});
});
});
});
this.$set(this.cxQueryField[6], "selectData", arr);
this.$set(this.cxQueryField[6], "codeOptions", arr);
},
add() {
this.$router.pushToTab("/myaddZdryInsert");
......
......@@ -4,6 +4,7 @@
:formField="propFormField"
:formLabelAligns="formLabelAlign"
@submit="submit"
@getReturn="getReturn"
@ajtq="ajtq"
@ajFocus="ajFocus"
:propTitle="title"
......@@ -87,7 +88,6 @@ export default {
placeholder: "请输入",
col: "2",
},
{
name: "审批人姓名:",
id: "sprxm",
......@@ -104,50 +104,147 @@ export default {
id: "xm",
type: "text",
value: "",
disabled: true,
prop: "checkEmpty",
placeholder: "请输入",
col: "2",
},
{
name: "曾用名:",
id: "cym",
type: "text",
value: "",
prop: "",
disabled: true,
placeholder: "请输入",
col: "2",
},
{
col: "2",
},
{
name: "民族:",
id: "mzdm",
type: "codeTree",
codeTree: "CODE_MZ",
prop: "",
codeOptions: [],
value: "",
disabled: true,
placeholder: "请输入",
col: "2",
},
{
name: "性别:",
id: "xbdm",
type: "codeTree",
codeTree: "CODE_XB",
prop: "",
codeOptions: [],
value: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
name: "民族:",
id: "mzdm",
col: "2",
},
// {
// name: "籍贯:",
// id: "jgssxdm",
// type: "text",
// value: "",
// prop: "checkEmpty",
// placeholder: "请输入",
// col: "2",
// },
{
name: "籍贯:",
id: "jgssxdm",
type: "codeTree",
codeTree: "CODE_MZ_MIS",
codeTree: "CODE_XZQH",
codeOptions: [],
prop: "",
value: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
name: "婚姻状况:",
id: "jyzkdm",
type: "codeTree",
codeTree: "CODE_HYZK",
codeOptions: [],
prop: "",
value: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
col: "2",
},
{
name: "出生日期:",
id: "cxrqQsrq",
type: "dates",
prop: "",
value: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
name: "出生地:",
id: "csdDzmc",
type: "text",
value: "",
prop: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
col: "2",
},
{
name: "户籍地区划:",
// id: "hjdzXzqhdm",
id: "xzqhdm",
type: "codeTree",
prop: "",
codeTree: "CODE_XZQH",
codeOptions: [],
value: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
name: "户籍地详址:",
id: "xzzDzmc",
type: "text",
value: "",
prop: "",
placeholder: "请输入",
disabled: true,
col: "2",
},
{
col: "2",
},
{
name: "案件类别",
id: "ajlbCode",
type: "codeTree",
props: "checkEmpty",
props: "",
value: "",
multiple: true,
placeholder: "请选择",
col: "2",
codeTree: "CODE_AJLB",
disabled: true,
codeOptions: [],
},
{
......@@ -156,42 +253,65 @@ export default {
type: "setValue",
value: "",
multiple: true,
disabled: true,
prop: "",
codeOptions: [],
placeholder: "请输入",
col: "2",
},
{
name: "出生日期:",
id: "csrq",
type: "dates",
value: "",
placeholder: "请输入",
col: "2",
},
{
name: "作案年龄:",
id: "zanl",
type: "text",
name: "人员照片:",
id: "edzzplj",
type: "photo",
value: "",
prop: "",
hidden: true,
codeOptions: [],
placeholder: "请输入",
col: "2",
},
{
name: "人员分类",
id: "ryfl",
type: "codeTree",
props: "checkEmpty",
value: "",
multiple: true,
placeholder: "请选择",
col: "2",
codeTree: "CODE_ZDGZRYFL",
codeOptions: [],
},
],
},
// {
// name: "作案年龄:",
// id: "zanl",
// type: "text",
// value: "",
// placeholder: "请输入",
// col: "2",
// },
// {
// name: "人员分类",
// id: "ryfl",
// type: "codeTree",
// props: "checkEmpty",
// value: "",
// multiple: true,
// placeholder: "请选择",
// col: "2",
// codeTree: "CODE_ZDGZRYFL",
// codeOptions: [],
// },
]
}
],
formLabelAlign: {},
formLabelAlign: {
zjhm: '',
xm: '',
cym: '',
mzdm: '',
xbdm: '',
jgssxdm: '',
jyzkdm: '',
cxrqQsrq: '',
csdDzmc: '',
hjdzXzqhdm: '',
xzzDzmc: '',
ajlbCode: '',
code: '',
sprxm: '',
sprjh: 'admin',
xzqhdm: '',
edzzplj: ''
},
stepList: [
{
title: "基本信息",
......@@ -268,7 +388,12 @@ export default {
getRybzByZjhm({
zjhm,
}).then((res) => {
var result = res.data.data;
var result = res.data.tbStRy;
result.ajlbCode = res.data.ajlbCode
result.ajlbTxt = res.data.ajlbTxt
result.code = res.data.code
result.codeTxt = res.data.codeTxt
result.xzqhdm = res.data.tbStRy.hjdzXzqhdm
self.propFormField[0].data.forEach((fieldItem) => {
//遍历配置文件,拿到数据返回来的xs实体。
var fieldVale;
......@@ -288,17 +413,19 @@ export default {
});
}
} else if (fieldItem.multiple) {
result[fieldItem.id]
.split("#")
.splice(1)
.forEach((item, index) => {
self.$set(self.formLabelAlign[fieldItem.id], index, item);
});
} else {
if(result[fieldItem.id]){
result[fieldItem.id]
.split("#")
.splice(1)
.forEach((item, index) => {
self.$set(self.formLabelAlign[fieldItem.id], index, item);
});
}
}else {
fieldVale = result[fieldItem.id];
self.$set(self.formLabelAlign, fieldItem.id, fieldVale);
}
this.$forceUpdate();
self.$forceUpdate();
});
self.$forceUpdate();
});
......@@ -332,7 +459,12 @@ export default {
this.editSubmit(params, loading);
}
},
getReturn(){
window.close();
window.opener.location.reload();
},
addSubmit(params, loading) {
params.set('sprjh','admin')
insertZdry(params).then((res) => {
if (res.success && res.code == 200) {
this.$alert("保存成功!", "提示", {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment