diff --git a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue index be906d5ad..c97c031d5 100644 --- a/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue +++ b/src/pages/regulatoryRepository/domesticStandardsAndRegulations/index.vue @@ -1712,12 +1712,24 @@ + + + + + + + @@ -1791,12 +1803,29 @@ + + + + + + + @@ -5521,7 +5550,7 @@ export default { }) }, choiceZRRS (type, title, id) { - console.log('2077',title) + console.log('2077',type, title, id) this.nodeList = [] this.nodeList.push(id) this.userType = type @@ -5529,7 +5558,7 @@ export default { this.modalShowRoleFlag = true }, checkedRole2 (data) { - console.log('1712',this.drawerTitle) + console.log('1712',data) let idList = '' let nameList = '' data.forEach( item => { @@ -5544,6 +5573,8 @@ export default { this.sarStandardsInfoEO['WSSMR'] = nameList }else if (this.drawerTitle === '选择责任工程师'){ this.sarStandardsInfoEO['ZRGCS'] = nameList + }else if (this.drawerTitle === '查询责任工程师'){ + this.advanceSearchMapping['ZRGCS'] = nameList } }, @@ -5577,7 +5608,7 @@ export default { }, drawerCheckZRBM(data) { - console.log("5389", data); + console.log("5389", this.drawerTitle); let idList = '' let nameList = '' data.forEach(item => { @@ -5590,9 +5621,12 @@ export default { nameList += item.name // } }) - - this.sarStandardsInfoEO.ZRBMId = idList; - this.sarStandardsInfoEO['ZRBM'] = nameList; + if (this.drawerTitle === '责任部门'){ + this.sarStandardsInfoEO.ZRBMId = idList; + this.sarStandardsInfoEO['ZRBM'] = nameList; + }else if (this.drawerTitle === '查询责任部门'){ + this.advanceSearchMapping['ZRBM'] = nameList + } }, },