csx vor 5 Jahren
Ursprung
Commit
1cf9c2cc5b
3 geänderte Dateien mit 9 neuen und 3 gelöschten Zeilen
  1. 1 1
      build/cdn.json
  2. 2 2
      config/prod.env.js
  3. 6 0
      src/pages/main/dialog/OrdersDialog.vue

+ 1 - 1
build/cdn.json Datei anzeigen

@@ -1,3 +1,3 @@
1 1
 {
2
-  "version": "1.0.206"
2
+  "version": "1.0.307"
3 3
 }

+ 2 - 2
config/prod.env.js Datei anzeigen

@@ -1,9 +1,9 @@
1 1
 'use strict'
2 2
 module.exports = {
3 3
   NODE_ENV: '"production"',
4
-  // BASE_API: '"https://api.xt.kuyicloud.com"'
4
+  BASE_API: '"https://api.xt.kuyicloud.com"'
5 5
 
6
-  BASE_API: '"http://api.xt.test.sgjyun.com"'
6
+  // BASE_API: '"http://api.xt.test.sgjyun.com"'
7 7
   // http://api.xt.test.sgjyun.com
8 8
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
9 9
 }

+ 6 - 0
src/pages/main/dialog/OrdersDialog.vue Datei anzeigen

@@ -939,6 +939,9 @@
939 939
         }
940 940
       },
941 941
       checkAdvice () {
942
+        if (this.$store.getters.user.user.user_type == 2 && !this.isPremission){
943
+          return
944
+        }
942 945
         if (this.currentAdvices.length <= 0) {
943 946
           return
944 947
         }
@@ -1069,6 +1072,9 @@
1069 1072
         // });
1070 1073
       },
1071 1074
       execAdvice () {
1075
+        if (this.$store.getters.user.user.user_type == 2 && !this.isPremission){
1076
+          return
1077
+        }
1072 1078
 
1073 1079
         if (this.currentAdvices.length <= 0) {
1074 1080
           return