Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN 3 years ago
parent
commit
d1e088fef2

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

106
           <span class="content">{{
106
           <span class="content">{{
107
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
107
             target_ultrafiltration != "0" ? target_ultrafiltration : ""
108
           }}</span>
108
           }}</span>
109
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
110
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
109
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9555" class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
110
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
111
         </li>
111
         </li>
112
         <li v-if="isShow('葡萄糖')">
112
         <li v-if="isShow('葡萄糖')">
113
           <label>葡萄糖 : </label>
113
           <label>葡萄糖 : </label>

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue View File

17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18
             actual_ultrafiltration
18
             actual_ultrafiltration
19
           }}</span>
19
           }}</span>
20
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
-          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
20
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && (this.$store.getters.xt_user.template_info.template_id == 6 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555) " >ml</span>
21
+          <span class="unit" v-if=" actual_ultrafiltration != '0' && this.$store.getters.xt_user.template_info.template_id != 6 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.org_id == 9555 " >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

28
           <el-col :span="8" v-if="isShow('实际超滤量')">
28
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
             <el-form-item
29
             <el-form-item
30
               label="实际超滤量(ml): "
30
               label="实际超滤量(ml): "
31
-              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
31
+              v-if=" this.template_id == 6 || this.template_id == 9 || this.template_id == 10 || this.template_id == 11  || this.template_id == 17 || this.template_id == 20 || this.template_id == 21 || this.template_id == 22 || this.template_id == 23 || this.template_id == 24 || this.template_id == 26 || this.template_id == 28 || this.template_id == 27 || this.template_id == 29 || this.template_id == 30 || this.template_id == 31 || this.template_id == 32 || this.template_id == 34 || this.template_id == 36 || this.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555 "  >
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
             </el-form-item>
33
             </el-form-item>
34
             <el-form-item label="实际超滤量(L): " v-else>
34
             <el-form-item label="实际超滤量(L): " v-else>

+ 2 - 2
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

87
           </el-col>
87
           </el-col>
88
 
88
 
89
           <el-col :span="8"
89
           <el-col :span="8"
90
-                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
90
+                  v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 36 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555 )">
91
             <el-form-item label="目标超滤量(ml):">
91
             <el-form-item label="目标超滤量(ml):">
92
               <el-input
92
               <el-input
93
                 type="number"
93
                 type="number"
97
           </el-col>
97
           </el-col>
98
 
98
 
99
           <el-col :span="8"
99
           <el-col :span="8"
100
-                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
100
+                  v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 36 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 9555 ">
101
             <el-form-item label="目标超滤量(L):">
101
             <el-form-item label="目标超滤量(L):">
102
               <el-input
102
               <el-input
103
                 type="number"
103
                 type="number"

+ 4 - 2
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

165
                   template_id == 34 ||
165
                   template_id == 34 ||
166
                   template_id == 35 ||
166
                   template_id == 35 ||
167
                   template_id == 36 ||
167
                   template_id == 36 ||
168
+                  template_id == 38 ||
168
                   org_id == 9555)
169
                   org_id == 9555)
169
             "
170
             "
170
           >
171
           >
206
                 template_id != 34 &&
207
                 template_id != 34 &&
207
                 template_id != 35 &&
208
                 template_id != 35 &&
208
                 template_id != 36 &&
209
                 template_id != 36 &&
210
+                template_id != 38 &&
209
                 org_id!=9555
211
                 org_id!=9555
210
             "
212
             "
211
           >
213
           >
223
             align="center"
225
             align="center"
224
             label="超滤率(ml/h)"
226
             label="超滤率(ml/h)"
225
             width="100"
227
             width="100"
226
-            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35) "
228
+            v-if="isShow('超滤率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38) "
227
           >
229
           >
228
             <template slot-scope="scope">
230
             <template slot-scope="scope">
229
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
231
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
234
             align="center"
236
             align="center"
235
             label="超滤率(L/h)"
237
             label="超滤率(L/h)"
236
             width="100"
238
             width="100"
237
-            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35"
239
+            v-if="isShow('超滤率') && template_id != 6 && template_id != 10 && template_id != 11 && template_id != 12 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22  && template_id != 23 && template_id != 24 && template_id != 26 && template_id != 29 && template_id != 30 && template_id != 31 && template_id != 34 && template_id != 35 && template_id != 38"
238
           >
240
           >
239
             <template slot-scope="scope">
241
             <template slot-scope="scope">
