zhangyu 5 anos atrás
pai
commit
347ba4c14a

+ 2 - 1
src/components/business_space/dialogs/list/guaranteeDialog.vue

@@ -63,6 +63,7 @@
 import myPagination from "@/components/business_space/lib/myPagination";
 import uploadFiles from '@/components/business_space/lib/uploadFiles'
 import { getListForGuarantee, createGuarantee } from "@/api/scan/request"
+import { mapGetters, mapActions } from "vuex"
 import tools from "@/utils/scan/tools"
 export default {
   components: {
@@ -151,7 +152,7 @@ export default {
       if (!!this.id) {
         let param = {
           data: {
-            projectId: this.$route.query.projId,
+            projectId: this.projectId,
             venderId: this.id
           }
         }

+ 5 - 1
src/components/dialogs/list/guaranteeDialog.vue

@@ -63,6 +63,7 @@
 import myPagination from "@/components/ledger/lib/myPagination";
 import uploadFiles from '@/components/ledger/lib/uploadFiles'
 import { getListForGuarantee, createGuarantee } from "@/api/scan/request"
+import { mapGetters, mapActions } from "vuex"
 import tools from "@/utils/scan/tools"
 export default {
   components: {
@@ -106,6 +107,9 @@ export default {
     };
   },
   created() { },
+  computed: {
+    ...mapGetters("layout", ["projectId", "secret", "userId"])
+  },
   mounted() { },
   methods: {
     submitForm(formName) {
@@ -151,7 +155,7 @@ export default {
       if (!!this.id) {
         let param = {
           data: {
-            projectId: this.$route.query.projId,
+            projectId: this.projectId,
             venderId: this.id
           }
         }

+ 1 - 1
src/data/menus.js

@@ -95,7 +95,7 @@ export default [
 		icon: 'icon-xitong',
 		children: [{
 			path: '/point/pointsetting',
-			name: '子系统点表整理工具',
+			name: '子系统点位接入',
 			icon: '',
 			opts: [{
 				name: '查看',

+ 1 - 1
src/router/system.js

@@ -127,7 +127,7 @@ export default [
                 path: 'pointsetting',
                 name: 'pointConfig',
                 component: pointConfig,
-                meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '子系统点表整理工具' }] }
+                meta: { keepAlive: false, breadcrumbs: [{ label: '系统集成', path: '/point/pointsetting' }, { label: '子系统点位接入' }] }
             },
             { path: 'editDataSouce', name: 'editDataSouce', component: editDataSouce },
             { path: 'pointSteps', name: 'pointSteps', component: pointSteps },

+ 1 - 1
src/views/point/config_point/edit_origin/index.vue

@@ -98,7 +98,7 @@
                 label: '系统集成',
                 path: '/point/pointsetting'
             }, {
-                label: '子系统点表整理工具',
+                label: '子系统点位接入',
                 path: '/point/pointsetting'
             }, {
                 label: this.id ? '编辑数据源' : '添加数据源'

+ 1 - 1
src/views/point/config_point/steps/index.vue

@@ -60,7 +60,7 @@
                 label: '系统集成',
                 path: '/point/pointsetting'
             }, {
-                label: '子系统点表整理工具',
+                label: '子系统点位接入',
                 path: '/point/pointsetting'
             }, {
                 label: `点位收集(${this.dataName})`