Ver código fonte

医嘱权限

csx 5 anos atrás
pai
commit
1cf9c2cc5b
3 arquivos alterados com 9 adições e 3 exclusões
  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 Ver arquivo

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

+ 2 - 2
config/prod.env.js Ver arquivo

1
 'use strict'
1
 'use strict'
2
 module.exports = {
2
 module.exports = {
3
   NODE_ENV: '"production"',
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
   // http://api.xt.test.sgjyun.com
7
   // http://api.xt.test.sgjyun.com
8
   // '"http://api.xt.kuyicloud.com"', //'"http://api.xt.kuyicloud.com"','"http://api.xt.test.sgjyun.com"'
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 Ver arquivo

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