Browse Source

修改layout中的变量项目Id

chuwu 5 years ago
parent
commit
4f8e91e202
33 changed files with 34 additions and 32 deletions
  1. 1 1
      src/components/business_space/business/handsontable.vue
  2. 1 1
      src/components/business_space/dialogs/detailsDialog.vue
  3. 1 1
      src/components/business_space/dialogs/facilityDialog.vue
  4. 1 1
      src/components/business_space/dialogs/influenceDialog.vue
  5. 1 1
      src/components/business_space/dialogs/noModelDialog.vue
  6. 1 1
      src/components/business_space/graphy/business.vue
  7. 1 1
      src/components/business_space/table/equipTable.vue
  8. 1 1
      src/components/dialogs/addDialog/dialogAssets.vue
  9. 1 1
      src/components/dialogs/addDialog/dialogDevice.vue
  10. 1 1
      src/components/dialogs/addDialog/dialogSystem.vue
  11. 1 1
      src/components/dialogs/changeRea.vue
  12. 1 1
      src/components/dialogs/list/systemType.vue
  13. 1 1
      src/components/dialogs/noModelDialog.vue
  14. 1 1
      src/components/ledger/addDialog/dialogAssets.vue
  15. 1 1
      src/components/ledger/addDialog/dialogSystem.vue
  16. 1 1
      src/components/ledger/handsontables/assets.vue
  17. 1 1
      src/components/ledger/handsontables/device.vue
  18. 1 1
      src/components/ledger/handsontables/system.vue
  19. 1 1
      src/components/ledger/lib/addDevice.vue
  20. 1 1
      src/components/ledger/lib/floorCascader.vue
  21. 1 1
      src/components/ledger/tableTransfers.vue
  22. 2 0
      src/framework/layout/layout-store.js
  23. 1 1
      src/views/data_admin/buildAssets/index2.vue
  24. 1 1
      src/views/data_admin/buildData/index.vue
  25. 1 1
      src/views/data_admin/buildGraphy/lib/floorCascader.vue
  26. 1 1
      src/views/data_admin/buildLog/index.vue
  27. 1 1
      src/views/data_admin/buildLog/index1.vue
  28. 1 1
      src/views/data_admin/buildUser/Edit.vue
  29. 1 1
      src/views/data_admin/buildUser/index.vue
  30. 1 1
      src/views/data_admin/buildUser/index1.vue
  31. 1 1
      src/views/ledger/facility/index.vue
  32. 1 1
      src/views/ledger/property/index.vue
  33. 1 1
      src/views/ledger/system/index.vue

+ 1 - 1
src/components/business_space/business/handsontable.vue

@@ -50,7 +50,7 @@
              addBusiness
          },
          computed: {
-             ...mapGetters("peojMess", [
+             ...mapGetters("layout", [
                  "projectId",
                  "secret",
                  "userId"

+ 1 - 1
src/components/business_space/dialogs/detailsDialog.vue

@@ -60,7 +60,7 @@
             addEquip
         },
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/business_space/dialogs/facilityDialog.vue

@@ -54,7 +54,7 @@ export default {
     addEquip
   },
   computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/business_space/dialogs/influenceDialog.vue

@@ -49,7 +49,7 @@
             }
         },
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/business_space/dialogs/noModelDialog.vue

@@ -46,7 +46,7 @@ export default {
         }
     },
     computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/business_space/graphy/business.vue

@@ -230,7 +230,7 @@
             }
         },
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/business_space/table/equipTable.vue

@@ -56,7 +56,7 @@
             myPagination
         },
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/dialogs/addDialog/dialogAssets.vue

@@ -185,7 +185,7 @@ export default {
     };
   },
    computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
           "projectId",
           "secret",
           "userId"

+ 1 - 1
src/components/dialogs/addDialog/dialogDevice.vue

@@ -207,7 +207,7 @@ export default {
     };
   },
   computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
           "projectId",
           "secret",
           "userId"

+ 1 - 1
src/components/dialogs/addDialog/dialogSystem.vue

@@ -159,7 +159,7 @@ export default {
     };
   },
   computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
           "projectId",
           "secret",
           "userId"

+ 1 - 1
src/components/dialogs/changeRea.vue

@@ -110,7 +110,7 @@ export default {
     this.getCode()
   },
   computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
           "projectId",
           "secret",
           "userId"

+ 1 - 1
src/components/dialogs/list/systemType.vue

