瀏覽代碼

fix: 更新用户ID获取方式,改为从用户信息中获取

xieyong 1 天之前
父節點
當前提交
49f9f61c4a

+ 1 - 1
src/views/bpm/processInstance/detail.vue

@@ -211,7 +211,7 @@
           });
 
           // 需要审核的记录
-          const userId = store.getters.userId;
+          const userId = this.$store.getters.user.info.userId;
           this.tasks.forEach((task) => {
             if (task.result !== 1 && task.result !== 6) {
               // 只有待处理才需要

+ 1 - 1
src/views/warehouseManagement/inventoryAllocation/details.vue

@@ -423,7 +423,7 @@
           });
 
           // 需要审核的记录
-          const userId = store.getters.userId;
+          const userId = this.$store.getters.user.info.userId;
           this.tasks.forEach((task) => {
             if (task.result !== 1 && task.result !== 6) {
               // 只有待处理才需要

+ 1 - 1
src/views/warehouseManagement/picking/details.vue

@@ -329,7 +329,7 @@
           });
 
           // 需要审核的记录
-          const userId = store.getters.userId;
+          const userId = this.$store.getters.user.info.userId;
           this.tasks.forEach((task) => {
             if (task.result !== 1 && task.result !== 6) {
               // 只有待处理才需要

+ 1 - 1
src/views/warehouseManagement/stocktaking/reportLoss/components/addReportDialog.vue

@@ -621,7 +621,7 @@
           });
 
           // 需要审核的记录
-          const userId = store.getters.userId;
+          const userId = this.$store.getters.user.info.userId;
           this.tasks.forEach((task) => {
             if (task.result !== 1 && task.result !== 6) {
               // 只有待处理才需要