240
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}
242
               {{ scope.row.ultrafiltration_rate ? scope.row.ultrafiltration_rate : ""  }}

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
14
           <th width="76px">静脉压/动脉压({{monitores[0]&&monitores[0]['venous_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
15
           <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
16
           <th v-if="isShow('跨膜压')" width="76px">跨膜压({{monitores[0]&&monitores[0]['transmembrane_pressure_type'] == 2 ? 'kpa' : 'mmHg'}})</th>
17
-          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
-          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
-          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35)" width="50px"> 超滤率 <br />(ml/h) </th>
20
-          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35" width="50px"> 超滤率 <br />(L/h) </th>
17
+          <th v-if=" isShow('超滤量') &&(template_id == 6 || template_id == 9 || template_id == 10 || template_id == 11 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 27 || template_id == 28 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 32 || template_id == 34 || template_id == 35 || template_id == 36 || template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 9555)" width="76px" > 超滤量(ml)</th>
18
+          <th v-if=" isShow('超滤量') && template_id != 6 && template_id != 9 && template_id != 10 && template_id != 11 && template_id != 13 && template_id != 17 && template_id != 18 && template_id != 19 && template_id != 20 && template_id != 21 && template_id != 22 && template_id != 23 && template_id != 24 && template_id != 26 && template_id !=27 && template_id!=28 && template_id!=29 && template_id!=30 && template_id!=31 && template_id!=32 && template_id!=34 && template_id!=35 && template_id!=36 && template_id!=38 && this.$store.getters.xt_user.template_info.org_id != 9555"  width="76px"> 超滤量(L) </th>
19
+          <th v-if="isShow('超滤率') && (template_id ==6 || template_id == 10 || template_id == 11 || template_id == 12 || template_id == 13 || template_id == 17 || template_id == 18 || template_id == 19 || template_id == 20 || template_id == 21 || template_id == 22 || template_id == 23 || template_id == 24 || template_id == 26 || template_id == 29 || template_id == 30 || template_id == 31 || template_id == 34 || template_id == 35 || template_id == 38)" width="50px"> 超滤率 <br />(ml/h) </th>
20
+          <th v-if="isShow('超滤率') && template_id !=6 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
21
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
22
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>
23
           <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29) " width="92px" > 置换率(ml/min) </th>

+ 13 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderThirtyEight.vue View File

69
       </div>
69
       </div>
70
       <div class="lineHeight">
70
       <div class="lineHeight">
71
           <div class="widthLength25">T:{{ predialysis.temperature ? predialysis.temperature : '' }} ℃</div>
71
           <div class="widthLength25">T:{{ predialysis.temperature ? predialysis.temperature : '' }} ℃</div>
72
-          <div class="widthLength25">P:{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : '' }}</div>
72
+          <div class="widthLength25">P:{{ predialysis.pulse_frequency ? predialysis.pulse_frequency : '' }} 次/分</div>
73
           <div class="widthLength25">意识:
73
           <div class="widthLength25">意识:
74
             <span v-for="(item, index) in consciousness_arr" :key="index">
74
             <span v-for="(item, index) in consciousness_arr" :key="index">
75
               <span v-if="receiverTreatmentAccess.consciousness == item.id">{{ item.name }}</span>
75
               <span v-if="receiverTreatmentAccess.consciousness == item.id">{{ item.name }}</span>
95
           <div class="widthLength25">BP:{{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
95
           <div class="widthLength25">BP:{{ afterdialysis.systolic_blood_pressure ? afterdialysis.systolic_blood_pressure : "" }}/
96
             {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }} mmHg
96
             {{ afterdialysis.diastolic_blood_pressure ? afterdialysis.diastolic_blood_pressure : "" }} mmHg
97
           </div>
97
           </div>
98
-          <div class="widthLength25">T:{{ afterdialysis.temperature ? afterdialysis.temperature : '' }}</div>
98
+          <div class="widthLength25">T:{{ afterdialysis.temperature ? afterdialysis.temperature : '' }}</div>
99
           <div class="widthLength25">意识:
99
           <div class="widthLength25">意识:
100
 
100
 
101
           </div>
101
           </div>
133
           <div class="widthLength25">治疗总时长:{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : 0 }}小时
133
           <div class="widthLength25">治疗总时长:{{ prescription.dialysis_duration_hour ? prescription.dialysis_duration_hour : 0 }}小时
134
             {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : 0 }}分钟
134
             {{ prescription.dialysis_duration_minute ? prescription.dialysis_duration_minute : 0 }}分钟
135
           </div>
135
           </div>
136
-          <div class="widthLength25">透析器:{{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : '' }}</div>
136
+          <div class="widthLength25">透析器:{{ prescription.dialysis_dialyszers ? prescription.dialysis_dialyszers : '' }} 
137
+            <span v-if="prescription.dialysis_irrigation!=''">/{{prescription.dialysis_irrigation}}</span>
138
+          </div>
137
       </div>
139
       </div>
138
       <div class="lineHeight">
140
       <div class="lineHeight">
139
           <div class="widthLength25">血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }} ml/min</div>
141
           <div class="widthLength25">血流量:{{ prescription.blood_flow_volume ? prescription.blood_flow_volume : "" }} ml/min</div>
140
-          <div class="widthLength25">设定UF量:{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} L</div>
141
-          <div class="widthLength25">实际UF量:{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }} L</div>
142
+          <div class="widthLength25">设定UF量:{{ prescription.target_ultrafiltration ? prescription.target_ultrafiltration : "" }} ml</div>
143
+          <div class="widthLength25">实际UF量:{{ afterdialysis.actual_ultrafiltration ? afterdialysis.actual_ultrafiltration : "" }} ml</div>
142
           <div class="widthLength25">分区:{{ patientInfo.DialysisSchedule.device_zone.name }}</div>
144
           <div class="widthLength25">分区:{{ patientInfo.DialysisSchedule.device_zone.name }}</div>
143
       </div>
145
       </div>
144
       <div class="lineHeight">
146
       <div class="lineHeight">
145
           <div class="widthLength25">透析液温度:{{ prescription.dialysate_temperature ? prescription.dialysate_temperature : "" }} ℃</div>
147
           <div class="widthLength25">透析液温度:{{ prescription.dialysate_temperature ? prescription.dialysate_temperature : "" }} ℃</div>
146
           <div class="widthLength25">透析液流量:{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} ml/min</div>
148
           <div class="widthLength25">透析液流量:{{ prescription.dialysate_flow ? prescription.dialysate_flow : "" }} ml/min</div>
147
           <div class="widthLength25">碳酸氢根:{{ prescription.bicarbonate ? prescription.bicarbonate : "" }} mmol/L</div>
