{{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }}
@@ -18,7 +18,7 @@
@@ -27,11 +27,14 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
@@ -40,14 +43,11 @@
-
-
-
-
-
+
+
-
+
@@ -92,11 +92,11 @@
-
-
diff --git a/supervise-risk-ui/src/views/risk/RiskManage/categoryAdd.vue b/supervise-risk-ui/src/views/risk/RiskManage/categoryAdd.vue
index c0c0c8b9..be228a65 100644
--- a/supervise-risk-ui/src/views/risk/RiskManage/categoryAdd.vue
+++ b/supervise-risk-ui/src/views/risk/RiskManage/categoryAdd.vue
@@ -33,7 +33,11 @@
上级名称:
@@ -79,7 +83,7 @@ export default {
name: '',
code: '',
content: '',
- hierarchy: '',
+ hierarchy: 1,
parentSid: '',
parentName: '',
remarks: '' ,
@@ -101,11 +105,11 @@ export default {
this.formobj.name= '',
this.formobj.code= '',
this.formobj.content= '',
- this.formobj.hierarchy= '',
+ this.formobj.hierarchy= 1,
this.formobj.parentSid= ''
this.formobj.parentName= ''
this.formobj.remarks= ''
-
+ this.viewState=1
this.$refs['form_obj'].resetFields()
this.$emit('doback')
},
@@ -114,16 +118,17 @@ export default {
this.$refs['form_obj'].clearValidate()
})
this.viewTitle = '【新增】风险等级'
- this.hierarchys= false
+ this.hierarchys=false
+ this.formobj.hierarchy= 1
},
showEdit(row) {
this.$nextTick(() => {
this.$refs['form_obj'].clearValidate()
})
this.viewTitle = '【修改】风险等级'
- this.hierarchys= true
const _this = this
const vdata = row
+ _this.hierarchys=true
_this.formobj.id = vdata.id
_this.formobj.sid = vdata.sid
_this.formobj.name = vdata.name
@@ -133,6 +138,11 @@ export default {
_this.formobj.parentName = vdata.parentName
_this.formobj.parentSid = vdata.parentSid
_this.formobj.remarks = vdata.remarks
+ if(vdata.hierarchy==1){
+ _this.viewState=1
+ }else{
+ _this.viewState=2
+ }
},
saveOrUpdate() {
req
@@ -169,12 +179,14 @@ export default {
hierarchy(e){
if(e==2){
this.viewState=2
+ this.arrList=[]
this.superior()
}else{
this.viewState=1
this.sid=null
this.parentSid=null
this.parentName=null
+ this.arrList=[]
}
},
getType(value) {
@@ -187,7 +199,7 @@ export default {
}
-
diff --git a/supervise-risk-ui/src/views/risk/addRiskBlack.vue b/supervise-risk-ui/src/views/risk/addRiskBlack.vue
new file mode 100644
index 00000000..eb4634c7
--- /dev/null
+++ b/supervise-risk-ui/src/views/risk/addRiskBlack.vue
@@ -0,0 +1,229 @@
+
+
+
+
+
+
+
{{ isSearchShow ? '隐藏查询条件' : '显示查询条件' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/supervise-risk-ui/src/views/risk/riskCljl.vue b/supervise-risk-ui/src/views/risk/riskCljl.vue
index 67fee549..61bc2f27 100644
--- a/supervise-risk-ui/src/views/risk/riskCljl.vue
+++ b/supervise-risk-ui/src/views/risk/riskCljl.vue
@@ -64,7 +64,7 @@
-
+