From 91c08d3194bf67917b502d5f8fe6f787c0c3dde7 Mon Sep 17 00:00:00 2001 From: "446052889@qq.com" <446052889@qq.com> Date: Wed, 2 Apr 2025 11:19:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91=E4=B8=80=E4=B8=AA=E8=A7=92?= =?UTF-8?q?=E8=89=B2=E5=9B=BE=E9=94=99=E8=AF=AF=E6=A3=80=E6=B5=8B=E4=BB=A5?= =?UTF-8?q?=E5=8F=8A=E5=A4=84=E7=90=86=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/role-error-change.vue | 866 ++++++++++++++++++ .../src/views/Home.vue | 5 +- 2 files changed, 870 insertions(+), 1 deletion(-) create mode 100644 com.actionsoft.apps.coe.pal.datamigration/src/components/role-error-change.vue diff --git a/com.actionsoft.apps.coe.pal.datamigration/src/components/role-error-change.vue b/com.actionsoft.apps.coe.pal.datamigration/src/components/role-error-change.vue new file mode 100644 index 0000000..db5f85a --- /dev/null +++ b/com.actionsoft.apps.coe.pal.datamigration/src/components/role-error-change.vue @@ -0,0 +1,866 @@ + + + + + + 针对角色图错误数据版本进行合并(1个流程的多个版本对应多个角色图,修正角色图的versionId) + + + 检测角色数据 + 进行数据修正 + {{roleVersionIdError.desc}} + + + + + + + + + + + + + + + + + + + + + + + + + + + 针对角色图与对应的流程的使用状态不一致的数据进行修正(1个流程V3处于使用中,但是对应角色图却是非使用中,修正角色图的使用状态,以流程图使用状态为准,使角色图与流程图一致) + + + 检测角色数据 + 进行数据修正 + {{roleUseError.desc}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 针对角色图与对应的流程的版本号不一致的数据进行修正(1个流程V3对应角色图却是V2,修正角色图的版本号,以流程图使用状态为准,使角色图与流程图一致) + + + 检测角色数据 + 进行数据修正 + {{roleVerError.desc}} + + + + + + + + + + + + + + + + + + + + + + + + + + + 针对角色图与对应的流程对应数量不一致的数据进行检测(1个流程V3对应2个角色图V2和V3,查询涉及到的流程图与相对应的角色图) + + + 检测角色数据 + + {{roleMultiError.desc}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue b/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue index cd5e101..1a97fac 100644 --- a/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue +++ b/com.actionsoft.apps.coe.pal.datamigration/src/views/Home.vue @@ -51,6 +51,7 @@ import PositionImport from '@/components/position-import.vue'; import ProcessVersionImport from "@/components/process-version-import.vue"; import SystemTextImport from "@/components/system-text-import.vue"; import BatchImportAccessories from "@/components/batch-import-accessories.vue"; +import RoleErrorChange from "@/components/role-error-change.vue"; export default defineComponent({ name: 'Home', @@ -66,7 +67,8 @@ export default defineComponent({ PositionImport, ProcessVersionImport, SystemTextImport, - BatchImportAccessories + BatchImportAccessories, + RoleErrorChange }, setup(){ // const { proxy: $this } = getCurrentInstance(); @@ -87,6 +89,7 @@ export default defineComponent({ {label:"版本批处理",name:"processVersionImport",icon:""},// excel {label:"制度正文导入",name:"systemTextImport",icon:""},// xml {label:"附件批量导入",name:"batchImportAccessories",icon:""},// + {label:"角色图修正",name:"roleErrorChange",icon:""}, ], flagBit: 1 });