Browse Source

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

xiaoming_global 5 years ago
parent
commit
e5fbf389d7
2 changed files with 6 additions and 7 deletions
  1. 2 1
      src/pages/main/dialog/OrdersDialog.vue
  2. 4 6
      src/pages/main/today/TodayTab.vue

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

@@ -102,7 +102,7 @@
102 102
 
103 103
                 > {{getXuserName(advice.execution_staff)}}
104 104
                 </td>
105
-                <td
105
+                <td v-if="template_id != 6"
106 106
                   :class="{'td-active':current_group_index == group_index  && advice.is_selected == 1}"
107 107
                   @click="selectAdviceAction(group_index,advice_index, advice)"
108 108
                 >{{getXuserName(advice.checker)}}
@@ -974,6 +974,7 @@
974 974
           CheckDoctorAdvice(params)
975 975
             .then(response => {
976 976
               if (response.data.state == 0) {
977
+                Toast.fail('你没有权限核对医嘱!')
977 978
                 return false
978 979
               } else {
979 980
                 Toast.success('核对成功!')

+ 4 - 6
src/pages/main/today/TodayTab.vue View File

@@ -369,7 +369,7 @@ import {parseTime} from '@/utils'
369 369
           steps[1].value = 1
370 370
         }
371 371
 
372
-        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.creater > 0) {
372
+        if (typeof this.predialysis_evaluation.id != 'undefined' && !isNaN(this.predialysis_evaluation.id) && this.predialysis_evaluation.id > 0 && this.predialysis_evaluation.evaluator > 0) {
373 373
           steps[2].value = 1
374 374
         }
375 375
 
@@ -780,7 +780,7 @@ import {parseTime} from '@/utils'
780 780
       this.advice_groups = []
781 781
       this.doctor_advices = []
782 782
 
783
-      getDialysisRecord(params).then(rs => {
783
+      getDialysisRecord(params).then(rs => {debugger
784 784
         var resp = rs.data
785 785
         console.log(resp)
786 786
 
@@ -825,10 +825,8 @@ import {parseTime} from '@/utils'
825 825
 
826 826
           var types = resp.data.types // 所有系统库存商品类型
827 827
 
828
-          var last_predialysis_evaluation =
829
-              resp.data.last_predialysis_evaluation // 上一次透前评估
830
-          var last_assessment_after_dislysis =
831
-              resp.data.last_assessment_after_dislysis // 上一次透前评估
828
+          var last_predialysis_evaluation = resp.data.last_predialysis_evaluation // 上一次透前评估
829
+          var last_assessment_after_dislysis = resp.data.last_assessment_after_dislysis // 上一次透前评估
832 830
           var last_monitor_record = resp.data.last_monitor_record
833 831
 
834 832
           if (Object.keys(waitstoredata).length > 0) {