diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue index a1c57cf5e..4770f5fb6 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/establish.vue @@ -70,7 +70,7 @@ + @click.native="choiceLeader"> + + +
+
+
+
+ + + + + + + 查询 + + + + 清空 + + + +
+ + > + + + + + + + +
+ +
+
+ +
1 ){ + this.$message.warning('您只能选择一条数据进行带入') + }else if(this.workChangeList.length < 1 ){ + this.$message.warning('请至少选择一条数据') + }else{ + this.$set(this.qbfsForm, 'wgLeader', this.workChangeList[0].workLeaderId) + this.$set(this.qbfsForm, 'wgLeaderName', this.workChangeList[0].workLeader) + if(this.qbfsForm.wgLeaderName){ + this.$refs.qbfsForm.validateField('wgLeaderName') + } + this.workModel = false + } + }, + getWorkBtn(){ + this.page = 1 + this.getWorkData() + }, + clearSearch(){ + this.workSearch.workGroupName = '' + this.getWorkData() + }, + pageChange(page){ + this.page = page + this.getWorkData() + }, + pageSizeChange(pageSize){ + this.pageSize = pageSize + this.getWorkData() + }, + workChange(data) { + this.workChangeList = data + }, + getWorkData() { + this.$http.get("workGroup/work-group", { + pageSize: this.pageSize, + page: this.page, + workGroupName: this.workSearch.workGroupName + }, { + _this: this + }, res => { + this.workData = res.data.records; + this.total = res.data.total; + }, e => { + }); + }, assemble(ids,names){ let list= new Array(); let idArray=ids.split(','); diff --git a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue index 5ce6ac679..535091d3e 100644 --- a/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue +++ b/src/pages/processCenter/pages/creatProcess/qbzxdjhgk/component/merge.vue @@ -138,7 +138,7 @@ + @click.native="choiceLeader"> + + +
+
+
+
+ + + + + + + 查询 + + + + 清空 + + + +
+ + > + + + + + + + +
+ +
+
+ +
1 ){ + this.$message.warning('您只能选择一条数据进行带入') + }else if(this.workChangeList.length < 1 ){ + this.$message.warning('请至少选择一条数据') + }else{ + this.$set(this.qbfsForm, 'wgLeader', this.workChangeList[0].workLeaderId) + this.$set(this.qbfsForm, 'wgLeaderName', this.workChangeList[0].workLeader) + if(this.qbfsForm.wgLeaderName){ + this.$refs.qbfsForm.validateField('wgLeaderName') + } + this.workModel = false + } + }, + getWorkBtn(){ + this.page = 1 + this.getWorkData() + }, + clearWorkSearch(){ + this.workSearch.workGroupName = '' + this.getWorkData() + }, + pageChangeNo(page){ + this.pageNo = page + this.getWorkData() + }, + pageSizeChangeNo(pageSize){ + this.pageSizeNo = pageSize + this.getWorkData() + }, + workChange(data) { + this.workChangeList = data + }, + getWorkData() { + this.$http.get("workGroup/work-group", { + pageSize: this.pageSizeNo, + page: this.pageNo, + workGroupName: this.workSearch.workGroupName + }, { + _this: this + }, res => { + this.workData = res.data.records; + this.total = res.data.total; + }, e => { + }); + }, //体系结构单选 handleClick(data,checked, node){ if(checked){