diff --git a/src/components/phoneRole/index.vue b/src/components/phoneRole/index.vue index 132ce3b5b..8201035ea 100644 --- a/src/components/phoneRole/index.vue +++ b/src/components/phoneRole/index.vue @@ -3,6 +3,7 @@ - + - + @@ -125,21 +126,18 @@ export default { }, isShowPhone2(val) { this.$emit('update:isShowPhone', val) - }, - resultList (val) { - this.result = val - }, - result() { - this.$emit('resultList', this.result) } }, mounted() { this.getPhoneData() }, methods: { + itemChange (data) { + }, /** 查询 */ queryPhone() { this.getPhoneData() + this.finished = false }, /** 获取人员数据 */ async getPhoneData() { @@ -170,22 +168,41 @@ export default { }, roleSumit() { - this.$emit('checkedRole', this.result) - this.isShowPhone2 = false + let ids = '' + this.result.map(item => { + if (ids.length > 0) { + ids += ',' + ids += item + } else { + ids = item + } + }) + this.$http.get('SarInstitution/institution/getNextById', { + ids: ids + }, { + _this: this + }, res => { + this.$emit('checkedRole', res) + this.isShowPhone2 = false + this.phoneForm.name = '' + this.getPhoneData() + }) }, roleClear() { this.result = [] this.isShowPhone2 = false + this.phoneForm.name = '' + this.getPhoneData() }, // 下滑加载数据 onLoad() { + this.phoneForm.page++ phoneUser(this.phoneForm).then(res => { this.roleList = this.roleList.concat(res.data) this.total = this.roleList[0].total this.loading = false if (this.roleList.length < this.total) { - this.phoneForm.page ++ this.loading = false } else { this.finished = true diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue index 87ed68310..7a87e5797 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step1-1.vue @@ -179,7 +179,7 @@ align="center"> @@ -474,7 +474,7 @@ size="800px">
- 查看比对 + 查看比对 @@ -483,7 +483,7 @@ size="800px">
- 查看比对 + 查看比对 @@ -357,7 +357,7 @@ size="800px">
- 查看比对 + 查看比对 diff --git a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue index ff0d941b1..09a920150 100644 --- a/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue +++ b/src/pages/processCenter/pages/creatProcess/bzjd/step4.vue @@ -177,6 +177,7 @@