From 1eba94076de050126266f1e8ea82f16c1f610465 Mon Sep 17 00:00:00 2001 From: ljx <15723110242@139.com> Date: Sat, 30 Aug 2025 01:16:08 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E4=BD=9C=E8=81=94=E7=B3=BB=E5=8D=95?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contract/limitPrice/index.vue | 8 +- .../cory/workMessage/components/notice.vue | 32 +- src/views/cory/workMessage/index.vue | 1 + src/views/cory/workMessage/indexEdit.vue | 482 ++++++++++++++++++ 4 files changed, 514 insertions(+), 9 deletions(-) create mode 100644 src/views/cory/workMessage/indexEdit.vue diff --git a/src/views/contract/limitPrice/index.vue b/src/views/contract/limitPrice/index.vue index e10bd99..69d7e05 100644 --- a/src/views/contract/limitPrice/index.vue +++ b/src/views/contract/limitPrice/index.vue @@ -35,7 +35,13 @@ - 审核 + 审核 @@ -46,13 +46,16 @@ @@ -191,9 +194,10 @@ const userStore = useUserStoreHook(); // 从 store 中获取项目列表和当前选中的项目 const currentProject = computed(() => userStore.selectedProject); -const { safety_inspection_violation_type, safety_inspection_check_type, review_type, safety_inspection_type } = toRefs( - useDict('safety_inspection_violation_type', 'safety_inspection_check_type', 'review_type', 'safety_inspection_type') +const { safety_inspection_violation_type, safety_inspection_check_type, review_type, safety_inspection_type, wf_business_status } = toRefs( + useDict('safety_inspection_violation_type', 'safety_inspection_check_type', 'review_type', 'safety_inspection_type', 'wf_business_status') ); +const { proxy } = getCurrentInstance() as ComponentInternalInstance; const safetyInspectionDetail = ref(); const form = reactive({ @@ -236,6 +240,18 @@ const handleDetail = async (row) => { rectificationFileList.value = rectificationFileRes.data; } }; +const handleAddApp = (row) => { + // 添加审批 + proxy.$tab.closePage(proxy.$route); + proxy.$router.push({ + path: `/approval/workMessage/indexEdit`, + query: { + id: row.id, + + type: 'update' + } + }); +}; const getList = (row) => {}; const handleDelete = (row) => {}; diff --git a/src/views/cory/workMessage/index.vue b/src/views/cory/workMessage/index.vue index 555845d..805cdc0 100644 --- a/src/views/cory/workMessage/index.vue +++ b/src/views/cory/workMessage/index.vue @@ -300,6 +300,7 @@ const selectType = (value: string) => { const resetForm = () => { formRef.value?.resetFields(); }; + //监听项目id刷新数据 const listeningProject = watch( () => currentProject.value?.id, diff --git a/src/views/cory/workMessage/indexEdit.vue b/src/views/cory/workMessage/indexEdit.vue new file mode 100644 index 0000000..c04c34b --- /dev/null +++ b/src/views/cory/workMessage/indexEdit.vue @@ -0,0 +1,482 @@ + + + +