diff --git a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue index bfa71af94..175355b33 100644 --- a/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzrk/step1.vue @@ -144,7 +144,7 @@ width = "800" :data="standSystemOptions" :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys" - :nodeKey="nodeKey" @popoverHide="popoverHide"> + :nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"> 1) { // this.fileList = fileList.splice(0, 1) @@ -2222,48 +2223,48 @@ // this.fileList = [] if(this.fileType === 'fbgbjbd'){ this.FBGBJBDFileList=fileList; - this.form.fbgbjbd = response.data.id; - this.form.fbgbjbdName = response.data.name; + this.form.fbgbjbd += response.data.id+','; + this.form.fbgbjbdName += response.data.name+','; }else if(this.fileType === 'xgd'){ this.xgdFileList=fileList; - this.form.xgd = response.data.id; - this.form.xgdName = response.data.name; + this.form.xgd += response.data.id+','; + this.form.xgdName += response.data.name+','; }else if(this.fileType === 'bpg'){ this.bpgFileList=fileList; - this.form.bpg = response.data.id; - this.form.bpgName = response.data.name; + this.form.bpg += response.data.id+','; + this.form.bpgName += response.data.name+','; }else if(this.fileType === 'ssg'){ this.ssgFileList=fileList; - this.form.ssg = response.data.id; - this.form.ssgName = response.data.name; + this.form.ssg += response.data.id+','; + this.form.ssgName += response.data.name+','; }else if(this.fileType === 'zqyjg'){ this.zqyjgFileList=fileList; - this.form.zqyjg = response.data.id; - this.form.zqyjgName = response.data.name; + this.form.zqyjg += response.data.id+','; + this.form.zqyjgName += response.data.name+','; }else if(this.fileType === 'jdwj'){ this.jdwjFileList=fileList; - this.form.jdwj = response.data.id; - this.form.jdwjName = response.data.name; + this.form.jdwj += response.data.id+','; + this.form.jdwjName += response.data.name+','; }else if(this.fileType === 'kwj'){ this.kwjFileList=fileList; - this.form.kwj = response.data.id; - this.form.kwjName = response.data.name; + this.form.kwj += response.data.id+','; + this.form.kwjName += response.data.name+','; }else if(this.fileType === 'xgd'){ this.xgdFileList=fileList; - this.form.xgd = response.data.id; - this.form.xgdName = response.data.name; + this.form.xgd += response.data.id+','; + this.form.xgdName += response.data.name+','; }else if(this.fileType === 'glwj'){ this.qlwjFileList=fileList; - this.form.glwj = response.data.id; - this.form.glwjName = response.data.name; + this.form.glwj += response.data.id+','; + this.form.glwjName += response.data.name+','; }else if(this.fileType === 'ca'){ this.caFileList=fileList; - this.form.ca = response.data.id; - this.form.caName = response.data.name; + this.form.ca += response.data.id+','; + this.form.caName += response.data.name+','; }else if(this.fileType === 'zbjbd'){ this.zbjbdFileList=fileList; - this.form.zbjbd = response.data.id; - this.form.zbjbdName = response.data.name; + this.form.zbjbd += response.data.id+','; + this.form.zbjbdName += response.data.name+','; } this.$message({ showClose: true, @@ -2304,13 +2305,17 @@ }, popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) { if(checkedData) { - if(checkedData.length > 0){ + if(checkedData.length > 0 && checkedData.length != 0){ this.form.standSystem = checkedData.map(item => item.menuName).join(",") }else { this.form.standSystem = checkedData.menuName } + this.modalShowFlag1 = false } - this.modalShowFlag1 = false + + }, + popoverHideCancel(){ + this.modalShowFlag1 = false }, popoverHideBusVs (checkedIds, checkedData,isShow,isLoadChild,topId) { if(checkedData && checkedData.length != 0) {