diff --git a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
index 89aafdb4f..a867741fe 100644
--- a/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
+++ b/src/pages/processCenter/pages/creatProcess/wfhxzg/step1.vue
@@ -162,9 +162,11 @@
+ placeholder="查询责任部门"
+ @click.native="choiceZRBM('ZRBMId', '查询责任部门', queryUnqualidiedData.responsibleUnit)">
@@ -317,6 +319,12 @@
:nodeList="nodeList"
@checkedRole="drawerCheck"
/>
+
@@ -339,6 +347,8 @@ export default {
name: "wfhxzgStep1",
data() {
return {
+ modalshowflagZRBM: false,
+ nodeListZRBM: [],
loading: false,
submitFlag: '', //是否是修改节点
commentText: '', // 意见
@@ -404,6 +414,32 @@ export default {
}
},
methods: {
+ drawerCheckZRBM(data) {
+ let idList = ''
+ let nameList = ''
+ data.forEach(item => {
+ // if (item.hasChild === '0') {
+ if (nameList.length > 0) {
+ nameList += ','
+ idList += ','
+ }
+ idList += item.id
+ nameList += item.name
+ // }
+ })
+ if (this.drawerTitle === '责任部门') {
+ this.sarStandardsInfoEO.ZRBMId = idList;
+ this.queryUnqualidiedData.responsibleUnit = nameList;
+ } else if (this.drawerTitle === '查询责任部门') {
+ this.queryUnqualidiedData.responsibleUnit = nameList
+ }
+ },
+ choiceZRBM(type, title, id) {
+ this.nodeListZRBM = []
+ this.nodeListZRBM.push(id)
+ this.drawerTitle = title
+ this.modalshowflagZRBM = true
+ },
getHistoryData() {
return new Promise((resolve, reject) => {
inboundLiaisonDetail({
@@ -808,7 +844,7 @@ export default {