Эх сурвалжийг харах

pms 瑞恒日报 审批消息提醒

zhangcl 2 долоо хоног өмнө
parent
commit
39c5f12a31

+ 5 - 0
src/layout/components/Message/src/Message.vue

@@ -66,6 +66,11 @@ const routerDetail = (item) =>{
       name: 'FillDailyReportForm',
       params: { id: id, mode: 'fill' }
     })
+  } else if (item.businessType === 'rdReportApproval') {
+    push({
+      name: 'FillDailyReportForm',
+      params: { id: id, mode: 'approval' }
+    })
   } else if (item.businessType === 'generateOperation') {
     const param = item.templateParams
     id = param.deptId+','+param.userId+','+param.createTime+','+param.businessId+','+param.orderStatus;

+ 5 - 0
src/views/pms/dingding.vue

@@ -116,6 +116,11 @@ onMounted(async () => {
         name: 'FillDailyReportForm',
         params: { id: id, mode: 'fill' }
       })
+    } else if (type === 'rdReportApproval') {
+      push({
+        name: 'FillDailyReportForm',
+        params: { id: id, mode: 'approval' }
+      })
     }
   } else {
     // 默认跳转