Parcourir la source

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

XMLWAN il y a 5 ans
Parent
révision
6756c4d916

+ 3 - 0
src/store/modules/globalConfig.js Voir le fichier

@@ -1951,6 +1951,9 @@ const global_config = {
1951 1951
       {
1952 1952
         id: 3,
1953 1953
         name: '自己压迫'
1954
+      }, {
1955
+        id: 4,
1956
+        name: '内瘘止血带'
1954 1957
       }
1955 1958
     ],
1956 1959
     tremor_noise: [{

Fichier diff supprimé car celui-ci est trop grand
+ 2410 - 2406
src/xt_pages/dialysis/batch_print/batch_print_order_nine.vue


+ 19 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue Voir le fichier

@@ -254,6 +254,25 @@
254 254
             getDialyzer(this.record.dialyzer)
255 255
           }}</span>
256 256
         </li>
257
+
258
+        <li v-if="isShow('透析器')">
259
+          <label for="hzqx">透析器: </label>
260
+          <span id="hzqx" class="content">{{
261
+            getDialyzer(this.record.dialyzer)
262
+          }}</span>
263
+        </li>
264
+
265
+        <li v-if="isShow('中心静脉封管(肝素-A端)')">
266
+          <label for="bzh">中心静脉封管(肝素-A端): </label>
267
+          <span class="content" id="tzjs">{{this.record.cvc_a?this.record.cvc_a:''}}</span>
268
+          <span class="unit">{{this.record.cvc_a?'ml':''}}</span>
269
+        </li>
270
+        <li v-if="isShow('中心静脉封管(肝素-V端)')">
271
+          <label for="bzh">中心静脉封管(肝素-V端): </label>
272
+          <span class="content" id="tzjs">{{this.record.cvc_v?this.record.cvc_v:''}}</span>
273
+          <span class="unit">{{this.record.cvc_v?'ml':''}}</span>
274
+        </li>
275
+
257 276
       </ul>
258 277
     </div>
259 278
     <div class="note">

+ 3 - 2
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Voir le fichier

@@ -27,10 +27,11 @@
27 27
           </el-col>
28 28
 
29 29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30
-            <el-form-item label="实际超滤量(L): " v-if="this.template_id != 6">
30
+
31
+            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6 || this.template_id == 10">
31 32
               <el-input v-model="form.actual_ultrafiltration"></el-input>
32 33
             </el-form-item>
33
-            <el-form-item label="实际超滤量(ml): " v-if="this.template_id == 6">
34
+            <el-form-item label="实际超滤量(L): " v-else>
34 35
               <el-input v-model="form.actual_ultrafiltration"></el-input>
35 36
             </el-form-item>
36 37
           </el-col>

+ 3 - 0
src/xt_pages/dialysis/details/dialog/adviceDialog/EditGroupAdvice.vue Voir le fichier

@@ -706,6 +706,7 @@ export default {
706 706
                 parent_id: _this.groupSelectRow.parent_id,
707 707
                 groupno: _this.groupForm.groupno
708 708
               }
709
+              console.log(this.groupSelectRow)
709 710
               let mode = "2"
