Browse Source

Merge branch 'new_pad_branch' of http://git.shengws.com/zhangbj/xt_pad into new_pad_branch

See999 5 years ago
parent
commit
a85eb4d3b3

+ 4 - 16
src/pages/main/dialog/OrdersDialog.vue View File

@@ -34,16 +34,16 @@
34 34
         <span
35 35
           v-if="currentSubAdvices.length <= 0"
36 36
           @click="modifyAdviceAction"
37
-          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1  || current_select_object== 2 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
37
+          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1  || current_select_object== 2  }"
38 38
         >修改</span>
39 39
         <span
40 40
           v-if="currentSubAdvices.length <= 0"
41 41
           @click="deleteAdviceAction"
42
-          :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
42
+          :class="{ forbid: current_group_index < 0 || currentAdvices.length <= 0 }"
43 43
         >删除</span>
44 44
 
45
-        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
-        <span id="fontSize" :class="{ forbid:(this.$store.getters.user.user.user_type == 3 && !isPremission) }" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
45
+        <span id="fontSize" :class="{ forbid:this.$store.getters.user.user.user_type == 3}" v-if="currentSubAdvices.length > 0" @click="modifySubdviceAction">修改子医嘱</span>
46
+        <span id="fontSize" :class="{ forbid:this.$store.getters.user.user.user_type == 3}" v-if="currentSubAdvices.length > 0" @click="deleteSubAdviceAction">删除子医嘱</span>
47 47
       </div>
48 48
       <div class="DialogContent choose" id="dialogTop" style="height:6.5rem;">
49 49
 
@@ -781,9 +781,6 @@
781 781
         }
782 782
         return year + '-' + month + '-' + day + ' ' + hour + ':' + minute + ':00'
783 783
       }, deleteSubAdviceAction: function () {
784
-        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
785
-          return
786
-        }
787 784
         if (this.currentSubAdvices.length <= 0) {
788 785
           return
789 786
         }
@@ -823,9 +820,6 @@
823 820
 
824 821
       },
825 822
       deleteAdviceAction: function () {
826
-        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
827
-          return
828
-        }
829 823
         if (this.current_select_object == 1) {
830 824
           if (this.currentAdvices.length <= 0) {
831 825
             return
@@ -1194,9 +1188,6 @@
1194 1188
         this.current_advice_index = -1
1195 1189
         this.current_advice = null
1196 1190
       }, modifySubdviceAction: function () {
1197
-        if (this.$store.getters.user.user.user_type == 3&& !this.isPremission){
1198
-          return
1199
-        }
1200 1191
         if (this.currentSubAdvices.length <= 0) {
1201 1192
           return
1202 1193
         }
@@ -1226,9 +1217,6 @@
1226 1217
         if (this.currentAdvices.length != 1 || this.current_select_object == 2){
1227 1218
           return
1228 1219
         }
1229
-        if (this.$store.getters.user.user.user_type == 3 && !this.isPremission){
1230
-          return
1231
-        }
1232 1220
         if (this.current_group_index < 0) {
1233 1221
           return
1234 1222
         }

+ 1 - 1
src/pages/main/dialog/PrescriptionDialog.vue View File

@@ -1086,7 +1086,7 @@
1086 1086
               this.zhiShow = true
1087 1087
               this.totalShow = true
1088 1088
               this.huShow = true
1089
-              
1089
+              console.log("a")
1090 1090
             }
1091 1091
           }
1092 1092
         }