149
           <div class="widthLength25">碳酸氢根:{{ prescription.bicarbonate ? prescription.bicarbonate : "" }} mmol/L</div>
148
-          <div class="widthLength25">血管通路:{{ predialysis.blood_access_part_opera_name ? predialysis.blood_access_part_opera_name : '' }}</div>
150
+          <div class="widthLength25">血管通路:{{ prescription.blood_access_part_opera_name ? prescription.blood_access_part_opera_name : '' }}</div>
149
       </div>
151
       </div>
150
       <div class="lineHeight">
152
       <div class="lineHeight">
151
           透析液浓度(mmol/L):Ca: {{ prescription.calcium ? prescription.calcium : "" }}  &nbsp; Na: {{ prescription.sodium ? prescription.sodium : "" }} &nbsp;  K: {{ prescription.kalium ? prescription.kalium : "" }} &nbsp; 葡萄糖:{{ prescription.amylaceum ? prescription.amylaceum : "" }}
153
           透析液浓度(mmol/L):Ca: {{ prescription.calcium ? prescription.calcium : "" }}  &nbsp; Na: {{ prescription.sodium ? prescription.sodium : "" }} &nbsp;  K: {{ prescription.kalium ? prescription.kalium : "" }} &nbsp; 葡萄糖:{{ prescription.amylaceum ? prescription.amylaceum : "" }}
714
           this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
716
           this.predialysis.blood_access_part_opera_name = this.bloodAccessParOperaName(
715
             this.predialysis.blood_access_part_opera_id
717
             this.predialysis.blood_access_part_opera_id
716
           );
718
           );
719
+          
717
           this.assessmentafter = response.data.data.assessmentAfterDislysis;
720
           this.assessmentafter = response.data.data.assessmentAfterDislysis;
718
           console.log("上次透后体重", this.assessmentafter);
721
           console.log("上次透后体重", this.assessmentafter);
719
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
722
           var doctorAdevieInfo = response.data.data.doctorAdevieInfo;
723
+          var doctorAdevieInfo = response.data.data.advices;
720
           var tableAdvice = doctorAdevieInfo;
724
           var tableAdvice = doctorAdevieInfo;
721
           console.log("医生", tableAdvice);
725
           console.log("医生", tableAdvice);
722
           if (tableAdvice.length === 0) {
726
           if (tableAdvice.length === 0) {
979
           this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
983
           this.prescription.dialysate_formulation_name = this.dialysateFormulationName(
980
             this.prescription.dialysate_formulation
984
             this.prescription.dialysate_formulation
981
           );
985
           );
986
+          this.prescription.blood_access_part_opera_name = this.bloodAccessParOperaName(
987
+            this.prescription.blood_access
988
+          );
982
 
989
 
983
           var paLen = this.perfusionApparatus.length;
990
           var paLen = this.perfusionApparatus.length;
984
           this.prescription.perfusion_apparatus_name = "";
991
           this.prescription.perfusion_apparatus_name = "";

+ 16 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderTwentyFour.vue View File

1267
             <td style="line-height:20px;" width="40">钠<br />浓<br />度<br /><span style="font-size:10px; !important">mmol/L</span></td>
1267
             <td style="line-height:20px;" width="40">钠<br />浓<br />度<br /><span style="font-size:10px; !important">mmol/L</span></td>
1268
             <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
1268
             <td style="line-height:20px;" width="40">电<br />导<br />度<br /><span style="font-size:10px; !important">ms/cm</span></td>
1269
             
1269
             
1270
-            <td style="line-height:20px;" width="60">透析液<br />温度<br /><span style="font-size:10px; !important">ml</span></td>
1270
+            <td style="line-height:20px;" width="60">透析液<br />温度<br /><span style="font-size:10px; !important">℃</span></td>
1271
+            <td style="line-height:20px;" width="100">抗凝剂</td>
1271
             <td style="line-height:20px;" width="">病情变化及处理</td>
1272
             <td style="line-height:20px;" width="">病情变化及处理</td>
1272
             <td style="line-height:20px;" width="60">签名</td>
1273
             <td style="line-height:20px;" width="60">签名</td>
1273
           </tr>
1274
           </tr>
1305
             <td>
1306
             <td>
1306
               &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
1307
               &nbsp;{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "" }}
1307
             </td>
1308
             </td>
1308
-            <td>&nbsp;{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "" }}</td>
1309
+            <td>&nbsp;<span v-if="getTime(monitor.operate_time, '{h}:{i}')">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : "0" }}</span></td>
1309
             <td>&nbsp;{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
1310
             <td>&nbsp;{{ monitor.sodium_concentration ? monitor.sodium_concentration : "" }}</td>
1310
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
1311
             <td>&nbsp;{{ monitor.conductivity ? monitor.conductivity : "" }}</td>
1311
 
1312
 
1312
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : '' }}</td>
1313
             <td>&nbsp;{{ monitor.dialysate_temperature ? monitor.dialysate_temperature : '' }}</td>