710 711
               if (this.groupSelectRow.advice_doctor != this.$store.getters.xt_user.user.id){
711 712
                 mode = "3"
@@ -1736,6 +1737,7 @@ export default {
1736 1737
           }
1737 1738
           this.editRowKey++
1738 1739
           var item = {
1740
+            advice_doctor:groups[index].advice_doctor,
1739 1741
             advice_name: groups[index].advice_name,
1740 1742
             advice_desc: groups[index].advice_desc,
1741 1743
             single_dose: '' + groups[index].single_dose,
@@ -1757,6 +1759,7 @@ export default {
1757 1759
             for (const key in childMap[item.id]) {
1758 1760
               this.editRowKey++
1759 1761
               var child = {
1762
+                advice_doctor:childMap[item.id][key].advice_doctor,
1760 1763
                 advice_name: childMap[item.id][key].advice_name,
1761 1764
                 advice_desc: childMap[item.id][key].advice_desc,
1762 1765
                 single_dose: '' + childMap[item.id][key].single_dose,

+ 10 - 5
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Voir le fichier

@@ -155,7 +155,7 @@
155 155
             align="center"
156 156
             label="超滤量(L)"
157 157
             width="110"
158
-            v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)"
158
+            v-if="isShow('超滤量') && template_id != 6 &&  template_id != 10"
159 159
           >
160 160
             <template slot-scope="scope">
161 161
               {{
@@ -211,7 +211,7 @@
211 211
             align="center"
212 212
             label="置换率(L/h)"
213 213
             width="120"
214
-            v-if="isShow('置换率') && (template_id != 6 || template_id != 10)"
214
+            v-if="isShow('置换率') && template_id != 6 && template_id != 10"
215 215
           >
216 216
             <template slot-scope="scope">
217 217
               {{ scope.row.replacement_rate ? scope.row.replacement_rate : "" }}
@@ -238,7 +238,7 @@
238 238
             align="center"
239 239
             label="SpO₂(%)"
240 240
             width="100"
241
-            v-if="isShow('SpO₂') && (template_id != 6 || template_id != 10)"
241
+            v-if="isShow('SpO₂') && template_id != 6 && template_id != 10"
242 242
           >
243 243
             <template slot-scope="scope">
244 244
               {{
@@ -254,7 +254,7 @@
254 254
             align="center"
255 255
             label="置换量(L)"
256 256
             width="100"
257
-            v-if="isShow('置换量') && (template_id != 6 || template_id != 10)"
257
+            v-if="isShow('置换量') && template_id != 6 && template_id != 10"
258 258
           >
259 259
             <template slot-scope="scope">
260 260
               {{
@@ -417,7 +417,12 @@
417 417
               <el-input v-model="form.ultrafiltration_rate"></el-input>
418 418
             </el-form-item>
419 419
           </el-col>
420
-          <el-col :span="8" v-if="isShow('超滤量')">
420
+          <el-col :span="8" v-if="isShow('超滤量') &&(template_id != 6 || template_id != 10)">
421
+            <el-form-item label="超滤量(ml):">
422
+              <el-input v-model="form.ultrafiltration_volume"></el-input>
423
+            </el-form-item>
424
+          </el-col>
425
+          <el-col :span="8" v-if="isShow('超滤量') && template_id != 6 && template_id != 10">
421 426
             <el-form-item label="超滤量(L):">
422 427
               <el-input v-model="form.ultrafiltration_volume"></el-input>
423 428
             </el-form-item>

+ 4 - 4
src/xt_pages/dialysis/details/dialysisMonitoring.vue Voir le fichier

@@ -13,15 +13,15 @@
13 13
         <th v-if="isShow('血流量')" width="92px">血流量(ml/min)</th>
14 14
         <th v-if="isShow('跨膜压')" width="76px">跨膜压(mmhg)</th>
15 15
         <th v-if="isShow('超滤量') && (template_id == 6 || template_id == 10)" width="76px">超滤量(ml)</th>
16
-        <th v-if="isShow('超滤量') && (template_id != 6 || template_id != 10)" width="76px">超滤量(L)</th>
16
+        <th v-if="isShow('超滤量') && template_id != 6 && template_id != 10" width="76px">超滤量(L)</th>
17 17
         <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
18 18
         <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
19 19
         <th v-if="isShow('置换率')&& (template_id == 6 || template_id == 10)" width="92px">置换率(ml/min)</th>
20
-        <th v-if="isShow('置换率')&& (template_id != 6 || template_id != 10)" width="92px">置换率(L/h)</th>
20
+        <th v-if="isShow('置换率')&& template_id != 6 && template_id != 10" width="92px">置换率(L/h)</th>
21 21
 
22 22
         <th v-if="isShow('置换量')&& (template_id == 6 || template_id == 10)" width="92px">置换量(ml)</th>
23
-        <th v-if="isShow('置换量')&& (template_id != 6 || template_id != 10)" width="92px">置换量(L)</th>
24
-         <th v-if="isShow('SpO₂')&& (template_id != 6 || template_id != 10)" width="92px">SpO₂(%)</th>
23
+        <th v-if="isShow('置换量')&& template_id != 6 && template_id != 10" width="92px">置换量(L)</th>
24
+         <th v-if="isShow('SpO₂')&& template_id != 6 && template_id != 10" width="92px">SpO₂(%)</th>
25 25
         <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
26 26
         <th v-if="isShow('置换液流量')"  width="92px">置换液流量(ml/h)</th>
27 27
         <th v-if="isShow('病情变化')" width="92px">病情变化</th>

+ 10 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderTen.vue Voir le fichier

@@ -53,7 +53,13 @@
53 53
         <div class="inline_block">
54 54
           床号:
55 55
           <div class="under_line" style="width: 50px;text-align: center;">
56
-            {{ '/' }}
56
+            {{
57
+            dialysisOrder &&
58
+            dialysisOrder.DeviceNumber &&
59
+            dialysisOrder.DeviceNumber.number.length > 0
60
+            ? dialysisOrder.DeviceNumber.number
61
+            : patientInfo.DialysisSchedule.device_number.number
62
+            }}
57 63
           </div>
58 64
         </div>
59 65
         <div class="inline_block">
@@ -122,7 +128,7 @@
122 128
             class="under_line"
123 129
             style="width: 640px;text-align: left;word-wrap: break-word;white-space: inherit;"
124 130
           >
125
-            {{ patientInfo.diagnose }}
131
+             {{ patientInfo.diagnose }}
126 132
           </div>
127 133
         </div>
128 134
       </div>
@@ -941,8 +947,8 @@
941 947
                   </td>
942 948
                   <td>
943 949
                     {{
944
-                    monitor.sodium_concentration
945
-                    ? monitor.sodium_concentration
950
+                    monitor.conductivity
951
+                    ? monitor.conductivity
946 952
                     : ''
947 953
                     }}
948 954
                   </td>

+ 25 - 19
src/xt_pages/dialysis/template/dialysisPrintOrderNine.vue Voir le fichier

@@ -1383,7 +1383,7 @@
1383 1383
                   </tr> -->
1384 1384
                   <tr>
1385 1385
                     <td width="70">拔针压迫:</td>
1386
-                    <td width="300">
1386
+                    <td width="350">
1387 1387
                       <div style="display:flex;justify-content:space-between;">
1388 1388
                         <label-box
1389 1389
                           showValue="自己压迫"
@@ -1405,6 +1405,12 @@
1405 1405
                             afterdialysis.hemostasis_opera == 1 ? true : false
1406 1406
                           "
1407 1407
                         ></label-box>
1408
+                        <label-box
1409
+                          showValue="内瘘止血带"
1410
+                          :isChecked="
1411
+                            afterdialysis.hemostasis_opera == 4 ? true : false
1412
+                          "
1413
+                        ></label-box>
1408 1414
                       </div>
1409 1415
                     </td>
1410 1416
                     <td width="50"></td>
@@ -1663,24 +1669,24 @@
1663 1669
                         ></label-box>
1664 1670
                       </div>
1665 1671
                     </td>
1666
-                    <td width="80"></td>
1667
-                    <td width="60">管路:</td>
1668
-                    <td width="220">
1669
-                      <div style="display:flex;justify-content:space-between;">
1670
-                        <label-box showValue="无" :isChecked="
1671
-                            afterdialysis.channel == 1 ? true : false
1672
-                          "></label-box>
1673
-                        <label-box showValue="+" :isChecked="
1674
-                            afterdialysis.channel == 2 ? true : false
1675
-                          "></label-box>
1676
-                        <label-box showValue="+ +" :isChecked="
1677
-                            afterdialysis.channel == 3  ? true : false
1678
-                          "></label-box>
1679
-                        <label-box showValue="+ + +" :isChecked="
1680
-                            afterdialysis.channel == 4 ? true : false
1681
-                          "></label-box>
1682
-                      </div>
1683
-                    </td>
1672
+                    <!--<td width="80"></td>-->
1673
+                    <!--<td width="60">管路:</td>-->
1674
+                    <!--<td width="220">-->
1675
+                      <!--<div style="display:flex;justify-content:space-between;">-->
1676
+                        <!--<label-box showValue="无" :isChecked="-->
1677
+                            <!--afterdialysis.channel == 1 ? true : false-->
1678
+                          <!--"></label-box>-->
1679
+                        <!--<label-box showValue="+" :isChecked="-->
1680
+                            <!--afterdialysis.channel == 2 ? true : false-->
1681
+                          <!--"></label-box>-->
1682
+                        <!--<label-box showValue="+ +" :isChecked="-->
1683
+                            <!--afterdialysis.channel == 3  ? true : false-->
1684
+                          <!--"></label-box>-->
1685
+                        <!--<label-box showValue="+ + +" :isChecked="-->
1686
+                            <!--afterdialysis.channel == 4 ? true : false-->
1687
+                          <!--"></label-box>-->
1688
+                      <!--</div>-->
1689
+                    <!--</td>-->
1684 1690
                     <td></td>
1685 1691
                   </tr>
1686 1692
                 </tbody>

+ 34 - 38
src/xt_pages/workforce/components/tableWeeks.vue Voir le fichier

@@ -259,60 +259,56 @@
259 259
         return type_name
260 260
       },
261 261
       getAdvice:function(doctor_advice) {
262
+        if (doctor_advice != null) {
263
+          let name = ""
264
+          for (let i = 0; i < doctor_advice.length; i++) {
262 265
 
263
-        let name = ""
264
-        for (let i = 0; i< doctor_advice.length; i++){
266
+            let prescribing_number = ''
267
+            let single_dose = ''
268
+            let drug_spec = ''
265 269
 
266
-          let prescribing_number = ''
267
-          let single_dose = ''
268
-          let drug_spec = ''
270
+            if (doctor_advice[i].prescribing_number > 0) {
271
+              prescribing_number = doctor_advice[i].prescribing_number + doctor_advice[i].prescribing_number_unit
272
+            }
273
+            if (doctor_advice[i].single_dose > 0) {
274
+              single_dose = ' 单次用量 ' + doctor_advice[i].single_dose + doctor_advice[i].single_dose_unit
275
+            }
269 276
 
270
-          if (doctor_advice[i].prescribing_number > 0) {
271
-            prescribing_number = doctor_advice[i].prescribing_number + doctor_advice[i].prescribing_number_unit
272
-          }
273
-          if (doctor_advice[i].single_dose > 0) {
274
-            single_dose = ' 单次用量 ' + doctor_advice[i].single_dose + doctor_advice[i].single_dose_unit
275
-          }
277
+            if (doctor_advice[i].drug_spec > 0) {
278
+              drug_spec = doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
279
+            }
276 280
 
277
-          if (doctor_advice[i].drug_spec > 0) {
278
-            drug_spec =  doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
279
-          }
281
+            name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
280 282
 
283
+            if (doctor_advice[i].child.length > 0) {
281 284
 
282
-          name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
285
+              for (let a = 0; a < doctor_advice[i].child.length; a++) {
283 286
 
284
-          if (doctor_advice[i].child.length > 0){
287
+                if (doctor_advice[i].child[a].prescribing_number > 0) {
288
+                  doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
289
+                } else {
290
+                  doctor_advice[i].child[a]['presc'] = ''
291
+                }
285 292
 
286
-            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
293
+                if (doctor_advice[i].child[a].single_dose > 0) {
294
+                  doctor_advice[i].child[a]['single'] = " " + ' 单次用量 ' + " " + doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
295
+                } else {
296
+                  doctor_advice[i].child[a]['single'] = ''
297
+                }
287 298
 
288
-              if(doctor_advice[i].child[a].prescribing_number > 0){
289
-                doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
290
-              }else{
291
-                doctor_advice[i].child[a]['presc'] = ''
299
+                name = name + "▲" + doctor_advice[i].child[a].advice_name + ""
300
+                  + doctor_advice[i].child[a].advice_desc
301
+                  + doctor_advice[i].child[a].drug_spec_unit
302
+                  + doctor_advice[i].child[a].presc
303
+                  + doctor_advice[i].child[a].single + "\n"
292 304
               }
293 305
 
294
-              if(doctor_advice[i].child[a].single_dose > 0){
295
-                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
296
-              }else{
297
-                doctor_advice[i].child[a]['single'] = ''
298
-              }
299
-
300
-
301
-              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
302
-                + doctor_advice[i].child[a].advice_desc
303
-                + doctor_advice[i].child[a].drug_spec_unit
304
-                + doctor_advice[i].child[a].presc
305
-                + doctor_advice[i].child[a].single+"\n"
306 306
             }
307 307
 
308
-
309 308
           }
309
+          return name
310 310
 
311 311
         }
312
-        return name
313
-
314
-
315
-
316 312
       }
317 313
     },
318 314
     components: {

+ 16 - 15
src/xt_pages/workforce/remind_print.vue Voir le fichier

@@ -135,9 +135,10 @@
135 135
     },
136 136
     methods: {
137 137
       getAdvice:function(doctor_advice) {
138
+        if (doctor_advice != null) {
138 139
 
139 140
         let name = ""
140
-        for (let i = 0; i< doctor_advice.length; i++){
141
+        for (let i = 0; i< doctor_advice.length; i++) {
141 142
 
142 143
           let prescribing_number = ''
143 144
           let single_dose = ''
@@ -151,40 +152,40 @@
151 152
           }
152 153
 
153 154
           if (doctor_advice[i].drug_spec > 0) {
154
-            drug_spec =  doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
155
+            drug_spec = doctor_advice[i].drug_spec + doctor_advice[i].drug_spec_unit
155 156
           }
156 157
 
158
+          name = name + doctor_advice[i].advice_name + " " + drug_spec + " " + prescribing_number + " " + single_dose + " " + doctor_advice[i].delivery_way + " " + doctor_advice[i].execution_frequency + " " + doctor_advice[i].remark + "\n"
157 159
 
158
-          name = name + doctor_advice[i].advice_name +" "+ drug_spec+" "+ prescribing_number + " "+single_dose+" " + doctor_advice[i].delivery_way+" "+ doctor_advice[i].execution_frequency +" " + doctor_advice[i].remark +"\n"
160
+          if (doctor_advice[i].child.length > 0) {
159 161
 
160
-          if (doctor_advice[i].child.length > 0){
162
+            for (let a = 0; a < doctor_advice[i].child.length; a++) {
161 163
 
162
-            for (let a = 0 ; a < doctor_advice[i].child.length; a++){
163
-
164
-              if(doctor_advice[i].child[a].prescribing_number > 0){
164
+              if (doctor_advice[i].child[a].prescribing_number > 0) {
165 165
                 doctor_advice[i].child[a]['presc'] = doctor_advice[i].child[a].prescribing_number + doctor_advice[i].child[a].prescribing_number_unit
166
-              }else{
166
+              } else {
167 167
                 doctor_advice[i].child[a]['presc'] = ''
168 168
               }
169 169
 
170
-              if(doctor_advice[i].child[a].single_dose > 0){
171
-                doctor_advice[i].child[a]['single'] = " "+' 单次用量 '+" "+doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
172
-              }else{
170
+              if (doctor_advice[i].child[a].single_dose > 0) {
171
+                doctor_advice[i].child[a]['single'] = " " + ' 单次用量 ' + " " + doctor_advice[i].child[a].single_dose + doctor_advice[i].child[a].single_dose_unit
172
+              } else {
173 173
                 doctor_advice[i].child[a]['single'] = ''
174 174
               }
175 175
 
176
-
177
-              name = name+"▲"+doctor_advice[i].child[a].advice_name+""
176
+              name = name + "▲" + doctor_advice[i].child[a].advice_name + ""
178 177
                 + doctor_advice[i].child[a].advice_desc
179 178
                 + doctor_advice[i].child[a].drug_spec_unit
180 179
                 + doctor_advice[i].child[a].presc
181
-                + doctor_advice[i].child[a].single+"\n"
180
+                + doctor_advice[i].child[a].single + "\n"
182 181
             }
183 182
 
184 183
           }
184
+        }
185
+          return name
186
+
185 187
 
186 188
         }
187
-        return name
188 189
 
189 190
       },
190 191
       printAction: function() {