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,