1314
+            <td>&nbsp;
1315
+              <span v-if="monitor.monitor_anticoagulant == 0"></span>
1316
+              <span v-if="monitor.monitor_anticoagulant == 1">无肝素</span>
1317
+              <span v-if="monitor.monitor_anticoagulant == 2">普通肝素</span>
1318
+              <span v-if="monitor.monitor_anticoagulant == 3">低分子肝素</span>
1319
+              <span v-if="monitor.monitor_anticoagulant == 4">阿加曲班</span>
1320
+              <span v-if="monitor.monitor_anticoagulant == 5">枸橼酸钠</span>
1321
+              <span v-if="monitor.monitor_anticoagulant == 6">低分子肝素钙</span>
1322
+              <span v-if="monitor.monitor_anticoagulant == 7">低分子肝素钠</span>
1323
+              <span v-if="monitor.monitor_anticoagulant == 8">依诺肝素</span>
1324
+              <span v-if="monitor.monitor_anticoagulant == 9">达肝素</span>
1325
+              <span v-if="monitor.monitor_anticoagulant_value!=undefined && monitor.monitor_anticoagulant_value!='' ">({{monitor.monitor_anticoagulant_value}})</span>
1326
+            </td>
1313
             <td style="text-align:left;line-height:20px;">
1327
             <td style="text-align:left;line-height:20px;">
1314
               &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
1328
               &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
1315
             </td>
1329
             </td>

+ 80 - 82
src/xt_pages/outpatientCharges/components/registerDialog.vue View File

79
 
79
 
80
       <el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">
80
       <el-form-item label="处方类型:" prop="p_type" :validate-event="is_Name">
81
         <el-select style="margin-right:5px;width:100px;" v-model="form.p_type" placeholder=""
81
         <el-select style="margin-right:5px;width:100px;" v-model="form.p_type" placeholder=""
82
-                   >
82
+        >
83
           <el-option
83
           <el-option
84
             v-for="(item,index) in registers"
84
             v-for="(item,index) in registers"
85
             :key="index"
85
             :key="index"
155
         </div>
155
         </div>
156
       </el-form-item>
156
       </el-form-item>
157
 
157
 
158
-      <el-form-item label="挂号类型:" prop="register" :validate-event="is_Name">
158
+      <el-form-item label="挂号类型:"  >
159
         <el-select v-model="form.register" placeholder="请选择" style="width:100%;">
159
         <el-select v-model="form.register" placeholder="请选择" style="width:100%;">
160
           <el-option
160
           <el-option
161
             v-for="item in register"
161
             v-for="item in register"
166
         </el-select>
166
         </el-select>
167
       </el-form-item>
167
       </el-form-item>
168
       <el-form-item label="挂号费:">
168
       <el-form-item label="挂号费:">
169
-        <el-input  v-model="form.registration_fee"></el-input>
169
+        <el-input v-model="form.registration_fee"></el-input>
170
       </el-form-item>
170
       </el-form-item>
171
       <el-form-item label="诊疗费:">
171
       <el-form-item label="诊疗费:">
172
         <el-input v-model="form.medical_expenses"></el-input>
172
         <el-input v-model="form.medical_expenses"></el-input>
182
 </template>
182
 </template>
183
 
183
 
184
 <script>
184
 <script>
185
-  import {uParseTime,jsGetAge} from "@/utils/tools";
185
+  import {jsGetAge, uParseTime} from "@/utils/tools";
186
   import axios from 'axios'
186
   import axios from 'axios'
187
   import {PostSearch} from '@/api/patient'
187
   import {PostSearch} from '@/api/patient'
188
 
188
 
204
           {value: 16, label: "门诊慢性病"},
204
           {value: 16, label: "门诊慢性病"},
205
           {value: 21, label: "普通住院"},
205
           {value: 21, label: "普通住院"},
206
         ],
206
         ],
207
-        medical_care:[
207
+        medical_care: [
208
           {value: 11, label: "普通门诊"},
208
           {value: 11, label: "普通门诊"},
209
           {value: 12, label: '家庭通道'},
209
           {value: 12, label: '家庭通道'},
210
           {value: 13, label: "门诊大病"},
210
           {value: 13, label: "门诊大病"},
218
         ],
218
         ],
219
 
219
 
220
 
220
 
