From 86e345ddfe21e74d179d8a83c92c91c36abc4295 Mon Sep 17 00:00:00 2001 From: lideqin <694785430@qq.com> Date: Thu, 11 Jul 2024 09:31:40 +0800 Subject: [PATCH] =?UTF-8?q?[update]=20=E6=96=B0=E6=B3=95=E8=A7=84=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E6=B5=81=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../NewRegulationIntroductionProcess.vue | 6 +- .../processCenter/table/TodoList.vue | 19 +--- .../modules/EngineerInitBaseInfo.vue | 106 ++++++++++++++++-- 3 files changed, 99 insertions(+), 32 deletions(-) diff --git a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue index 78b9041..f48eeb4 100644 --- a/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue +++ b/src/views/workCenter/newRegulationIntroductionProcess/NewRegulationIntroductionProcess.vue @@ -134,8 +134,8 @@ import { newRegulationImportGetDataById, newRegulationImportReject, newRegulationImportSave, - newRegulationImportTurnTo, - getDataDraft + getDataDraft, + processTransfer } from '../../../api/workCenter' export default { @@ -449,7 +449,7 @@ export default { const param = Object.assign({}, values) param.userId = userIds param.taskId = this.$route.query.taskId - newRegulationImportTurnTo(param).then(res => { + processTransfer(param).then(res => { if (res.success) { this.$message.success(res.message) this.goBack() diff --git a/src/views/workCenter/processCenter/table/TodoList.vue b/src/views/workCenter/processCenter/table/TodoList.vue index a83d82b..09a96af 100644 --- a/src/views/workCenter/processCenter/table/TodoList.vue +++ b/src/views/workCenter/processCenter/table/TodoList.vue @@ -72,7 +72,7 @@ import { JeroListMixin } from '@/mixins/JeroListMixin' import UserSelectModal from '@/components/selection/UserSelectModal' import { marketListReleaseTurnTo, - newRegulationImportTurnTo + newRegulationImportTurnTo, processTransfer } from '../../../../api/workCenter' import { ProcessType, @@ -271,25 +271,10 @@ export default { // 转办选完人的回调 userSelectChange (value) { if (value) { - let func const param = {} - switch (this.currentTurnTo.prcType + '') { - // 新法规导入流程 - case '1': - func = newRegulationImportTurnTo - break - // 标准解读流程 - case '2': - break - // 法规符合性排查流程 - case '3': - // 市场清单发布流程 - case '4': - func = marketListReleaseTurnTo - } param.userId = value param.taskId = this.currentTurnTo.taskId - func(param).then(res => { + processTransfer(param).then(res => { if (res.success) { this.$message.success(res.message) this.loadData() diff --git a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue index d68ea6d..3bf5ba1 100644 --- a/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue +++ b/src/views/workCenter/regulatoryComplianceCheckProcess/modules/EngineerInitBaseInfo.vue @@ -15,7 +15,7 @@ {{ $t('workCenter.regulatoryComplianceCheckProcess.manualAddition') }} - + {{ $t('delete') }} @@ -161,7 +161,8 @@ :dataSource="dataSource" :pagination="ipagination" :rowSelection="{selectedRowKeys: selectedRowKeys, onChange: onSelectChange}" - :loading="loading"> + :loading="loading" + @change="handleTableChange">