@@ -134,7 +134,7 @@ export default {
     };
   },
   computed: {
-    ...mapGetters("peojMess", [
+    ...mapGetters("layout", [
         "projectId",
         "secret",
         "userId"

+ 1 - 1
src/components/dialogs/noModelDialog.vue

@@ -58,7 +58,7 @@ export default {
         this.getNodes()
     },
     computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/ledger/addDialog/dialogAssets.vue

@@ -141,7 +141,7 @@ export default {
     }
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/ledger/addDialog/dialogSystem.vue

@@ -128,7 +128,7 @@ export default {
     }
   },
   computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
           "projectId",
           "secret",
           "userId"

+ 1 - 1
src/components/ledger/handsontables/assets.vue

@@ -159,7 +159,7 @@ export default {
     lookPic
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/ledger/handsontables/device.vue

@@ -231,7 +231,7 @@ export default {
     this.getFloorData()
   },
   computed: {
-    ...mapGetters("peojMess", [
+    ...mapGetters("layout", [
         "projectId",
         "secret",
         "userId"

+ 1 - 1
src/components/ledger/handsontables/system.vue

@@ -140,7 +140,7 @@ export default {
     systemRelevance
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/ledger/lib/addDevice.vue

@@ -45,7 +45,7 @@ export default {
     uploadFilesDialog,
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/components/ledger/lib/floorCascader.vue

@@ -24,7 +24,7 @@
             }
         },
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/components/ledger/tableTransfers.vue

@@ -141,7 +141,7 @@ export default {
     cascader
   },
   computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 2 - 0
src/framework/layout/layout-store.js

@@ -20,6 +20,8 @@ export default {
     },
     getters: {
         sidebarClosed: state => state.sidebarClosed,
+        secret: state => state.secret,
+        userId: state => state.userId,
         sidebarSelected: state => {
             // if (!state.pageSidebarSelected) {
             //     let menu = storage.get(KEY_MENU_SELECTED)

+ 1 - 1
src/views/data_admin/buildAssets/index2.vue

@@ -89,7 +89,7 @@
     import zhCN from 'handsontable-pro/languages/zh-CN';
     export default {
         computed: {
-            ...mapGetters("peojMess", [
+            ...mapGetters("layout", [
                 "projectId",
                 "secret",
                 "userId"

+ 1 - 1
src/views/data_admin/buildData/index.vue

@@ -676,7 +676,7 @@ export default {
     this.getAllFamily();
   },
   computed: {
-      ...mapGetters("peojMess", [
+      ...mapGetters("layout", [
       "projectId",
       "userId",
       "secret"

+ 1 - 1
src/views/data_admin/buildGraphy/lib/floorCascader.vue

@@ -44,7 +44,7 @@ export default {
     this.getData()
   },
   computed: {
-    ...mapGetters("peojMess", [
+    ...mapGetters("layout", [
         "projectId",
         "secret",
         "userId"

+ 1 - 1
src/views/data_admin/buildLog/index.vue

@@ -136,7 +136,7 @@ export default {
         SagaAction
     },
     computed: {
-        ...mapGetters('peojMess', ['projectId', 'userId'])
+        ...mapGetters('layout', ['projectId', 'userId'])
     },
     methods: {
         searchChange(value) {

+ 1 - 1
src/views/data_admin/buildLog/index1.vue

@@ -136,7 +136,7 @@ export default {
     mounted() {
     },
     computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
         "projectId",
         "userId",
         "secret"

+ 1 - 1
src/views/data_admin/buildUser/Edit.vue

@@ -54,7 +54,7 @@ export default {
         }
     },
     computed: {
-        ...mapGetters('peojMess', ['projectId', 'userId'])
+        ...mapGetters('layout', ['projectId', 'userId'])
     },
     methods: {
         show(row) {

+ 1 - 1
src/views/data_admin/buildUser/index.vue

@@ -75,7 +75,7 @@ export default {
         SagaEdit
     },
     computed: {
-        ...mapGetters('peojMess', ['projectId', 'userId'])
+        ...mapGetters('layout', ['projectId', 'userId'])
     },
     methods: {
         pageChanged(page, size) {

+ 1 - 1
src/views/data_admin/buildUser/index1.vue

@@ -99,7 +99,7 @@ export default {
     //   this.populateHot()
   },
   computed: {
-    ...mapGetters("peojMess", [
+    ...mapGetters("layout", [
         "projectId",
         "userId",
         "secret"

+ 1 - 1
src/views/ledger/facility/index.vue

@@ -57,7 +57,7 @@ export default {
     };
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/views/ledger/property/index.vue

@@ -35,7 +35,7 @@ export default {
     tableTransfers
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"

+ 1 - 1
src/views/ledger/system/index.vue

@@ -58,7 +58,7 @@ export default {
     };
   },
   computed: {
-        ...mapGetters("peojMess", [
+        ...mapGetters("layout", [
             "projectId",
             "secret",
             "userId"