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 @@ + + + + + + + + + + + + 工作联系单审批 + + + + 通知单 + + 填报人:{{ safetyInspectionDetail?.creatorName }} + 填报时间:{{ safetyInspectionDetail?.createTime }} + + + {{ currentProject?.name }} + + + + + + + + {{ safetyInspectionDetail?.checkTime }} + + {{ safetyInspectionDetail?.creatorName }} + + {{ safetyInspectionDetail?.correctorName }} + + + {{ dayjs(safetyInspectionDetail?.rectificationDeadline).format('YYYY 年 MM 月 DD 日') }} + + + + + + + {{ safetyInspectionDetail?.hiddenDanger }} + + + + + + + + + + {{ item.originalName }} + + + + + + + + + + + + + + + + {{ safetyInspectionDetail?.teamName }} + + {{ safetyInspectionDetail?.rectificationTime }} + + + {{ safetyInspectionDetail?.measure }} + + + + + + + + + + {{ item.originalName }} + + + + + + + + + + + {{ safetyInspectionDetail?.creatorName }} + + {{ safetyInspectionDetail?.reviewTime }} + + {{ safetyInspectionDetail?.review }} + + + + + + + + + + + + 请选择要启动的流程: + + + + + + + + + + + + + +
请选择要启动的流程: