From 08d23af5b6b9657bea6badebd9810d78b78d62c0 Mon Sep 17 00:00:00 2001 From: yanyizhou <2311759275@qq.com> Date: Wed, 22 Dec 2021 21:13:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A0=87=E5=87=86=E5=BA=93=20-=20=E5=88=86?= =?UTF-8?q?=E8=A7=A3=E5=8D=95=E7=BC=96=E8=BE=91=20-=20=E8=B4=A3=E4=BB=BB?= =?UTF-8?q?=E5=B7=A5=E7=A8=8B=E5=B8=88=E7=94=A8=E6=A0=91=E5=BD=A2=E6=9E=B6?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../details/otherStandardDetails/index.vue | 102 ++++++++++++++++-- 1 file changed, 91 insertions(+), 11 deletions(-) diff --git a/src/pages/details/otherStandardDetails/index.vue b/src/pages/details/otherStandardDetails/index.vue index 30fd8caf5..33ac7800b 100644 --- a/src/pages/details/otherStandardDetails/index.vue +++ b/src/pages/details/otherStandardDetails/index.vue @@ -909,16 +909,30 @@ v-model="resolveListForm.applyArctic" > - - - + + + + + + + + + + + + + + + { + // if (item.hasChild === '0' && item.children === null) { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + // } + }) + if (this.drawerTitle === '责任部门'){ + this.sarStandardsInfoEO.ZRBMId = idList; + this.sarStandardsInfoEO['ZRBM'] = nameList; + }else if (this.drawerTitle === '查询责任部门'){ + this.advanceSearchMapping['ZRBM'] = nameList + } + }, + choiceZRRS (type, title, id) { + console.log('2077',type, title, id) + this.nodeList = [] + this.nodeList.push(id) + this.userType = type + this.drawerTitle = title + this.modalShowRoleFlag = true + }, + checkedRole2 (data) { + console.log('1712',this.drawerTitle) + let idList = '' + let nameList = '' + data.forEach( item => { + if (nameList.length > 0) { + nameList += ',' + idList += ',' + } + idList += item.id + nameList += item.name + }) + if (this.drawerTitle === '查询责任工程师'){ + this.resolveListForm.dutyEngineer = nameList + } + + }, select(selection, row) { // 清除 所有勾选项 this.$refs.multipleTable.clearSelection() @@ -2536,7 +2614,9 @@ export default { if (typeof this.resolveListForm.zccssrq !== 'string'){ this.resolveListForm.zccssrq = this.resolveListForm.zccssrq.join(',') } - this.resolveListForm.applyArctic = this.resolveListForm.applyArctic.join(',') + if (typeof this.resolveListForm.applyArctic !== 'string'){ + this.resolveListForm.applyArctic = this.resolveListForm.applyArctic.join(',') + } this.$http.putData( 'SarStandItems/sar-stand-items/updateSarItemAndInterpretation', this.resolveListForm,