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
b97f8630
Commit
b97f8630
authored
Apr 01, 2022
by
chenqiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
重点人员管理
parent
5902fca6
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
699 additions
and
729 deletions
+699
-729
src/components/form.vue
+116
-107
src/components/zdryGl/ptCxForm_components.vue
+216
-318
src/router/modules/index.js
+10
-10
src/router/modules/zdrygl.js
+0
-8
src/views/zdrygl/myaddZdry.vue
+89
-108
src/views/zdrygl/myaddZdryInsert.vue
+165
-33
src/views/zdrygl/rySp.vue
+103
-145
No files found.
src/components/form.vue
View file @
b97f8630
...
...
@@ -10,7 +10,7 @@
label-position=
"right"
label-width=
"120px"
:model=
"formLabelAlign"
style=
"margin-bottom: 40px"
style=
"margin-bottom: 40px
;position: relative;
"
>
<div
class=
"paneGroupDiv"
...
...
@@ -66,7 +66,8 @@
:class=
"item.input"
>
<template
slot=
"append"
><span
@
click=
"ajTq(formLabelAlign[item.id])"
><span
style=
"cursor: pointer;"
@
click=
"ajTq(formLabelAlign[item.id])"
>
提取
</span
></
template
>
...
...
@@ -85,7 +86,8 @@
@
blur=
"queryDataMain(formLabelAlign[item.id], item)"
>
<
template
slot=
"append"
><span
@
click=
"ajTq(formLabelAlign[item.id])"
><span
style=
"cursor: pointer;"
@
click=
"ajTq(formLabelAlign[item.id])"
>
提取
</span
></
template
>
...
...
@@ -632,7 +634,7 @@
>
<!-- v-if="realIndex == 0" -->
<
template
slot=
"append"
><span
><span
style=
"cursor: pointer;"
@
click=
"
messageTq(
reakData[item4.id],
...
...
@@ -647,7 +649,7 @@
<!-- 带提示输入框 -->
<div
v-if=
"item4.type == 'textTqs'"
style=
"position: f
lex
; width: 258px"
style=
"position: f
ixed
; width: 258px"
>
<el-input
:placeholder=
"item4.placeholder"
...
...
@@ -665,7 +667,7 @@
>
<!-- v-if="realIndex == 0" -->
<
template
slot=
"append"
><span
><span
style=
"cursor: pointer;"
@
click=
"
messageTq(
reakData[item4.id],
...
...
@@ -988,13 +990,25 @@
</div>
</el-form-item>
</div>
</div>
</div>
<div
style=
"position: absolute;
top:80px;
right: 135px;
width: 153px;
height: 187px;
border: 1px solid #ccc;"
>
<span
style=
"position: absolute; top: -35px;color: #666666;"
>
人员照片:
</span>
<el-image
v-if=
"formLabelAlign.edzzplj"
:src=
"'data:image/png;base64,' + formLabelAlign.edzzplj"
></el-image>
</div>
</el-form>
<slot
name=
"xyrList"
></slot>
</div>
</div>
<div
class=
"button"
id=
"spbtn"
v-if=
"formField[0].title != ' '"
>
<div
class=
"button"
id=
"spbtn"
v-if=
"formField[0].title != ''"
>
<el-button
type=
"danger"
size=
"mini"
@
click=
"getReturn"
>
返回
</el-button>
<el-button
@
click=
"submit()"
class=
"finish"
...
...
@@ -1035,7 +1049,7 @@
>
保存并提交审核
</el-button
>
</div>
<div
class=
"saveButton"
id=
"spbtn01"
v-if=
"formField[0].title == '
'"
>
<div
class=
"saveButton"
id=
"spbtn01"
v-if=
"formField[0].title == ''"
>
<el-button
@
click=
"submit()"
class=
"finish"
>
保存
</el-button>
</div>
<!-- <div class="prive_picture" v-if="filePreviewFlag" @click="closefilePreview">
...
...
@@ -1099,6 +1113,7 @@ export default {
},
data
()
{
return
{
issfdjtq
:
false
,
autosize
:
{
minRows
:
5
},
rules
:
{},
propFormField
:
this
.
formField
,
...
...
@@ -1111,9 +1126,18 @@ export default {
},
created
()
{
var
self
=
this
;
if
(
self
.
$route
.
query
.
id
){
self
.
issfdjtq
=
true
}
else
{
self
.
issfdjtq
=
false
}
self
.
initFields
();
},
methods
:
{
// 返回
getReturn
(){
this
.
$emit
(
"getReturn"
);
},
getBase64
(
file
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
let
reader
=
new
FileReader
();
...
...
@@ -1134,13 +1158,18 @@ export default {
this
.
$emit
(
"examine"
);
},
ajTq
(
item
)
{
debugger
if
(
item
){
this
.
$emit
(
"ajtq"
,
item
);
this
.
issfdjtq
=
true
}
else
{
this
.
$message
.
warning
(
'请先输入证件号码'
)
}
},
ajDt
(
item
)
{
this
.
$emit
(
"ajDt"
,
item
);
},
messageTq
(
item
,
index
)
{
// debugger;
this
.
$emit
(
"messageTq"
,
item
,
index
);
},
choosePeople
(
item
)
{
...
...
@@ -1172,54 +1201,53 @@ export default {
var
self
=
this
;
var
ifInitRules
=
false
;
ifInitRules
=
JSON
.
stringify
(
self
.
rules
)
==
"{}"
;
for
(
var
i
=
0
;
i
<
this
.
propFormField
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
this
.
propFormField
[
i
].
data
.
length
;
j
++
)
{
for
(
var
i
=
0
;
i
<
self
.
propFormField
.
length
;
i
++
)
{
for
(
var
j
=
0
;
j
<
self
.
propFormField
[
i
].
data
.
length
;
j
++
)
{
//遍历可配置化数组
if
(
ifInitRules
)
{
// debugger;
if
(
this
.
propFormField
[
i
][
"data"
][
j
].
prop
)
{
this
.
rules
[
this
.
propFormField
[
i
][
"data"
][
j
].
id
]
=
this
.
$rules
[
this
.
propFormField
[
i
][
"data"
][
j
].
prop
];
if
(
self
.
propFormField
[
i
][
"data"
][
j
].
prop
)
{
self
.
rules
[
this
.
propFormField
[
i
][
"data"
][
j
].
id
]
=
self
.
$rules
[
self
.
propFormField
[
i
][
"data"
][
j
].
prop
];
//如果有规则的话 拿到全局的规则 规则是一个数组,数组里是对象 将规则复制到所绑定的对象那个中去,然后每一项绑定对象
}
}
if
(
this
.
propFormField
[
i
].
data
[
j
].
type
===
"file"
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
type
===
"file"
)
{
//判断文件上传
// self.formLabelAlign[this.propFormField[i].id] = ""
if
(
this
.
propFormField
[
i
].
data
[
j
].
fileId
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
fileId
)
{
self
.
$set
(
self
.
fileLists
,
this
.
propFormField
[
i
].
data
[
j
].
fileId
,
self
.
propFormField
[
i
].
data
[
j
].
fileId
,
[]
);
}
else
{
self
.
$set
(
self
.
fileLists
,
this
.
propFormField
[
i
].
data
[
j
].
id
,
[]);
self
.
$set
(
self
.
fileLists
,
self
.
propFormField
[
i
].
data
[
j
].
id
,
[]);
}
//给self.formLabelAlign 给每个匹配到的id属性值 添加一个空数组
}
if
(
this
.
propFormField
[
i
].
data
[
j
].
type
===
"photo"
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
type
===
"photo"
)
{
//判断照片上传
// self.formLabelAlign[this.propFormField[i].id] = ""
if
(
this
.
propFormField
[
i
].
data
[
j
].
fileId
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
fileId
)
{
self
.
$set
(
self
.
imageUrl
,
this
.
propFormField
[
i
].
data
[
j
].
fileId
,
self
.
propFormField
[
i
].
data
[
j
].
fileId
,
""
);
}
else
{
self
.
$set
(
self
.
imageUrl
,
this
.
propFormField
[
i
].
data
[
j
].
id
,
""
);
self
.
$set
(
self
.
imageUrl
,
self
.
propFormField
[
i
].
data
[
j
].
id
,
""
);
}
}
if
(
this
.
propFormField
[
i
].
data
[
j
].
type
===
"checkboxBotton"
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
type
===
"checkboxBotton"
)
{
self
.
$set
(
self
.
formLabelAlign
,
this
.
propFormField
[
i
].
data
[
j
].
id
,
self
.
propFormField
[
i
].
data
[
j
].
id
,
false
);
}
if
(
this
.
propFormField
[
i
].
data
[
j
].
childrenAsAdd
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
childrenAsAdd
)
{
//遍历可配置化列表的子集
this
.
propFormField
[
i
].
data
[
j
].
childrenAsAdd
.
forEach
((
item2
)
=>
{
self
.
propFormField
[
i
].
data
[
j
].
childrenAsAdd
.
forEach
((
item2
)
=>
{
self
.
$set
(
self
.
formLabelAlign
,
item2
.
id
,
[]);
//拿到id对应的值 给添加空数组
item2
.
list
.
forEach
((
val3
,
index3
)
=>
{
...
...
@@ -1232,7 +1260,6 @@ export default {
}
else
if
(
val4
.
type
==
"datetime"
)
{
singleObject
[
val4
.
id
]
=
[];
}
else
if
(
val4
.
type
==
"file"
)
{
debugger
;
if
(
!
self
.
fileLists
[
item2
.
id
])
{
self
.
$set
(
self
.
fileLists
,
item2
.
id
,
[]);
}
...
...
@@ -1255,9 +1282,9 @@ export default {
});
});
}
if
(
this
.
propFormField
[
i
].
data
[
j
].
children
)
{
if
(
self
.
propFormField
[
i
].
data
[
j
].
children
)
{
//遍历可配置化列表的子集
this
.
propFormField
[
i
].
data
[
j
].
children
.
forEach
((
item2
)
=>
{
self
.
propFormField
[
i
].
data
[
j
].
children
.
forEach
((
item2
)
=>
{
self
.
$set
(
self
.
formLabelAlign
,
item2
.
id
,
""
);
//拿到id对应的值 给添加空数组
if
(
ifInitRules
)
{
...
...
@@ -1268,12 +1295,12 @@ export default {
});
}
}
this
.
$forceUpdate
();
self
.
$forceUpdate
();
}
},
submit
(
flag
)
{
var
self
=
this
;
// debugger;
if
(
self
.
issfdjtq
){
this
.
$refs
.
formLabelAlign
.
validate
((
valid
)
=>
{
if
(
valid
)
{
//使用FormData构造函数创建一个空对象
...
...
@@ -1285,7 +1312,6 @@ export default {
self
.
formLabelAlign
[
item
.
id
]
||
self
.
formLabelAlign
[
item
.
id_1
]
)
{
// debugger;
if
(
item
.
type
!==
"file"
)
{
//1.1二级字典处理
if
(
item
.
type
==
"lazyCodeTree"
||
item
.
type
==
"codeTree"
)
{
...
...
@@ -1531,7 +1557,6 @@ export default {
self
.
formLabelAlign
[
subItem
.
id
].
forEach
((
val5
,
index
)
=>
{
//遍历每一个数组的值
for
(
var
ite
in
val5
)
{
debugger
;
//数组里对象 在遍历对象
if
(
val5
[
ite
])
{
//如果有值的话
...
...
@@ -1675,10 +1700,6 @@ export default {
}
}
}
// debugger
console
.
log
(
this
.
pageBs
);
console
.
log
(
self
.
formLabelAlign
);
if
(
self
.
pageBs
&&
((
self
.
pageBs
==
"adjustRlqbxs"
&&
...
...
@@ -1741,11 +1762,11 @@ export default {
}
});
console
.
log
(
this
.
formLabelAlign
);
}
else
{
self
.
$message
.
warning
(
'请先提取重点人员'
)
}
},
getDialogSeleted
(
label
)
{
// debugger
// this.unitname = label
// console.log('sadasdasdasdasdasda',label);
this
.
$emit
(
"getDialogSeletesd"
,
label
);
},
handleChange
(
file
,
fileList
,
item
,
parentItem
,
itemIndex
)
{
...
...
@@ -1756,7 +1777,6 @@ export default {
const
isJPG
=
/^.*
\.(
jpg|jpeg|png|mp4|pdf|docx|doc
)
$/i
.
test
(
file
.
name
.
substring
(
index
)
);
// debugger;
if
(
item
.
type
==
"photo"
)
{
if
(
this
.
base64Transform
)
{
this
.
getBase64
(
file
.
raw
).
then
((
resBase64
)
=>
{
...
...
@@ -1786,12 +1806,10 @@ export default {
// );
// }
// debugger;
}
else
{
self
.
$message
.
error
(
"请上传正确的图片"
);
}
}
else
{
// debugger;
// if (self.fileLists[item.id].length == 0) {
// self.$set(self.fileLists, item.id, []);
// }
...
...
@@ -1844,7 +1862,6 @@ export default {
var
self
=
this
;
let
isLt1M
=
""
;
isLt1M
=
file
.
raw
.
size
/
1024
/
1024
<
101
;
// debugger;
if
(
self
.
fileLists
[
item
.
id
].
length
==
0
)
{
self
.
$set
(
self
.
fileLists
,
item
.
id
,
[]);
}
...
...
@@ -1918,7 +1935,6 @@ export default {
},
//新增表单数据
handelFrom
(
obj
,
index2
)
{
debugger
;
console
.
log
(
index2
);
console
.
log
(
obj
);
let
self
=
this
,
...
...
@@ -1941,7 +1957,6 @@ export default {
if
(
val
.
childrenAsAdd
)
{
val
.
childrenAsAdd
.
forEach
((
val2
,
index2
)
=>
{
//遍历list数组
// debugger;
// val2.list[1].name[1].type = 'text'
if
(
val2
==
obj
)
{
//通过比较两个对象是否相等 将formLabelAlign里绑定的数据复制了一份
...
...
@@ -1990,7 +2005,6 @@ export default {
}
},
deleteObj
(
obj
)
{
debugger
;
let
self
=
this
;
self
.
propFormField
.
forEach
((
val
)
=>
{
val
.
data
.
forEach
((
f
)
=>
{
...
...
@@ -2056,7 +2070,6 @@ export default {
"formLabelAligns.editing"
:
{
handler
()
{
var
self
=
this
;
// debugger;
self
.
propFormField
.
forEach
((
val
)
=>
{
val
.
data
.
forEach
((
val2
)
=>
{
if
(
val2
.
childrenAsAdd
)
{
...
...
@@ -2121,7 +2134,6 @@ export default {
},
"formLabelAlign.cyzjCyzjdm"
(
val
)
{
if
(
val
==
111
&&
this
.
pageBs
==
"addsqfbzl"
)
{
debugger
;
let
obj
=
{
validator
:
(
rule
,
value
,
callback
)
=>
{
// let patter = new RegExp("/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/");//验证是否身份证号
...
...
@@ -2153,63 +2165,60 @@ export default {
};
this
.
$set
(
this
.
rules
,
this
.
propFormField
[
0
].
data
[
5
].
id
,
obj
);
// this.$delete(this.rules, this.propFormField[0].data[5].id);
debugger
;
}
},
"formLabelAlign.xxhelx"
:
{
handler
(
newName
,
oldName
)
{
var
self
=
this
;
debugger
;
if
(
newName
==
"2"
)
{
this
.
propFormField
[
0
].
data
[
16
].
hidden
=
false
;
this
.
propFormField
[
0
].
data
[
17
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
18
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
19
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
20
].
hidden
=
true
;
this
.
rules
[
"whlxdm"
]
=
this
.
$rules
.
checkEmpty
;
this
.
rules
[
"tldlxdm"
]
=
null
;
this
.
rules
[
"zybxxs"
]
=
null
;
this
.
rules
[
"fdcsqk"
]
=
null
;
this
.
rules
[
"tzlxsjq"
]
=
null
;
}
else
if
(
newName
==
"1"
)
{
this
.
rules
[
"whlxdm"
]
=
null
;
this
.
rules
[
"tldlxdm"
]
=
this
.
$rules
.
checkEmpty
;
this
.
rules
[
"zybxxs"
]
=
this
.
$rules
.
checkEmpty
;
this
.
rules
[
"fdcsqk"
]
=
this
.
$rules
.
checkEmpty
;
this
.
rules
[
"tzlxsjq"
]
=
this
.
$rules
.
checkEmpty
;
this
.
propFormField
[
0
].
data
[
16
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
17
].
hidden
=
false
;
this
.
propFormField
[
0
].
data
[
18
].
hidden
=
false
;
this
.
propFormField
[
0
].
data
[
19
].
hidden
=
false
;
this
.
propFormField
[
0
].
data
[
20
].
hidden
=
false
;
}
else
{
this
.
rules
[
"whlxdm"
]
=
null
;
this
.
rules
[
"tldlxdm"
]
=
null
;
this
.
rules
[
"zybxxs"
]
=
null
;
this
.
rules
[
"fdcsqk"
]
=
null
;
this
.
rules
[
"tzlxsjq"
]
=
null
;
this
.
propFormField
[
0
].
data
[
16
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
17
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
18
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
19
].
hidden
=
true
;
this
.
propFormField
[
0
].
data
[
20
].
hidden
=
true
;
}
},
deep
:
true
,
},
'formLabelAlign.hctype'
:
{
handler
(
newName
,
oldName
)
{
debugger
if
(
newName
==
'1'
)
{
this
.
propFormField
[
0
].
data
[
2
].
hidden
=
false
this
.
propFormField
[
0
].
data
[
1
].
hidden
=
true
}
else
if
(
newName
==
'2'
)
{
this
.
propFormField
[
0
].
data
[
2
].
hidden
=
true
this
.
propFormField
[
0
].
data
[
1
].
hidden
=
false
}
},
deep
:
true
,
},
// "formLabelAlign.xxhelx": {
// handler(newName, oldName) {
// var self = this;
// if (newName == "2") {
// this.propFormField[0].data[16].hidden = false;
// this.propFormField[0].data[17].hidden = true;
// this.propFormField[0].data[18].hidden = true;
// this.propFormField[0].data[19].hidden = true;
// this.propFormField[0].data[20].hidden = true;
// this.rules["whlxdm"] = this.$rules.checkEmpty;
// this.rules["tldlxdm"] = null;
// this.rules["zybxxs"] = null;
// this.rules["fdcsqk"] = null;
// this.rules["tzlxsjq"] = null;
// } else if (newName == "1") {
// this.rules["whlxdm"] = null;
// this.rules["tldlxdm"] = this.$rules.checkEmpty;
// this.rules["zybxxs"] = this.$rules.checkEmpty;
// this.rules["fdcsqk"] = this.$rules.checkEmpty;
// this.rules["tzlxsjq"] = this.$rules.checkEmpty;
// this.propFormField[0].data[16].hidden = true;
// this.propFormField[0].data[17].hidden = false;
// this.propFormField[0].data[18].hidden = false;
// this.propFormField[0].data[19].hidden = false;
// this.propFormField[0].data[20].hidden = false;
// } else {
// this.rules["whlxdm"] = null;
// this.rules["tldlxdm"] = null;
// this.rules["zybxxs"] = null;
// this.rules["fdcsqk"] = null;
// this.rules["tzlxsjq"] = null;
// this.propFormField[0].data[16].hidden = true;
// this.propFormField[0].data[17].hidden = true;
// this.propFormField[0].data[18].hidden = true;
// this.propFormField[0].data[19].hidden = true;
// this.propFormField[0].data[20].hidden = true;
// }
// },
// deep: true,
// },
// 'formLabelAlign.hctype': {
// handler(newName, oldName) {
// if (newName == '1') {
// this.propFormField[0].data[2].hidden = false
// this.propFormField[0].data[1].hidden = true
// } else if (newName == '2') {
// this.propFormField[0].data[2].hidden = true
// this.propFormField[0].data[1].hidden = false
// }
// },
// deep: true,
// },
},
computed
:
{},
...
...
@@ -2747,8 +2756,8 @@ $-header-fontSize: 18px;
display
:
flex
;
align-items
:
center
;
justify-content
:
flex-end
;
position
:
fixed
;
bottom
:
0
;
/*position: fixed;*/
/*bottom: 0;*/
width
:
100%
;
//
width
:
calc
(
100%
-
45px
);
.finish
{
...
...
src/components/zdryGl/ptCxForm_components.vue
View file @
b97f8630
...
...
@@ -398,7 +398,7 @@
:show-file-list=
"false"
:on-change=
"handleChange"
>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
/>
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
/>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
</div>
...
...
@@ -472,8 +472,7 @@
pageBs != 'dytj' &&
pageBs != 'rySp' &&
pageBs != 'ztsjfx' &&
pageBs != 'ztsjfxtj' &&
pageBs != 'ztsjfxajjs'
pageBs != 'ztsjfxtj'
"
>
<i
class=
"el-icon-plus"
></i>
新增
...
...
@@ -503,13 +502,6 @@
<el-button
type=
"primary"
size=
"mini"
v-if=
"pageBs == 'ztsjfxajjs'"
@
click=
"daochu()"
>
导出
</el-button>
<el-button
type=
"primary"
size=
"mini"
v-if=
"pageBs == 'wsqfbdzczl'"
@
click=
"$emit('sqfbzl', formData)"
>
申请发布指令
...
...
@@ -1048,7 +1040,7 @@
columnTitle.prop == 'bzrZp' || columnTitle.prop == 'xyrZp'
"
>
<img
:src=
"scope.row[columnTitle.prop]"
alt=
""
/>
<img
:src=
"scope.row[columnTitle.prop]"
alt=
""
/>
</div>
<div
v-else-if=
"
...
...
@@ -1249,7 +1241,7 @@
/>
{{
scope
.
row
[
columnTitle
.
prop
]
}}
<el-popover
placement=
"right"
width=
"100"
trigger=
"click"
>
{{
scope
.
row
[
columnTitle
.
prop
]
}}
<br
/><br
/>
{{
scope
.
row
[
columnTitle
.
prop
]
}}
<br
/><br
/>
<div
@
click=
"toPeopleDA(scope.row.zjhm)"
>
<i
class=
"el-icon-s-order"
></i><span>
人员档案
</span>
</div>
...
...
@@ -1448,8 +1440,7 @@
pageBs == 'queryXnpg' ||
pageBs == 'queryJqcc' ||
pageBs == 'queryAjcc' ||
pageBs == 'queryXshbZd' ||
pageBs == 'ztsjfxajjs'
pageBs == 'queryXshbZd'
)
"
>
...
...
@@ -2126,7 +2117,7 @@
>
<div
v-if=
"good.prop == 'asjbh'"
>
<el-popover
placement=
"top"
width=
"250"
trigger=
"click"
>
{{ item[good.prop] }}
<br
/><br
/>
{{ item[good.prop] }}
<br
/><br
/>
<div
@
click=
"toAsjDA(item[good.prop])"
>
<i
class=
"el-icon-s-order"
></i><span>
案事件档案
</span>
</div>
...
...
@@ -2140,7 +2131,7 @@
</div>
<div
v-else-if=
"good.prop == 'zhfzxyrAsjxgrybh'"
>
<el-popover
placement=
"top"
width=
"250"
trigger=
"click"
>
{{ item[good.prop] }}
<br
/><br
/>
{{ item[good.prop] }}
<br
/><br
/>
<div
@
click=
"toPeopleDA(item[good.prop])"
>
<i
class=
"el-icon-s-order"
></i><span>
人员档案
</span>
</div>
...
...
@@ -2220,19 +2211,19 @@
</template>
<
script
>
import
SelectTree
from
"@c/tree_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
LazySelectTreeDialog
from
"@c/lazy_treeCode
.vue"
;
import
Http
from
"@/utils/http.js"
;
import
axios
from
"axios"
;
import
{
post
}
from
"@/utils/http.js"
;
import
url
from
"@/api/base"
;
import
qs
from
"qs"
;
import
Cookies
from
"js-cookie"
;
import
dangBlue
from
"../../assets/img/dangBlue.png"
;
import
dangerGreen
from
"../../assets/img/dangerGreen.png"
;
import
dangerRed
from
"../../assets/img/dangerRed.png"
;
import
{
import
SelectTree
from
"@c/tree_components.vue"
;
import
SelectTreeDialog
from
"@c/treeCode_components.vue"
;
import
LazySelectTreeDialog
from
"@c/lazy_treeCode_components
.vue"
;
import
Http
from
"@/utils/http.js"
;
import
axios
from
"axios"
;
import
{
post
}
from
"@/utils/http.js"
;
import
url
from
"@/api/base"
;
import
qs
from
"qs"
;
import
Cookies
from
"js-cookie"
;
import
dangBlue
from
"../../assets/img/dangBlue.png"
;
import
dangerGreen
from
"../../assets/img/dangerGreen.png"
;
import
dangerRed
from
"../../assets/img/dangerRed.png"
;
import
{
getRybq
,
updateUserRybz
,
insertUserRybz
,
...
...
@@ -2241,10 +2232,10 @@
getZtDetail
,
getXdryDetail
,
updateZdyCode
,
}
from
"@/api/zdry/zdryGl.js"
;
import
{
postform
}
from
"@/utils/http.js"
;
}
from
"@/api/zdry/zdryGl.js"
;
import
{
postform
}
from
"@/utils/http.js"
;
export
default
{
export
default
{
name
:
"ptCxForm"
,
components
:
{
SelectTree
,
...
...
@@ -2735,72 +2726,6 @@
};
},
methods
:
{
daochu
()
{
/*导出*/
let
self
=
this
,
tHeader
=
[],
filterVal
=
[];
if
(
self
.
tableDataLength
>
5000
)
{
self
.
$message
({
type
:
"error"
,
message
:
"最多只能导出5000条"
,
});
}
else
{
const
loading
=
this
.
$loading
({
lock
:
true
,
text
:
"正在导出..."
,
spinner
:
"el-icon-loading"
,
background
:
"rgba(255, 255, 255, 0.7)"
,
});
let
json
=
{};
for
(
let
i
in
self
.
formData
)
{
if
(
i
!=
"cxSj"
)
{
json
[
i
]
=
self
.
formData
[
i
];
}
else
{
json
[
i
]
=
self
.
formData
[
i
]
!=
""
&&
self
.
formData
[
i
]
!=
null
?
self
.
formData
[
i
].
join
(
" - "
)
:
""
;
}
}
json
.
page
=
1
;
json
.
limit
=
5000
;
tHeader
=
[];
filterVal
=
[];
self
.
propdefaultFormThead
.
forEach
((
val
)
=>
{
tHeader
.
push
(
val
.
label
);
filterVal
.
push
(
val
.
prop
);
});
self
.
doQueryRequest
(
json
).
then
((
response
)
=>
{
debugger
;
if
(
response
.
success
===
true
)
{
require
.
ensure
([],
()
=>
{
const
{
export_json_to_excel
,
}
=
require
(
"@/utils/Export2Excel"
);
const
list
=
response
.
data
.
rows
;
const
data
=
self
.
formatJson
(
filterVal
,
list
);
export_json_to_excel
(
tHeader
,
data
,
'案件信息'
);
});
loading
.
close
();
}
else
{
loading
.
close
();
self
.
$message
({
type
:
"error"
,
message
:
"导出失败"
,
});
}
})
// this.cxUrl(JSON.stringify(json)).then((response) => {
// if (response.code === 200) {
// } else {
// }
// self.tableLoadingEmit = false;
// });
}
},
// 筛选变色
showDate
(
val
,
keyword
)
{
let
_self
=
this
;
...
...
@@ -2831,7 +2756,7 @@
this
.
thTableVisible
=
true
;
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
this
.
loadingD
=
false
;
}
else
{
this
.
loadingD
=
false
;
...
...
@@ -2845,7 +2770,7 @@
this
.
yrTableVisible
=
true
;
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
this
.
loadingD
=
false
;
}
else
{
this
.
loadingD
=
false
;
...
...
@@ -2859,7 +2784,7 @@
this
.
ztTableVisible
=
true
;
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
this
.
loadingD
=
false
;
}
else
{
this
.
loadingD
=
false
;
...
...
@@ -2873,7 +2798,7 @@
this
.
sdTableVisible
=
true
;
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
this
.
loadingD
=
false
;
}
else
{
}
...
...
@@ -2905,7 +2830,7 @@
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
coplist
=
this
.
thlist
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
// loading.close();
self
.
closeLoading
();
}
else
{
...
...
@@ -2941,7 +2866,7 @@
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
coplist
=
this
.
yrlist
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
// loading.close();
self
.
closeLoading
();
}
else
{
...
...
@@ -2973,7 +2898,7 @@
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
coplist
=
this
.
ztlist
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
self
.
closeLoading
();
// loading.close();
}
else
{
...
...
@@ -3006,7 +2931,7 @@
this
.
copTableVisible
=
true
;
this
.
copdetailData
=
res
.
data
.
rows
;
this
.
coplist
=
this
.
sdlist
;
this
.
totalCountRybq
=
res
.
data
.
total
;
this
.
totalCount
=
res
.
data
.
total
;
// loading.close();
self
.
closeLoading
();
}
else
{
...
...
@@ -3260,10 +3185,10 @@
}
},
handleSwitch
(
value
,
item
)
{
this
.
$emit
(
"handleSwitch"
,
{
value
,
item
});
this
.
$emit
(
"handleSwitch"
,
{
value
,
item
});
},
handleSwitchs
(
value
,
item
)
{
this
.
$emit
(
"handleSwitchs"
,
{
value
,
item
});
this
.
$emit
(
"handleSwitchs"
,
{
value
,
item
});
},
audit
(
scope
)
{
this
.
$emit
(
"audit"
,
scope
.
row
);
...
...
@@ -3313,11 +3238,9 @@
self
.
dialogTableVisibleEdit
=
true
;
let
arr
=
[];
if
(
scope
.
row
.
code
.
length
>
0
)
{
debugger
;
arr
=
scope
.
row
.
code
.
split
(
"#"
).
splice
(
1
);
arr
.
forEach
((
subitem
)
=>
{
self
.
zdyCodeEdit
.
push
(
subitem
);
debugger
;
let
index
=
self
.
allZdyCode
.
findIndex
((
item
)
=>
item
.
id
==
subitem
);
self
.
$set
(
self
.
allZdyCode
[
index
],
"disabled"
,
true
);
});
...
...
@@ -3359,8 +3282,7 @@
});
});
})
.
catch
(()
=>
{
});
.
catch
(()
=>
{});
}
else
{
this
.
$confirm
(
"是否确认关注人员?"
,
"提醒"
,
{
confirmButtonText
:
"确定"
,
...
...
@@ -3394,8 +3316,7 @@
});
});
})
.
catch
(()
=>
{
});
.
catch
(()
=>
{});
}
},
dele
(
scope
)
{
...
...
@@ -3453,7 +3374,7 @@
toLasxxg
(
asjbh
,
type
,
type2
)
{
let
routeData
=
this
.
$router
.
resolve
({
path
:
"/malasxmodify"
,
query
:
{
asjbh
:
asjbh
,
type
:
type
,
type2
},
query
:
{
asjbh
:
asjbh
,
type
:
type
,
type2
},
});
window
.
open
(
routeData
.
href
,
"_blank"
);
},
...
...
@@ -3580,7 +3501,7 @@
},
});
},
tableRowClassName
({
rowIndex
})
{
tableRowClassName
({
rowIndex
})
{
if
(
rowIndex
%
2
==
0
)
{
return
""
;
}
else
{
...
...
@@ -3597,7 +3518,7 @@
this
.
doQuery
(
"yes"
);
}
else
if
(
this
.
pageASs
==
"queryZjQt"
)
{
this
.
doQuery
(
"yes"
);
}
else
if
((
this
.
pageBs
==
"ztsjfxajjs"
||
this
.
pageBs
==
"ztsjfx"
)
&&
((
this
.
cxFormData
.
ssjzMinBefore
!=
""
&&
this
.
cxFormData
.
ssjzMinBefore
<
10
)
||
(
this
.
cxFormData
.
ssjzMinBefore
!=
""
&&
this
.
cxFormData
.
ssjzMinBefore
<
10
)))
{
}
else
if
((
this
.
pageBs
==
"ztsjfx"
||
this
.
pageBs
==
"ztsjfx"
)
&&
((
this
.
cxFormData
.
ssjzMin
!=
""
&&
this
.
cxFormData
.
ssjzMin
<
10
)
||
(
this
.
cxFormData
.
ssjzMin
!=
""
&&
this
.
cxFormData
.
ssjzMin
<
10
)))
{
this
.
$message
.
error
(
"仅供损失十万及以上重大侵财案件专题查询"
)
}
else
{
// if (val) {
...
...
@@ -3611,7 +3532,6 @@
if
(
this
.
$route
.
name
==
"xywspdzczl"
)
{
this
.
formData
.
isFirst
=
"no"
;
}
this
.
doQuery
(
"yes"
);
}
},
...
...
@@ -3619,30 +3539,30 @@
this
.
$emit
(
"sprops"
,
scope
);
},
doQuery
(
flag
)
{
console
.
log
(
Cookies
.
get
(
"_ga"
));
// debugger;
this
.
showLoading
();
var
jsonStr
=
[];
let
self
=
this
,
json
=
{};
for
(
let
i
in
self
.
formData
)
{
if
(
i
==
"zdyCode"
||
i
==
"ryfl"
)
{
var
str
=
""
;
self
.
formData
[
i
].
forEach
((
item
)
=>
{
str
=
str
?
`
${
str
}
,
${
item
}
`
:
`
${
item
}
`
;
});
json
[
i
]
=
self
.
formData
.
zdyCodeTxt
?
`
${
str
}
,
${
self
.
formData
.
zdyCodeTxt
}
`
:
`
${
str
}
`
;
}
else
if
(
i
==
"file"
||
i
==
"imageFile"
)
{
// if (i == "zdyCodeTxt" || i == "ryfl") {
// var str = "";
// if(self.formData.zdyCodeTxt == ''){
// self.formData.zdyCodeTxt = []
// }
// self.formData[i].forEach((item) => {
// str = str ? `${str},${item}` : `${item}`;
// });
// json[i] = self.formData.zdyCodeTxt
// ? `${str},${self.formData.zdyCodeTxt}`
// : `${str}`;
// } else
if
(
i
==
"file"
||
i
==
"imageFile"
)
{
json
[
i
]
=
self
.
imgRaw
;
}
else
if
(
i
==
"ajfl"
&&
this
.
pageASs
==
"queryJqcc"
)
{
json
[
i
]
=
self
.
formData
[
i
]
?
self
.
formData
[
i
].
join
(
","
)
:
self
.
formData
[
i
];
}
else
if
(
i
==
"rygx"
&&
this
.
pageBs
==
"queryZjShow"
)
{
// debugger;
json
[
i
]
=
self
.
formData
[
i
]
?
self
.
formData
[
i
].
join
(
","
)
:
self
.
formData
[
i
];
...
...
@@ -3764,35 +3684,28 @@
// console.log(err);
// });
// }
debugger
;
if
(
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfxajjs
"
)
&&
json
.
ssjzMinBefore
!=
""
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfx
"
)
&&
json
.
ssjzMin
!=
""
)
{
json
.
ssjzMin
=
json
.
ssjzMinBefore
+
"0000"
;
delete
json
.
ssjzMinBefore
;
json
.
ssjzMin
=
json
.
ssjzMin
+
"0000"
;
}
if
(
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfxajjs
"
)
&&
json
.
ssjzMaxBefore
!=
""
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfx
"
)
&&
json
.
ssjzMax
!=
""
)
{
json
.
ssjzMax
=
json
.
ssjzMaxBefore
+
"0000"
;
delete
json
.
ssjzMaxBefore
;
}
else
{
json
.
ssjzMax
=
""
delete
json
.
ssjzMaxBefore
;
json
.
ssjzMax
=
json
.
ssjzMax
+
"0000"
;
}
if
(
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfxajjs
"
)
&&
json
.
ssjzMinBefore
==
""
(
self
.
pageBs
==
"ztsjfxtj"
||
self
.
pageBs
==
"ztsjfx
"
)
&&
json
.
ssjzMin
==
""
)
{
json
.
ssjzMin
=
100000
;
delete
json
.
ssjzMinBefore
;
}
self
.
doQueryRequest
(
json
).
then
((
response
)
=>
{
if
(
response
.
success
===
true
)
{
// // debugger
if
(
self
.
pageBs
==
"ztsjfxajjs
"
||
self
.
pageBs
==
"ztsjfxtj"
)
{
if
(
self
.
pageBs
==
"ztsjfx
"
||
self
.
pageBs
==
"ztsjfxtj"
)
{
response
.
data
.
rows
.
map
((
item
)
=>
{
if
(
item
.
ssjzrmby
&&
item
.
ssjzrmby
!=
""
)
{
// if (item.ssjzrmby.indexOf(".") != -1) {
...
...
@@ -4128,7 +4041,7 @@
});
return
children
;
},
sortChange
({
column
,
prop
,
order
})
{
sortChange
({
column
,
prop
,
order
})
{
// debugger;
if
(
order
==
"ascending"
)
{
this
.
saveSort
=
order
;
...
...
@@ -4153,7 +4066,7 @@
// },
checkNumber
(
val
)
{
console
.
log
(
val
);
if
(
val
!=
""
&&
val
<
10
)
{
if
(
val
!=
""
&&
val
<
10
)
{
this
.
$message
.
info
(
"仅供损失十万及以上重大侵财案件专题查询"
);
}
...
...
@@ -4190,19 +4103,7 @@
axios
.
get
(
`JsonData/
${
val
.
codeTree
}
.json`
)
.
then
((
res
)
=>
{
if
(
val
.
codeTree
==
'CODE_XZQH'
)
{
let
newArr
=
res
.
data
.
rows
;
let
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"userInfo"
));
let
unicode
=
userInfo
.
unitcode
;
if
(
unicode
!=
'010000000000'
)
{
newArr
=
res
.
data
.
rows
.
filter
((
i
)
=>
{
return
unicode
.
indexOf
(
i
.
id
)
==
0
;
})
}
self
.
$set
(
val
,
"codeOptions"
,
newArr
);
}
else
{
self
.
$set
(
val
,
"codeOptions"
,
res
.
data
.
rows
);
}
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
...
...
@@ -4308,81 +4209,79 @@
},
deep
:
true
,
},
"cxFormData.ajlbCode"
:
{
handler
(
val
)
{
if
(
val
!=
""
)
{
this
.
ajlbCode
=
[
val
];
}
else
{
this
.
ajlbCode
=
[];
}
console
.
log
(
this
.
ajlbCode
);
console
.
log
(
this
.
propQueryField
[
3
]);
//请求接口 4 CODE_GABAJZLB_bz
if
(
val
==
""
)
{
axios
.
get
(
`JsonData/CODE_GABAJZLB_bz.json`
)
.
then
((
res
)
=>
{
this
.
propQueryField
[
4
].
codeOptions
=
res
.
data
.
rows
.
filter
(
(
value
)
=>
{
return
value
.
id
.
indexOf
(
val
)
==
0
;
}
);
// self.$set(val, "codeOptions", res.data.rows);
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
this
.
$set
(
this
.
cxFormData
,
"ajzlb"
,
""
);
this
.
$set
(
this
.
cxFormData
,
"ajxzlb"
,
""
);
}
},
deep
:
true
,
},
"cxFormData.ajzlb"
:
{
handler
(
val
)
{
let
self
=
this
;
console
.
log
(
this
.
propQueryField
[
4
]);
//请求接口 5 CODE_GABAJXZLB_bz
if
(
val
==
""
)
{
axios
.
get
(
`JsonData/CODE_GABAJXZLB_bz.json`
)
.
then
((
res
)
=>
{
this
.
propQueryField
[
5
].
codeOptions
=
res
.
data
.
rows
.
filter
(
(
value
)
=>
{
return
value
.
id
.
indexOf
(
val
)
==
0
;
}
);
})
.
catch
((
err
)
=>
{
console
.
log
(
err
);
});
this
.
$set
(
this
.
cxFormData
,
"ajlbCode"
,
""
);
this
.
$set
(
this
.
cxFormData
,
"ajxzlb"
,
""
);
}
},
deep
:
true
,
},
"cxFormData.ajxzlb"
:
{
handler
(
val
,
oldval
)
{
if
(
val
==
""
)
{
this
.
$set
(
this
.
cxFormData
,
"ajlbCode"
,
""
);
this
.
$set
(
this
.
cxFormData
,
"ajzlb"
,
""
);
}
},
deep
:
true
,
},
"cxFormData.zdyCodeTxt"
:
{
handler
(
val
)
{
console
.
log
(
val
,
8888888888
);
if
(
val
!=
""
)
{
this
.
zdyCodeTxt
=
[
val
];
console
.
log
(
this
.
zdyCodeTxt
,
8888888888
);
}
else
{
this
.
zdyCodeTxt
=
[];
}
},
deep
:
true
,
},
// "cxFormData.ajlbCode": {
// handler(val) {
// if (val != "") {
// this.ajlbCode = [val];
// } else {
// this.ajlbCode = [];
// }
// //请求接口 4 CODE_GABAJZLB_bz
// if (val == "") {
// axios
// .get(`JsonData/CODE_GABAJZLB_bz.json`)
// .then((res) => {
// this.propQueryField[4].codeOptions = res.data.rows.filter(
// (value) => {
// return value.id.indexOf(val) == 0;
// }
// );
// // self.$set(val, "codeOptions", res.data.rows);
// })
// .catch((err) => {
// console.log(err);
// });
// this.$set(this.cxFormData, "ajzlb", "");
// this.$set(this.cxFormData, "ajxzlb", "");
// }
// },
// deep: true,
// },
// "cxFormData.ajzlb": {
// handler(val) {
// let self = this;
// console.log(this.propQueryField[4]);
// //请求接口 5 CODE_GABAJXZLB_bz
// if (val == "") {
// axios
// .get(`JsonData/CODE_GABAJXZLB_bz.json`)
// .then((res) => {
// this.propQueryField[5].codeOptions = res.data.rows.filter(
// (value) => {
// return value.id.indexOf(val) == 0;
// }
// );
// })
// .catch((err) => {
// console.log(err);
// });
// this.$set(this.cxFormData, "ajlbCode", "");
// this.$set(this.cxFormData, "ajxzlb", "");
// }
// },
// deep: true,
// },
// "cxFormData.ajxzlb": {
// handler(val, oldval) {
// if (val == "") {
// this.$set(this.cxFormData, "ajlbCode", "");
// this.$set(this.cxFormData, "ajzlb", "");
// }
// },
// deep: true,
// },
// "cxFormData.zdyCodeTxt": {
// handler(val) {
// console.log(val, 8888888888);
// if (val != "") {
// this.zdyCodeTxt = [val];
// console.log(this.zdyCodeTxt, 8888888888);
// } else {
// this.zdyCodeTxt = [];
// }
// },
// deep: true,
// },
// "cxFormData.ssjzMin": {
// handler(val) {
// if (val
<
10
&&
val
!=
""
)
{
...
...
@@ -4400,104 +4299,104 @@
// deep: true,
// },
},
};
};
</
script
>
<
style
>
@import
url("../../assets/iconfont/iconfont.css")
;
@import
url("../../assets/iconfont/iconfont.css")
;
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
height
:
100px
;
}
}
.flTtitle
.el-radio-button
:first-child
.el-radio-button__inner
{
.flTtitle
.el-radio-button
:first-child
.el-radio-button__inner
{
width
:
46px
;
font-size
:
14px
;
border-radius
:
20px
0
0
20px
;
box-shadow
:
none
!important
;
padding
:
4px
15px
;
}
}
.flTtitle
.el-radio-button
:last-child
.el-radio-button__inner
{
.flTtitle
.el-radio-button
:last-child
.el-radio-button__inner
{
width
:
46px
;
font-size
:
14px
;
border-radius
:
0
20px
20px
0
;
box-shadow
:
none
!important
;
padding
:
4px
15px
;
}
}
.el-dialog
{
max-height
:
none
;
height
:
auto
;
}
.el-dialog
{
max-height
:
500px
;
overflow
:
auto
;
}
.el-dialog__body
{
.el-dialog__body
{
padding
:
10px
15px
!important
;
}
}
.rightContent
.el-input__inner
,
#formCommonPage
.el-input__inner
{
.rightContent
.el-input__inner
,
#formCommonPage
.el-input__inner
{
height
:
32px
;
line-height
:
32px
;
font-family
:
inherit
;
}
}
.el-table__header-wrapper
th
,
.el-table__header-wrapper
tr
{
.el-table__header-wrapper
th
,
.el-table__header-wrapper
tr
{
background
:
#f4f6f7
;
}
}
.el-table
th
,
.el-table
tr
{
.el-table
th
,
.el-table
tr
{
height
:
44px
!important
;
}
}
.rightContent
.el-input__icon
,
#formCommonPage
.el-input__icon
,
.el-input__suffix-inner
{
.rightContent
.el-input__icon
,
#formCommonPage
.el-input__icon
,
.el-input__suffix-inner
{
line-height
:
32px
;
}
}
.rightContent
.el-range-separator
{
.rightContent
.el-range-separator
{
position
:
relative
;
top
:
-4px
;
}
}
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
.rightContent
.el-textarea__inner
,
#formCommonPage
.el-textarea__inner
{
width
:
100%
;
font-family
:
inherit
;
}
}
.rightContent
.el-range-input
,
#formCommonPage
.el-range-input
{
.rightContent
.el-range-input
,
#formCommonPage
.el-range-input
{
vertical-align
:
top
;
}
}
.rightContent
.el-date-editor
.el-range__close-icon
{
.rightContent
.el-date-editor
.el-range__close-icon
{
margin-top
:
-4px
;
}
}
.rightContent
.el-form-item__error
{
.rightContent
.el-form-item__error
{
left
:
calc
(
66%
-
27px
);
top
:
12px
;
}
}
/* .success-row {
/* .success-row {
background-color: #fbf9f4 !important;
} */
.Content
.el-input
,
.Content
.el-date-editor--daterange.el-input__inner
{
.Content
.el-input
,
.Content
.el-date-editor--daterange.el-input__inner
{
width
:
100%
!important
;
}
}
.el-icon-date
:before
{
.el-icon-date
:before
{
content
:
"\e71f"
!important
;
}
}
</
style
>
<
style
scoped
lang=
"scss"
>
#cxForm
.heightLine
{
#cxForm
.heightLine
{
background-color
:
#fff
!important
;
border-color
:
#f1970f
!important
;
color
:
#f1970f
!important
;
...
...
@@ -4505,9 +4404,9 @@
i
{
color
:
#f1970f
!important
;
}
}
}
.filter-container
{
.filter-container
{
.el-checkbox-group
{
display
:
flex
;
flex-wrap
:
wrap
;
...
...
@@ -4526,42 +4425,42 @@
width
:
113px
;
margin-right
:
30px
;
}
}
}
.btsz
{
.btsz
{
color
:
#0061f7
;
}
}
.el-input-number
{
.el-input-number
{
position
:
relative
;
display
:
inline-block
;
width
:
100%
;
line-height
:
30px
;
}
}
/
deep
/
i
.el-icon-success
{
/
deep
/
i
.el-icon-success
{
color
:
#00ff0a
;
}
}
/
deep
/
i
.el-icon-error
{
/
deep
/
i
.el-icon-error
{
color
:
red
;
}
}
/
deep
/
th
.is-center.is-leaf
{
/
deep
/
th
.is-center.is-leaf
{
background
:
#f4f6f7
;
}
}
@import
"../../assets/styles/rightContentscss.scss"
;
.el-dropdown-menu
{
@import
"../../assets/styles/rightContentscss.scss"
;
.el-dropdown-menu
{
height
:
324px
;
overflow-y
:
auto
;
}
}
.avatar-uploader
.el-upload
:hover
{
.avatar-uploader
.el-upload
:hover
{
border-color
:
#409eff
;
}
}
.avatar-uploader-icon
{
.avatar-uploader-icon
{
font-size
:
28px
;
color
:
#8c939d
;
width
:
178px
;
...
...
@@ -4573,33 +4472,33 @@
cursor
:
pointer
;
position
:
relative
;
overflow
:
hidden
;
}
}
.avatar
{
.avatar
{
width
:
178px
;
height
:
178px
;
display
:
block
;
}
}
.avatar
{
.avatar
{
width
:
178px
;
height
:
178px
;
display
:
block
;
}
}
.returnBtn
{
.returnBtn
{
margin-left
:
15px
!important
;
}
}
.zdycoltextare
{
.zdycoltextare
{
width
:
99%
;
}
}
::v-deep
.new-image
img
{
::v-deep
.new-image
img
{
width
:
100px
;
}
}
/
deep
/
.el-loading-spinner
{
/
deep
/
.el-loading-spinner
{
top
:
50%
;
left
:
50%
;
margin-left
:
-55px
;
...
...
@@ -4617,9 +4516,8 @@
.el-loading-text
{
color
:
#eee
;
}
}
.total
{
}
.total
{
height
:
16px
;
background
:
#f1970f
;
border-radius
:
8px
;
...
...
@@ -4637,5 +4535,5 @@
color
:
#ffffff
;
opacity
:
1
;
}
}
}
</
style
>
src/router/modules/index.js
View file @
b97f8630
...
...
@@ -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
src/router/modules/zdrygl.js
View file @
b97f8630
...
...
@@ -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",
...
...
src/views/zdrygl/myaddZdry.vue
View file @
b97f8630
...
...
@@ -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
:
"splc"
,
props
:
"checkEmpty"
,
type
:
"select"
,
selectData
:
[
{
name
:
""
,
name
:
"人员标签"
,
id
:
"zdyCode"
,
type
:
"codeTreeDialogRYBQ"
,
codeTree
:
""
,
value
:
""
,
codeOptions
:
[],
placeholder
:
"请选择"
,
col
:
"3"
,
},
{
name
:
"暂未审批"
,
value
:
"1"
,
},
],
name
:
"审批流程"
,
id
:
"splc"
,
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
,
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"
);
...
...
src/views/zdrygl/myaddZdryInsert.vue
View file @
b97f8630
...
...
@@ -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
:
{
zjhm
:
''
,
xm
:
''
,
cym
:
''
,
mzdm
:
''
,
xbdm
:
''
,
jgssxdm
:
''
,
jyzkdm
:
''
,
cxrqQsrq
:
''
,
csdDzmc
:
''
,
hjdzXzqhdm
:
''
,
xzzDzmc
:
''
,
ajlbCode
:
''
,
code
:
''
,
sprxm
:
''
,
sprjh
:
'admin'
,
xzqhdm
:
''
,
edzzplj
:
''
},
],
formLabelAlign
:
{},
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
)
{
if
(
result
[
fieldItem
.
id
]){
result
[
fieldItem
.
id
]
.
split
(
"#"
)
.
splice
(
1
)
.
forEach
((
item
,
index
)
=>
{
self
.
$set
(
self
.
formLabelAlign
[
fieldItem
.
id
],
index
,
item
);
});
}
else
{
}
}
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
(
"保存成功!"
,
"提示"
,
{
...
...
src/views/zdrygl/rySp.vue
View file @
b97f8630
...
...
@@ -15,11 +15,15 @@
</
template
>
</right-content>
<!-- 审批意见框 -->
<el-dialog
title=
"审批"
:visible
.
sync=
"dialogVisible"
width=
"30%"
center
>
<el-form
:inline=
"true"
:model=
"examineInfo"
class=
"demo-form-inline"
>
<el-dialog
title=
"审批"
:close-on-click-modal=
"false"
:visible
.
sync=
"dialogVisible"
width=
"30%"
center
>
<el-form
:inline=
"true"
:model=
"examineInfo"
class=
"demo-form-inline"
ref=
"ruleForm5"
>
<el-row>
<el-col
:span=
"20"
:offset=
"4"
style=
"margin-top: 20px"
>
<el-form-item
label=
"审批意见"
style=
"width:100%;
"
>
<el-form-item
prop=
"spyj"
label=
"审批意见"
style=
"width: 100%;
"
>
<el-input
type=
"textarea"
v-model=
"examineInfo.spyj"
...
...
@@ -30,18 +34,20 @@
</el-form-item>
</el-col>
<el-col
:span=
"20"
:offset=
"4"
style=
"margin-top: -10px"
>
<el-form-item
label=
"审批状态"
>
<el-radio
v-model=
"examineInfo.splc"
label=
"0"
>
审批通过
</el-radio>
<el-radio
v-model=
"examineInfo.splc"
label=
"2"
>
审批不通过
</el-radio
>
<el-form-item
label=
"审批状态"
prop=
"splc"
:rules=
"{ required: true, message: '审批状态不能为空'}"
>
<el-radio-group
v-model=
"examineInfo.splc"
>
<el-radio
:label=
"0"
>
审批通过
</el-radio>
<el-radio
:label=
"2"
>
审批不通过
</el-radio>
</el-radio-group>
</el-form-item>
</el-col>
</el-row>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"updatesplc"
>
确 定
</el-button>
<el-button
type=
"primary"
@
click=
"updatesplc
('ruleForm5')
"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
@@ -63,35 +69,10 @@ export default {
cxFormData
:
{
limit
:
10
,
page
:
1
,
splc
:
"1"
,
sprjh
:
""
,
splc
:
''
,
sprjh
:
"
admin
"
,
},
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"
,
...
...
@@ -112,7 +93,6 @@ export default {
name
:
"户籍地区划"
,
id
:
"xzqhdm"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
...
...
@@ -120,114 +100,88 @@ export default {
codeTree
:
"CODE_XZQH"
,
},
{
name
:
"案件主类别"
,
id
:
"ajzlb"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
name
:
"案件类别"
,
id
:
"ajlbCode"
,
type
:
"codeTreeDialogAjlb"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
codeTree
:
"CODE_AJLB_bz"
,
codeOptions
:
[],
codeTree
:
"CODE_AJZLB"
,
},
// {
// name: "小案类别",
// id: "ajzlb",
// type: "codeTreeDialogAjlb",
// value: "",
// placeholder: "请选择",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_GABAJZLB_bz",
// },
// {
// name: "细案类别",
// id: "ajxzlb",
// type: "codeTreeDialogAjlb",
// value: "",
// placeholder: "请选择",
// col: "3",
// codeOptions: [],
// codeTree: "CODE_GABAJXZLB_bz",
// },
{
name
:
"刑事类案案
别"
,
id
:
"xalbdmbcms
"
,
name
:
"性
别"
,
id
:
"xbdm
"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XALBDMBCMS
"
,
codeTree
:
"CODE_XB
"
,
},
{
name
:
"
案件类别
"
,
id
:
"
ajlbCode
"
,
name
:
"
民族
"
,
id
:
"
mzdm
"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_AJLB"
,
},
{
name
:
"自定义标签"
,
id
:
"zdyCodeTxt"
,
type
:
"select"
,
value
:
""
,
col
:
"3"
,
selectData
:
[],
codeTree
:
"CODE_MZ"
,
},
{
name
:
"人员标签"
,
id
:
"zdyCode"
,
type
:
"select"
,
value
:
""
,
col
:
"3"
,
selectData
:
[],
},
{
name
:
"性别"
,
id
:
"xbdm"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
type
:
"codeTreeDialogRYBQ"
,
codeTree
:
""
,
value
:
""
,
codeOptions
:
[],
placeholder
:
"请选择"
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_XB"
,
},
{
name
:
"民族"
,
id
:
"mzdm"
,
type
:
"codeTreeDialog"
,
props
:
"checkEmpty"
,
name
:
"审批流程"
,
id
:
"splc"
,
type
:
"radio"
,
value
:
""
,
placeholder
:
"请选择"
,
col
:
"3"
,
codeOptions
:
[],
codeTree
:
"CODE_MZ"
,
radioData
:
[
{
label
:
"全部"
,
val
:
""
},
{
label
:
"暂未审批"
,
val
:
1
},
],
},
// {
// name: "审批流程",
// id: "splc",
// props: "checkEmpty",
// type: "select",
// selectData: [
// {
// name: "全部",
// value: "",
// },
// {
// name: "暂未审批",
// value: "1",
// },
// {
// name: "通过",
// value: "0",
// },
// {
// name: "未通过",
// value: "2",
// },
// ],
// value: '1',
// placeholder: "请选择",
// col: "3",
// },
// {
// name: "审批人警号",
// id: "sprjh",
// type: "text",
// value: "",
// placeholder: "请填写",
// col: "3",
// },
],
cxDefaultFormThead
:
[
{
label
:
"审批流程"
,
prop
:
"splcText"
,
},
{
label
:
"审批意见"
,
prop
:
"spyj"
,
},
{
label
:
"姓名"
,
toInfor
:
true
,
prop
:
"xm"
,
...
...
@@ -237,32 +191,31 @@ export default {
prop
:
"zjhm"
,
},
{
label
:
"作案年龄"
,
prop
:
"zanl"
,
},
{
label
:
"人员标签"
,
prop
:
"codeTxt"
,
width
:
"200"
,
},
{
label
:
"人员分类"
,
prop
:
"ryflText"
,
width
:
"200"
,
label
:
"录入人"
,
prop
:
"zjhm"
,
},
{
label
:
"案件类别"
,
prop
:
"ajlbCodeTxt"
,
width
:
"350px"
,
prop
:
"ajlb"
,
},
{
label
:
"
审批流程
"
,
prop
:
"
splc
Text"
,
label
:
"
性别
"
,
prop
:
"
xbdm
Text"
,
},
{
label
:
"审批意见"
,
prop
:
"spyj"
,
label
:
"民族"
,
prop
:
"mzdmText"
,
width
:
"200"
,
},
{
label
:
"户籍"
,
prop
:
"xzqhdmText"
,
width
:
"200"
,
},{
label
:
"人员标签"
,
prop
:
"codeTxt"
,
width
:
"200"
,
}
],
cxUrl
:
"/zdGzry/getZdGzryxx"
,
Menu
:
[
...
...
@@ -278,23 +231,20 @@ export default {
dialogVisible
:
false
,
examineInfo
:
{
spyj
:
""
,
splc
:
"待审核"
,
splc
:
0
,
},
};
},
mounted
()
{
let
userInfo
=
window
.
sessionStorage
.
getItem
(
"userInfo"
)
||
""
;
var
obj
=
JSON
.
parse
(
userInfo
);
console
.
log
(
obj
);
this
.
cxFormData
.
sprjh
=
obj
.
account
;
console
.
log
(
this
.
cxFormData
.
account
);
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
},
created
()
{
this
.
$store
.
commit
(
"user/SET_Menu"
,
this
.
Menu
);
this
.
getCode
();
this
.
cxQueryField
[
10
].
value
=
"1"
;
// debugger;
// this.cxQueryField[7].value = "1";
},
methods
:
{
getCode
()
{
...
...
@@ -302,12 +252,13 @@ export default {
getRybq
().
then
((
res
)
=>
{
res
.
data
.
rows
.
forEach
((
item
)
=>
{
arr
.
push
({
value
:
item
.
code
,
name
:
item
.
name
,
id
:
item
.
code
,
label
:
item
.
name
,
disabled
:
false
,
});
});
});
this
.
$set
(
this
.
cxQueryField
[
6
],
"
selectData
"
,
arr
);
this
.
$set
(
this
.
cxQueryField
[
6
],
"
codeOptions
"
,
arr
);
},
toInfor
(
data
)
{
this
.
$router
.
pushToTab
({
...
...
@@ -322,10 +273,15 @@ export default {
this
.
id
=
scope
.
row
.
id
;
},
updatesplc
(
scope
)
{
let
self
=
this
self
.
$refs
[
'ruleForm5'
].
validate
((
valid
)
=>
{
debugger
if
(
valid
)
{
debugger
var
params
=
new
FormData
();
params
.
append
(
"id"
,
this
.
id
);
params
.
append
(
"splc"
,
this
.
examineInfo
.
splc
);
params
.
append
(
"spyj"
,
this
.
examineInfo
.
spyj
);
params
.
append
(
"id"
,
self
.
id
);
params
.
append
(
"splc"
,
self
.
examineInfo
.
splc
);
params
.
append
(
"spyj"
,
self
.
examineInfo
.
spyj
);
updateAddZdry
(
params
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
code
==
200
)
{
this
.
$alert
(
"审批成功!"
,
"提示"
,
{
...
...
@@ -339,11 +295,13 @@ export default {
this
.
dialogVisible
=
false
;
}
});
this
.
examineInfo
.
splc
=
"待审核"
;
this
.
examineInfo
.
spyj
=
""
;
this
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
},
},
self
.
examineInfo
.
splc
=
0
;
self
.
examineInfo
.
spyj
=
""
;
self
.
$refs
.
rightContent
.
doQuery
(
"yes"
);
}
})
}
}
};
</
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