Browse Source

pms 瑞都 日报 定时任务生成日报后发送消息

zhangcl 2 days ago
parent
commit
55a5c0107b
2 changed files with 11 additions and 1 deletions
  1. 6 1
      src/layout/components/Message/src/Message.vue
  2. 5 0
      src/views/pms/dingding.vue

+ 6 - 1
src/layout/components/Message/src/Message.vue

@@ -61,7 +61,12 @@ const routerDetail = (item) =>{
       name: 'IotMainWorkOrderBom',
       params: { id }
     })
-  }else if(item.businessType === 'generateOperation'){
+  } else if (item.businessType === 'rdDailyReport') {
+    push({
+      name: 'FillDailyReportForm',
+      params: { id }
+    })
+  } else if (item.businessType === 'generateOperation') {
     const param = item.templateParams
     id = param.deptId+','+param.userId+','+param.createTime+','+param.businessId+','+param.orderStatus;
     push({ name: 'FillOrderInfo',params:{id}})

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

@@ -111,6 +111,11 @@ onMounted(async () => {
         name: 'IotMainWorkOrderBom',
         params: { id }
       })
+    } else if (type === 'rdDailyReport') {
+      push({
+        name: 'FillDailyReportForm',
+        params: { id }
+      })
     }
   } else {
     // 默认跳转