221
-
222
-
223
         form: {
221
         form: {
224
           id: '',
222
           id: '',
225
           settlement_value: '',
223
           settlement_value: '',
227
           name: '',
225
           name: '',
228
           gender: '',
226
           gender: '',
229
           certificates: 1,
227
           certificates: 1,
230
-          p_type:'',
231
-          sick_type:'',
232
-          diagnosis:'',
228
+          p_type: '',
229
+          sick_type: '',
230
+          diagnosis: '',
233
           medical_care: '',
231
           medical_care: '',
234
           birthday: '',
232
           birthday: '',
235
           age: '',
233
           age: '',
238
           doctor: '',
236
           doctor: '',
239
           id_card_type: 1,
237
           id_card_type: 1,
240
           department: '',
238
           department: '',
241
-          registration_fee: '',
242
-          medical_expenses: '',
239
+          registration_fee: 0,
240
+          medical_expenses: 0,
243
           cost: '',
241
           cost: '',
244
           phone: '',
242
           phone: '',
245
           social_type: '',
243
           social_type: '',
307
           value: 6,
305
           value: 6,
308
           label: "城乡居民大病医疗保险"
306
           label: "城乡居民大病医疗保险"
309
         }, {
307
         }, {
310
-            value: 7,
311
-            label: "生育保险"
312
-          }],
308
+          value: 7,
309
+          label: "生育保险"
310
+        }],
313
         register: [{
311
         register: [{
314
           value: 1,
312
           value: 1,
315
           label: '普通'
313
           label: '普通'
391
     },
389
     },
392
     methods: {
390
     methods: {
393
       handleSelect(val) {
391
       handleSelect(val) {
394
-        this.form.id = val.id
395
-        this.form.name = val.name
396
-        this.form.gender = val.gender
397
-        this.form.birthday = uParseTime(val.birthday, '{y}-{m}-{d}')
398
-        this.form.phone = val.phone
399
-        this.form.id_card = val.id_card_no
400
-        var thisLen =  this.form.id_card.length;
392
+        this.form.id = val.id;
393
+        this.form.name = val.name;
394
+        this.form.gender = val.gender;
395
+        this.form.birthday = uParseTime(val.birthday, '{y}-{m}-{d}');
396
+        this.form.phone = val.phone;
397
+        this.form.id_card = val.id_card_no;
398
+        var thisLen = this.form.id_card.length;
401
         var birth = "";
399
         var birth = "";
402
         if (thisLen == 15) {
400
         if (thisLen == 15) {
403
           birth = "19" + this.form.id_card.substr(6, 6);
401
           birth = "19" + this.form.id_card.substr(6, 6);
405
           birth = this.form.id_card.substr(6, 8);
403
           birth = this.form.id_card.substr(6, 8);
406
         }
404
         }
407
         var births =
405
         var births =
408
-                birth.substr(0, 4) +
409
-                "-" +
410
-                birth.substr(4, 2) +
411
-                "-" +
412
-                birth.substr(6, 2);
406
+          birth.substr(0, 4) +
407
+          "-" +
408
+          birth.substr(4, 2) +
409
+          "-" +
410
+          birth.substr(6, 2);
413
         this.form.age = jsGetAge(births, "-");
411
         this.form.age = jsGetAge(births, "-");
414
       },
412
       },
415
       querySearchAsync(keyword, cb) {
413
       querySearchAsync(keyword, cb) {
416
-        let key = ''
414
+        let key = '';
417
         if (keyword != undefined) {
415
         if (keyword != undefined) {
418
           key = keyword
416
           key = keyword
419
         }
417
         }
420
-        let searchArray = []
418
+        let searchArray = [];
421
         PostSearch(key).then(response => {
419
         PostSearch(key).then(response => {
422
           if (response.data.state == 1) {
420
           if (response.data.state == 1) {
423
-            searchArray = response.data.data.patient
421
+            searchArray = response.data.data.patient;
424
             cb(searchArray)
422
             cb(searchArray)
425
           } else {
423
           } else {
426
             cb([])
424
             cb([])
428
         })
426
         })
429
       },
427
       },
430
       reading(medicalInsuranceCard) {
428
       reading(medicalInsuranceCard) {
431
-        var that = this
429
+        var that = this;
432
         if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
430
         if (this.form.id_card_type.length == 0 || this.form.id_card_type == 0) {
433
-          this.$message.error("请先选择读卡类型")
431
+          this.$message.error("请先选择读卡类型");
434
           return
432
           return
435
         }
433
         }
436
         let params = {
434
         let params = {
437
           'id_card_type': this.form.id_card_type,
435
           'id_card_type': this.form.id_card_type,
438
-          'admin_user_id':this.$store.getters.xt_user.user.id,
436
+          'admin_user_id': this.$store.getters.xt_user.user.id,
439
 
437
 
440
-        }
438
+        };
441
         axios.get('http://127.0.0.1:9532/api/sscard', {
439
         axios.get('http://127.0.0.1:9532/api/sscard', {
442
           params: params
440
           params: params
443
         })
441
         })
444
           .then(function (response) {
442
           .then(function (response) {
445
             if (response.data.state == 0) {
443
             if (response.data.state == 0) {
446
-              that.$message.error(response.data.msg)
444
+              that.$message.error(response.data.msg);
447
               return false
445
               return false
448
             } else {
446
             } else {
449
-              var patient = response.data.data.patient
447
+              var patient = response.data.data.patient;
450
 
448
 
451
               if (that.form.id_card_type == 1) {
449
               if (that.form.id_card_type == 1) {
452
-                this.form.id = patient.id
453
-                that.form.name = patient.name
454
-                that.form.sex = patient.gender
455
-                that.form.age = patient.age
456
-                that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
457
-                that.form.phone = patient.phone
458
-                that.form.idCard = patient.id_card_no
450
+                this.form.id = patient.id;
451
+                that.form.name = patient.name;
452
+                that.form.sex = patient.gender;
453
+                that.form.age = patient.age;
454
+                that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}');
455
+                that.form.phone = patient.phone;
456
+                that.form.idCard = patient.id_card_no;
459
                 that.form.medicalInsuranceCard = response.data.data.number
457
                 that.form.medicalInsuranceCard = response.data.data.number
460
 
458
 
461
               } else if (that.form.id_card_type == 2) {
459
               } else if (that.form.id_card_type == 2) {
462
-                this.form.id = patient.id
463
-                that.form.name = patient.name
464
-                that.form.sex = patient.gender
465
-                that.form.age = patient.age
466
-                that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}')
467
-                that.form.phone = patient.phone
460
+                this.form.id = patient.id;
461
+                that.form.name = patient.name;
462
+                that.form.sex = patient.gender;
463
+                that.form.age = patient.age;
464
+                that.form.birthday = uParseTime(patient.birthday, '{y}-{m}-{d}');
465
+                that.form.phone = patient.phone;
468
                 that.form.idCard = patient.id_card_no
466
                 that.form.idCard = patient.id_card_no
469
               }
467
               }
470
               that.$message({message: '读卡成功', type: 'success'})
468
               that.$message({message: '读卡成功', type: 'success'})
479
       getDictionaryDataConfig(module, filed_name) {
477
       getDictionaryDataConfig(module, filed_name) {
480
         return getDictionaryDataConfig(module, filed_name)
478
         return getDictionaryDataConfig(module, filed_name)
481
       },
479
       },
482
-    show: function() {
483
-        this.visibility = true
480
+      show: function () {
481
+        this.visibility = true;
484
         // this.form = Object.assign({}, this.resetForm)
482
         // this.form = Object.assign({}, this.resetForm)
485
-        this.form.id = 0
486
-        this.form.settlement_value = ''
487
-        this.form.medical_insurance_card = ''
488
-        this.form.name = ''
489
-        this.form.gender = ''
490
-        this.form.medical_care = ''
491
-        this.form.birthda = ''
492
-        this.form.age = ''
493
-        this.form.id_card = ''
494
-        this.form.register = ''
495
-        this.form.doctor = ''
496
-        this.form.department = ''
497
-        this.form.registration_fee = ''
498
-        this.form.medical_expenses = ''
499
-        this.form.cost = ''
500
-        this.form.phone = ''
501
-        this.form.social_type = ''
502
-
503
-        this.form.p_type = 14
504
-        this.form.sick_type = this.sick[0].id
505
-        this.form.diagnosis = this.diagnoses[0].id
506
-        this.form.id_card_type = 2
507
-        this.form.certificates = 1
508
-
483
+        this.form.id = 0;
484
+        this.form.settlement_value = '';
485
+        this.form.medical_insurance_card = '';
486
+        this.form.name = '';
487
+        this.form.gender = '';
488
+        this.form.medical_care = '';
489
+        this.form.birthda = '';
490
+        this.form.age = '';
491
+        this.form.id_card = '';
492
+        this.form.register = '';
493
+        this.form.doctor = '';
494
+        this.form.department = '';
495
+        this.form.registration_fee = 0;
496
+        this.form.medical_expenses = 0;
497
+        this.form.cost = '';
498
+        this.form.phone = '';
499
+        this.form.social_type = '';
500
+
501
+        this.form.p_type = 14;
502
+        this.form.sick_type = this.sick[0].id;
503
+        this.form.diagnosis = this.diagnoses[0].id;
504
+        this.form.id_card_type = 2;
505
+        this.form.certificates = 1;
506
+        this.form.settlement_value = 1
509
         // this.form.name = patientInfo.name
507
         // this.form.name = patientInfo.name
510
         // this.form.gender = patientInfo.gender
508
         // this.form.gender = patientInfo.gender
511
         // this.form.age = patientInfo.age
509
         // this.form.age = patientInfo.age
519
         // }
517
         // }
520
 
518
 
521
       },
519
       },
522
-      
520
+
523
       hide: function () {
521
       hide: function () {
524
-        this.visibility = false
522
+        this.visibility = false;
525
         this.$refs['formValue'].resetFields()
523
         this.$refs['formValue'].resetFields()
526
       }, cancel: function (formName) {
524
       }, cancel: function (formName) {
527
-        this.$emit('cancel', this.getValue())
525
+        this.$emit('cancel', this.getValue());
528
         this.$refs['formValue'].resetFields()
526
         this.$refs['formValue'].resetFields()
529
       },
527
       },
530
       confirm: function (formName) {
528
       confirm: function (formName) {
531
         this.$refs['formValue'].validate((valid) => {
529
         this.$refs['formValue'].validate((valid) => {
532
           if (valid) {
530
           if (valid) {
533
-            let value = {}
534
-            value = this.getValue()
531
+            let value = {};
532
+            value = this.getValue();
535
             this.$emit('confirm', value)
533
             this.$emit('confirm', value)
536
           }
534
           }
537
         })
535
         })
538
       },
536
       },
539
       getValue: function () {
537
       getValue: function () {
540
-        let form = {}
541
-        form = this.form
538
+        let form = {};
539
+        form = this.form;
542
         return form
540
         return form
543
       }
541
       }
544
     }
542
     }

+ 28 - 2
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

204
                                     <ul class="basicUl">
204
                                     <ul class="basicUl">
205
                                         <li style="width:50%;">姓名:{{patientInfo.name}}</li>
205
                                         <li style="width:50%;">姓名:{{patientInfo.name}}</li>
206
                                         <li style="width:50%;">性别:{{patientInfo.gender == 1 ? '男' : '女' }}</li>
206
                                         <li style="width:50%;">性别:{{patientInfo.gender == 1 ? '男' : '女' }}</li>
207
-                                        <li style="width:50%;">年龄:{{patientInfo.age }}</li>
207
+                                        <li style="width:50%;">年龄:{{getAge(patientInfo.id_card_no)}}</li>
208
                                         <li style="width:50%;">电话:{{patientInfo.phone}}</li>
208
                                         <li style="width:50%;">电话:{{patientInfo.phone}}</li>
209
 
209
 
210
                                         <!--<span>过敏病史:</span>-->
210
                                         <!--<span>过敏病史:</span>-->
372
 
372
 
373
 <script>
373
 <script>
374
   import axios from 'axios'
374
   import axios from 'axios'
375
-
375
+  import { jsGetAge, uParseTime } from '@/utils/tools'
376
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
376
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
377
   import noCharge from './components/noCharge'
377
   import noCharge from './components/noCharge'
378
   import charged from './components/charged'
378
   import charged from './components/charged'
524
       this.getPatientList()
524
       this.getPatientList()
525
     },
525
     },
526
     methods: {
526
     methods: {
527
+      getAge(id_card_no){
528
+        if (id_card_no){
529
+
530
+          var thisLen = id_card_no.length;
531
+          var birth = '';
532
+          if (thisLen == 15) {
533
+            birth = '19' + id_card_no.substr(6, 6)
534
+          } else {
535
+            birth = id_card_no.substr(6, 8)
536
+          }
537
+          var births =
538
+            birth.substr(0, 4) +
539
+            '-' +
540
+            birth.substr(4, 2) +
541
+            '-' +
542
+            birth.substr(6, 2);
543
+          return jsGetAge(births, '-')
544
+
545
+        }else{
546
+
547
+          return 0
548
+
549
+        }
550
+
551
+
552
+      },
527
       query() {
553
       query() {
528
         if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990 ) {
554
         if (this.$store.getters.xt_user.org_id == 9919 || this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9538 || this.$store.getters.xt_user.org_id == 10106 || this.$store.getters.xt_user.org_id == 9990 ) {
529
           var that = this;
555
           var that = this;

+ 6 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue View File

361
               </el-tab-pane>
361
               </el-tab-pane>
362
               <el-tab-pane label="项目组套" name="2">
362
               <el-tab-pane label="项目组套" name="2">
363
                 <div style="width: 100%;flex:1;overflow-y: auto;">
363
                 <div style="width: 100%;flex:1;overflow-y: auto;">
364
-                  <el-table :data="tabPrjectTeam" border
364
+                  <el-table :data="tabPrjectTeam" border ref="tabProjectTeam"
365
                             :height="multipleTableHeight != '' ? multipleTableHeight : '200'"
365
                             :height="multipleTableHeight != '' ? multipleTableHeight : '200'"
366
                             :row-style="{ color: '#303133' }"
366
                             :row-style="{ color: '#303133' }"
367
                             :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
367
                             :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
2076
           '-' +
2076
           '-' +
2077
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
2077
           (nowDay < 10 ? '0' + nowDay : nowDay) + ' ' + (hours < 10 ? '0' + hours : hours) +
2078
           ':' + (min < 10 ? '0' + min : min);
2078
           ':' + (min < 10 ? '0' + min : min);
2079
-
2080
         this.prescriptions.push({
2079
         this.prescriptions.push({
2081
           id: 0,
2080
           id: 0,
2082
           name: newTabName,
2081
           name: newTabName,
2084
           advices: [],
2083
           advices: [],
2085
           project: [],
2084
           project: [],
2086
           addition: [],
2085
           addition: [],
2087
-          pre_time: nowTime
2086
+          pre_time: this.prescriptions[0].pre_time
2087
+          // pre_time: nowTime
2088
 
2088
 
2089
         });
2089
         });
2090
         this.editableTabsValue = newTabName;
2090
         this.editableTabsValue = newTabName;
2552
              this.hisList = hisprojectlist
2552
              this.hisList = hisprojectlist
2553
           }
2553
           }
2554
         })
2554
         })
2555
+      },
2556
+      clearSelection(){
2557
+        this.$refs.tabProjectTeam.clearSelection()
2555
       }
2558
       }
2556
     }, mounted() {
2559
     }, mounted() {
2557
       this.request_record_date = this.record_date;
2560
       this.request_record_date = this.record_date;

+ 3 - 1
src/xt_pages/outpatientDoctorStation/components/inquiriesDetail.vue View File

111
       append-to-body>
111
       append-to-body>
112
 
112
 
113
       <print v-if="activeName == 'first'" :paramsObj='paramsObj'></print>
113
       <print v-if="activeName == 'first'" :paramsObj='paramsObj'></print>
114
-      <recordPrint v-if="activeName == 'second'" :patientid="patientid"></recordPrint>
114
+      <recordPrint v-if="activeName == 'second'" ref="recordPrint" :patientid="patientid"></recordPrint>
115
     </el-dialog>
115
     </el-dialog>
116
   </el-dialog>
116
   </el-dialog>
117
 </div>
117
 </div>
192
           var record_date = this.format(this.case_history.sick_date)
192
           var record_date = this.format(this.case_history.sick_date)
193
           this.patientid = this.patientInfo.id
193
           this.patientid = this.patientInfo.id
194
           this.innerVisible = true
194
           this.innerVisible = true
195
+          this.$refs.recordPrint.show(this.patientid)
195
           // this.$router.push("/outpatientDoctorStation/recordPrint?record="+record_date+"&patient_id="+this.case_history.patient_id)
196
           // this.$router.push("/outpatientDoctorStation/recordPrint?record="+record_date+"&patient_id="+this.case_history.patient_id)
196
         }
197
         }
197
       },
198
       },
