Explorar o código

修改报工数据接口

695593266@qq.com hai 9 meses
pai
achega
8d2a737bea
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/views/produce/index.vue

+ 1 - 1
src/views/produce/index.vue

@@ -600,7 +600,7 @@
 
         // console.log(this.$store.state.user, 'this.$store.state.user.allInfo');
         if (localStorage.getItem('singleUserInfo') == '1') {
-          singleListTask(this.$store.state.user.allInfo).then((res) => {
+          singleListTask(localStorage.getItem('chooseUserInfo')).then((res) => {
             res.map((v) => {
               v.newName = `${v.workCenterName}-${v.name}`;
             });