Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 5 months ago
parent
commit
9f59e5bdb6

+ 5 - 3
src/api/device/device.js View File

@@ -122,12 +122,13 @@ export function getDeviceNumbers() {
122 122
     })
123 123
 }
124 124
 
125
-export function createDeviceNumber(number, zone_id, group_id,sort) {
125
+export function createDeviceNumber(number, zone_id, group_id,sort,number_type) {
126 126
     const params = {
127 127
         number: number,
128 128
         zone: zone_id,
129 129
         group: group_id,
130 130
         sort:sort,
131
+        number_type:number_type,
131 132
     }
132 133
    
133 134
     return request({
@@ -137,13 +138,14 @@ export function createDeviceNumber(number, zone_id, group_id,sort) {
137 138
     })
138 139
 }
139 140
 
140
-export function modifyDeviceNumber(id, number, zone_id, group_id,sort) {
141
+export function modifyDeviceNumber(id, number, zone_id, group_id,sort,number_type) {
141 142
     const params = {
142 143
         id: id,
143 144
         number: number,
144 145
         zone: zone_id,
145 146
         group: group_id,
146
-        sort:sort
147
+        sort:sort,
148
+        number_type:number_type,
147 149
     }
148 150
     return request({
149 151
         url: '/api/device/number/modify',

+ 4 - 4
src/store/modules/globalConfig.js View File

@@ -188,7 +188,7 @@ const global_config = {
188 188
         id: 12,
189 189
         name: '退休人员'
190 190
       },
191
-    
191
+
192 192
     ],
193 193
     induction_options: [ // 诱导期
194 194
       {
@@ -1070,9 +1070,9 @@ const global_config = {
1070 1070
         zongliang: 1,
1071 1071
         gaimingcheng: -1,
1072 1072
         gaijiliang: -1,
1073
-        shouji_unit: 'mg',
1074
-        weichi_unit: 'mg/h',
1075
-        zongliang_unit: 'mg',
1073
+        shouji_unit: 'iu',
1074
+        weichi_unit: 'iu/h',
1075
+        zongliang_unit: 'iu',
1076 1076
         gaimingcheng_unit: '',
1077 1077
         gaijiliang_unit: ''
1078 1078
       },

+ 36 - 2
src/xt_pages/device/number_main.vue View File

@@ -36,6 +36,14 @@
36 36
               label="所属分组"
37 37
               align="center"
38 38
             ></el-table-column>
39
+            <el-table-column
40
+              label="透析机型号"
41
+              align="center"
42
+            >
43
+             <template slot-scope="scope">
44
+                {{ scope.row.number_type?scope.row.number_type:"" }}
45
+             </template>
46
+            </el-table-column>
39 47
             <el-table-column prop="sort" label="排序" align="center">
40 48
                 <template slot-scope="scope">
41 49
                     {{scope.row.sort?scope.row.sort:""}}
@@ -104,6 +112,8 @@
104 112
               style="width: 220px"
105 113
             ></el-input>
106 114
           </el-form-item>
115
+
116
+          
107 117
           <el-form-item
108 118
             size="small"
109 119
             label="所属分区 : "
@@ -121,6 +131,10 @@
121 131
               ></el-option>
122 132
             </el-select>
123 133
           </el-form-item>
134
+
135
+
136
+        
137
+          
124 138
           <el-form-item
125 139
             size="small"
126 140
             label="所属分组 : "
@@ -138,6 +152,20 @@
138 152
               ></el-option>
139 153
             </el-select>
140 154
           </el-form-item>
155
+
156
+          <el-form-item
157
+            size="small"
158
+            label="透析机型号 : "
159
+            prop="number"
160
+          >
161
+            <el-input
162
+              v-model="number_form.number_type"
163
+              style="width: 220px"
164
+            ></el-input>
165
+          </el-form-item>
166
+
167
+
168
+
141 169
           <el-form-item label="排序:">
142 170
               <el-input style="width:220px" v-model="number_form.sort"></el-input>
143 171
           </el-form-item>
@@ -186,6 +214,7 @@ export default {
186 214
         zone: "",
187 215
         group: "",
188 216
         sort:"",
217
+        number_type:"",
189 218
       },
190 219
       formLabelWidth: "110px",
191 220
       showEditDeviceNumber: false,
@@ -222,6 +251,7 @@ export default {
222 251
       this.number_form.number = row.number;
223 252
       this.number_form.zone = row.zone_id;
224 253
       this.number_form.group = row.group_id;
254
+      this.number_form.number_type = row.number_type
225 255
       if(row.sort == 0){
226 256
         this.number_form.sort = ""
227 257
       }
@@ -237,6 +267,7 @@ export default {
237 267
       this.number_form.zone = "";
238 268
       this.number_form.group = "";
239 269
       this.number_form.sort = ""
270
+      this.number_form.number_type=""
240 271
       this.$refs.form_number.clearValidate();
241 272
       this.showEditDeviceNumber = false;
242 273
     },
@@ -248,7 +279,8 @@ export default {
248 279
               this.number_form.number,
249 280
               this.number_form.zone,
250 281
               this.number_form.group,
251
-              this.number_form.sort
282
+              this.number_form.sort,
283
+              this.number_form.number_type,
252 284
             ).then(rs => {
253 285
               var resp = rs.data;
254 286
               if (resp.state === 1) {
@@ -265,7 +297,8 @@ export default {
265 297
               this.number_form.number,
266 298
               this.number_form.zone,
267 299
               this.number_form.group,
268
-              this.number_form.sort
300
+              this.number_form.sort,
301
+              this.number_form.number_type,
269 302
             ).then(rs => {
270 303
               var resp = rs.data;
271 304
               // console.log(resp.data)
@@ -283,6 +316,7 @@ export default {
283 316
                     number.zone_name = resp.data.number.zone_name;
284 317
                     number.group_name = resp.data.number.group_name;
285 318
                     number.sort = resp.data.number.sort;
319
+                    number.number_type = resp.data.number.number_type
286 320
                     break;
287 321
                   }
288 322
                 }

+ 12 - 4
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -1406,11 +1406,14 @@
1406 1406
                         <span v-if="record.prescription.anticoagulant == 15"
1407 1407
                           >mg</span
1408 1408
                         >
1409
+                        <span v-if="record.prescription.anticoagulant == 14"
1410
+                          >iu</span
1411
+                        >
1409 1412
                         <span v-if="record.prescription.anticoagulant == 16"
1410 1413
                           >mg</span
1411 1414
                         >
1412 1415
                         <span v-if="record.prescription.anticoagulant == 17"
1413
-                          >mg</span
1416
+                          >U</span
1414 1417
                         >
1415 1418
                       </div>
1416 1419
                       <div class="inline_block" style="margin-left: 20px">
@@ -1473,6 +1476,9 @@
1473 1476
                         <span v-if="record.prescription.anticoagulant == 1"
1474 1477
                           >mg/h</span
1475 1478
                         >
1479
+                        <span v-if="record.prescription.anticoagulant == 14"
1480
+                          >iu/h</span
1481
+                        >
1476 1482
                         <span v-if="record.prescription.anticoagulant == 15"
1477 1483
                           >mg/h</span
1478 1484
                         >
@@ -1480,7 +1486,7 @@
1480 1486
                           >mg/h</span
1481 1487
                         >
1482 1488
                         <span v-if="record.prescription.anticoagulant == 17"
1483
-                          >mg/h</span
1489
+                          >U/h</span
1484 1490
                         >
1485 1491
                       </div>
1486 1492
                       <div class="inline_block" style="margin-left: 20px">
@@ -1523,6 +1529,9 @@
1523 1529
                         <span v-if="record.prescription.anticoagulant == 1"
1524 1530
                           >mg</span
1525 1531
                         >
1532
+                        <span v-if="record.prescription.anticoagulant == 14"
1533
+                          >iu</span
1534
+                        >
1526 1535
                         <span v-if="record.prescription.anticoagulant == 15"
1527 1536
                           >mg</span
1528 1537
                         >
@@ -1530,8 +1539,7 @@
1530 1539
                           >mg</span
1531 1540
                         >
1532 1541
                         <span v-if="record.prescription.anticoagulant == 17"
1533
-                          >mg</span
1534
-                        >
1542
+                          >U</span>
1535 1543
                       </div>
1536 1544
                       <div class="inline_block" style="margin-left: 20px">
1537 1545
                         透析机号:

+ 47 - 4
src/xt_pages/dialysis/details/consumable/dialysisDrug.vue View File

@@ -100,6 +100,21 @@
100 100
            </template>
101 101
         </el-table-column>
102 102
 
103
+        <el-table-column label="透析器/灌流器/滤过器" align="center" width="160">
104
+           <template slot-scope="scope">
105
+              <span v-if="scope.row.dialysis_prescription!=null">
106
+                 {{ scope.row.dialysis_prescription.dialysis_dialyszers }} &nbsp;&nbsp; {{ scope.row.dialysis_prescription.dialysis_irrigation }} &nbsp;&nbsp;  {{ scope.row.dialysis_prescription.dialysis_strainer }}
107
+              </span>
108
+
109
+              <span v-if="scope.row.dialysis_prescription==null">
110
+                {{ scope.row.dialysis_solution.dialysis_dialyszers }}  &nbsp;&nbsp; {{ scope.row.dialysis_solution.dialysis_irrigation }} &nbsp;&nbsp;  {{ scope.row.dialysis_solution.dialysis_strainer }}
111
+              </span>
112
+           </template>
113
+        </el-table-column>
114
+
115
+
116
+
117
+
103 118
         <el-table-column label="推送医嘱" align="center" width="1280">
104 119
            <template slot-scope="scope">
105 120
              <span v-if="config.is_open !=1">{{getAdviceContent(scope.row.patient_id)}}</span> 
@@ -250,7 +265,6 @@
250 265
         allGoodInfo:[],
251 266
         list:[],
252 267
         new_list:[],
253
-
254 268
         good_types: [],
255 269
         arrKey:[],
256 270
         arrList:[],
@@ -404,6 +418,18 @@
404 418
       if(val == 39){
405 419
         name = "HF16"
406 420
       }
421
+      if(val == 40){
422
+        name = "HD(无肝素)"
423
+      }
424
+      if(val == 41){
425
+        name = "HDF17H"
426
+      }
427
+      if(val == 42){
428
+        name = "HD."
429
+      }
430
+      if(val == 43){
431
+        name = "HD(2)"
432
+      }
407 433
       return name
408 434
       },
409 435
       getlist(){
@@ -412,7 +438,14 @@
412 438
           if(response.data.state == 1){
413 439
           
414 440
             var list = response.data.data.list
415
-            this.list = list
441
+            if(list!=null && list.length>0){
442
+              for(let i=0;i<list.length;i++){
443
+                 list[i].sort =0
444
+                 list[i].sort = list[i].device_number.sort
445
+              }
446
+            }
447
+            console.log("lsit=================",list)
448
+            this.list = list.sort(this.compare('sort'))
416 449
             this.total = response.data.data.total
417 450
             var adviceList = response.data.data.adviceList
418 451
             this.adviceList = adviceList
@@ -461,7 +494,13 @@
461 494
           }
462 495
         })
463 496
       },
464
-
497
+      compare(p) { //这是比较函数
498
+        return function (m, n) {
499
+          var a = m[p];
500
+          var b = n[p];
501
+          return a - b; //升序
502
+        }
503
+      },
465 504
       handleSizeChange(val) {
466 505
         this.query.limit = val;
467 506
         this.getlist();
@@ -521,7 +560,11 @@
521 560
             this.$message.error(response.data.msg)
522 561
             return false
523 562
           } else {
524
-            this.partitionArr = response.data.data.zone
563
+           
564
+            var obj = {id:0,name:"全部"}
565
+            this.partitionArr.push(obj)
566
+            var zones = response.data.data.zone
567
+            this.partitionArr.push(...zones)
525 568
             for(let i=0;i<this.partitionArr.length;i++){
526 569
               this.zoneIdList.push(this.partitionArr[i].id)
527 570
             }

+ 37 - 0
src/xt_pages/dialysis/details/consumable/dialysisDrugPrint.vue View File

@@ -30,6 +30,7 @@
30 30
                 <td width="100">姓名</td>
31 31
                 <td width="100">透析号</td>
32 32
                 <td width="100">透析模式</td>
33
+                <td width="200">透析器/灌流器/滤过器</td>
33 34
                 <td width="800">推送医嘱</td>
34 35
              
35 36
               </tr>
@@ -41,6 +42,15 @@
41 42
                 <td>{{item.patient.name}}</td>
42 43
                 <td>{{item.patient.dialysis_no}}</td>
43 44
                 <td>{{getModeId(item.mode_id)}}</td>
45
+                <td width="200">
46
+                  <span v-if="item.dialysis_prescription!=null">
47
+                    {{ item.dialysis_prescription.dialysis_dialyszers }} &nbsp;&nbsp; {{ item.dialysis_prescription.dialysis_irrigation }} &nbsp;&nbsp;  {{ item.dialysis_prescription.dialysis_strainer }}
48
+                   </span>
49
+
50
+                  <span v-if="item.dialysis_prescription==null">
51
+                    {{ item.dialysis_solution.dialysis_dialyszers }}  &nbsp;&nbsp; {{ item.dialysis_solution.dialysis_irrigation }} &nbsp;&nbsp;  {{ item.dialysis_solution.dialysis_strainer }}
52
+                  </span>
53
+                </td>
44 54
                  <td width="800">
45 55
                      <span v-if="config.is_open !=1">{{getAdviceContent(item.patient_id)}}</span> 
46 56
                      <span v-if="config.is_open == 1"> {{getHisAdviceContent(item.patient_id)}}</span>
@@ -113,6 +123,13 @@
113 123
      this.getlist()
114 124
     },
115 125
     methods: {
126
+     compare(p) { //这是比较函数
127
+        return function (m, n) {
128
+          var a = m[p];
129
+          var b = n[p];
130
+          return a - b; //升序
131
+        }
132
+     },
116 133
      getModeId(val){
117 134
       var name =""
118 135
       if(val == 1){
@@ -220,6 +237,18 @@
220 237
       if(val == 39){
221 238
         name = "HF16"
222 239
       }
240
+      if(val == 40){
241
+        name = "HD(无肝素)"
242
+      }
243
+      if(val == 41){
244
+        name = "HDF17H"
245
+      }
246
+      if(val == 42){
247
+        name = "HD."
248
+      }
249
+      if(val == 43){
250
+        name = "HD(2)"
251
+      }
223 252
       return name
224 253
       },
225 254
       getlist(){
@@ -235,6 +264,14 @@
235 264
           if(response.data.state == 1){
236 265
           
237 266
             var list = response.data.data.list
267
+            if(list!=null && list.length>0){
268
+              for(let i=0;i<list.length;i++){
269
+                 list[i].sort =0
270
+                 list[i].sort = list[i].device_number.sort
271
+              }
272
+            }
273
+            console.log("lsit=================",list)
274
+            this.list = list.sort(this.compare('sort'))
238 275
             this.list = list
239 276
             this.total = response.data.data.total
240 277
             var adviceList = response.data.data.adviceList

+ 53 - 0
src/xt_pages/dialysis/details/consumable/dialysisParameter.vue View File

@@ -278,6 +278,36 @@
278 278
               {{ scope.row.advice_spc }}
279 279
            </template>
280 280
         </el-table-column>
281
+
282
+        <el-table-column align="center" label="左卡" v-if="org_id!=10599 && org_id!=10629">
283
+           <template slot-scope="scope">
284
+              {{ scope.row.advice_spc_one }}
285
+           </template>
286
+        </el-table-column>
287
+
288
+        <el-table-column align="center" label="低分子" v-if="org_id!=10599 && org_id!=10629">
289
+           <template slot-scope="scope">
290
+              {{ scope.row.advice_spc_two }}
291
+           </template>
292
+        </el-table-column>
293
+
294
+        <el-table-column align="center" label="肝素钠" v-if="org_id!=10599 && org_id!=10629">
295
+           <template slot-scope="scope">
296
+              {{ scope.row.advice_spc_three }}
297
+           </template>
298
+        </el-table-column>
299
+
300
+        <el-table-column align="center" label="蔗糖铁" v-if="org_id!=10599 && org_id!=10629">
301
+           <template slot-scope="scope">
302
+              {{ scope.row.advice_spc_four }}
303
+           </template>
304
+        </el-table-column>
305
+
306
+        <el-table-column align="center" label="尿激酶" v-if="org_id!=10599 && org_id!=10629">
307
+           <template slot-scope="scope">
308
+              {{ scope.row.advice_spc_five }}
309
+           </template>
310
+        </el-table-column>
281 311
        <el-table-column align="center" label="封管液" v-if="dialysisSett.sealing_fluid_dispose == 1">
282 312
            <template slot-scope="scope">
283 313
              <span>{{scope.row.xt_assesment_after_dislysis.sealing_fluid_dispose}} </span> 
@@ -686,11 +716,34 @@
686 716
 
687 717
               for(let i=0;i<list.length;i++){
688 718
                 list[i].advice_spc =""
719
+                list[i].advice_spc_one = ""
720
+                list[i].advice_spc_three = ""
721
+                 list[i].advice_spc_four = ""
722
+                  list[i].advice_spc_five = ""
689 723
                  for(let j=0;j<list[i].advice.length;j++){
690 724
                      if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
691 725
                         list[i].advice_spc+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
692 726
                      }
727
+
728
+                     if((list[i].advice[j].advice_name).indexOf("左卡")!=-1){
729
+                        list[i].advice_spc_one+= (list[i].advice[j].single_dose + "g"+"/"+ list[i].advice[j].prescribing_number_unit)+","
730
+                     }
731
+
732
+                     if((list[i].advice[j].advice_name).indexOf("低分子")!=-1){
733
+                        list[i].advice_spc_two+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
734
+                     }
735
+
736
+                     if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
737
+                        list[i].advice_spc_three+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
738
+                     }
739
+                     if((list[i].advice[j].advice_name).indexOf("蔗糖铁")!=-1){
740
+                        list[i].advice_spc_four+= (list[i].advice[j].single_dose + "mg"+"/"+ list[i].advice[j].prescribing_number_unit)+","
741
+                     }
742
+                     if((list[i].advice[j].advice_name).indexOf("尿激酶")!=-1){
743
+                        list[i].advice_spc_five+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
744
+                     }
693 745
                  }
746
+                
694 747
               }
695 748
               console.log("listwowowowowowo日本",this.list)
696 749
               this.list = list

+ 46 - 4
src/xt_pages/dialysis/details/consumable/dialysisParameterPrint.vue View File

@@ -52,8 +52,13 @@
52 52
                 <td width="100" v-if="dialysisSett.sealing_fluid_dispose == 1 && org_id!=10629">封管液</td>
53 53
                 <td width="100"  v-if="dialysisSett.glucose==1">葡萄糖</td>
54 54
                 <td width="100"  v-if="dialysisSett.blood_flow_volume==1">血流量</td>
55
-                <td v-if="org_id!=10587 && org_id!=0 && org_id!=10599 && org_id!=10629">封管液</td>
56
-                <td v-if="org_id!=10587 && org_id!=0 && org_id!=10599 && org_id!=10629">促红</td>
55
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">封管液</td>
56
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">促红</td>
57
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">左卡</td>
58
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">低分子</td>
59
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">肝素钠</td>
60
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">蔗糖铁</td>
61
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">尿激酶</td>
57 62
               </tr>
58 63
               </thead>
59 64
               <tbody>
@@ -181,9 +186,24 @@
181 186
                 </td>
182 187
                 
183 188
                 
184
-                <td v-if="org_id!=10587&& org_id!=0 && org_id!=10599 && org_id!=10629">
189
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
185 190
                   {{ item.advice_spc }}
186 191
                 </td>
192
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
193
+                  {{ item.advice_spc_one }}
194
+                </td>
195
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
196
+                  {{ item.advice_spc_two }}
197
+                </td>
198
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
199
+                  {{ item.advice_spc_three }}
200
+                </td>
201
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
202
+                  {{ item.advice_spc_four }}
203
+                </td>
204
+                <td v-if="org_id!=10587 && org_id!=10599 && org_id!=10629">
205
+                  {{ item.advice_spc_five }}
206
+                </td>
187 207
                </tr>
188 208
               </tbody>
189 209
             </table>
@@ -282,12 +302,33 @@
282 302
             var total_three =0  
283 303
             console.log("listoowowowwoww",list)
284 304
             for(let i=0;i<list.length;i++){
285
-              list[i].advice_spc =""
305
+                list[i].advice_spc =""
306
+                list[i].advice_spc_one = ""
307
+                list[i].advice_spc_three = ""
308
+                list[i].advice_spc_four = ""
309
+                list[i].advice_spc_five = ""
286 310
                 for(let j=0;j<list[i].advice.length;j++){
287 311
                     total_two +=parseInt(list[i].advice[j].prescribing_number) 
288 312
                     if((list[i].advice[j].advice_name).indexOf("促红")!=-1){
289 313
                       list[i].advice_spc+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
290 314
                     }
315
+                    if((list[i].advice[j].advice_name).indexOf("左卡")!=-1){
316
+                        list[i].advice_spc_one+= (list[i].advice[j].single_dose + "g"+"/"+ list[i].advice[j].prescribing_number_unit)+","
317
+                     }
318
+
319
+                     if((list[i].advice[j].advice_name).indexOf("低分子")!=-1){
320
+                        list[i].advice_spc_two+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
321
+                     }
322
+
323
+                     if((list[i].advice[j].advice_name).indexOf("肝素钠")!=-1){
324
+                        list[i].advice_spc_three+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
325
+                     }
326
+                     if((list[i].advice[j].advice_name).indexOf("蔗糖铁")!=-1){
327
+                        list[i].advice_spc_four+= (list[i].advice[j].single_dose + "mg"+"/"+ list[i].advice[j].prescribing_number_unit)+","
328
+                     }
329
+                     if((list[i].advice[j].advice_name).indexOf("尿激酶")!=-1){
330
+                        list[i].advice_spc_five+= (list[i].advice[j].single_dose + "iu"+"/"+ list[i].advice[j].prescribing_number_unit)+","
331
+                     }
291 332
                 }
292 333
               this.total_two =total_two
293 334
               if(list[i].dialysis_solution.anticoagulant == 3){
@@ -301,6 +342,7 @@
301 342
               this.total_three = total_three
302 343
              
303 344
             }
345
+            console.log("list====================",list)
304 346
             this.list = list
305 347
             this.dialysisSett = response.data.data.dialysisSett
306 348
             console.log("设置",this.dialysisSett)

+ 30 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -1444,7 +1444,11 @@
1444 1444
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1445 1445
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1446 1446
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1447
-                      <span v-if="prescription.anticoagulant == 14">mg</span>
1447
+                      <span v-if="prescription.anticoagulant == 14">
1448
+                       <span v-if="org_id!=10644">mg</span> 
1449
+                       <span v-if="org_id==10644">iu</span> 
1450
+                      </span>
1451
+                      <span v-if="prescription.anticoagulant == 17">U</span>
1448 1452
                     </span>
1449 1453
 
1450 1454
                     <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10460">
@@ -1459,7 +1463,11 @@
1459 1463
                      <span v-if="prescription.anticoagulant == 10">iu</span>
1460 1464
                      <span v-if="prescription.anticoagulant == 11">iu</span>
1461 1465
                      <span v-if="prescription.anticoagulant == 13">iu</span>
1462
-                     <span v-if="prescription.anticoagulant == 14">mg</span>
1466
+                     <span v-if="prescription.anticoagulant == 14">
1467
+                      <span v-if="org_id!=10644">mg</span> 
1468
+                      <span v-if="org_id==10644">iu</span> 
1469
+                     </span>
1470
+                     <span v-if="prescription.anticoagulant == 17">U</span>
1463 1471
 
1464 1472
                     </span>
1465 1473
                     </div>
@@ -1501,7 +1509,11 @@
1501 1509
                         <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg/h</span>
1502 1510
                         <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1503 1511
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1504
-                          <span v-if="prescription.anticoagulant == 14">mg/h</span>
1512
+                          <span v-if="prescription.anticoagulant == 14">
1513
+                            <span v-if="org_id!=10644">mg/h</span> 
1514
+                            <span v-if="org_id==10644">iu/h</span> 
1515
+                          </span>
1516
+                          <span v-if="prescription.anticoagulant == 17">U/h</span>
1505 1517
                       </span>
1506 1518
                       <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10460">
1507 1519
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
@@ -1515,7 +1527,11 @@
1515 1527
                           <span v-if="prescription.anticoagulant == 10">iu/h</span>
1516 1528
                           <span v-if="prescription.anticoagulant == 11">iu/h</span>
1517 1529
                           <span v-if="prescription.anticoagulant == 13">iu/h</span>
1518
-                          <span v-if="prescription.anticoagulant == 14">mg/h</span>
1530
+                          <span v-if="prescription.anticoagulant == 14">
1531
+                            <span v-if="org_id!=10644">mg/h</span> 
1532
+                            <span v-if="org_id==10644">iu/h</span> 
1533
+                          </span>
1534
+                          <span v-if="prescription.anticoagulant == 17">U/h</span>
1519 1535
                       </span>
1520 1536
                     </div>
1521 1537
                     <div
@@ -1584,7 +1600,11 @@
1584 1600
                       <span v-if="org_id!=9538&& prescription.anticoagulant == 2">mg</span>
1585 1601
                       <span v-if="org_id==9538&& prescription.anticoagulant == 2">u</span>
1586 1602
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1587
-                      <span v-if="prescription.anticoagulant == 14">mg</span>
1603
+                      <span v-if="prescription.anticoagulant == 14">
1604
+                        <span v-if="org_id!=10644">mg</span> 
1605
+                        <span v-if="org_id==10644">iu</span> 
1606
+                      </span>
1607
+                      <span v-if="prescription.anticoagulant == 17">U</span>
1588 1608
                      </span>
1589 1609
                     <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471|| org_id == 10460">
1590 1610
                        <span v-if="prescription.anticoagulant == 2">mg</span>
@@ -1598,7 +1618,11 @@
1598 1618
                        <span v-if="prescription.anticoagulant == 10">iu</span>
1599 1619
                       <span v-if="prescription.anticoagulant == 11">iu</span>
1600 1620
                       <span v-if="prescription.anticoagulant == 13">iu</span>
1601
-                      <span v-if="prescription.anticoagulant == 14">mg/h</span>
1621
+                      <span v-if="prescription.anticoagulant == 14">
1622
+                        <span v-if="org_id!=10644">mg</span> 
1623
+                        <span v-if="org_id==10644">iu</span> 
1624
+                      </span>
1625
+                      <span v-if="prescription.anticoagulant == 17">U</span>
1602 1626
                     </span>
1603 1627
                     </div>
1604 1628
                     <div class="inline_block" style="margin-left: 20px" v-if="org_id!=9675 && org_id!=10447">

+ 12 - 0
src/xt_pages/eleFaPiao/fapiao.vue View File

@@ -89,6 +89,18 @@
89 89
         </el-table-column>
90 90
 
91 91
 
92
+        <el-table-column
93
+          align="center"
94
+          width="100"
95
+          prop="name"
96
+          label="处方日期"
97
+        >
98
+          <template slot-scope="scope">
99
+            {{scope.row.orders?getTimes(scope.row.orders[0].settle_accounts_date):""}}
100
+          </template>
101
+        </el-table-column>
102
+
103
+
92 104
         <el-table-column align="center" width="90" prop="name" label="开票员">
93 105
           <template slot-scope="scope">
94 106
             {{scope.row.creator}}

+ 39 - 0
src/xt_pages/workforce/remind_print.vue View File

@@ -37,6 +37,7 @@
37 37
                   <td width="30" v-if="printObj.anticoagulant_zongliang == 1">维持</td>
38 38
                   <td width="30" v-if="printObj.anticoagulant_zongliang == 1">总量</td>
39 39
                   <td width="">血管通路</td>
40
+                  <td width="" v-if="org_id == 0 || org_id ==10567">管路</td>
40 41
                   <td width="300" v-if="printObj.doctor_advice == 1">长期医嘱</td>
41 42
                 </tr>
42 43
               </thead>
@@ -125,6 +126,11 @@
125 126
                 <td >
126 127
                    <span>{{getBloodName(main_collection.prescription.blood_access)  }}</span>
127 128
                 </td>
129
+                <td v-if="org_id == 0 || org_id ==10567">
130
+                   <span>
131
+                     {{ getProjectName(main_collection.projectList,main_collection.schedule_date) }}
132
+                   </span>
133
+                </td>
128 134
                 <td  style="text-align:left"  v-if="printObj.doctor_advice == 1">
129 135
                   <span style="white-space: pre" v-if="main_collection.doctoradvice.length>0">{{getAdvice(main_collection.doctoradvice)}}</span>
130 136
                    <span style="white-space: pre" v-if="main_collection.hisdoctoradviceinfo.length>0">{{ getAdviceOne(main_collection.hisdoctoradviceinfo)}}</span>
@@ -207,7 +213,19 @@
207 213
            console.log("list2323323",list)
208 214
            for(let i=0;i<list.length;i++){
209 215
               list[i].sort = list[i].number.sort
216
+              list[i].projectList = []
217
+              if(list[i].his_prescription_template.his_prescription_info.length>0){
218
+                for(let j=0;j<list[i].his_prescription_template.his_prescription_info.length;j++){
219
+                  if(list[i].his_prescription_template.his_prescription_info[j].project.length >0){
220
+                    for(let z=0;z<list[i].his_prescription_template.his_prescription_info[j].project.length;z++){
221
+                      list[i].projectList.push(list[i].his_prescription_template.his_prescription_info[j].project[z])
222
+                    }
223
+                    
224
+                  }
225
+                }
226
+              }
210 227
            }
228
+           console.log("likst==========================",list)
211 229
            var arr = list.sort(this.compare('sort'))
212 230
             
213 231
              this.scheduleData = arr
@@ -494,6 +512,27 @@
494 512
 
495 513
         return type_name 
496 514
 
515
+      },
516
+      getProjectName(val,schedule_date){
517
+       var project_name = ""
518
+       if(val!=null && val.length>0){
519
+         for(let i=0;i<val.length;i++){
520
+          if(val[i].good_info.good_type_id == 9716){
521
+            if(val[i].frequency_type == 1 || (val[i].frequency_type == 3 && val[i].week_day.indexOf(this.getweekday(schedule_date))!=-1)){
522
+              project_name += val[i].good_info.good_name +val[i].count + val[i].good_info.packing_unit +","
523
+            }
524
+          }
525
+           
526
+         }
527
+       }
528
+       return project_name
529
+      },
530
+      getweekday(date){
531
+        var weekArray = new Array("周日", "周一", "周二", "周三", "周四", "周五", "周六");
532
+
533
+        var week = weekArray[new Date(date).getDay()];//注意此处必须是先new一个Date
534
+
535
+        return week;
497 536
       }
498 537
     },
499 538
   }