Browse Source

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

csx 4 years ago
parent
commit
09564c808b

+ 1 - 1
build/cdn.json View File

1
 {
1
 {
2
-  "version": "1.1.68"
2
+  "version": "1.1.107"
3
 }
3
 }

+ 3 - 1
config/dev.env.js View File

4
 
4
 
5
 module.exports = merge(prodEnv, {
5
 module.exports = merge(prodEnv, {
6
   NODE_ENV: '"development"',
6
   NODE_ENV: '"development"',
7
+  BASE_API: '"https://api.xt.kuyicloud.com"'
8
+
7
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
9
   // BASE_API: '"http://api.xt.test.sgjyun.com"'
8
    //http://api.xt.test.sgjyun.com http://localhost:9529
10
    //http://api.xt.test.sgjyun.com http://localhost:9529
9
-   BASE_API: '"http://api.xt.test.sgjyun.com"'
11
+   // BASE_API: '"http://api.xt.test.sgjyun.com"'
10
   // BASE_API: '"https://api.xt.kuyicloud.com"'
12
   // BASE_API: '"https://api.xt.kuyicloud.com"'
11
 
13
 
12
 })
14
 })

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

16
           @click="execAdvice"
16
           @click="execAdvice"
17
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0)||(this.$store.getters.user.user.user_type == 2 && !isPremission) }"
17
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0)||(this.$store.getters.user.user.user_type == 2 && !isPremission) }"
18
         >执行</span>
18
         >执行</span>
19
+
19
         <span
20
         <span
20
         id="fontSize"
21
         id="fontSize"
21
           v-if="isShowMofifyExce"
22
           v-if="isShowMofifyExce"
22
           @click="modifyExecAdvice"
23
           @click="modifyExecAdvice"
23
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) }"
24
           :class="{ forbid: (current_advice&& current_advice.parent_id > 0) }"
24
         >修改执行</span>
25
         >修改执行</span>
26
+
27
+
25
         <span
28
         <span
26
           v-if="template_id != 6"
29
           v-if="template_id != 6"
27
           @click="checkAdvice"
30
           @click="checkAdvice"
388
         // if(!this.isPremission){
391
         // if(!this.isPremission){
389
         //   Toast.fail('你没有权限修改医嘱!')
392
         //   Toast.fail('你没有权限修改医嘱!')
390
         // }else{
393
         // }else{
391
-          this.nowExecTime = new Date(this.currentAdvices[0].start_time * 1000)
394
+
395
+
396
+        this.nowExecTime = new Date(this.currentAdvices[0].execution_time * 1000)
392
           this.$refs.mofify_exec_time.open()
397
           this.$refs.mofify_exec_time.open()
393
 
398
 
394
         // }
399
         // }
675
               Toast.fail(response.data.msg)
680
               Toast.fail(response.data.msg)
676
               return false
681
               return false
677
             } else {
682
             } else {
678
-              Toast.success('执行成功!')
683
+              Toast.success('修改成功!')
679
               var advice = response.data.data.advice
684
               var advice = response.data.data.advice
680
               if (this.current_select_object == 1) {
685
               if (this.current_select_object == 1) {
681
                 var ids = this.currentAdviceIdsStr.split(',')
686
                 var ids = this.currentAdviceIdsStr.split(',')

+ 2 - 2
src/pages/main/template/DialysisPrintOrderTwo.vue View File

822
                 </div>
822
                 </div>
823
                 <div class="inline_block">
823
                 <div class="inline_block">
824
                   &emsp;实际超滤量:
824
                   &emsp;实际超滤量:
825
-                  <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(afterdialysis.actual_ultrafiltration)">
826
-                    {{getFloat(afterdialysis.actual_ultrafiltration)}}
825
+                  <div class="under_line" style="width: 70px;text-align: left" v-if="getFloat(prescription.actual_ultrafiltration)">
826
+                    {{getFloat(prescription.ultrafiltration)}}
827
                   </div>
827
                   </div>
828
                   <div class="under_line" style="width: 70px;" v-else>
828
                   <div class="under_line" style="width: 70px;" v-else>
829
                     {{'/'}}
829
                     {{'/'}}

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

765
 
765
 
766
           this.double_check = double_check == null ? {id: ''} : double_check
766
           this.double_check = double_check == null ? {id: ''} : double_check
767
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
767
           this.assessment_after_dislysis = assessment_after_dislysis == null ? {id: ''} : assessment_after_dislysis
768
-          
768
+
769
           this.last_assessment_after_dislysis =
769
           this.last_assessment_after_dislysis =
770
               last_assessment_after_dislysis == null
770
               last_assessment_after_dislysis == null
771
                 ? {id: ''}
771
                 ? {id: ''}

+ 7 - 26
src/pages/main/today/statOrder.vue View File

38
             >
38
             >
39
               <span>{{ advice.advice_name }}</span>
39
               <span>{{ advice.advice_name }}</span>
40
 
40
 
41
-              <span
42
-                >{{ advice.drug_spec }}{{ advice.drug_spec_unit }} *
43
-                {{ advice.prescribing_number
44
-                }}{{ advice.prescribing_number_unit }}</span
45
-              >
46
-              <span v-if="advice.advice_desc"
47
-                >{{ advice.advice_desc }}{{ advice.drug_spec_unit }}</span
48
-              >
49
-              <span v-if="advice.prescribing_number"
50
-                >{{ advice.prescribing_number
51
-                }}{{ advice.prescribing_number_unit }}</span
52
-              >
53
-              <span v-if="advice.single_dose"
54
-                >单次用量{{ advice.single_dose
55
-                }}{{ advice.single_dose_unit }}</span
56
-              >
57
-
58
-              <span v-if="advice.parent_id == 0">{{
59
-                advice.delivery_way
60
-              }}</span>
61
-              <span v-if="advice.parent_id == 0">{{
62
-                advice.execution_frequency
63
-              }}</span>
64
-              <span v-if="advice.parent_id == 0 && advice.remark.length > 0"
65
-                >({{ advice.remark }})</span
66
-              >
41
+              <span v-if="advice.advice_desc">({{ advice.advice_desc }}{{advice.drug_spec_unit}})</span>
42
+              <span v-if="advice.prescribing_number">&nbsp;&nbsp;{{advice.prescribing_number}}{{advice.prescribing_number_unit}}</span>
43
+              <span v-if="advice.single_dose && template_id == 6" >{{advice.single_dose}}{{advice.single_dose_unit}}</span>
44
+              <span v-if="advice.single_dose && template_id != 6" >单次用量{{advice.single_dose}}{{advice.single_dose_unit}}</span>
45
+              <span v-if="advice.parent_id == 0">{{advice.delivery_way}}</span>
46
+              <span v-if="advice.parent_id == 0">{{advice.execution_frequency}}</span>
47
+              <span v-if="advice.parent_id == 0 && advice.remark.length > 0">({{advice.remark}})</span>
67
             </td>
48
             </td>
68
 
49
 
69
             <td>{{ parseTime(advice.execution_time, "{m}-{d} {h}:{i}") }}</td>
50
             <td>{{ parseTime(advice.execution_time, "{m}-{d} {h}:{i}") }}</td>