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 @@ + + + +