瀏覽代碼

修改医嘱

csx 5 年之前
父節點
當前提交
4583632768
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/pages/main/dialog/OrdersDialog.vue

+ 2 - 2
src/pages/main/dialog/OrdersDialog.vue 查看文件

34
         <span
34
         <span
35
           v-if="currentSubAdvices.length <= 0"
35
           v-if="currentSubAdvices.length <= 0"
36
           @click="modifyAdviceAction"
36
           @click="modifyAdviceAction"
37
-          :class="{ forbid: current_group_index < 0 ||  (currentAdvices.length != 1  && current_select_object==1)  || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
37
+          :class="{ forbid: current_group_index < 0 ||  currentAdvices.length != 1  || current_select_object== 2 || (this.$store.getters.user.user.user_type == 3 && !isPremission) }"
38
         >修改</span>
38
         >修改</span>
39
         <span
39
         <span
40
           v-if="currentSubAdvices.length <= 0"
40
           v-if="currentSubAdvices.length <= 0"
1223
 
1223
 
1224
       },
1224
       },
1225
       modifyAdviceAction: function () {
1225
       modifyAdviceAction: function () {
1226
-        if (this.currentAdvices.length != 1 && this.current_select_object==1){
1226
+        if (this.currentAdvices.length != 1 || this.current_select_object == 2){
1227
           return
1227
           return
1228
         }
1228
         }
1229
         if (this.$store.getters.user.user.user_type == 3 && !this.isPremission){
1229
         if (this.$store.getters.user.user.user_type == 3 && !this.isPremission){