241
         let params={
242
         let params={
242
           id:id,
243
           id:id,
243
         }
244
         }
245
+        console.log(id)
244
         getHisPrescriptionInfo(params).then(response => {
246
         getHisPrescriptionInfo(params).then(response => {
245
           if (response.data.state == 0) {
247
           if (response.data.state == 0) {
246
             this.$message.error(response.data.msg)
248
             this.$message.error(response.data.msg)

+ 14 - 10
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

41
       </el-table-column>
41
       </el-table-column>
42
 
42
 
43
 
43
 
44
-      <el-table-column align="center" prop="day" width="50" label="天数">
44
+      <el-table-column align="center" prop="day" width="70" label="天数">
45
         <template slot-scope="scope">
45
         <template slot-scope="scope">
46
-          <el-input v-model="scope.row.day" @input="getDay(scope)" placeholder=""></el-input>
47
-          <div>{{'天'}}</div>
48
-
46
+          <div style="display:flex;align-items:center;">
47
+          <el-input v-model="scope.row.day" @input="getDay(scope)" placeholder=""></el-input>{{'天'}}
48
+          </div>
49
         </template>
49
         </template>
50
       </el-table-column>
50
       </el-table-column>
51
 
51
 
57
           </div>
57
           </div>
58
         </template>
58
         </template>
59
       </el-table-column>
59
       </el-table-column>
60
-      <el-table-column align="center" prop="retail_price" width="60" label="单价">
60
+      <el-table-column align="center" prop="retail_price" width="80" label="单价">
61
         <template slot-scope="scope">
61
         <template slot-scope="scope">
62
-          <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
63
-          <div>{{'元'}}</div>
62
+          <div style="display:flex;align-items:center;">
63
+            <el-input v-model="scope.row.retail_price" placeholder="" readonly></el-input>
64
+            <div>{{'元'}}</div>
65
+          </div>
64
 
66
 
65
         </template>
67
         </template>
66
       </el-table-column>
68
       </el-table-column>
108
           <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
110
           <el-input v-model="scope.row.execution_frequency" placeholder=""></el-input>
109
         </template>
111
         </template>
110
       </el-table-column>
112
       </el-table-column>
111
-      <el-table-column align="center" prop="number_days" width="50" label="天数">
113
+      <el-table-column align="center" prop="number_days" width="70" label="天数">
112
         <template slot-scope="scope">
114
         <template slot-scope="scope">
113
-          <el-input v-model="scope.row.number_days" @input="getProjectDay(scope)" placeholder=""></el-input>
114
-          <div>{{'天'}}</div>
115
+          <div style="display:flex;align-items:center;">
116
+            <el-input v-model="scope.row.number_days" @input="getProjectDay(scope)" placeholder=""></el-input>
117
+            <div>{{'天'}}</div>
118
+          </div>
115
         </template>
119
         </template>
116
       </el-table-column>
120
       </el-table-column>
117
       <el-table-column align="center" prop="total" width="70" label="总量">
121
       <el-table-column align="center" prop="total" width="70" label="总量">

+ 1 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue View File

1902
 
1902
 
1903
         }
1903
         }
1904
         }
1904
         }
1905
-
1905
+        this.$refs.prescriptions.clearSelection()
1906
 
1906
 
1907
 
1907
 
1908
 
1908
 

+ 3 - 8
src/xt_pages/outpatientRegistration/index.vue View File

315
             <div class="nameTitle">患者挂号信息:</div>
315
             <div class="nameTitle">患者挂号信息:</div>
316
             <div class="formMain">
316
             <div class="formMain">
317
                 <el-form class="basicForm" :model="form" :rules="rules" ref="form" label-width="100px">
317
                 <el-form class="basicForm" :model="form" :rules="rules" ref="form" label-width="100px">
318
-                    <el-form-item label="挂号类型:" prop="register" :validate-event="is_Name">
318
+                    <el-form-item label="挂号类型:" >
319
                         <el-select v-model="form.register" placeholder="请选择">
319
                         <el-select v-model="form.register" placeholder="请选择">
320
                             <el-option
320
                             <el-option
321
                                     v-for="item in his_registers"
321
                                     v-for="item in his_registers"
611
           name: [{ required: true, message: '患者姓名不能为空', trigger: 'blur' }],
611
           name: [{ required: true, message: '患者姓名不能为空', trigger: 'blur' }],
612
           sex: [{ required: true, message: '患者性别不能为空', trigger: 'blur' }],
612
           sex: [{ required: true, message: '患者性别不能为空', trigger: 'blur' }],
613
           idCard: [{ required: true, message: '证件号码不能为空', trigger: 'blur' }],
613
           idCard: [{ required: true, message: '证件号码不能为空', trigger: 'blur' }],
614
-          register: [{ required: true, message: '请选择挂号类型', trigger: 'blur' }],
615
           doctor: [{ required: true, message: '请选择医生', trigger: 'blur' }],
614
           doctor: [{ required: true, message: '请选择医生', trigger: 'blur' }],
616
           department: [{ required: true, message: '请填写科室', trigger: 'blur' }],
615
           department: [{ required: true, message: '请填写科室', trigger: 'blur' }],
617
           age: [{ required: true, message: '患者年龄不能为空', trigger: 'blur' }],
616
           age: [{ required: true, message: '患者年龄不能为空', trigger: 'blur' }],
1121
           this.$message.error('患者性别不能为空')
1120
           this.$message.error('患者性别不能为空')
1122
         }
1121
         }
1123
 
1122
 
1124
-        if (this.form.register == '') {
1125
-          this.$message.error('挂号类型不能为空');
1126
-          this.is_Name = true;
1127
-          return
1128
-        }
1129
-
1130
         if (this.form.doctor == '') {
1123
         if (this.form.doctor == '') {
1131
           this.$message.error('医生不能为空');
1124
           this.$message.error('医生不能为空');
1132
           this.is_Name = true;
1125
           this.is_Name = true;
1461
         this.form.certificates = 2;
1454
         this.form.certificates = 2;
1462
         this.form.id_card_type = 1
1455
         this.form.id_card_type = 1
1463
       }else{
1456
       }else{
1457
+        this.form.settlementValue = 1;
1464
         this.form.registrationFee = 0;
1458
         this.form.registrationFee = 0;
1459
+        this.form.medicalExpenses = 0;
1465
         this.form.certificates = 1;
1460
         this.form.certificates = 1;
1466
         this.form.id_card_type = 2
1461
         this.form.id_card_type = 2
1467
       }
1462
       }