Browse Source

钉钉消息运行记录

lipenghui 2 months ago
parent
commit
05ce181bfa
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/pms/dingding.vue

+ 2 - 2
src/views/pms/dingding.vue

@@ -51,11 +51,11 @@ const clickA = () =>{
 }
 }
 
 
 onMounted(async () => {
 onMounted(async () => {
-  let { type = '', id = '', userId='', deptId='',createTime='',orderStatus='' } = route.query
+  let { type = '', id = '', userId='', deptId='',createTime='',orderStatus='',orderName='',userName='' } = route.query
   const isValidType = Object.keys(businessRoutes).includes(type as string)
   const isValidType = Object.keys(businessRoutes).includes(type as string)
   if (isMobileDevice()) {
   if (isMobileDevice()) {
     if (type==='generateOperation') {
     if (type==='generateOperation') {
-      window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId+'&deptId='+deptId+'&createTime='+createTime+'&orderStatus='+orderStatus;
+      window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId+'&deptId='+deptId+'&createTime='+createTime+'&orderStatus='+orderStatus+'&orderName='+orderName+'&userName='+userName;
     }else {
     }else {
       window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId;
       window.location.href = 'https://iot.deepoil.cc/deepoil/#/?type=' + type+'&id='+id+'&userId='+userId;
     }
     }