فهرست منبع

fix: 修复路由跳转时参数传递问题

liujt 2 ماه پیش
والد
کامیت
7286760860
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/bpm/tickets/inspectionWork/index.vue
  2. 1 1
      src/views/bpm/tickets/productions/index.vue

+ 1 - 1
src/views/bpm/tickets/inspectionWork/index.vue

@@ -524,7 +524,7 @@
     },
     methods: {
       handelRouterTo(row) {
-        window.history.pushState(null, '', '/page-qms/inspectionWork?businessId=' + row.id);
+        window.history.pushState(null, '', '/page-qms/inspectionWork?isWt=true&businessId=' + row.id);
         // this.$router.push(path);
       },
       getReportTemplateList() {

+ 1 - 1
src/views/bpm/tickets/productions/index.vue

@@ -836,7 +836,7 @@
 
     methods: {
       handelRouterTo(row) {
-        window.history.pushState(null, '', '/page-mes/produceOrder?businessId=' + row.id);
+        window.history.pushState(null, '', '/page-mes/produceOrder?isWt=true&item=' + JSON.stringify(row));
         // this.$router.push(path);
       },
       //派单