From 6248c3917bf40d0684a3ba90fda1cf1aa517f4e0 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Wed, 20 Nov 2024 17:01:04 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A1=AB=E5=86=99=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../assetsManagement/assetsAuth.vue | 259 +++++++++++++++--- 1 file changed, 221 insertions(+), 38 deletions(-) diff --git a/src/views/auditPages/assetsManagement/assetsAuth.vue b/src/views/auditPages/assetsManagement/assetsAuth.vue index 44e4ca5..47c15be 100644 --- a/src/views/auditPages/assetsManagement/assetsAuth.vue +++ b/src/views/auditPages/assetsManagement/assetsAuth.vue @@ -105,7 +105,15 @@ - + @@ -657,7 +665,15 @@ - + @@ -680,7 +696,15 @@ - + @@ -703,7 +727,15 @@ - + @@ -726,7 +758,15 @@ - + @@ -828,7 +868,15 @@ - + @@ -1094,7 +1142,15 @@ - + @@ -1111,12 +1167,28 @@ - + - + @@ -1230,7 +1302,15 @@ - + @@ -1260,7 +1340,15 @@ - + @@ -1290,7 +1378,15 @@ - + @@ -1320,7 +1416,15 @@ - + @@ -1350,7 +1454,15 @@ - + @@ -1399,7 +1511,15 @@ - + @@ -1448,7 +1568,15 @@ - + @@ -1772,7 +1900,15 @@ - + @@ -1821,7 +1957,15 @@ - + @@ -1908,7 +2052,15 @@ - + @@ -1992,18 +2144,26 @@ - + - + - + @@ -2096,7 +2256,15 @@ - + @@ -2189,8 +2357,17 @@ - - + + @@ -2228,7 +2405,15 @@ - + @@ -2698,24 +2883,22 @@ export default { getInfo(id){ assetInfo(id).then(res=>{ this.ruleForm = res.data; - console.log(this.ruleForm); if(!this.ruleForm.xjgywxt) { this.ruleForm.xjgywxt = {} this.$set(this.ruleForm.xjgywxt, 'remark', "") } - console.log(this.ruleForm); this.ruleForm.xttz ? this.xttz = this.ruleForm.xttz.split(',') : []; - this.ruleForm.gylxxList.length > 0 ? this.chepingUnit = this.ruleForm.gylxxList.filter((item) => item.type == 1) : [] - this.ruleForm.gylxxList.length > 0 ? this.yjgysUnit = this.ruleForm.gylxxList.filter((item) => item.type == 2) : [] - this.ruleForm.gylxxList.length > 0 ? this.jfywUnit = this.ruleForm.gylxxList.filter((item) => item.type == 3) : [] - this.ruleForm.gylxxList.length > 0 ? this.xtsjUnit = this.ruleForm.gylxxList.filter((item) => item.type == 4) : [] - this.ruleForm.gylxxList.length > 0 ? this.xtjsUnit = this.ruleForm.gylxxList.filter((item) => item.type == 5) : [] - this.ruleForm.gylxxList.length > 0 ? this.xtyyUnit = this.ruleForm.gylxxList.filter((item) => item.type == 7) : [] - this.ruleForm.gylxxList.length > 0 ? this.aqfwUnit = this.ruleForm.gylxxList.filter((item) => item.type == 6) : [] + this.chepingUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 1) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 1) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:1}]) + this.yjgysUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 2) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 2) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:2}]) + this.jfywUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 3) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 3) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:3}]) + this.xtsjUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 4) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 4) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:4}]) + this.xtjsUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 5) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 5) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:5}]) + this.xtyyUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 7) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 7) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:7}]) + this.aqfwUnit = (this.ruleForm.gylxxList.filter((item) => item.type == 6) == [] ? this.ruleForm.gylxxList.filter((item) => item.type == 6) : [{name:"",tyshxydm:"",lxr:"",lxdh:"",type:6}]) - this.ruleForm.jcwlList.length > 0 ? this.fwqxx = this.ruleForm.jcwlList.filter((item) => item.type == 1) : [] - this.ruleForm.jcwlList.length > 0 ? this.wlsb = this.ruleForm.jcwlList.filter((item) => item.type == 2) : [] - this.ruleForm.jcwlList.length > 0 ? this.aqsb = this.ruleForm.jcwlList.filter((item) => item.type == 3) : [] + this.fwqxx = (this.ruleForm.jcwlList.filter((item) => item.type == 1) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 1) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 1}]) + this.wlsb = (this.ruleForm.jcwlList.filter((item) => item.type == 2) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 2) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 2}]) + this.aqsb = (this.ruleForm.jcwlList.filter((item) => item.type == 3) == [] ? this.ruleForm.jcwlList.filter((item) => item.type == 3) : [{sblx:"",pp:"",ipType:"",sbIP:"",czxx:"",czxxbb:"",yjxh:"",yjxlh:"",yjbbxx:"",yjyt:"",yjbswz:"",type: 3}]) this.ruleForm.xtfhqkFcg ? this.xtfhqkFcg = this.ruleForm.xtfhqkFcg.split(',') : [] this.ruleForm.xtfhqkFxl ? this.xtfhqkFxl = this.ruleForm.xtfhqkFxl.split(',') : []