diff --git a/src/views/pro/apply/supervisorEnterApply.vue b/src/views/pro/apply/supervisorEnterApply.vue index 87e8073..276cb99 100644 --- a/src/views/pro/apply/supervisorEnterApply.vue +++ b/src/views/pro/apply/supervisorEnterApply.vue @@ -1248,6 +1248,7 @@ export default { this.supervisorOpen = true }, delPerson(row) { + console.log(row, '行信息') this.$confirm('是否确认删除?', '提示', { confirmButtonText: '确定', cancelButtonText: '取消', @@ -1256,6 +1257,7 @@ export default { const params = { supUuid: row.supUuid, proId: row.proId, + userId: row.id, } delPersonByIdCardAndPhone(params).then(response => { if (response.code === 200) { diff --git a/src/views/pro/supervisorPersonManage/addPersonnel.vue b/src/views/pro/supervisorPersonManage/addPersonnel.vue index c0f37bd..5c25719 100644 --- a/src/views/pro/supervisorPersonManage/addPersonnel.vue +++ b/src/views/pro/supervisorPersonManage/addPersonnel.vue @@ -66,7 +66,6 @@ show-word-limit v-no-whitespace :style="{ width: '100%' }" - :disabled="disabled" > @@ -154,6 +153,7 @@ :show-type="1" :is-examine="false" :btn-show="false" + :auditReason="[]" > @@ -399,12 +399,14 @@ export default { addSupervisoryPersonApply(reqData) .then(response => { this.$modal.msgSuccess('新增成功') - this.supervisorOpen = false + // this.supervisorOpen = false this.delFileIds = [] - this.getSupervisorPersonList() + // this.getSupervisorPersonList() this.loading = false + this.$router.go(-1) }) .catch(error => { + console.log('error', error) this.loading = false // 增加错误处理 this.$modal.msgError('新增失败:' + error.message) diff --git a/src/views/pro/supervisorPersonManage/index.vue b/src/views/pro/supervisorPersonManage/index.vue index 3dbb122..e9fe530 100644 --- a/src/views/pro/supervisorPersonManage/index.vue +++ b/src/views/pro/supervisorPersonManage/index.vue @@ -448,6 +448,8 @@ import BnsFileListTabs from '@/components/pro-tabs/bns-file-list-tabs.vue' import bnsKkFilePreview from '@/components/pro-tabs/bns-kkFile-preview.vue' import debounce from 'lodash/debounce' +import { listSupervisor } from '@/api/pro/outsourcingPro' + export default { name: 'Post', components: { bnsKkFilePreview, BnsFileListTabs }, @@ -614,7 +616,7 @@ export default { this.queryParams.contUuid = this.$store.state.user.thisIds.consUuid this.queryParams.subUuid = this.$store.state.user.thisIds.subUuid this.queryParams.userType = this.$store.state.user.userType - listAdmissionRequest(this.queryParams).then(response => { + listSupervisor(this.queryParams).then(response => { this.deviceInformation = response.rows this.total = response.total this.loading = false