소스 검색

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

杨青 1 년 전
부모
커밋
8f6e6cda61
33개의 변경된 파일1382개의 추가작업 그리고 240개의 파일을 삭제
  1. 17 0
      src/api/device.js
  2. 16 0
      src/api/role/admin.js
  3. 19 1
      src/router/modules/stock.js
  4. 69 10
      src/xt_pages/device/objectRegistration.vue
  5. 72 2
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  6. 7 7
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  7. 2 2
      src/xt_pages/dialysis/details/assessmentAfter.vue
  8. 9 1
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  9. 18 12
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  10. 10 13
      src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue
  11. 24 12
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  12. 55 7
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  13. 6 6
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue
  14. 69 69
      src/xt_pages/hospitalStation/batchStatementTemplate/hospitalBatchPrint.vue
  15. 105 46
      src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue
  16. 21 1
      src/xt_pages/management/components/ManageForm.vue
  17. 15 2
      src/xt_pages/management/home.vue
  18. 42 27
      src/xt_pages/medicalScheduling/index.vue
  19. 13 0
      src/xt_pages/outpatientCharges/summary.vue
  20. 33 2
      src/xt_pages/role/admin.vue
  21. 244 0
      src/xt_pages/stock/drug_damage_print.vue
  22. 17 1
      src/xt_pages/stock/drugs/components/drugQuery.vue
  23. 14 1
      src/xt_pages/stock/drugs/drugDamaged.vue
  24. 21 0
      src/xt_pages/stock/drugs/inventoryDetails.vue
  25. 26 2
      src/xt_pages/stock/inventoryDetails.vue
  26. 202 0
      src/xt_pages/stock/print_damage.vue
  27. 22 1
      src/xt_pages/stock/query/goodNewQuery.vue
  28. 14 1
      src/xt_pages/stock/stockDamaged.vue
  29. 8 0
      src/xt_pages/user/components/PatientForm.vue
  30. 187 9
      src/xt_pages/user/inspection.vue
  31. 1 1
      src/xt_pages/workforce/components/nextTableWeeks.vue
  32. 3 3
      src/xt_pages/workforce/components/tableData.vue
  33. 1 1
      src/xt_pages/workforce/components/tableWeeks.vue

+ 17 - 0
src/api/device.js 파일 보기

382
     method:"get",
382
     method:"get",
383
     params:params
383
     params:params
384
   })
384
   })
385
+}
386
+
387
+export function getRegistGoodInforList(params){
388
+  return request({
389
+    url:"/api/manage/getregistgoodinforlist",
390
+    method:"Get",
391
+    params:params,
392
+  })
393
+}
394
+
395
+export function getRegistNumber(id,record_date,params){
396
+  
397
+  return request({
398
+    url:"/api/manage/getregistnumber?id="+id+"&record_date="+record_date,
399
+    method:"Get",
400
+    params:params,
401
+  })
385
 }
402
 }

+ 16 - 0
src/api/role/admin.js 파일 보기

92
     method:"get",
92
     method:"get",
93
     params:params
93
     params:params
94
   })
94
   })
95
+}
96
+
97
+export function toTestOne(params){
98
+  return request({
99
+    url:"/api/sign/createrusername",
100
+    method:"get",
101
+    params:params
102
+  })
103
+}
104
+
105
+export function toTestTwo(params){
106
+  return request({
107
+    url:"/api/sign/createpersionseal",
108
+    method:"get",
109
+    params:params
110
+  })
95
 }
111
 }

+ 19 - 1
src/router/modules/stock.js 파일 보기

506
       hidden: true,
506
       hidden: true,
507
       is_menu: false,
507
       is_menu: false,
508
       meta: { title: 'drugQueryPrint', noCache: true }
508
       meta: { title: 'drugQueryPrint', noCache: true }
509
-    }
509
+    },
510
+
511
+    {
512
+      path: '/stock/print_damage',
513
+      component: () => import('@/xt_pages/stock/print_damage'),
514
+      name: 'print_damage',
515
+      hidden: true,
516
+      is_menu: false,
517
+      meta: { title: 'print_damage', noCache: true }
518
+    },
519
+
520
+    {
521
+      path: '/stock/drug_damage/print',
522
+      component: () => import('@/xt_pages/stock/drug_damage_print'),
523
+      name: 'drug_damage_print',
524
+      hidden: true,
525
+      is_menu: false,
526
+      meta: { title: 'drug_damage_print', noCache: true }
527
+    },
510
 
528
 
511
   ]
529
   ]
512
 }
530
 }

+ 69 - 10
src/xt_pages/device/objectRegistration.vue 파일 보기

45
 
45
 
46
                 <el-table-column prop="fenopda" label="使用数量" align="center" min-width="60">
46
                 <el-table-column prop="fenopda" label="使用数量" align="center" min-width="60">
47
                     <template slot-scope="scope">
47
                     <template slot-scope="scope">
48
-                        {{ scope.row.model_number }}
48
+                        {{ scope.row.user_count }}
49
                     </template>
49
                     </template>
50
                 </el-table-column>
50
                 </el-table-column>
51
 
51
 
128
                 <el-form :model="form" ref="form">
128
                 <el-form :model="form" ref="form">
129
                     <el-row :span="24">
129
                     <el-row :span="24">
130
                       <el-col :span="8">
130
                       <el-col :span="8">
131
-                        <el-form-item label="登记日期:" label-width="110px" prop="record_date" >
131
+                        <el-form-item label="登记日期:" label-width="110px" prop="record_date">
132
                             <el-date-picker
132
                             <el-date-picker
133
                             value-format="yyyy-MM-dd"
133
                             value-format="yyyy-MM-dd"
134
                             v-model="form.record_date"
134
                             v-model="form.record_date"
135
                             type="date"
135
                             type="date"
136
                             placeholder="选择日期时间"
136
                             placeholder="选择日期时间"
137
-                            style="width: 150px;">
137
+                            style="width: 150px;"
138
+                            @change="changeModelNumber">
138
                             </el-date-picker>
139
                             </el-date-picker>
139
                         </el-form-item>
140
                         </el-form-item>
140
                       </el-col>
141
                       </el-col>
141
 
142
 
142
                       <el-col :span="8">
143
                       <el-col :span="8">
143
                         <el-form-item label="品名、型号:" label-width="110px" prop="record_date">
144
                         <el-form-item label="品名、型号:" label-width="110px" prop="record_date">
144
-                           <el-input v-model="form.model_number" style="width: 150px;"></el-input>
145
+                           <!-- <el-input v-model="form.model_number" style="width: 150px;"></el-input> -->
146
+                           <el-select v-model="form.model_number" filterable  placeholder="请选择" @change="changeModelNumber">
147
+                              <el-option
148
+                                v-for="item in goodList"
149
+                                :key="item.id"
150
+                                :label="item.specification_name"
151
+                                :value="item.id">
152
+                              </el-option>
153
+                           </el-select>
145
                         </el-form-item>
154
                         </el-form-item>
146
                       </el-col>
155
                       </el-col>
147
                     
156
                     
251
                             v-model="form.record_date"
260
                             v-model="form.record_date"
252
                             type="date"
261
                             type="date"
253
                             placeholder="选择日期时间"
262
                             placeholder="选择日期时间"
254
-                            style="width: 150px;">
263
+                            style="width: 150px;"
264
+                            @change="changeModelNumber">
255
                             </el-date-picker>
265
                             </el-date-picker>
256
                         </el-form-item>
266
                         </el-form-item>
257
                       </el-col>
267
                       </el-col>
258
 
268
 
259
                       <el-col :span="8">
269
                       <el-col :span="8">
260
                         <el-form-item label="品名、型号:" label-width="110px" prop="model_number">
270
                         <el-form-item label="品名、型号:" label-width="110px" prop="model_number">
261
-                           <el-input v-model="form.model_number" style="width: 150px;"></el-input>
271
+                           <!-- <el-input v-model="form.model_number" style="width: 150px;"></el-input> -->
272
+                           <el-select v-model="form.model_number" filterable  placeholder="请选择" @change="changeModelNumber">
273
+                              <el-option
274
+                                v-for="item in goodList"
275
+                                :key="item.id"
276
+                                :label="item.specification_name"
277
+                                :value="item.id">
278
+                              </el-option>
279
+                           </el-select>
262
                         </el-form-item>
280
                         </el-form-item>
263
                       </el-col>
281
                       </el-col>
264
                     
282
                     
427
         getRegistrationDisInfectList,
445
         getRegistrationDisInfectList,
428
         getObjectRegistrationByIdList,
446
         getObjectRegistrationByIdList,
429
         UpdateObjectRegistration,
447
         UpdateObjectRegistration,
430
-        deleteObjectRegistration 
448
+        deleteObjectRegistration,
449
+        getRegistGoodInforList,
450
+        getRegistNumber 
431
     } from "@/api/device"
451
     } from "@/api/device"
432
     import { uParseTime } from '@/utils/tools'
452
     import { uParseTime } from '@/utils/tools'
433
     const moment = require('moment')
453
     const moment = require('moment')
491
          ],
511
          ],
492
          operators: [],
512
          operators: [],
493
          operatorMaps:{},
513
          operatorMaps:{},
494
-         
514
+         goodList:[],
495
         }
515
         }
496
       },
516
       },
497
       created(){
517
       created(){
518
+        this.getRegistGoodInforList()
498
         this.getAllDoctorList()
519
         this.getAllDoctorList()
499
         this.getlist()
520
         this.getlist()
500
       },
521
       },
723
                 if(this.form.packaging_identification ==false ){
744
                 if(this.form.packaging_identification ==false ){
724
                     packaging_identification_one = 2
745
                     packaging_identification_one = 2
725
                 }
746
                 }
747
+                var model_number = ""
748
+                for(let i=0;i<this.goodList.length;i++){
749
+                  if(this.form.model_number == this.goodList[i].id){
750
+                    model_number = this.goodList[i].specification_name
751
+                  }
752
+                }
726
                 var params = {
753
                 var params = {
727
                     id:this.form.id,
754
                     id:this.form.id,
728
                     record_date:this.form.record_date,
755
                     record_date:this.form.record_date,
729
-                    model_number:this.form.model_number,
756
+                    model_number:model_number,
730
                     user_count:this.form.user_count.toString(),
757
                     user_count:this.form.user_count.toString(),
731
                     product_date:this.form.product_date,
758
                     product_date:this.form.product_date,
732
                     expiry_date:this.form.expiry_date,
759
                     expiry_date:this.form.expiry_date,
844
               if(this.form.packaging_identification ==false ){
871
               if(this.form.packaging_identification ==false ){
845
                 packaging_identification_one = 2
872
                 packaging_identification_one = 2
846
               }
873
               }
874
+              var model_number = ""
875
+              for(let i=0;i<this.goodList.length;i++){
876
+                if(this.form.model_number == this.goodList[i].id){
877
+                   model_number = this.goodList[i].specification_name
878
+                }
879
+              }
847
               var params = {
880
               var params = {
848
                 record_date:this.form.record_date,
881
                 record_date:this.form.record_date,
849
-                model_number:this.form.model_number,
882
+                model_number:model_number,
850
                 user_count:this.form.user_count.toString(),
883
                 user_count:this.form.user_count.toString(),
851
                 product_date:this.form.product_date,
884
                 product_date:this.form.product_date,
852
                 expiry_date:this.form.expiry_date,
885
                 expiry_date:this.form.expiry_date,
870
       },
903
       },
871
       toSeach(){
904
       toSeach(){
872
         this.getlist()
905
         this.getlist()
906
+      },
907
+      getRegistGoodInforList(){
908
+        getRegistGoodInforList().then(response=>{
909
+           if(response.data.state == 1){
910
+             var  goodList =  response.data.data.list
911
+             this.goodList = goodList
912
+           } 
913
+        })
914
+      },
915
+
916
+      changeModelNumber(val){
917
+        console.log("val23233223",val)
918
+
919
+        getRegistNumber(val,this.form.record_date).then(response=>{
920
+          if(response.data.state ==1 ){
921
+            var list =  response.data.data.list
922
+            var count = 0
923
+            if(list!=null && list.length >0){
924
+              for(let i=0;i<list.length;i++){
925
+                count +=list[i].count
926
+              }
927
+            }
928
+            this.form.user_count = ""
929
+            this.form.user_count = count
930
+          }
931
+        })
873
       }
932
       }
874
         
933
         
875
       }
934
       }

+ 72 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue 파일 보기

1336
                           <td width="50">脉搏<br />(次/分)</td>
1336
                           <td width="50">脉搏<br />(次/分)</td>
1337
                           <td width="50">呼吸<br />(次/分)</td>
1337
                           <td width="50">呼吸<br />(次/分)</td>
1338
                           <td width="50">血流量<br />(ml/min)</td>
1338
                           <td width="50">血流量<br />(ml/min)</td>
1339
+                          <td width="50" v-if="org_id == 10478 || org_id == 0">动脉压<br />(mmHg)</td>
1339
                           <td width="50">静脉压<br />(mmHg)</td>
1340
                           <td width="50">静脉压<br />(mmHg)</td>
1340
                           <td width="50">跨膜压<br />(mmHg)</td>
1341
                           <td width="50">跨膜压<br />(mmHg)</td>
1341
                           <td width="60" v-if="org_id != 9836">
1342
                           <td width="60" v-if="org_id != 9836">
1378
                           >
1379
                           >
1379
                           置换液的速度<br />(ml/h)
1380
                           置换液的速度<br />(ml/h)
1380
                           </td>
1381
                           </td>
1382
+                          <td width="50" v-if="org_id == 0 || org_id == 10375">置换率<br />(ml/h)</td>
1381
                           <td width="50" v-if="org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1383
                           <td width="50" v-if="org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1382
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1384
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1383
                           <td
1385
                           <td
1465
                                 : ""
1467
                                 : ""
1466
                             }}
1468
                             }}
1467
                           </td>
1469
                           </td>
1470
+                          <td v-if="org_id==0 || org_id == 10478">
1471
+                            {{
1472
+                              monitor_record.arterial_pressure
1473
+                                ? monitor_record.arterial_pressure
1474
+                                : ""
1475
+                            }}
1476
+                          </td>
1468
                           <td>
1477
                           <td>
1469
                             {{
1478
                             {{
1470
                               monitor_record.venous_pressure
1479
                               monitor_record.venous_pressure
1554
                                 : ""
1563
                                 : ""
1555
                             }}
1564
                             }}
1556
                           </td>
1565
                           </td>
1557
-
1566
+                          <td width="50" v-if="org_id == 0 || org_id == 10375"><br />
1567
+                            {{ monitor_record.replacement_rate?monitor_record.replacement_rate:"0" }}
1568
+                          </td>
1558
                           <td>
1569
                           <td>
1559
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1570
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1560
                                 {{
1571
                                 {{
1681
                         <td></td>
1692
                         <td></td>
1682
                         <td></td>
1693
                         <td></td>
1683
                         <td></td>
1694
                         <td></td>
1695
+                        <td  v-if="org_id == 0 || org_id == 10375"> </td>
1684
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1696
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1685
                         <td
1697
                         <td
1686
                           v-if="
1698
                           v-if="
1757
                             执行人签名
1769
                             执行人签名
1758
                           </td>
1770
                           </td>
1759
                           <td style="font-size: 16px" width="10%">时间</td>
1771
                           <td style="font-size: 16px" width="10%">时间</td>
1772
+                           <td style="font-size: 16px" width="10%" v-if="org_id == 10375 || org_id ==0">核对护士</td>
1760
                         </tr>
1773
                         </tr>
1761
                         <!-- <template v-for="group in doctor_advices" > -->
1774
                         <!-- <template v-for="group in doctor_advices" > -->
1762
 
1775
 
1864
                                 getTime(advice[0].execution_time, " {h}:{i}")
1877
                                 getTime(advice[0].execution_time, " {h}:{i}")
1865
                               }}</span>
1878
                               }}</span>
1866
                             </td>
1879
                             </td>
1880
+                            <td height="35px" v-if="org_id == 10375 || org_id == 0">
1881
+                              <span
1882
+                                v-if="
1883
+                                  setAdminUserES(
1884
+                                    advice[0],
1885
+                                    'checker'
1886
+                                  ) == ''
1887
+                                "
1888
+                                >{{
1889
+                                  getAdminUser(advice[0], "checker")
1890
+                                }}</span
1891
+                              >
1892
+                              <img
1893
+                                class="es-img"
1894
+                                :src="
1895
+                                  setAdminUserES(advice[0], 'checker')
1896
+                                "
1897
+                                alt=""
1898
+                                srcset=""
1899
+                                v-else
1900
+                                style="height: 40px"
1901
+                              />
1902
+                            </td>
1867
                           </tr>
1903
                           </tr>
1868
                         </template>
1904
                         </template>
1869
                       </tbody>
1905
                       </tbody>
2391
                       <div
2427
                       <div
2392
                         class="inline_block"
2428
                         class="inline_block"
2393
                         style="flex: 1"
2429
                         style="flex: 1"
2394
-                        v-if="org_id != 10223"
2430
+                        v-if="org_id != 10223 || org_id!=10375"
2395
                       >
2431
                       >
2396
                         透析中入量(L):
2432
                         透析中入量(L):
2397
                         <div
2433
                         <div
2649
                           }}
2685
                           }}
2650
                         </div>
2686
                         </div>
2651
                       </div>
2687
                       </div>
2688
+
2689
+                  
2690
+                    </div>
2691
+
2692
+                    <div
2693
+                      class="row"
2694
+                      style="padding: 2px 0; line-height: 23px; display: flex"
2695
+                      v-if="org_id == 0 || org_id ==10375"
2696
+                    >
2697
+                      <div
2698
+                        class="inline_block"
2699
+                        style="flex: 1; display: inline-block"
2700
+                      >
2701
+                        宣教知识:
2702
+                        <div
2703
+                          class="under_line"
2704
+                          style="
2705
+                            width: 840px;
2706
+                            line-height: 25px;
2707
+                            text-align: left;
2708
+                            margin-left: 2px;
2709
+                            display: inline-block;
2710
+                            white-space: normal;
2711
+                          "
2712
+                        >
2713
+                          {{
2714
+                            record.summer && record.summer.mission
2715
+                              ? record.summer.mission
2716
+                              : "/"
2717
+                          }}
2718
+                        </div>
2719
+                      </div>
2720
+
2721
+                  
2652
                     </div>
2722
                     </div>
2653
                   </td>
2723
                   </td>
2654
                 </tr>
2724
                 </tr>

+ 7 - 7
src/xt_pages/dialysis/details/DialysisPrescription.vue 파일 보기

58
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
58
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
59
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45">
59
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id !=45">
60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
60
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
61
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
62
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 )">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
61
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 &&  this.$store.getters.xt_user.template_info.template_id != 23 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.org_id != 10234 && this.$store.getters.xt_user.template_info.template_id != 65">{{ anticoagulant_zongliang != "0" ? "iu" : "" }}</span>
62
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.org_id == 10234 ||  this.$store.getters.xt_user.template_info.template_id== 65)">{{ anticoagulant_zongliang != "0" ? "mg" : "" }}</span>
63
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
63
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
64
             
64
             
65
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
65
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671 || this.$store.getters.xt_user.template_info.org_id == 9675">
192
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
192
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
193
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
193
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
194
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
194
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1" ></span>
195
-            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
196
-            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
195
+            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && this.$store.getters.xt_user.template_info.template_id != 13  && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 65 && this.$store.getters.xt_user.template_info.template_id!=0">{{ anticoagulant_shouji != "0" ? "iu" : "" }}</span>
196
+            <span class="unit"  v-if="getValueStr('anticoagulant', 'anticoagulant') == 2  && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38  || this.$store.getters.xt_user.template_info.template_id == 65 ||  this.$store.getters.xt_user.template_info.template_id == 0)" >{{ anticoagulant_shouji != "0" ? "mg" : "" }}</span>
197
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
197
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
198
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
198
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
199
                  {{ anticoagulant_shouji != "0" ? "mg" : "" }}
199
                  {{ anticoagulant_shouji != "0" ? "mg" : "" }}
303
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
303
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
304
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
304
           <span v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45">
305
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
305
             <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') == 1"></span>
306
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
307
-            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
306
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && this.$store.getters.xt_user.template_info.template_id != 13 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 65 ">{{ anticoagulant_weichi != "0" ? "iu/h" : "" }}</span>
307
+            <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 2 && (this.$store.getters.xt_user.template_info.template_id == 13 ||  this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 65)">{{ anticoagulant_weichi != "0" ? "mg/h" : "" }}</span>
308
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
308
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
309
               <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
309
               <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
310
               {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
310
               {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
945
   
945
   
946
   },
946
   },
947
   created() {
947
   created() {
948
-   
948
+    console.log("template_id", this.$store.getters.xt_user.template_info.template_id)
949
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
949
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
950
     var map = {}
950
     var map = {}
951
     for (let index = 0; index < perfusion_apparatus.length; index++) {
951
     for (let index = 0; index < perfusion_apparatus.length; index++) {

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue 파일 보기

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.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445  ) " >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.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445"  >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.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 44 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10340 ||  this.$store.getters.xt_user.template_info.org_id == 10387 ||  this.$store.getters.xt_user.template_info.org_id == 10430 ||  this.$store.getters.xt_user.template_info.org_id == 10432 ||  this.$store.getters.xt_user.template_info.org_id == 10441 ||  this.$store.getters.xt_user.template_info.org_id == 10445 ||  this.$store.getters.xt_user.template_info.org_id == 10495  ) " >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.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 44 && this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10340 &&  this.$store.getters.xt_user.template_info.org_id!= 10387 &&  this.$store.getters.xt_user.template_info.org_id!= 10430 &&  this.$store.getters.xt_user.template_info.org_id!= 10432 &&  this.$store.getters.xt_user.template_info.org_id!= 10441 &&  this.$store.getters.xt_user.template_info.org_id!= 10445  &&  this.$store.getters.xt_user.template_info.org_id!= 10495"  >L</span>
22
         </li>
22
         </li>
23
         <li v-if="isShow('导管')">
23
         <li v-if="isShow('导管')">
24
           <label>导管 : </label>
24
           <label>导管 : </label>

+ 9 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue 파일 보기

29
           <el-col :span="8" v-if="isShow('实际超滤量')">
29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30
             <el-form-item
30
             <el-form-item
31
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
31
               label="实际超滤量(ml): " :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')"
32
-              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.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410"  >
32
+              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.template_id == 43 || this.template_id == 44 || this.template_id == 47 || this.template_id == 56 || this.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10307 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10430 || this.$store.getters.xt_user.template_info.org_id == 10432 || this.$store.getters.xt_user.template_info.org_id == 10441 || this.$store.getters.xt_user.template_info.org_id == 10445 || this.$store.getters.xt_user.template_info.org_id == 10410 || this.$store.getters.xt_user.template_info.org_id == 10495"  >
33
               <el-input v-model="form.actual_ultrafiltration"></el-input>
33
               <el-input v-model="form.actual_ultrafiltration"></el-input>
34
             </el-form-item>
34
             </el-form-item>
35
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
35
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
628
             </el-form-item>
628
             </el-form-item>
629
         </el-col>
629
         </el-col>
630
 
630
 
631
+        <el-col :span="24" v-if="isShow('备注')">
632
+            <el-form-item label="备注:" :prop="isName('备注')">
633
+              <el-input type="textarea" :rows="4" v-model="form.remark"></el-input>
634
+            </el-form-item>
635
+        </el-col>
636
+
631
       </el-form>
637
       </el-form>
632
 
638
 
633
 
639
 
852
         machine_run:0,
858
         machine_run:0,
853
         after_urea:"",
859
         after_urea:"",
854
         accumulated_blood_volume:"",
860
         accumulated_blood_volume:"",
861
+     
855
       },
862
       },
856
       lapseList:[],
863
       lapseList:[],
857
       leaveOfficeMethod:[],
864
       leaveOfficeMethod:[],
1174
           data["after_urea"] = this.form.after_urea
1181
           data["after_urea"] = this.form.after_urea
1175
           data["pip_coagulation"] = this.form.pip_coagulation
1182
           data["pip_coagulation"] = this.form.pip_coagulation
1176
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1183
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1184
+       
1177
           console.log("Data",data)
1185
           console.log("Data",data)
1178
           console.log("Paramsquery",data)
1186
           console.log("Paramsquery",data)
1179
 
1187
 

+ 18 - 12
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 파일 보기

312
                         this.$store.getters.xt_user.template_info.org_id != 9829 &&
312
                         this.$store.getters.xt_user.template_info.org_id != 9829 &&
313
                         this.$store.getters.xt_user.template_info.org_id != 10440 &&
313
                         this.$store.getters.xt_user.template_info.org_id != 10440 &&
314
                         this.$store.getters.xt_user.template_info.org_id != 10469 &&
314
                         this.$store.getters.xt_user.template_info.org_id != 10469 &&
315
-                        this.$store.getters.xt_user.template_info.org_id != 10471">
316
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
315
+                        this.$store.getters.xt_user.template_info.org_id != 10471 &&
316
+                        this.$store.getters.xt_user.template_info.org_id != 10495">
317
+                       <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 &&
317
                           this.$store.getters.xt_user.template_info.template_id != 45 &&
318
                           this.$store.getters.xt_user.template_info.template_id != 45 &&
318
                           this.$store.getters.xt_user.template_info.org_id != 10346 &&
319
                           this.$store.getters.xt_user.template_info.org_id != 10346 &&
319
-                          this.$store.getters.xt_user.template_info.org_id != 10387">
320
+                          this.$store.getters.xt_user.template_info.org_id != 10387 &&
321
+                          this.$store.getters.xt_user.template_info.org_id != 10495 ">
320
                             <el-form-item
322
                             <el-form-item
321
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
323
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
322
                                     this.$store.getters.xt_user.template_info.template_id != 21 &&
324
                                     this.$store.getters.xt_user.template_info.template_id != 21 &&
360
                                     this.$store.getters.xt_user.template_info.template_id == 38 ||
362
                                     this.$store.getters.xt_user.template_info.template_id == 38 ||
361
                                     this.$store.getters.xt_user.template_info.org_id == 9987 ||
363
                                     this.$store.getters.xt_user.template_info.org_id == 9987 ||
362
                                     this.$store.getters.xt_user.template_info.org_id == 10346 ||
364
                                     this.$store.getters.xt_user.template_info.org_id == 10346 ||
363
-                                    this.$store.getters.xt_user.template_info.org_id == 10387'
365
+                                    this.$store.getters.xt_user.template_info.org_id == 10387 ||
366
+                                    this.$store.getters.xt_user.template_info.org_id ==10495'
364
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
367
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
365
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
368
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
366
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
369
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
411
 
414
 
412
 
415
 
413
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
416
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.weichi != -1 && isShows('维持')  && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
414
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471">
415
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 ">
417
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157  && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 9671  && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495">
418
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495 ">
416
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
419
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
417
                                           v-if="anticoagulant.weichi != -1 &&
420
                                           v-if="anticoagulant.weichi != -1 &&
418
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
421
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
420
                                             this.$store.getters.xt_user.template_info.template_id != 38 &&
423
                                             this.$store.getters.xt_user.template_info.template_id != 38 &&
421
                                             this.$store.getters.xt_user.template_info.org_id != 9987  &&
424
                                             this.$store.getters.xt_user.template_info.org_id != 9987  &&
422
                                             this.$store.getters.xt_user.template_info.org_id != 54 &&
425
                                             this.$store.getters.xt_user.template_info.org_id != 54 &&
423
-                                            this.$store.getters.xt_user.template_info.org_id != 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
426
+                                            this.$store.getters.xt_user.template_info.org_id != 9990 &&
427
+                                            this.$store.getters.xt_user.template_info.org_id != 10495" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
424
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
428
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
425
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
429
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
426
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
430
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
435
                                           this.$store.getters.xt_user.template_info.org_id == 54 ||
439
                                           this.$store.getters.xt_user.template_info.org_id == 54 ||
436
                                           this.$store.getters.xt_user.template_info.org_id == 10346 ||
440
                                           this.$store.getters.xt_user.template_info.org_id == 10346 ||
437
                                           this.$store.getters.xt_user.template_info.org_id == 10387  ||
441
                                           this.$store.getters.xt_user.template_info.org_id == 10387  ||
438
-                                          this.$store.getters.xt_user.template_info.org_id == 9990" prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
442
+                                          this.$store.getters.xt_user.template_info.org_id == 9990 ||
443
+                                          this.$store.getters.xt_user.template_info.org_id == 10495
444
+                                          " prop="anticoagulant_weichi" :rules="isCheckmust('维持')">
439
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
445
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
440
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
446
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
441
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
447
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
490
 
496
 
491
 
497
 
492
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
498
                     <el-col :span="8" v-if="anticoagulant!=undefined &&anticoagulant.zongliang != -1 && isShows('总量') && dialysisPrescription.anticoagulant!=1&& dialysisPrescription.anticoagulant!=12">
493
-                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471">
494
-                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387">
499
+                        <div v-if="this.$store.getters.xt_user.template_info.org_id != 10157 && this.$store.getters.xt_user.template_info.org_id != 9671 && this.$store.getters.xt_user.template_info.org_id != 9675 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432 && this.$store.getters.xt_user.template_info.org_id != 9829 && this.$store.getters.xt_user.template_info.org_id != 10440 && this.$store.getters.xt_user.template_info.org_id != 10469 && this.$store.getters.xt_user.template_info.org_id != 10471 && this.$store.getters.xt_user.template_info.org_id != 10495">
500
+                          <div v-if="this.$store.getters.xt_user.template_info.org_id != 10101 && this.$store.getters.xt_user.template_info.template_id != 45 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 10495">
495
                             <el-form-item
501
                             <el-form-item
496
-                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990'
502
+                                    v-if='this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 38  && this.$store.getters.xt_user.template_info.org_id != 9987 && this.$store.getters.xt_user.template_info.template_id != 54 && this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10387 && this.$store.getters.xt_user.template_info.org_id != 9990 && this.$store.getters.xt_user.template_info.org_id != 10495'
497
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
503
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
498
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
504
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
499
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
505
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
501
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
507
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
502
                             </el-form-item>
508
                             </el-form-item>
503
                             <el-form-item
509
                             <el-form-item
504
-                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387'
510
+                                    v-if='this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 38||  this.$store.getters.xt_user.template_info.org_id == 9987 || this.$store.getters.xt_user.template_info.template_id == 54 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10387 || this.$store.getters.xt_user.template_info.org_id == 10495 '
505
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
511
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
506
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
512
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
507
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
513
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>

+ 10 - 13
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue 파일 보기

796
     changeBox(val) {
796
     changeBox(val) {
797
       var arr = [];
797
       var arr = [];
798
       var str = val.join(";");
798
       var str = val.join(";");
799
-      if (str.indexOf("透析器/灌流器") != -1 && this.prescription != null) {
799
+      if (str.indexOf("透析器/灌流器/滤过器") != -1 && this.prescription != null) {
800
         arr.push(
800
         arr.push(
801
-          "透析器/灌流器:" +
801
+          "透析器/灌流器/滤过器:" +
802
             (this.prescription.dialyzer_perfusion_apparatus
802
             (this.prescription.dialyzer_perfusion_apparatus
803
               ? this.prescription.dialyzer_perfusion_apparatus
803
               ? this.prescription.dialyzer_perfusion_apparatus
804
               : "")
804
               : "")
805
         );
805
         );
806
       }
806
       }
807
 
807
 
808
-      if (str.indexOf("透析器/灌流器") != -1 && this.prescription == null) {
809
-        arr.push("透析器/灌流器:");
808
+      if (str.indexOf("透析器/灌流器/滤过器") != -1 && this.prescription == null) {
809
+        arr.push("透析器/灌流器/滤过器:");
810
       }
810
       }
811
 
811
 
812
       if (str.indexOf("穿刺针") != -1 && this.predialysis_evaluation.id != 0) {
812
       if (str.indexOf("穿刺针") != -1 && this.predialysis_evaluation.id != 0) {
1366
       if (this.prescription != null && this.prescription.id != 0) {
1366
       if (this.prescription != null && this.prescription.id != 0) {
1367
         if (this.prescription.dialyzer_perfusion_apparatus != "" ||this.prescription.dialysis_dialyszers != "" || this.prescription.dialysis_irrigation != "") {
1367
         if (this.prescription.dialyzer_perfusion_apparatus != "" ||this.prescription.dialysis_dialyszers != "" || this.prescription.dialysis_irrigation != "") {
1368
 
1368
 
1369
-          if(this.org_id == 10440 || this.org_id == 0){
1369
+          if(this.org_id == 10440){
1370
             this.diazes = "透析器/灌流器:";
1370
             this.diazes = "透析器/灌流器:";
1371
             this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus;
1371
             this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus;
1372
             this.diazes = this.diazes + this.prescription.dialysis_dialyszers + this.prescription.dialysis_irrigation + "  " +"批号:"+ " ";
1372
             this.diazes = this.diazes + this.prescription.dialysis_dialyszers + this.prescription.dialysis_irrigation + "  " +"批号:"+ " ";
1374
             console.log("hhahahahhahahahawowoowowowowo--------",this.diazes)
1374
             console.log("hhahahahhahahahawowoowowowowo--------",this.diazes)
1375
           }
1375
           }
1376
 
1376
 
1377
-          if(this.org_id!=0 && this.org_id!=10440){
1377
+          if(this.org_id!=10440){
1378
            
1378
            
1379
-            this.diazes = "透析器/灌流器:";
1380
-            this.diazes =
1381
-              this.diazes + this.prescription.dialyzer_perfusion_apparatus;
1382
-            this.diazes =
1383
-              this.diazes +
1384
-              this.prescription.dialysis_dialyszers +
1385
-              this.prescription.dialysis_irrigation 
1379
+            this.diazes = "透析器/灌流器/滤过器:";
1380
+            this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus;
1381
+            this.diazes = this.diazes + this.prescription.dialysis_dialyszers + this.prescription.dialysis_irrigation + this.prescription.dialysis_strainer
1382
+
1386
           }
1383
           }
1387
         
1384
         
1388
         } else {
1385
         } else {

+ 24 - 12
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue 파일 보기

242
                 || org_id == 10445
242
                 || org_id == 10445
243
                 || org_id == 10410 ||
243
                 || org_id == 10410 ||
244
                 org_id == 10495 ||
244
                 org_id == 10495 ||
245
+                org_id == 10375 ||
245
                 org_id == 10485) &&
246
                 org_id == 10485) &&
246
                 org_id!=10387
247
                 org_id!=10387
247
             "
248
             "
312
               org_id != 9555
313
               org_id != 9555
313
               && org_id!=10432 && org_id!=10445
314
               && org_id!=10432 && org_id!=10445
314
               && org_id!=10410 && org_id!=10495 &&
315
               && org_id!=10410 && org_id!=10495 &&
315
-               org_id!=10485 )
316
+               org_id!=10485 && org_id!=10395 )
316
               || org_id == 10387
317
               || org_id == 10387
317
             "
318
             "
318
           >
319
           >
366
                 org_id == 10432 ||
367
                 org_id == 10432 ||
367
                 org_id == 10445 ||
368
                 org_id == 10445 ||
368
                 org_id == 10410 ||
369
                 org_id == 10410 ||
369
-                org_id == 10495 
370
+                org_id == 10495  ||
371
+                org_id == 10395
370
                 || org_id == 10485)
372
                 || org_id == 10485)
371
                 && org_id!=10387
373
                 && org_id!=10387
372
             "
374
             "
420
               org_id!=10432 &&
422
               org_id!=10432 &&
421
               org_id!=10445 &&
423
               org_id!=10445 &&
422
               org_id!=10410 && org_id!=10495
424
               org_id!=10410 && org_id!=10495
423
-              && org_id!=10485) ||
425
+              && org_id!=10485 && org_id!=10395) ||
424
               org_id == 10387
426
               org_id == 10387
425
             "
427
             "
426
           >
428
           >
481
                 template_id == 56 ||
483
                 template_id == 56 ||
482
                 org_id ==10432 ||
484
                 org_id ==10432 ||
483
                 org_id ==10445 ||
485
                 org_id ==10445 ||
484
-                org_id ==10410
486
+                org_id ==10410 ||
487
+                org_id == 10395
485
 
488
 
486
                )
489
                )
487
             "
490
             "
510
               template_id != 56 &&
513
               template_id != 56 &&
511
               org_id !=10432 &&
514
               org_id !=10432 &&
512
               org_id !=10445 &&
515
               org_id !=10445 &&
516
+              org_id!=10395 && 
513
               org_id !=10410
517
               org_id !=10410
514
             "
518
             "
515
           >
519
           >
556
                 template_id == 48 ||
560
                 template_id == 48 ||
557
                 org_id == 10340 ||
561
                 org_id == 10340 ||
558
                 org_id == 10432 ||
562
                 org_id == 10432 ||
559
-                org_id == 10445)
563
+                org_id == 10445 ||
564
+                org_id == 10395)
560
             "
565
             "
561
           >
566
           >
562
             <template slot-scope="scope">
567
             <template slot-scope="scope">
588
               template_id != 48 &&
593
               template_id != 48 &&
589
               org_id !=10340 &&
594
               org_id !=10340 &&
590
               org_id !=10432 &&
595
               org_id !=10432 &&
591
-              org_id !=10445
596
+              org_id !=10445 &&
597
+              org_id!=10395
592
             "
598
             "
593
           >
599
           >
594
             <template slot-scope="scope">
600
             <template slot-scope="scope">
1245
                 org_id == 10445 ||
1251
                 org_id == 10445 ||
1246
                 org_id == 10410 ||
1252
                 org_id == 10410 ||
1247
                 org_id == 10495 ||
1253
                 org_id == 10495 ||
1248
-                org_id == 10485)
1254
+                org_id == 10485 ||
1255
+                org_id == 10395)
1249
                 && org_id!=10387
1256
                 && org_id!=10387
1250
             "
1257
             "
1251
           >
1258
           >
1302
               org_id!=10445 &&
1309
               org_id!=10445 &&
1303
               org_id!=10410 &&
1310
               org_id!=10410 &&
1304
               org_id!=10495 &&
1311
               org_id!=10495 &&
1305
-              org_id!=10485
1312
+              org_id!=10485 &&
1313
+              org_id!=10395
1306
               )
1314
               )
1307
               || org_id == 10387
1315
               || org_id == 10387
1308
             "
1316
             "
1345
               template_id != 53 &&
1353
               template_id != 53 &&
1346
               org_id!=10432 &&
1354
               org_id!=10432 &&
1347
               org_id!=10445 &&
1355
               org_id!=10445 &&
1348
-              org_id!=10410
1356
+              org_id!=10410 &&
1357
+              org_id!=10395
1349
             "
1358
             "
1350
           >
1359
           >
1351
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
1360
             <el-form-item label="置换率(L/h):" :prop="isName('置换率')"
1370
                 template_id == 48 ||
1379
                 template_id == 48 ||
1371
                 org_id==10432 ||
1380
                 org_id==10432 ||
1372
                 org_id!=10445 ||
1381
                 org_id!=10445 ||
1373
-                org_id!=10410)
1382
+                org_id!=10410 ||
1383
+                org_id!=10395)
1374
             "
1384
             "
1375
           >
1385
           >
1376
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1386
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1402
               template_id != 48 &&
1412
               template_id != 48 &&
1403
               org_id!=10340 &&
1413
               org_id!=10340 &&
1404
               org_id!=10432 &&
1414
               org_id!=10432 &&
1405
-              org_id!=10445
1415
+              org_id!=10445 &&
1416
+              org_id!=10395
1406
             "
1417
             "
1407
           >
1418
           >
1408
             <el-form-item label="置换量(L):" :prop="isName('置换量')"
1419
             <el-form-item label="置换量(L):" :prop="isName('置换量')"
1430
                 template_id == 48 ||
1441
                 template_id == 48 ||
1431
                 org_id!=10340 ||
1442
                 org_id!=10340 ||
1432
                 org_id ==10432 ||
1443
                 org_id ==10432 ||
1433
-                org_id ==10445)
1444
+                org_id ==10445 ||
1445
+                org_id == 10395)
1434
             "
1446
             "
1435
           >
1447
           >
1436
             <el-form-item label="置换量(ml):" :prop="isName('置换量')"
1448
             <el-form-item label="置换量(ml):" :prop="isName('置换量')"

+ 55 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue 파일 보기

1432
                         <td width="50">脉搏<br />(次/分)</td>
1432
                         <td width="50">脉搏<br />(次/分)</td>
1433
                         <td width="50">呼吸<br />(次/分)</td>
1433
                         <td width="50">呼吸<br />(次/分)</td>
1434
                         <td width="50">血流量<br />(ml/min)</td>
1434
                         <td width="50">血流量<br />(ml/min)</td>
1435
+                        <td width="50" v-if="org_id==10478 || org_id == 0">
1436
+                          动脉压<br />({{
1437
+                            monitors[0] &&
1438
+                            monitors[0]["venous_pressure_type"] == 2
1439
+                              ? "kpa"
1440
+                              : "mmHg"
1441
+                          }})
1442
+                        </td>
1435
                         <td width="50">
1443
                         <td width="50">
1436
                           静脉压<br />({{
1444
                           静脉压<br />({{
1437
                             monitors[0] &&
1445
                             monitors[0] &&
1459
                           <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1467
                           <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1460
                         </td>
1468
                         </td>
1461
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1469
                         <td width="50" v-if="org_id == 10121">SpO₂<br />(%)</td>
1470
+                        <td width="50" v-if="org_id == 10375 || org_id == 0">置换率<br />(ml/h)</td>
1462
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1471
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1463
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1472
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1464
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0" width="50">
1473
                         <td v-if="(prescription.mode_id == 2 ||prescription.mode_id == 5 ||prescription.mode_id == 12) &&org_id!=10478 && org_id!=0" width="50">
1480
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1489
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1481
                         <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1490
                         <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1482
                         <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1491
                         <td>{{monitor.blood_flow_volume? monitor.blood_flow_volume: ""}}</td>
1492
+                        <td v-if="org_id == 0 ||org_id ==10478">
1493
+                          {{
1494
+                            monitor.arterial_pressure
1495
+                              ? monitor.arterial_pressure
1496
+                              : ""
1497
+                          }}
1498
+                        </td>
1483
                         <td>
1499
                         <td>
1484
                           {{
1500
                           {{
1485
                             monitor.venous_pressure
1501
                             monitor.venous_pressure
1550
                         </td>
1566
                         </td>
1551
 
1567
 
1552
                       
1568
                       
1553
-
1569
+                        <td v-if="org_id == 10375 || org_id == 0"><br />
1570
+                          {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1571
+                        </td>
1554
                         <td>
1572
                         <td>
1555
                           <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1573
                           <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1556
                           <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1574
                           <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
1635
                         <td></td>
1653
                         <td></td>
1636
                         <td></td>
1654
                         <td></td>
1637
                         <td></td>
1655
                         <td></td>
1656
+                        <td v-if="org_id == 0 || org_id ==10478"></td>
1638
                         <td></td>
1657
                         <td></td>
1639
                         <td></td>
1658
                         <td></td>
1640
                         <td></td>
1659
                         <td></td>
1641
                         <td></td>
1660
                         <td></td>
1642
                         <td></td>
1661
                         <td></td>
1643
                         <td></td>
1662
                         <td></td>
1663
+                        <td v-if="org_id == 10375 || org_id == 0"><br /></td>
1644
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1664
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1645
                         <td
1665
                         <td
1646
                           v-if="
1666
                           v-if="
1716
                         <td
1736
                         <td
1717
                           style="font-size: 16px"
1737
                           style="font-size: 16px"
1718
                           width="10%"
1738
                           width="10%"
1719
-                          v-if="org_id == 10223 || org_id == 9538"
1739
+                          v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375"
1720
                         >
1740
                         >
1721
                           核对护士
1741
                           核对护士
1722
                         </td>
1742
                         </td>
1807
                             getTime(advice.execution_time, "{h}:{i}")
1827
                             getTime(advice.execution_time, "{h}:{i}")
1808
                           }}</span>
1828
                           }}</span>
1809
                         </td>
1829
                         </td>
1810
-                        <td height="32px" v-if="org_id == 10223 || org_id == 9538">
1830
+                        <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375">
1811
                           <span v-if="setAdminUserES(advice.checker) == ''">{{
1831
                           <span v-if="setAdminUserES(advice.checker) == ''">{{
1812
                             getAdminUser(advice.checker)
1832
                             getAdminUser(advice.checker)
1813
                           }}</span>
1833
                           }}</span>
2401
                     <div
2421
                     <div
2402
                       class="inline_block"
2422
                       class="inline_block"
2403
                       style="flex: 1"
2423
                       style="flex: 1"
2404
-                      v-if="org_id != 10223"
2424
+                      v-if="org_id != 10223 || org_id!=10375"
2405
                     >
2425
                     >
2406
                       透析中入量(L):
2426
                       透析中入量(L):
2407
                       <div
2427
                       <div
2597
                       </div>
2617
                       </div>
2598
                     </div>
2618
                     </div>
2599
                   </div>
2619
                   </div>
2620
+                  <div
2621
+                    class="row"
2622
+                    style="padding: 2px 0; line-height: 23px; display: flex"
2623
+                  >
2624
+                    <div
2625
+                      class="inline_block"
2626
+                      style="flex: 1; display: inline-block"
2627
+                    >
2628
+                      宣教知识:
2629
+                      <div
2630
+                        class="under_line"
2631
+                        style="
2632
+                          width: 860px;
2633
+                          line-height: 25px;
2634
+                          text-align: left;
2635
+                          margin-left: 2px;
2636
+                          display: inline-block;
2637
+                          white-space: normal;
2638
+                        "
2639
+                      >
2640
+                        {{
2641
+                          summary.mission
2642
+                            ? summary.mission
2643
+                            : "/"
2644
+                        }}
2645
+                      </div>
2646
+                    </div>
2647
+                  </div>
2600
                   <div
2648
                   <div
2601
                     class="row"
2649
                     class="row"
2602
                     style="padding: 2px 0; line-height: 23px; display: flex"
2650
                     style="padding: 2px 0; line-height: 23px; display: flex"
3009
                       >
3057
                       >
3010
                         <span
3058
                         <span
3011
                           style="height: 30px; display: inline-block"
3059
                           style="height: 30px; display: inline-block"
3012
-                          v-if="setAdminUserES(prescription.creater) == ''"
3060
+                          v-if="setAdminUserES(doctor_advices[0].advice_doctor) == ''"
3013
                         >
3061
                         >
3014
-                          {{ getAdminUser(prescription.creater) }}
3062
+                          {{ getAdminUser(doctor_advices[0].advice_doctor) }}
3015
                         </span>
3063
                         </span>
3016
                         <img
3064
                         <img
3017
                           style="height: 40px"
3065
                           style="height: 40px"
3018
-                          :src="setAdminUserES(prescription.creater)"
3066
+                          :src="setAdminUserES(doctor_advices[0].advice_doctor)"
3019
                           alt=""
3067
                           alt=""
3020
                           srcset=""
3068
                           srcset=""
3021
                           v-else
3069
                           v-else

+ 6 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue 파일 보기

1092
                         }}
1092
                         }}
1093
                       </div>
1093
                       </div>
1094
                      
1094
                      
1095
-                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
1095
+                     <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
1096
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1096
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1097
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1097
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1098
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1098
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1099
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1099
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1100
                     </span>
1100
                     </span>
1101
 
1101
 
1102
-                    <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471">
1102
+                    <span v-if="org_id==9675 || org_id==10447 || org_id==9829 || org_id==10440 || org_id==10469 || org_id == 10471 || org_id == 10495">
1103
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1103
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1104
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1104
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1105
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1105
                       <span v-if="prescription.anticoagulant == 2">mg</span>
1138
                             : "0"
1138
                             : "0"
1139
                         }}
1139
                         }}
1140
                       </div>
1140
                       </div>
1141
-                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
1141
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
1142
 
1142
 
1143
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1143
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1144
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
1144
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
1146
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1146
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1147
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1147
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1148
                       </span>
1148
                       </span>
1149
-                      <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
1149
+                      <span v-if="org_id==9675 || org_id==10447 || org_id== 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10495">
1150
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1150
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1151
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1151
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1152
                           <span v-if="prescription.anticoagulant == 4">ml</span>
1152
                           <span v-if="prescription.anticoagulant == 4">ml</span>
1211
                             : "/"
1211
                             : "/"
1212
                         }}
1212
                         }}
1213
                       </div>
1213
                       </div>
1214
-                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471">
1214
+                      <span v-if="org_id!=9675 && org_id!=10447 && org_id!=9829 && org_id!=10440 && org_id!=10469 && org_id!=10471 && org_id!=10495">
1215
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1215
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1216
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1216
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1217
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1217
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1218
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1218
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1219
                      </span>
1219
                      </span>
1220
-                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471">
1220
+                    <span v-if="org_id==9675 || org_id==10447 || org_id == 9829 || org_id == 10440 || org_id == 10469 || org_id == 10471 || org_id == 10495">
1221
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1221
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1222
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1222
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1223
                        <span v-if="prescription.anticoagulant == 4">ml</span>
1223
                        <span v-if="prescription.anticoagulant == 4">ml</span>

+ 69 - 69
src/xt_pages/hospitalStation/batchStatementTemplate/hospitalBatchPrint.vue 파일 보기

9
         <td width="80">机构编码</td>
9
         <td width="80">机构编码</td>
10
         <td colspan="4">{{info.fixmedins_code}}</td>
10
         <td colspan="4">{{info.fixmedins_code}}</td>
11
         <td width="100">医保结算级别</td>
11
         <td width="100">医保结算级别</td>
12
-        <td width="100" v-if="info.hosp_lv == '1'">三级特等</td>
13
-        <td width="100" v-if="info.hosp_lv == '2'">三级甲等</td>
14
-        <td width="100" v-if="info.hosp_lv == '3'">三级乙等</td>
15
-        <td width="100" v-if="info.hosp_lv == '4'">三级丙等</td>
16
-        <td width="100" v-if="info.hosp_lv == '5'">二级甲等</td>
17
-        <td width="100" v-if="info.hosp_lv == '6'">二级乙等</td>
18
-        <td width="100" v-if="info.hosp_lv == '7'">二级丙等</td>
19
-        <td width="100" v-if="info.hosp_lv == '8'">一级甲等</td>
20
-        <td width="100" v-if="info.hosp_lv == '9'">一级乙等</td>
21
-        <td width="100" v-if="info.hosp_lv == '10'">一级丙等</td>
22
-        <td width="100" v-if="info.hosp_lv == '11'">无等级</td>
12
+        <td width="100" v-if="info.info.hosp_lv == '1'">三级特等</td>
13
+        <td width="100" v-if="info.info.hosp_lv == '2'">三级甲等</td>
14
+        <td width="100" v-if="info.info.hosp_lv == '3'">三级乙等</td>
15
+        <td width="100" v-if="info.info.hosp_lv == '4'">三级丙等</td>
16
+        <td width="100" v-if="info.info.hosp_lv == '5'">二级甲等</td>
17
+        <td width="100" v-if="info.info.hosp_lv == '6'">二级乙等</td>
18
+        <td width="100" v-if="info.info.hosp_lv == '7'">二级丙等</td>
19
+        <td width="100" v-if="info.info.hosp_lv == '8'">一级甲等</td>
20
+        <td width="100" v-if="info.info.hosp_lv == '9'">一级乙等</td>
21
+        <td width="100" v-if="info.info.hosp_lv == '10'">一级丙等</td>
22
+        <td width="100" v-if="info.info.hosp_lv == '11'">无等级</td>
23
         <td width="100" v-else></td>
23
         <td width="100" v-else></td>
24
 
24
 
25
       </tr>
25
       </tr>
26
       <tr>
26
       <tr>
27
         <td width="90">就医登记号</td>
27
         <td width="90">就医登记号</td>
28
-        <td colspan="11">{{info.mdtrt_id}}</td>
28
+        <td colspan="11">{{info.order.mdtrt_id}}</td>
29
       </tr>
29
       </tr>
30
       <tr>
30
       <tr>
31
         <td width="80">姓名</td>
31
         <td width="80">姓名</td>
32
-        <td width="80">{{info.psn_name}}</td>
32
+        <td width="80">{{info.order.psn_name}}</td>
33
         <td width="80">性别</td>
33
         <td width="80">性别</td>
34
-        <td width="50" v-if="info.gend == '1'">男</td>
35
-        <td width="50" v-if="info.gend == '2'">女</td>
34
+        <td width="50" v-if="info.order.gend == '1'">男</td>
35
+        <td width="50" v-if="info.order.gend == '2'">女</td>
36
 
36
 
37
         <td width="80">出生日期</td>
37
         <td width="80">出生日期</td>
38
-        <td width="100">{{info.brdy}}</td>
38
+        <td width="100">{{info.info.brdy}}</td>
39
         <td width="90">个人电脑号</td>
39
         <td width="90">个人电脑号</td>
40
-        <td width="110">{{info.psn_no}}</td>
40
+        <td width="110">{{info.order.psn_no}}</td>
41
         <td width="80">人员类别</td>
41
         <td width="80">人员类别</td>
42
-        <td colspan="3" v-if="info.psn_type == '11'">在职</td>
43
-        <td colspan="3" v-if="info.psn_type == '1101'">职工在职</td>
44
-        <td colspan="3" v-if="info.psn_type == '1102'">公务员在职</td>
45
-        <td colspan="3" v-if="info.psn_type == '1103'">灵活就业人员在职</td>
46
-        <td colspan="3" v-if="info.psn_type == '1160'">地方其他扩展人员</td>
42
+        <td colspan="3" v-if="info.order.psn_type == '11'">在职</td>
43
+        <td colspan="3" v-if="info.order.psn_type == '1101'">职工在职</td>
44
+        <td colspan="3" v-if="info.order.psn_type == '1102'">公务员在职</td>
45
+        <td colspan="3" v-if="info.order.psn_type == '1103'">灵活就业人员在职</td>
46
+        <td colspan="3" v-if="info.order.psn_type == '1160'">地方其他扩展人员</td>
47
 
47
 
48
 
48
 
49
-        <td colspan="3" v-if="info.psn_type == '12'">退休人员</td>
50
-        <td colspan="3" v-if="info.psn_type == '1201'">职工退休</td>
51
-        <td colspan="3" v-if="info.psn_type == '1202'">公务员退休</td>
52
-        <td colspan="3" v-if="info.psn_type == '1203'">灵活就业人员退休</td>
53
-        <td colspan="3" v-if="info.psn_type == '1260'">地方其他扩展人员</td>
49
+        <td colspan="3" v-if="info.order.psn_type == '12'">退休人员</td>
50
+        <td colspan="3" v-if="info.order.psn_type == '1201'">职工退休</td>
51
+        <td colspan="3" v-if="info.order.psn_type == '1202'">公务员退休</td>
52
+        <td colspan="3" v-if="info.order.psn_type == '1203'">灵活就业人员退休</td>
53
+        <td colspan="3" v-if="info.order.psn_type == '1260'">地方其他扩展人员</td>
54
 
54
 
55
 
55
 
56
-        <td colspan="3" v-if="info.psn_type == '13'">离休</td>
57
-        <td colspan="3" v-if="info.psn_type == '1300'">离休人员</td>
58
-        <td colspan="3" v-if="info.psn_type == '1360'">地方其他扩展人员</td>
56
+        <td colspan="3" v-if="info.order.psn_type == '13'">离休</td>
57
+        <td colspan="3" v-if="info.order.psn_type == '1300'">离休人员</td>
58
+        <td colspan="3" v-if="info.order.psn_type == '1360'">地方其他扩展人员</td>
59
 
59
 
60
-        <td colspan="3" v-if="info.psn_type == '14'">居民(未成年)</td>
61
-        <td colspan="3" v-if="info.psn_type == '1401'">新生儿</td>
62
-        <td colspan="3" v-if="info.psn_type == '1402'">学龄前儿童</td>
63
-        <td colspan="3" v-if="info.psn_type == '1403'">中小学生</td>
64
-        <td colspan="3" v-if="info.psn_type == '1404'">大学生</td>
65
-        <td colspan="3" v-if="info.psn_type == '1405'">未成年(未入学)</td>
60
+        <td colspan="3" v-if="info.order.psn_type == '14'">居民(未成年)</td>
61
+        <td colspan="3" v-if="info.order.psn_type == '1401'">新生儿</td>
62
+        <td colspan="3" v-if="info.order.psn_type == '1402'">学龄前儿童</td>
63
+        <td colspan="3" v-if="info.order.psn_type == '1403'">中小学生</td>
64
+        <td colspan="3" v-if="info.order.psn_type == '1404'">大学生</td>
65
+        <td colspan="3" v-if="info.order.psn_type == '1405'">未成年(未入学)</td>
66
 
66
 
67
 
67
 
68
-        <td colspan="3" v-if="info.psn_type == '15'">居民(成年)</td>
69
-        <td colspan="3" v-if="info.psn_type == '1501'">普通居民(成年)</td>
70
-        <td colspan="3" v-if="info.psn_type == '1560'">地方其他扩展身份</td>
68
+        <td colspan="3" v-if="info.order.psn_type == '15'">居民(成年)</td>
69
+        <td colspan="3" v-if="info.order.psn_type == '1501'">普通居民(成年)</td>
70
+        <td colspan="3" v-if="info.order.psn_type == '1560'">地方其他扩展身份</td>
71
 
71
 
72
-        <td colspan="3" v-if="info.psn_type == '16'">居民(老年)</td>
72
+        <td colspan="3" v-if="info.order.psn_type == '16'">居民(老年)</td>
73
 
73
 
74
 
74
 
75
 
75
 
76
       </tr>
76
       </tr>
77
       <tr>
77
       <tr>
78
         <td>单位名称</td>
78
         <td>单位名称</td>
79
-        <td colspan="5">{{info.emp_name}}</td>
79
+        <td colspan="5">{{info.info.emp_name}}</td>
80
         <td width="80">联系电话</td>
80
         <td width="80">联系电话</td>
81
         <td width="110">{{info.patient.phone}}</td>
81
         <td width="110">{{info.patient.phone}}</td>
82
         <td width="80">身份证号</td>
82
         <td width="80">身份证号</td>
83
-        <td colspan="3">{{info.certno}}</td>
83
+        <td colspan="3">{{info.info.certno}}</td>
84
       </tr>
84
       </tr>
85
       <tr>
85
       <tr>
86
         <td>住院号</td>
86
         <td>住院号</td>
90
         <td>床号</td>
90
         <td>床号</td>
91
         <td></td>
91
         <td></td>
92
         <td>入院日期</td>
92
         <td>入院日期</td>
93
-        <td>{{info.begndate}}</td>
93
+        <td>{{info.his.in_hosptial_time.split(" ")[0]}}</td>
94
         <td>出院日期</td>
94
         <td>出院日期</td>
95
-        <td width="100">{{info.enddate}}</td>
95
+        <td width="100">{{info.his.out_hosptial_time.split(" ")[0]}}</td>
96
         <td>住院天数</td>
96
         <td>住院天数</td>
97
-        <td>{{getDay(info.begndate,info.enddate)}}</td>
97
+        <td>{{getDay(info.his.in_hosptial_time.split(" ")[0],info.his.out_hosptial_time.split(" ")[0])}}</td>
98
 
98
 
99
       </tr>
99
       </tr>
100
       <tr>
100
       <tr>
101
         <td>险种</td>
101
         <td>险种</td>
102
-        <td colspan="2" v-if="info.insutype == '310'">职工基本医疗保险</td>
103
-        <td colspan="2" v-if="info.insutype == '320'">公务员医疗补助</td>
104
-        <td colspan="2" v-if="info.insutype == '330'">大额医疗费用补助</td>
105
-        <td colspan="2" v-if="info.insutype == '340'">离休人员医疗保障</td>
106
-        <td colspan="2" v-if="info.insutype == '390'">城乡居民基本医疗保险</td>
107
-        <td colspan="2" v-if="info.insutype == '392'">城乡居民大病医疗保险</td>
108
-        <td colspan="2" v-if="info.insutype == '510'">生育保险</td>
102
+        <td colspan="2" v-if="info.order.insutype == '310'">职工基本医疗保险</td>
103
+        <td colspan="2" v-if="info.order.insutype == '320'">公务员医疗补助</td>
104
+        <td colspan="2" v-if="info.order.insutype == '330'">大额医疗费用补助</td>
105
+        <td colspan="2" v-if="info.order.insutype == '340'">离休人员医疗保障</td>
106
+        <td colspan="2" v-if="info.order.insutype == '390'">城乡居民基本医疗保险</td>
107
+        <td colspan="2" v-if="info.order.insutype == '392'">城乡居民大病医疗保险</td>
108
+        <td colspan="2" v-if="info.order.insutype == '510'">生育保险</td>
109
         <td>入院第一诊断</td>
109
         <td>入院第一诊断</td>
110
         <td colspan="3">{{info.diagnosis}}</td>
110
         <td colspan="3">{{info.diagnosis}}</td>
111
         <td>出院第一诊断</td>
111
         <td>出院第一诊断</td>
115
       </tr>
115
       </tr>
116
       <tr>
116
       <tr>
117
         <td>业务类别</td>
117
         <td>业务类别</td>
118
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '11'">普通门诊</td>
119
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '12'">门诊挂号</td>
120
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '13'">急诊</td>
121
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '14'">门诊慢性病</td>
122
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '15'">门诊统筹</td>
118
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '11'">普通门诊</td>
119
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '12'">门诊挂号</td>
120
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '13'">急诊</td>
121
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '14'">门诊慢性病</td>
122
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '15'">门诊统筹</td>
123
         <!--        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>-->
123
         <!--        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '16'">门诊慢性病</td>-->
124
-        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.med_type == '21'">普通住院</td>
124
+        <td colspan="5" style="text-align:left;padding-left:10px;" v-if="info.order.med_type == '21'">普通住院</td>
125
 
125
 
126
         <td>结算时间</td>
126
         <td>结算时间</td>
127
-        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.setl_time.split(' ')[0]}}</td>
127
+        <td colspan="5" style="text-align:left;padding-left:10px;">{{info.order.setl_time.split(' ')[0]}}</td>
128
       </tr>
128
       </tr>
129
       <tr>
129
       <tr>
130
         <td colspan="12" style="text-align:left;padding-left:10px;">
130
         <td colspan="12" style="text-align:left;padding-left:10px;">
131
-          本次就医:总费用{{info.medfee_sumamt}}元,基金支付{{info.fund_pay_sumamt}}元,个人支付{{info.psn_pay}}元。
132
-          (起付线 {{info.act_pay_dedc}}元, 先自付 {{info.preselfpay_amt}}元, 段内自付 {{(info.psn_pay - info.preselfpay_amt).toFixed(2)}} )
131
+          本次就医:总费用{{info.order.medfee_sumamt}}元,基金支付{{info.order.fund_pay_sumamt}}元,个人支付{{info.order.psn_cash_pay}}元。
132
+          (起付线 {{info.order.act_pay_dedc}}元, 先自付 {{info.order.preselfpay_amt}}元, 段内自付 {{(info.order.psn_cash_pay - info.order.preselfpay_amt).toFixed(2)}} )
133
 
133
 
134
         </td>
134
         </td>
135
       </tr>
135
       </tr>
264
       </tr>
264
       </tr>
265
       <tr>
265
       <tr>
266
         <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
266
         <td colspan="3" style="text-align:left;padding-left:10px;">基本医疗保险统筹基金支付</td>
267
-        <td colspan="3">{{info.hifp_pay}}</td>
267
+        <td colspan="3">{{info.order.hifp_pay}}</td>
268
         <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
268
         <td colspan="3" style="text-align:left;padding-left:10px;">大额基金支付</td>
269
-        <td colspan="3">{{info.hifob_pay}}</td>
269
+        <td colspan="3">{{info.order.hifob_pay}}</td>
270
       </tr>
270
       </tr>
271
       <tr>
271
       <tr>
272
         <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
272
         <td colspan="3" style="text-align:left;padding-left:10px;">大病基金支付</td>
273
-        <td colspan="3">{{info.hifmi_pay}}</td>
273
+        <td colspan="3">{{info.order.hifmi_pay}}</td>
274
         <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
274
         <td colspan="3" style="text-align:left;padding-left:10px;">补充保险基金支付</td>
275
-        <td colspan="3">{{info.hifes_pay}}</td>
275
+        <td colspan="3">{{info.order.hifes_pay}}</td>
276
       </tr>
276
       </tr>
277
       <tr>
277
       <tr>
278
         <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
278
         <td colspan="3" style="text-align:left;padding-left:10px;">医疗救助基金支付</td>
279
-        <td colspan="3">{{info.maf_pay}}</td>
279
+        <td colspan="3">{{info.order.maf_pay}}</td>
280
         <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
280
         <td colspan="3" style="text-align:left;padding-left:10px;">公务员基金支付</td>
281
-        <td colspan="3">{{info.cvlserv_pay}}</td>
281
+        <td colspan="3">{{info.order.cvlserv_pay}}</td>
282
       </tr>
282
       </tr>
283
 
283
 
284
       <tr>
284
       <tr>
285
         <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
285
         <td colspan="3" style="text-align:left;padding-left:10px;">其他基金支付</td>
286
-        <td colspan="3">{{info.oth_pay}}</td>
286
+        <td colspan="3">{{info.order.oth_pay}}</td>
287
         <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
287
         <td colspan="3" style="text-align:left;padding-left:10px;">个人账户支付</td>
288
-        <td colspan="3">{{info.acct_pay}}</td>
288
+        <td colspan="3">{{info.order.acct_pay}}</td>
289
       </tr>
289
       </tr>
290
       <tr>
290
       <tr>
291
         <td>收款人:</td>
291
         <td>收款人:</td>

+ 105 - 46
src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue 파일 보기

197
             return false
197
             return false
198
           } else {
198
           } else {
199
             let infos = []
199
             let infos = []
200
+            console.log(response.data.data.infos)
200
             for(var i  = 0; i < response.data.data.infos.length; i++){
201
             for(var i  = 0; i < response.data.data.infos.length; i++){
202
+              let tempInfo = {}
201
               var info = response.data.data.infos[i]
203
               var info = response.data.data.infos[i]
202
-              that.info['patient'] = info.patient
203
-              that.info['diagnosis'] = info.diagnosis
204
-              that.info['p_admin'] = info.printor_admin
205
-              that.info['charge_admin'] = info.charge_admin
206
-              that.info['fixmedins_name'] = info.org_name
207
-              that.info['fixmedins_code'] = info.org_code
208
-              that.info['order'] = info.order
209
-              that.info['date'] = info.date
210
-              that.info['number'] = info.number
211
-              that.info['order_infos'] = info.order_infos
212
-              that.info['diagnosis'] = info.diagnosis
213
-              that.info['dia_config'] = info.dia_config
214
-              that.info['doctor_info'] = info.doctor_info
215
-              that.info['bed_cost_total'] = info.bedCostTotal
216
-              that.info['bed_cost_self_total'] = info.bedCostSelfTotal
217
-              that.info['bed_cost_part_self_total'] = info.bedCostPartSelfTotal
218
-              that.info['operation_cost_total'] = info.operationCostTotal
219
-              that.info['operation_cost_self_total'] = info.operationCostSelfTotal
220
-              that.info['operation_cost_part_self_total'] = info.operationCostPartSelfTotal
221
-              that.info['other_cost_total'] = info.otherCostTotal
222
-              that.info['other_cost_self_total'] = info.otherCostSelfTotal
223
-              that.info['other_cost_part_self_total'] = info.otherCostPartSelfTotal
224
-              that.info['material_cost_total'] = info.materialCostTotal
225
-              that.info['material_cost_self_total'] = info.materialCostSelfTotal
226
-              that.info['material_cost_part_self_total'] = info.materialCostPartSelfTotal
227
-              that.info['western_medicine_cost_total'] = info.westernMedicineCostTotal
228
-              that.info['western_medicine_cost_self_total'] = info.westernMedicineCostSelfTotal
229
-              that.info['western_medicine_cost_part_self_total'] = info.westernMedicineCostPartSelfTotal
230
-              that.info['chinese_traditional_medicine_cost_total'] = info.chineseTraditionalMedicineCostTotal
231
-              that.info['chinese_traditional_medicine_cost_self_total'] = info.chineseTraditionalMedicineCostSelfTotal
232
-              that.info['chinese_traditional_medicine_cost_part_self_total'] = info.chineseTraditionalMedicineCostPartSelfTotal
233
-              that.info['check_cost_total'] = info.checkCostTotal
234
-              that.info['check_cost_self_total'] = info.checkCostSelfTotal
235
-              that.info['check_cost_part_self_total'] = info.checkCostPartSelfTotal
236
-              that.info['laboratory_cost_total'] = info.laboratoryCostTotal
237
-              that.info['laboratory_cost_self_total'] = info.laboratoryCostSelfTotal
238
-              that.info['laboratory_cost_part_self_total'] = info.laboratoryCostPartSelfTotal
239
-              that.info['treat_cost_total'] = info.treatCostTotal
240
-              that.info['treat_cost_self_total'] = info.treatCostSelfTotal
241
-              that.info['treat_cost_part_self_total'] = info.treatCostPartSelfTotal
242
-              that.info['date'] = info.date
243
-              that.info['number'] = info.number
244
-              that.info['order_infos'] = info.order_infos
245
-              that.info['diagnosis'] = info.diagnosis
246
-              that.info['his'] = info.his_hospital
247
-              infos.push(that.info)
204
+              console.log("info1")
205
+              console.log(info)
206
+              tempInfo["patient"] = info.patient
207
+              console.log("info2")
208
+              console.log(info.patient)
209
+
210
+              tempInfo["diagnosis"] = info.diagnosis
211
+              console.log("info3")
212
+              console.log(info.diagnosis)
213
+
214
+              tempInfo["p_admin"] = info.printor_admin
215
+              console.log("info4")
216
+              console.log( info.printor_admin)
217
+              tempInfo['charge_admin'] = info.charge_admin
218
+              console.log("info5")
219
+              console.log( info.charge_admin)
220
+              tempInfo['fixmedins_name'] = info.org_name
221
+              console.log("info6")
222
+              console.log( info.org_name)
223
+              tempInfo['fixmedins_code'] = info.org_code
224
+              console.log("info7")
225
+              console.log( info.org_code)
226
+              tempInfo['order'] = info.order
227
+              console.log("info8")
228
+              console.log( info.order)
229
+              tempInfo['date'] = info.date
230
+              console.log("info9")
231
+              console.log( info.date)
232
+              tempInfo['number'] = info.number
233
+              console.log("info10")
234
+              console.log( info.number)
235
+              tempInfo['order_infos'] = info.order_infos
236
+              console.log("info11")
237
+              console.log( info.order_infos)
238
+              tempInfo['diagnosis'] = info.diagnosis
239
+              console.log("info12")
240
+              console.log( info.diagnosis)
241
+              tempInfo['dia_config'] = info.dia_config
242
+              console.log("info13")
243
+              console.log( info.dia_config)
244
+              tempInfo['doctor_info'] = info.doctor_info
245
+              console.log("info14")
246
+              console.log( info.doctor_info)
247
+              tempInfo['bed_cost_total'] = info.bedCostTotal
248
+              console.log("info15")
249
+              console.log( info.bedCostTotal)
250
+              tempInfo['bed_cost_self_total'] = info.bedCostSelfTotal
251
+              console.log("info16")
252
+              console.log( info.bedCostSelfTotal)
253
+              tempInfo['bed_cost_part_self_total'] = info.bedCostPartSelfTotal
254
+              console.log("info17")
255
+              console.log( info.bedCostPartSelfTotal)
256
+              tempInfo['operation_cost_total'] = info.operationCostTotal
257
+              console.log("info18")
258
+              console.log( info.operationCostTotal)
259
+              tempInfo['operation_cost_self_total'] = info.operationCostSelfTotal
260
+              console.log("info19")
261
+              console.log( info.operationCostSelfTotal)
262
+              tempInfo['operation_cost_part_self_total'] = info.operationCostPartSelfTotal
263
+              console.log("info20")
264
+              console.log( info.operationCostPartSelfTotal)
265
+              tempInfo['other_cost_total'] = info.otherCostTotal
266
+              console.log("info21")
267
+              console.log( info.otherCostTotal)
268
+              tempInfo['other_cost_self_total'] = info.otherCostSelfTotal
269
+              console.log("info22")
270
+              console.log( info.otherCostSelfTotal)
271
+              tempInfo['other_cost_part_self_total'] = info.otherCostPartSelfTotal
272
+              console.log("info23")
273
+              console.log( info.otherCostPartSelfTotal)
274
+              tempInfo['material_cost_total'] = info.materialCostTotal
275
+              console.log("info24")
276
+              console.log( info.materialCostTotal)
277
+              tempInfo['material_cost_self_total'] = info.materialCostSelfTotal
278
+              console.log("info25")
279
+              console.log( info.materialCostSelfTotal)
280
+              tempInfo['material_cost_part_self_total'] = info.materialCostPartSelfTotal
281
+              console.log("info26")
282
+              console.log( info.materialCostPartSelfTotal)
283
+              tempInfo['western_medicine_cost_total'] = info.westernMedicineCostTotal
284
+              console.log("info27")
285
+              console.log( info.westernMedicineCostTotal)
286
+              tempInfo['western_medicine_cost_self_total'] = info.westernMedicineCostSelfTotal
287
+              console.log("info28")
288
+              console.log( info.westernMedicineCostSelfTotal)
289
+              tempInfo['western_medicine_cost_part_self_total'] = info.westernMedicineCostPartSelfTotal
290
+              console.log("info29")
291
+              console.log( info.westernMedicineCostPartSelfTotal)
292
+              tempInfo['chinese_traditional_medicine_cost_total'] = info.chineseTraditionalMedicineCostTotal
293
+              tempInfo['chinese_traditional_medicine_cost_self_total'] = info.chineseTraditionalMedicineCostSelfTotal
294
+              tempInfo['chinese_traditional_medicine_cost_part_self_total'] = info.chineseTraditionalMedicineCostPartSelfTotal
295
+              tempInfo['check_cost_total'] = info.checkCostTotal
296
+              tempInfo['check_cost_self_total'] = info.checkCostSelfTotal
297
+              tempInfo['check_cost_part_self_total'] = info.checkCostPartSelfTotal
298
+              tempInfo['laboratory_cost_total'] = info.laboratoryCostTotal
299
+              tempInfo['laboratory_cost_self_total'] = info.laboratoryCostSelfTotal
300
+              tempInfo['laboratory_cost_part_self_total'] = info.laboratoryCostPartSelfTotal
301
+              tempInfo['treat_cost_total'] = info.treatCostTotal
302
+              tempInfo['treat_cost_self_total'] = info.treatCostSelfTotal
303
+              tempInfo['treat_cost_part_self_total'] = info.treatCostPartSelfTotal
304
+              tempInfo['his'] = info.his_hospital
305
+              tempInfo['info'] = info.info
306
+              infos.push(tempInfo)
248
             }
307
             }
249
             that.infos = infos
308
             that.infos = infos
250
             console.log(infos)
309
             console.log(infos)

+ 21 - 1
src/xt_pages/management/components/ManageForm.vue 파일 보기

34
             </el-form-item>
34
             </el-form-item>
35
           </el-col>
35
           </el-col>
36
 
36
 
37
+          <!-- <el-col :span="8">
38
+            <el-form-item
39
+              label="分区:"
40
+              v-show="bedShow"
41
+              required
42
+              prop="zone_id"
43
+            >
44
+              <el-select style="width:135px" v-model="form.zone_id">
45
+                <el-option
46
+                  v-for="item in this.deviceType"
47
+                  :key="item.id"
48
+                  :label="item.name"
49
+                  :value="item.id"
50
+                ></el-option>
51
+              </el-select>
52
+            </el-form-item>
53
+          </el-col> -->
54
+
37
           <el-col :span="8">
55
           <el-col :span="8">
38
             <el-form-item
56
             <el-form-item
39
               label="机位号:"
57
               label="机位号:"
388
         revers_mode: "", // 反渗模式
406
         revers_mode: "", // 反渗模式
389
         treat_mode: [],
407
         treat_mode: [],
390
         treat_type: [], // 治疗模式
408
         treat_type: [], // 治疗模式
391
-        beds: ""
409
+        beds: "",
410
+        zone_id:"",
392
       },
411
       },
393
       forms: {
412
       forms: {
394
         beds: ""
413
         beds: ""
471
       getAllSubregion().then(response => {
490
       getAllSubregion().then(response => {
472
         if (response.data.state === 1) {
491
         if (response.data.state === 1) {
473
           var zones = response.data.data.zones;
492
           var zones = response.data.data.zones;
493
+        
474
           this.deviceType = zones;
494
           this.deviceType = zones;
475
           var numbers = response.data.data.numbers;
495
           var numbers = response.data.data.numbers;
476
           var devicenumber = response.data.data.devicenumber;
496
           var devicenumber = response.data.data.devicenumber;

+ 15 - 2
src/xt_pages/management/home.vue 파일 보기

117
                                   </el-select>
117
                                   </el-select>
118
                                  </el-form-item>
118
                                  </el-form-item>
119
                               </el-col>
119
                               </el-col>
120
+                              <el-col :span="8">
121
+                                  <el-form-item label="分区:">
122
+                                       <el-select style="width:150px" v-model="form.zone_id" :disabled="disableThree">
123
+                                          <el-option v-for="item in this.bedZone" :key="item.id" :label="item.name" :value="item.id"></el-option>
124
+                                       </el-select>
125
+                                  </el-form-item>
126
+                              </el-col>
120
                               <el-col :span="8">
127
                               <el-col :span="8">
121
                                   <el-form-item label="机位号:">
128
                                   <el-form-item label="机位号:">
122
                                        <el-select style="width:150px" v-model="form.bed_number" :disabled="disableThree">
129
                                        <el-select style="width:150px" v-model="form.bed_number" :disabled="disableThree">
2779
           Disinfection_mode: '',
2786
           Disinfection_mode: '',
2780
           revers_mode: '',
2787
           revers_mode: '',
2781
           beds: '',
2788
           beds: '',
2782
-          bed_numbers: ''
2789
+          bed_numbers: '',
2790
+          zone_id:"",
2783
         },
2791
         },
2784
         activeName: 'first',
2792
         activeName: 'first',
2785
         activeNameTwo: 'first',
2793
         activeNameTwo: 'first',
3347
       getAllSubregion() {
3355
       getAllSubregion() {
3348
         getAllSubregion().then(response => {
3356
         getAllSubregion().then(response => {
3349
           var zones = response.data.data.zones
3357
           var zones = response.data.data.zones
3358
+          console.log("zones",zones)
3350
           this.deviceType = zones
3359
           this.deviceType = zones
3351
           var numbers = response.data.data.numbers
3360
           var numbers = response.data.data.numbers
3352
 
3361
 
3469
         getMachineDetailById(id).then(response => {
3478
         getMachineDetailById(id).then(response => {
3470
           if (response.data.state === 1) {
3479
           if (response.data.state === 1) {
3471
             var addmacher = response.data.data.addmacher
3480
             var addmacher = response.data.data.addmacher
3481
+            console.log("addmacher",addmacher)
3472
             var warning = response.data.data.warning
3482
             var warning = response.data.data.warning
3473
 
3483
 
3474
             var time = this.getTimestamp(this.userform.date) - warning.stime
3484
             var time = this.getTimestamp(this.userform.date) - warning.stime
3587
             this.form.device_name = addmacher.device_name
3597
             this.form.device_name = addmacher.device_name
3588
             this.form.manufacture_factory = addmacher.manufacture_factory
3598
             this.form.manufacture_factory = addmacher.manufacture_factory
3589
             this.form.service_manufacturer = addmacher.service_manufacturer
3599
             this.form.service_manufacturer = addmacher.service_manufacturer
3590
-
3600
+            if(addmacher.zone_id >=0){
3601
+              this.form.zone_id = addmacher.zone_id
3602
+            }
3603
+          
3591
             // this.form.unit_type = addmacher.unit_type
3604
             // this.form.unit_type = addmacher.unit_type
3592
 
3605
 
3593
             this.form.unit_type = parseInt(addmacher.device_mode)
3606
             this.form.unit_type = parseInt(addmacher.device_mode)

+ 42 - 27
src/xt_pages/medicalScheduling/index.vue 파일 보기

443
                     this.getStaffScheduleList()
443
                     this.getStaffScheduleList()
444
 
444
 
445
                     var doctorlist =  response.data.data.doctorlist
445
                     var doctorlist =  response.data.data.doctorlist
446
-                    let arr = []
446
+                  
447
                     for(let i=0;i<doctorlist.length;i++){
447
                     for(let i=0;i<doctorlist.length;i++){
448
                         if(doctorlist[i].sort == 0){
448
                         if(doctorlist[i].sort == 0){
449
                           doctorlist[i].sort = ""
449
                           doctorlist[i].sort = ""
485
             })
485
             })
486
         },
486
         },
487
         hangdleClick(val,index,num){
487
         hangdleClick(val,index,num){
488
-        //  console.log("val",val)
488
+          console.log("val",val)
489
          this.docobj = val
489
          this.docobj = val
490
          if(this.getTimestamp(this.weekDayArr[num]) < this.timeNow){
490
          if(this.getTimestamp(this.weekDayArr[num]) < this.timeNow){
491
             this.$message.error("过去日期不可以编辑")
491
             this.$message.error("过去日期不可以编辑")
647
             getStaffScheduleList(params).then(response=>{
647
             getStaffScheduleList(params).then(response=>{
648
                 if(response.data.state == 1){
648
                 if(response.data.state == 1){
649
                     var staffList =  response.data.data.staffList
649
                     var staffList =  response.data.data.staffList
650
-                    // console.log("获取所有排班",staffList)
650
+                    console.log("获取所有排班",staffList)
651
                     var sevenStr = ""
651
                     var sevenStr = ""
652
                     var oneStr = ""
652
                     var oneStr = ""
653
                     var twoStr = ""
653
                     var twoStr = ""
691
                         })
691
                         })
692
                         sevenStr = zeroStr
692
                         sevenStr = zeroStr
693
                     }
693
                     }
694
+                    
694
                     if(staffList[i].schedule_week == 1){
695
                     if(staffList[i].schedule_week == 1){
695
                         staffList[i].class_index = 1
696
                         staffList[i].class_index = 1
696
                         var arr = []
697
                         var arr = []
772
                         })
773
                         })
773
                         threeStr = strThree
774
                         threeStr = strThree
774
                     }
775
                     }
776
+
777
+
775
                     if(staffList[i].schedule_week == 4){
778
                     if(staffList[i].schedule_week == 4){
776
                         staffList[i].class_index = 4
779
                         staffList[i].class_index = 4
777
                         var arr = []
780
                         var arr = []
799
                         })
802
                         })
800
                         fourStr = strFour
803
                         fourStr = strFour
801
                     }
804
                     }
805
+
806
+                    
802
                     if(staffList[i].schedule_week == 5){
807
                     if(staffList[i].schedule_week == 5){
803
                         staffList[i].class_index = 5
808
                         staffList[i].class_index = 5
804
 
809
 
827
                         })
832
                         })
828
                          fiveStr = strFive
833
                          fiveStr = strFive
829
                     }
834
                     }
835
+
830
                     if(staffList[i].schedule_week == 6){
836
                     if(staffList[i].schedule_week == 6){
831
                         staffList[i].class_index = 6
837
                         staffList[i].class_index = 6
832
                          var arr = []
838
                          var arr = []
857
                     }
863
                     }
858
                     let tempArr = [], newArr = []
864
                     let tempArr = [], newArr = []
859
                     for (let i = 0; i < staffList.length; i++) {
865
                     for (let i = 0; i < staffList.length; i++) {
860
-                        if (tempArr.indexOf(staffList[i].user_name) === -1) {
866
+                        if (tempArr.indexOf(staffList[i].user_name) == -1) {
861
                             newArr.push({
867
                             newArr.push({
862
                                 user_name: staffList[i].user_name,
868
                                 user_name: staffList[i].user_name,
863
                                 admin_user_id:staffList[i].admin_user_id,
869
                                 admin_user_id:staffList[i].admin_user_id,
868
                             })
874
                             })
869
                             tempArr.push(staffList[i].user_name);
875
                             tempArr.push(staffList[i].user_name);
870
                         } else {
876
                         } else {
877
+                            console.log("staffList",staffList[i].user_name)
871
                             for (let j = 0; j < newArr.length; j++) {
878
                             for (let j = 0; j < newArr.length; j++) {
872
-                                if (newArr[j].user_name == staffList[i].user_name) {
879
+                                if (newArr[j].admin_user_id == staffList[i].admin_user_id) {
873
                                     newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes})
880
                                     newArr[j].list.push({class_name:staffList[i].class_name,admin_user_id:staffList[i].admin_user_id,schedule_week:staffList[i].schedule_week,user_type:staffList[i].doctor_type,class_attributes:staffList[i].class_attributes})
874
                                 }
881
                                 }
875
                             }
882
                             }
876
                         }
883
                         }
877
                     }
884
                     }
878
-
879
-                    let arr = [...newArr]
885
+                    
886
+                    let arrTen = [...newArr]
887
+                    console.log("newArr22o2o2o2o2wo",arrTen)
880
                     let newNurse = []
888
                     let newNurse = []
881
                     let newDoctor = []
889
                     let newDoctor = []
882
-                    arr.map(item => {
890
+                    arrTen.map(item => {
883
                         if(item.user_type == 2){
891
                         if(item.user_type == 2){
884
                             newDoctor.push(item)
892
                             newDoctor.push(item)
885
                         }
893
                         }
888
                         }
896
                         }
889
                     })
897
                     })
890
                     //护士
898
                     //护士
899
+                    console.log("newNurse",newNurse)
891
                     newNurse.sort(this.compare('admin_user_id'))
900
                     newNurse.sort(this.compare('admin_user_id'))
892
                     let newNurseTableData = []
901
                     let newNurseTableData = []
893
                     this.nurseTableData.map(item => {
902
                     this.nurseTableData.map(item => {
896
                         }
905
                         }
897
                     })
906
                     })
898
                     newNurseTableData.sort(this.compare('admin_user_id'))
907
                     newNurseTableData.sort(this.compare('admin_user_id'))
908
+                    console.log("newNurseTableData",newNurseTableData)
899
                     newNurseTableData.map((item,index) => {
909
                     newNurseTableData.map((item,index) => {
900
                         if (newNurse[index] && item.admin_user_id == newNurse[index].admin_user_id) {
910
                         if (newNurse[index] && item.admin_user_id == newNurse[index].admin_user_id) {
901
 
911
 
904
                         }
914
                         }
905
                     })
915
                     })
906
                     newNurse.sort(this.compare('sort'))
916
                     newNurse.sort(this.compare('sort'))
907
-
908
-                    //医生
917
+                  
918
+                    // //医生
909
                     newDoctor.sort(this.compare('admin_user_id'))
919
                     newDoctor.sort(this.compare('admin_user_id'))
910
                     let newDoctorTableData = []
920
                     let newDoctorTableData = []
911
                     this.doctorTableData.map(item => {
921
                     this.doctorTableData.map(item => {
924
                     newDoctor.sort(this.compare('sort'))
934
                     newDoctor.sort(this.compare('sort'))
925
 
935
 
926
 
936
 
927
-                    // arr.sort(this.compare('admin_user_id'))
928
-                    // this.doctorlist.sort(this.compare('admin_user_id'))
929
-                    // this.doctorlist.forEach((item, index) => {
930
-                    //   if (arr[index] && item.admin_user_id == arr[index].admin_user_id) {
931
-
932
-                    //   }else{
933
-                    //     arr.splice(index, 0, {user_name: item.user_name, admin_user_id: item.admin_user_id, list: [],user_type:item.user_type})
934
-                    //   }
935
-                    // })
936
-                    // arr.sort(this.compare('user_type'))
937
-
938
                     let arr2 = []
937
                     let arr2 = []
938
+                    
939
                     arr2.push({class_name:oneStr,schedule_week:1})
939
                     arr2.push({class_name:oneStr,schedule_week:1})
940
                     arr2.push({class_name:twoStr,schedule_week:2})
940
                     arr2.push({class_name:twoStr,schedule_week:2})
941
                     arr2.push({class_name:threeStr,schedule_week:3})
941
                     arr2.push({class_name:threeStr,schedule_week:3})
942
                     arr2.push({class_name:fourStr,schedule_week:4})
942
                     arr2.push({class_name:fourStr,schedule_week:4})
943
                     arr2.push({class_name:fiveStr,schedule_week:5})
943
                     arr2.push({class_name:fiveStr,schedule_week:5})
944
                     arr2.push({class_name:sixStr,schedule_week:6})
944
                     arr2.push({class_name:sixStr,schedule_week:6})
945
-                    arr2.push({class_name:zeroStr,schedule_week:0})
945
+                    arr2.push({class_name:sevenStr,schedule_week:0})
946
                     var obj = {}
946
                     var obj = {}
947
                     obj.admin_user_id = "1000000"
947
                     obj.admin_user_id = "1000000"
948
                     obj.user_name = "合计"
948
                     obj.user_name = "合计"
951
                     arr.push(obj)
951
                     arr.push(obj)
952
 
952
 
953
                     let data = []
953
                     let data = []
954
+                  
954
                     data.push(...newNurse)
955
                     data.push(...newNurse)
955
                     data.push(...newDoctor)
956
                     data.push(...newDoctor)
956
                     data.push(obj)
957
                     data.push(obj)
957
-
958
+                    console.log("data2o2oo2o2o2o22o",data)
959
+                    
960
+                    // this.tableData = this.distinct(data)
958
                     this.tableData = data
961
                     this.tableData = data
959
 
962
 
960
 
963
 
961
                 }
964
                 }
962
             })
965
             })
963
         },
966
         },
967
+        distinct(tempArr) {
968
+            for (let i = 0; i < tempArr.length; i++) {
969
+                for (let j = i + 1; j < tempArr.length; j++) {
970
+                    if (tempArr[i].admin_user_id == tempArr[j].admin_user_id) {
971
+                        tempArr.splice(j, 1);
972
+                        j--;
973
+                    };
974
+                };
975
+            };
976
+            return tempArr;
977
+       },
964
 
978
 
965
         getClass(name,index){
979
         getClass(name,index){
966
             if(name != undefined){
980
             if(name != undefined){
1060
                         })
1074
                         })
1061
                         sevenStr = zeroStr
1075
                         sevenStr = zeroStr
1062
                     }
1076
                     }
1077
+
1063
                     if(staffList[i].schedule_week == 1){
1078
                     if(staffList[i].schedule_week == 1){
1064
                         staffList[i].class_index = 1
1079
                         staffList[i].class_index = 1
1065
                         var arr = []
1080
                         var arr = []
1311
                     arr2.push({class_name:fourStr,schedule_week:4})
1326
                     arr2.push({class_name:fourStr,schedule_week:4})
1312
                     arr2.push({class_name:fiveStr,schedule_week:5})
1327
                     arr2.push({class_name:fiveStr,schedule_week:5})
1313
                     arr2.push({class_name:sixStr,schedule_week:6})
1328
                     arr2.push({class_name:sixStr,schedule_week:6})
1314
-                    arr2.push({class_name:zeroStr,schedule_week:0})
1329
+                    arr2.push({class_name:sevenStr,schedule_week:0})
1315
                     var obj = {}
1330
                     var obj = {}
1316
                     obj.admin_user_id = "1000000"
1331
                     obj.admin_user_id = "1000000"
1317
                     obj.user_name = "合计"
1332
                     obj.user_name = "合计"
1630
                         arr2.push({class_name:fourStr,schedule_week:4})
1645
                         arr2.push({class_name:fourStr,schedule_week:4})
1631
                         arr2.push({class_name:fiveStr,schedule_week:5})
1646
                         arr2.push({class_name:fiveStr,schedule_week:5})
1632
                         arr2.push({class_name:sixStr,schedule_week:6})
1647
                         arr2.push({class_name:sixStr,schedule_week:6})
1633
-                        arr2.push({class_name:zeroStr,schedule_week:0})
1648
+                        arr2.push({class_name:sevenStr,schedule_week:0})
1634
                         var obj = {}
1649
                         var obj = {}
1635
                         obj.admin_user_id = "1000000"
1650
                         obj.admin_user_id = "1000000"
1636
                         obj.user_name = "合计"
1651
                         obj.user_name = "合计"
1669
                         arr2.push({class_name:fourStr,schedule_week:4})
1684
                         arr2.push({class_name:fourStr,schedule_week:4})
1670
                         arr2.push({class_name:fiveStr,schedule_week:5})
1685
                         arr2.push({class_name:fiveStr,schedule_week:5})
1671
                         arr2.push({class_name:sixStr,schedule_week:6})
1686
                         arr2.push({class_name:sixStr,schedule_week:6})
1672
-                        arr2.push({class_name:zeroStr,schedule_week:0})
1687
+                        arr2.push({class_name:sevenStr,schedule_week:0})
1673
                         var obj = {}
1688
                         var obj = {}
1674
                         obj.admin_user_id = "1000000"
1689
                         obj.admin_user_id = "1000000"
1675
                         obj.user_name = "合计"
1690
                         obj.user_name = "合计"
1707
                         arr2.push({class_name:fourStr,schedule_week:4})
1722
                         arr2.push({class_name:fourStr,schedule_week:4})
1708
                         arr2.push({class_name:fiveStr,schedule_week:5})
1723
                         arr2.push({class_name:fiveStr,schedule_week:5})
1709
                         arr2.push({class_name:sixStr,schedule_week:6})
1724
                         arr2.push({class_name:sixStr,schedule_week:6})
1710
-                        arr2.push({class_name:zeroStr,schedule_week:0})
1725
+                        arr2.push({class_name:sevenStr,schedule_week:0})
1711
                         var obj = {}
1726
                         var obj = {}
1712
                         obj.admin_user_id = "1000000"
1727
                         obj.admin_user_id = "1000000"
1713
                         obj.user_name = "合计"
1728
                         obj.user_name = "合计"

+ 13 - 0
src/xt_pages/outpatientCharges/summary.vue 파일 보기

436
           :paramsObj="settlementObj"
436
           :paramsObj="settlementObj"
437
       ></settlement-print>
437
       ></settlement-print>
438
     </el-dialog>
438
     </el-dialog>
439
+
440
+    <el-dialog
441
+      class="centerDialog"
442
+      width="1200px"
443
+      title="打印"
444
+      :visible.sync="settlementVisible"
445
+    >
446
+      <settlement-print
447
+        ref="print"
448
+        :paramsObj="settlementObj"
449
+      ></settlement-print>
450
+    </el-dialog>
451
+
439
   </div>
452
   </div>
440
 </template>
453
 </template>
441
 
454
 

+ 33 - 2
src/xt_pages/role/admin.vue 파일 보기

21
           size="small"
21
           size="small"
22
           icon="el-icon-circle-plus-outline"
22
           icon="el-icon-circle-plus-outline"
23
           style="float:left"
23
           style="float:left"
24
-          @click="toTest">测试</el-button> -->
24
+          @click="toTest">短信</el-button> -->
25
+
26
+        <!-- <el-button
27
+          type="primary"
28
+          size="small"
29
+          icon="el-icon-circle-plus-outline"
30
+          style="float:left"
31
+          @click="toTestOne">个人用户实名</el-button> -->
32
+         
33
+          <!-- <el-button
34
+          type="primary"
35
+          size="small"
36
+          icon="el-icon-circle-plus-outline"
37
+          style="float:left"
38
+          @click="toTestTwo">创建个人印章</el-button> -->
39
+          
25
      </div>
40
      </div>
26
     
41
     
27
       
42
       
176
 </template>
191
 </template>
177
 
192
 
178
 <script>
193
 <script>
179
-import { adminMainView, getAdmins, setAdminStatus,toSign } from "@/api/role/admin";
194
+import { adminMainView, getAdmins, setAdminStatus,toSign,toTestOne,toTestTwo } from "@/api/role/admin";
180
 import { getRoles } from "@/api/role/role";
195
 import { getRoles } from "@/api/role/role";
181
 
196
 
182
 import { parseTime } from "@/utils";
197
 import { parseTime } from "@/utils";
473
           console.log("sign",sign)
488
           console.log("sign",sign)
474
         }
489
         }
475
       })
490
       })
491
+    },
492
+    toTestOne(){
493
+      toTestOne().then(response=>{
494
+        if(response.data.state==1){
495
+          var sign = response.data.data.sign
496
+          console.log("sign",sign)
497
+        }
498
+      })
499
+    },
500
+    toTestTwo(){
501
+      toTestTwo().then(response=>{
502
+        if(response.data.state ==1){
503
+          var sign = response.data.data.sign
504
+          console.log("sign",sign)
505
+        }
506
+      })
476
     }
507
     }
477
   },
508
   },
478
   watch: {
509
   watch: {

+ 244 - 0
src/xt_pages/stock/drug_damage_print.vue 파일 보기

1
+<template>
2
+    <div class="main-contain">
3
+        <div class="position">
4
+        <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+        <el-row style="float:right;">
6
+            <el-col :span="24">
7
+            <el-button size="small" icon="el-icon-printer" type="primary" @click="printAction">打印</el-button>
8
+            </el-col>
9
+        </el-row>
10
+        </div>
11
+        <div class="app-container" style="background-color: white;">
12
+            <div id="print_content">
13
+
14
+                <table class="printTable" border="0" cellspacing="0" align="center">
15
+                    <thead class="print_head">
16
+                        <tr><td colspan="11">{{org_name}}</td></tr>
17
+                        <tr><td colspan="11">药品盘点</td></tr>
18
+                    </thead>
19
+                    <tbody class="print_body">
20
+                    <tr>
21
+                        <td>报损日期</td>
22
+                        <td>药品名称</td>
23
+                        <td>规格</td>
24
+                        <td>总损耗数量</td>
25
+                        <td>总报损金额</td>
26
+                        <td>仓库名称</td>
27
+                        <td>操作人</td>
28
+                        
29
+                    </tr>
30
+                    <tr v-for="(item,index) in tableList" :key="index">
31
+                        <td>
32
+                            {{getTime(item.start_time)}}
33
+                        </td>
34
+                        <td>
35
+                            {{item.drug_name}}
36
+                        </td>
37
+                        <td>
38
+                            {{item.specification_name}}
39
+                        </td>
40
+                        <td>
41
+                            {{getTotalCount(item.drug_id,item.max_unit,item.min_unit,item.min_number)}}
42
+                        </td>
43
+                        <td>
44
+                            {{getTotalPrice(item.drug_id,item.min_price)}}
45
+                        </td>
46
+                        <td>
47
+                            {{getHouseName(item.storehouse_id)}}
48
+                        </td>
49
+                        <td>
50
+                            {{getDoctorName(item.creater)}}
51
+                        </td>
52
+                      
53
+                    </tr>
54
+                    </tbody>
55
+                </table>
56
+            </div>
57
+        </div>
58
+    </div>
59
+</template>
60
+
61
+<script>
62
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
63
+const moment = require('moment');
64
+import { uParseTime } from '@/utils/tools'
65
+import { getDrugDamageList } from "@/api/drug/drug"
66
+import print from "print-js";
67
+export default {
68
+    components:{
69
+        BreadCrumb
70
+    },
71
+    data(){
72
+        return{
73
+          crumbs: [
74
+            { path: false, name: '库存管理' },
75
+            { path: false, name: '耗材管理' },
76
+            { path: false, name: '耗材盘点打印' },
77
+          ],
78
+          org_name: this.$store.getters.xt_user.org.org_name,
79
+          ids:"",
80
+          tableList:[],
81
+          manufacturerList:[],
82
+          houseList:[],
83
+          datamageList:[],
84
+          doctorList:[]
85
+        }
86
+    },
87
+    methods:{
88
+        printAction: function() {
89
+            const style = '@page{size:landscape;margin: 10mm;} @media print { print_content{width:960px;margin:0} .flex{display: flex;justify-content: space-between;} .printTable{width:100%;border-collapse: collapse;border:0px;margin:10px 0;} .printTable thead{text-align:center}.printTable td{padding:5px;} .print_body tr td{border: 1px solid;font-size:12px;border-collapse:collapse;} }';
90
+            printJS({ 
91
+            printable: 'print_content',
92
+            type: 'html',
93
+            documentTitle: '  ',
94
+            style: style,
95
+            scanStyles: false
96
+            })
97
+        },
98
+        getTime(val) {
99
+         if(val < 0){
100
+            return ""
101
+          }
102
+         if(val == ""){
103
+            return ""
104
+          }else {
105
+            return uParseTime(val, '{y}-{m}-{d}')
106
+         }
107
+        },
108
+        getlist(){
109
+        var params = {
110
+          limit:this.$route.query.limit,
111
+          page:this.$route.query.page,
112
+          start_time:this.$route.query.start_time,
113
+          end_time:this.$route.query.end_time,
114
+          keyword:this.$route.query.keyword,
115
+          storehouse_id:this.$route.query.storehouse_id,
116
+        }
117
+
118
+        getDrugDamageList(params).then(response=>{
119
+           if(response.data.state == 1){
120
+             this.tableList = response.data.data.list
121
+             this.total = response.data.data.total
122
+             this.doctorList = response.data.data.doctorList
123
+             var datamagelist = response.data.data.damagelist
124
+             this.datamageList = datamagelist
125
+             var obj = {id:0,storehouse_name:"全部"}
126
+             this.houseList = []
127
+             this.houseList.push(obj)
128
+             for(let i=0;i<response.data.data.houseList.length;i++){
129
+              this.houseList.push(response.data.data.houseList[i])
130
+             }
131
+           }
132
+        })
133
+      },
134
+        getManufacturerName(id){
135
+           var name = ""
136
+           for(let i=0;i<this.manufacturerList.length;i++){
137
+              if(id == this.manufacturerList[i].id){
138
+                  name = this.manufacturerList[i].manufacturer_name
139
+              }
140
+           }
141
+           return name
142
+        },
143
+        getHouseName(id){
144
+         var storehouse_name = ""
145
+         for(let i=0;i<this.houseList.length;i++){
146
+           if(id == this.houseList[i].id){
147
+              storehouse_name = this.houseList[i].storehouse_name
148
+           }
149
+         }
150
+         if(storehouse_name == "全部"){
151
+           return ""
152
+         }else{
153
+           return storehouse_name
154
+         }
155
+       },
156
+       getDamageCount(good_id){
157
+        var count = 0
158
+        for(let i=0;i<this.damageList.length;i++){
159
+          if(good_id == this.damageList[i].good_id){
160
+             count = this.damageList[i].count
161
+          }
162
+        }
163
+        return count
164
+      },
165
+      getAllDamageCount(good_id,price){
166
+        var count = 0
167
+        for(let i=0;i<this.damageList.length;i++){
168
+          if(good_id == this.damageList[i].good_id){
169
+             count = this.damageList[i].count
170
+          }
171
+        }
172
+        return (count * price).toFixed(2)
173
+      },
174
+      getStorehouseName(id){
175
+        var storehouse_name = ""
176
+        for(let i=0;i<this.houseList.length;i++){
177
+          if(id == this.houseList[i].id){
178
+            storehouse_name = this.houseList[i].storehouse_name
179
+          }
180
+        }
181
+        if(storehouse_name == "全部"){
182
+          return ""
183
+        }else{
184
+          return storehouse_name
185
+        }
186
+      },
187
+    
188
+      getTotalCount(drugid,max_unit,min_unit,min_number){
189
+
190
+        var total = 0
191
+        var str = ""
192
+        var str_min = ""
193
+        for(let i=0;i<this.datamageList.length;i++){
194
+        if(drugid == this.datamageList[i].drug_id){
195
+            total +=this.datamageList[i].count
196
+        }
197
+        }
198
+        if(parseInt(total/min_number)!=0){
199
+        str = parseInt(total/min_number) + max_unit
200
+        }
201
+        if((total%min_number)!=0){
202
+        str_min = total%min_number + min_unit
203
+        }
204
+        return str+str_min
205
+        },
206
+        getTotalPrice(drugid,minprice){
207
+        var total = 0
208
+        for(let i=0;i<this.datamageList.length;i++){
209
+        if(drugid == this.datamageList[i].drug_id){
210
+            total+=this.datamageList[i].count
211
+        }
212
+        }
213
+        return (total*minprice).toFixed(2)
214
+    },
215
+    getDoctorName(id){
216
+        var user_name = ""
217
+        for(let i=0;i<this.doctorList.length;i++){
218
+          if(id == this.doctorList[i].admin_user_id){
219
+            user_name = this.doctorList[i].user_name
220
+          }
221
+        }
222
+        return user_name
223
+     },
224
+    },
225
+    created(){
226
+
227
+      this.getlist()
228
+    }
229
+}
230
+</script>
231
+
232
+
233
+<style rel="stylesheet/scss" lang="scss" scoped>
234
+.printTitle{font-size: 22px;text-align: center;}
235
+.flex{display: flex;justify-content: space-between;}
236
+.tableTitle{display: flex;border-top:1px solid #000;border-bottom: 1px solid #000;padding: 10px 0;}
237
+.tableTr{display: flex;border-bottom: 1px dashed #000;padding: 10px 0;}
238
+.tableBottom{display: flex;border-bottom: 1px solid #000;padding: 10px 0;}
239
+.printTable{width:100%;border-collapse: collapse;}
240
+.printTable td{padding:5px;}
241
+.print_head{border: none;display: table-header-group;}
242
+.print_head tr td{text-align: center;border: none;}
243
+.print_body tr td{border:1px solid}
244
+</style>

+ 17 - 1
src/xt_pages/stock/drugs/components/drugQuery.vue 파일 보기

94
                 {{getManufacturName(scope.row.manufacturer)}}
94
                 {{getManufacturName(scope.row.manufacturer)}}
95
               </template>
95
               </template>
96
             </el-table-column>
96
             </el-table-column>
97
+            <el-table-column label="经销商" align="center" v-if="org_id ==10485">
98
+              <template slot-scope="scope">
99
+                  {{getDearName(scope.row.dealer)}}
100
+              </template>
101
+            </el-table-column>
97
             <el-table-column label="批准文号" align="center">
102
             <el-table-column label="批准文号" align="center">
98
               <template slot-scope="scope">
103
               <template slot-scope="scope">
99
                 {{scope.row.number}}
104
                 {{scope.row.number}}
402
      isClose: false,
407
      isClose: false,
403
      drug_type: 0,
408
      drug_type: 0,
404
      storehouseId:0,
409
      storehouseId:0,
410
+     dealerList:[],
405
     }
411
     }
406
   
412
   
407
   },
413
   },
454
            this.manufacturerList = response.data.data.manufacturerList
460
            this.manufacturerList = response.data.data.manufacturerList
455
            this.goodTypeList = response.data.data.goodTypeList
461
            this.goodTypeList = response.data.data.goodTypeList
456
            this.patientList = response.data.data.patientList
462
            this.patientList = response.data.data.patientList
463
+           this.dealerList = response.data.data.dealerList
457
          }
464
          }
458
       })
465
       })
459
     },
466
     },
1489
           this.$message.success("保存成功!")
1496
           this.$message.success("保存成功!")
1490
         }
1497
         }
1491
       })
1498
       })
1492
-    }
1499
+    },
1500
+    getDearName(id){
1501
+      var dear_name = ""
1502
+      for(let i=0;i<this.dealerList.length;i++){
1503
+        if(id == this.dealerList[i].id){
1504
+          dear_name = this.dealerList[i].dealer_name
1505
+        }
1506
+      }
1507
+      return dear_name
1508
+    },
1493
   },
1509
   },
1494
   created(){
1510
   created(){
1495
     this.getStorehouseList()
1511
     this.getStorehouseList()

+ 14 - 1
src/xt_pages/stock/drugs/drugDamaged.vue 파일 보기

24
       @click="search"
24
       @click="search"
25
       >搜索</el-button
25
       >搜索</el-button
26
       >
26
       >
27
+     
27
       <el-date-picker
28
       <el-date-picker
28
       size="small"
29
       size="small"
29
       v-model="start_time"
30
       v-model="start_time"
40
       placeholder="选择日期"
41
       placeholder="选择日期"
41
       @change="changeEndTime">
42
       @change="changeEndTime">
42
       </el-date-picker>
43
       </el-date-picker>
44
+
45
+      <el-button
46
+      size="small"
47
+      class="filter-item"
48
+      type="primary"
49
+      icon="el-icon-search"
50
+      @click="toPrint"
51
+      >打印</el-button
52
+      >
43
     </div>
53
     </div>
44
     <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" >
54
     <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" >
45
-        <el-table-column type="selection" width="55" align="center"> </el-table-column>
55
+        <!-- <el-table-column type="selection" width="55" align="center"> </el-table-column> -->
46
         <el-table-column  prop="date" label="报损日期" align="center">
56
         <el-table-column  prop="date" label="报损日期" align="center">
47
             <template slot-scope="scope">
57
             <template slot-scope="scope">
48
               {{getTime(scope.row.start_time)}}
58
               {{getTime(scope.row.start_time)}}
474
       }else{
484
       }else{
475
         return storehouse_name
485
         return storehouse_name
476
       }
486
       }
487
+     },
488
+     toPrint(){
489
+      this.$router.push({path:'/stock/drug_damage/print?storehouse_id='+this.storehouse_id+"&limit="+this.limit+"&page="+this.page+"&start_time"+this.start_time+"&end_time="+this.end_time+"&keyword"+this.searchKey}) 
477
      }
490
      }
478
     },
491
     },
479
     created(){
492
     created(){

+ 21 - 0
src/xt_pages/stock/drugs/inventoryDetails.vue 파일 보기

99
                  <span v-if="scope.row.inventory_type == 11">盘亏</span>
99
                  <span v-if="scope.row.inventory_type == 11">盘亏</span>
100
                </template>
100
                </template>
101
             </el-table-column>
101
             </el-table-column>
102
+
103
+            <el-table-column prop="name" label="盘点人"  width="100" align="center">
104
+                <template slot-scope="scope">
105
+                   {{getName(scope.row.creater)}}
106
+                </template>
107
+            </el-table-column>
108
+
109
+            <el-table-column prop="name" label="盘点时间"  width="100" align="center">
110
+                <template slot-scope="scope">
111
+                   {{ getTime(scope.row.ctime) }}
112
+                </template>
113
+            </el-table-column>
102
         </el-table>
114
         </el-table>
103
         <el-pagination
115
         <el-pagination
104
             @size-change="handleSizeChange"
116
             @size-change="handleSizeChange"
222
         console.log("str",str)
234
         console.log("str",str)
223
         this.ids = str  
235
         this.ids = str  
224
       },
236
       },
237
+      getName(admin_user_id){
238
+         var user_name = ""
239
+         for(let i=0;i<this.doctorList.length;i++){
240
+           if(admin_user_id == this.doctorList[i].admin_user_id){
241
+               user_name = this.doctorList[i].user_name
242
+           }
243
+         }
244
+         return user_name
245
+      }
225
     },
246
     },
226
     created(){
247
     created(){
227
       this.getlist()
248
       this.getlist()

+ 26 - 2
src/xt_pages/stock/inventoryDetails.vue 파일 보기

41
                   {{scope.row.good_name}}
41
                   {{scope.row.good_name}}
42
                 </template>
42
                 </template>
43
             </el-table-column>
43
             </el-table-column>
44
-            <el-table-column prop="name" label="规格" width="200" align="center">
44
+            <el-table-column prop="name" label="规格" width="100" align="center">
45
                <template slot-scope="scope">
45
                <template slot-scope="scope">
46
                   {{scope.row.specification_name}}
46
                   {{scope.row.specification_name}}
47
                 </template>
47
                 </template>
48
             </el-table-column>
48
             </el-table-column>
49
 
49
 
50
-            <el-table-column  prop="name" label="有效日期" width="200" align="center">
50
+            <el-table-column  prop="name" label="有效日期" width="100" align="center">
51
                <template slot-scope="scope">
51
                <template slot-scope="scope">
52
                  {{getTime(scope.row.expire_date)}}
52
                  {{getTime(scope.row.expire_date)}}
53
                </template>
53
                </template>
88
                 <span v-if="scope.row.inventory_type ==7">有效期到期</span>
88
                 <span v-if="scope.row.inventory_type ==7">有效期到期</span>
89
                </template>
89
                </template>
90
             </el-table-column>
90
             </el-table-column>
91
+
92
+            <el-table-column prop="name" label="盘点人"  width="100" align="center">
93
+                <template slot-scope="scope">
94
+                   {{getName(scope.row.creater)}}
95
+                </template>
96
+            </el-table-column>
97
+
98
+            <el-table-column prop="name" label="盘点时间"  width="100" align="center">
99
+                <template slot-scope="scope">
100
+                   {{ getTime(scope.row.ctime) }}
101
+                </template>
102
+            </el-table-column>
91
           
103
           
92
         </el-table>
104
         </el-table>
93
         <el-pagination
105
         <el-pagination
107
 <script>
119
 <script>
108
 import { uParseTime } from '@/utils/tools'
120
 import { uParseTime } from '@/utils/tools'
109
 import { getInventoryDetailList } from "@/api/stock"
121
 import { getInventoryDetailList } from "@/api/stock"
122
+import user from '../../store/modules/user';
110
 
123
 
111
 export default {
124
 export default {
112
     name: "inventory",
125
     name: "inventory",
127
             damageList:[],
140
             damageList:[],
128
             storehouse_id:0,
141
             storehouse_id:0,
129
             houseList:[],
142
             houseList:[],
143
+            docList:[]
130
          }
144
          }
131
     },
145
     },
132
     methods:{
146
     methods:{
173
                for(let i=0;i<response.data.data.houseList.length;i++){
187
                for(let i=0;i<response.data.data.houseList.length;i++){
174
                  this.houseList.push(response.data.data.houseList[i])
188
                  this.houseList.push(response.data.data.houseList[i])
175
                }
189
                }
190
+               this.docList = response.data.data.doclist
176
               
191
               
177
              }
192
              }
178
           })
193
           })
236
       changeHouseList(){
251
       changeHouseList(){
237
         this.houseList = []
252
         this.houseList = []
238
         this.getlist()
253
         this.getlist()
254
+      },
255
+      getName(admin_user_id){
256
+         var user_name = ""
257
+         for(let i=0;i<this.docList.length;i++){
258
+           if(admin_user_id == this.docList[i].admin_user_id){
259
+               user_name = this.docList[i].user_name
260
+           }
261
+         }
262
+         return user_name
239
       }
263
       }
240
     },
264
     },
241
     created(){
265
     created(){

+ 202 - 0
src/xt_pages/stock/print_damage.vue 파일 보기

1
+<template>
2
+    <div class="main-contain">
3
+        <div class="position">
4
+        <bread-crumb :crumbs="crumbs"></bread-crumb>
5
+        <el-row style="float:right;">
6
+            <el-col :span="24">
7
+            <el-button size="small" icon="el-icon-printer" type="primary" @click="printAction">打印</el-button>
8
+            </el-col>
9
+        </el-row>
10
+        </div>
11
+        <div class="app-container" style="background-color: white;">
12
+            <div id="print_content">
13
+
14
+                <table class="printTable" border="0" cellspacing="0" align="center">
15
+                    <thead class="print_head">
16
+                        <tr><td colspan="11">{{org_name}}</td></tr>
17
+                        <tr><td colspan="11">耗材盘点</td></tr>
18
+                    </thead>
19
+                    <tbody class="print_body">
20
+                    <tr>
21
+                        <td>报损日期</td>
22
+                        <td>耗材名称</td>
23
+                        <td>耗材规格</td>
24
+                        <td>总损耗数量</td>
25
+                        <td>总报损金额</td>
26
+                        <td>仓库名称</td>
27
+                     
28
+                        
29
+                    </tr>
30
+                    <tr v-for="(item,index) in tableList" :key="index">
31
+                        <td>
32
+                            {{getTime(item.ctime)}}
33
+                        </td>
34
+                        <td>
35
+                           {{item.good_name}}
36
+                        </td>
37
+                        <td>
38
+                          {{item.specification_name}}
39
+                        </td>
40
+                        <td>
41
+                          {{getDamageCount(item.good_id)}}
42
+                        </td>
43
+                        <td>
44
+                            {{getAllDamageCount(item.good_id,item.buy_price)}}   
45
+                        </td>
46
+                        <td>{{getHouseName(item.storehouse_id)}}</td>
47
+                      
48
+                    </tr>
49
+                    </tbody>
50
+                </table>
51
+            </div>
52
+        </div>
53
+    </div>
54
+</template>
55
+
56
+<script>
57
+import BreadCrumb from '@/xt_pages/components/bread-crumb'
58
+const moment = require('moment');
59
+import { uParseTime } from '@/utils/tools'
60
+import { getReportStockList } from "@/api/stock"
61
+import print from "print-js";
62
+export default {
63
+    components:{
64
+        BreadCrumb
65
+    },
66
+    data(){
67
+        return{
68
+          crumbs: [
69
+            { path: false, name: '库存管理' },
70
+            { path: false, name: '耗材管理' },
71
+            { path: false, name: '耗材盘点打印' },
72
+          ],
73
+          org_name: this.$store.getters.xt_user.org.org_name,
74
+          ids:"",
75
+          tableList:[],
76
+          manufacturerList:[],
77
+          houseList:[],
78
+        }
79
+    },
80
+    methods:{
81
+        printAction: function() {
82
+            const style = '@page{size:landscape;margin: 10mm;} @media print { print_content{width:960px;margin:0} .flex{display: flex;justify-content: space-between;} .printTable{width:100%;border-collapse: collapse;border:0px;margin:10px 0;} .printTable thead{text-align:center}.printTable td{padding:5px;} .print_body tr td{border: 1px solid;font-size:12px;border-collapse:collapse;} }';
83
+            printJS({ 
84
+            printable: 'print_content',
85
+            type: 'html',
86
+            documentTitle: '  ',
87
+            style: style,
88
+            scanStyles: false
89
+            })
90
+        },
91
+        getTime(val) {
92
+         if(val < 0){
93
+            return ""
94
+          }
95
+         if(val == ""){
96
+            return ""
97
+          }else {
98
+            return uParseTime(val, '{y}-{m}-{d}')
99
+         }
100
+        },
101
+        getlist(){
102
+          var params = {
103
+            start_time:this.$route.query.start_time,
104
+            end_time:this.$route.query.end_time,
105
+            keyword:this.$route.query.searchKey,
106
+            limit:this.$route.query.limit,
107
+            page:this.$route.query.page,
108
+            storehouse_id:this.$route.query.storehouse_id,
109
+         }
110
+         getReportStockList(params).then(response=>{
111
+          if(response.data.state == 1){
112
+            var list = response.data.data.list
113
+            console.log("list2oo2o2oo2",list)
114
+            this.total = response.data.data.total
115
+            this.tableList = list
116
+            var doctorlist = response.data.data.doctorlist
117
+            this.doctorList = doctorlist
118
+            var damageList =  response.data.data.damageList
119
+            this.damageList = damageList
120
+            var obj = {id:0,storehouse_name:"全部"}
121
+            this.houseList = []
122
+            this.houseList.push(obj)
123
+            for(let i=0;i<response.data.data.houseList.length;i++){
124
+                this.houseList.push(response.data.data.houseList[i])
125
+            }
126
+           }
127
+          })   
128
+        },
129
+        getManufacturerName(id){
130
+           var name = ""
131
+           for(let i=0;i<this.manufacturerList.length;i++){
132
+              if(id == this.manufacturerList[i].id){
133
+                  name = this.manufacturerList[i].manufacturer_name
134
+              }
135
+           }
136
+           return name
137
+        },
138
+        getHouseName(id){
139
+         var storehouse_name = ""
140
+         for(let i=0;i<this.houseList.length;i++){
141
+           if(id == this.houseList[i].id){
142
+              storehouse_name = this.houseList[i].storehouse_name
143
+           }
144
+         }
145
+         if(storehouse_name == "全部"){
146
+           return ""
147
+         }else{
148
+           return storehouse_name
149
+         }
150
+       },
151
+       getDamageCount(good_id){
152
+        var count = 0
153
+        for(let i=0;i<this.damageList.length;i++){
154
+          if(good_id == this.damageList[i].good_id){
155
+             count = this.damageList[i].count
156
+          }
157
+        }
158
+        return count
159
+      },
160
+      getAllDamageCount(good_id,price){
161
+        var count = 0
162
+        for(let i=0;i<this.damageList.length;i++){
163
+          if(good_id == this.damageList[i].good_id){
164
+             count = this.damageList[i].count
165
+          }
166
+        }
167
+        return (count * price).toFixed(2)
168
+      },
169
+      getStorehouseName(id){
170
+        var storehouse_name = ""
171
+        for(let i=0;i<this.houseList.length;i++){
172
+          if(id == this.houseList[i].id){
173
+            storehouse_name = this.houseList[i].storehouse_name
174
+          }
175
+        }
176
+        if(storehouse_name == "全部"){
177
+          return ""
178
+        }else{
179
+          return storehouse_name
180
+        }
181
+      },
182
+    },
183
+    created(){
184
+
185
+      this.getlist()
186
+    }
187
+}
188
+</script>
189
+
190
+
191
+<style rel="stylesheet/scss" lang="scss" scoped>
192
+.printTitle{font-size: 22px;text-align: center;}
193
+.flex{display: flex;justify-content: space-between;}
194
+.tableTitle{display: flex;border-top:1px solid #000;border-bottom: 1px solid #000;padding: 10px 0;}
195
+.tableTr{display: flex;border-bottom: 1px dashed #000;padding: 10px 0;}
196
+.tableBottom{display: flex;border-bottom: 1px solid #000;padding: 10px 0;}
197
+.printTable{width:100%;border-collapse: collapse;}
198
+.printTable td{padding:5px;}
199
+.print_head{border: none;display: table-header-group;}
200
+.print_head tr td{text-align: center;border: none;}
201
+.print_body tr td{border:1px solid}
202
+</style>

+ 22 - 1
src/xt_pages/stock/query/goodNewQuery.vue 파일 보기

48
             border
48
             border
49
            :cell-class-name="cellStyle"
49
            :cell-class-name="cellStyle"
50
           >
50
           >
51
+          <el-table-column label="耗材编码" align="center" v-if="org_id ==9956 || org_id == 0">
52
+              <template slot-scope="scope">
53
+                 {{ scope.row.good_number?scope.row.good_number:"" }}
54
+              </template>
55
+            </el-table-column>
51
             <el-table-column label="耗材类型" align="center">
56
             <el-table-column label="耗材类型" align="center">
52
               <template slot-scope="scope">
57
               <template slot-scope="scope">
53
                 {{getGoodTypeName(scope.row.good_type_id)}}
58
                 {{getGoodTypeName(scope.row.good_type_id)}}
68
                   {{getManufacturName(scope.row.manufacturer)}}
73
                   {{getManufacturName(scope.row.manufacturer)}}
69
               </template>
74
               </template>
70
             </el-table-column>
75
             </el-table-column>
76
+            <el-table-column label="经销商" align="center" v-if="org_id ==10485">
77
+              <template slot-scope="scope">
78
+                  {{getDearName(scope.row.dealer)}}
79
+              </template>
80
+            </el-table-column>
71
             <el-table-column label="批准文号" align="center">
81
             <el-table-column label="批准文号" align="center">
72
               <template slot-scope="scope">
82
               <template slot-scope="scope">
73
                  {{scope.row.number}}
83
                  {{scope.row.number}}
358
      warehouseOutByList:[],
368
      warehouseOutByList:[],
359
      flushList:[],
369
      flushList:[],
360
      type_name:0,
370
      type_name:0,
361
-     storehouseId:0
371
+     storehouseId:0,
372
+     dealerList:[]
362
     }
373
     }
363
   
374
   
364
   },
375
   },
411
            this.manufacturerList = response.data.data.manufacturerList
422
            this.manufacturerList = response.data.data.manufacturerList
412
            this.goodTypeList = response.data.data.goodTypeList
423
            this.goodTypeList = response.data.data.goodTypeList
413
            this.patientList = response.data.data.patientList
424
            this.patientList = response.data.data.patientList
425
+           this.dealerList = response.data.data.dealerList
414
          }
426
          }
415
       })
427
       })
416
     },
428
     },
445
       }
457
       }
446
       return manufacturer_name
458
       return manufacturer_name
447
     },
459
     },
460
+    getDearName(id){
461
+      var dear_name = ""
462
+      for(let i=0;i<this.dealerList.length;i++){
463
+        if(id == this.dealerList[i].id){
464
+          dear_name = this.dealerList[i].dealer_name
465
+        }
466
+      }
467
+      return dear_name
468
+    },
448
     handleSizeChange(val) {
469
     handleSizeChange(val) {
449
       this.limit = val;
470
       this.limit = val;
450
       this.getlist()
471
       this.getlist()

+ 14 - 1
src/xt_pages/stock/stockDamaged.vue 파일 보기

40
           placeholder="选择日期"
40
           placeholder="选择日期"
41
           @change="changeEndTime">
41
           @change="changeEndTime">
42
       </el-date-picker>
42
       </el-date-picker>
43
+
44
+      <el-button
45
+        size="small"
46
+        class="filter-item"
47
+        type="primary"
48
+        icon="el-icon-printer"
49
+        @click="toPrint">打印</el-button>
43
     </div>
50
     </div>
44
   
51
   
45
     <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
52
     <el-table :data="tableList" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }">
46
-        <el-table-column type="selection" width="55" align="center"> </el-table-column>
53
+        <!-- <el-table-column type="selection" width="55" align="center"> </el-table-column> -->
47
         <el-table-column  prop="date" label="报损日期" align="center">
54
         <el-table-column  prop="date" label="报损日期" align="center">
48
             <template slot-scope="scope">
55
             <template slot-scope="scope">
49
               {{getTime(scope.row.ctime)}}
56
               {{getTime(scope.row.ctime)}}
833
       changeHouseList(){
840
       changeHouseList(){
834
         this.houseList = []
841
         this.houseList = []
835
         this.getlist()
842
         this.getlist()
843
+      },
844
+      toPrint(){
845
+        this.$router.push({path:'/stock/print_damage?storehouse_id='+this.storehouse_id+"&start_time="+this.start_time+"&end_time="+this.end_time+"&keyword="+this.searchKey+"&limit="+this.limit+"&page="+this.page})
846
+      },
847
+      SaveCheckedDamage(){
848
+
836
       }
849
       }
837
     },
850
     },
838
     created(){
851
     created(){

+ 8 - 0
src/xt_pages/user/components/PatientForm.vue 파일 보기

1497
       this.submitMsg = "新增患者成功";
1497
       this.submitMsg = "新增患者成功";
1498
       this.form = Object.assign({}, defaultForm);
1498
       this.form = Object.assign({}, defaultForm);
1499
       this.form.lapseto  = 1
1499
       this.form.lapseto  = 1
1500
+      if(this.org_id == 0 || this.org_id ==9919){
1501
+         this.form.diagnose = "1.慢性肾脏病5期  IgA肾病 维持性血液透析 肾性贫血 肾性高血压  继发性甲状旁腺功能亢进症  2.右前臂自体动静脉内瘘成形术后"
1502
+         this.form.treatment_plan ="完善相关检查,规律血液透析,每周2次,每次5小时。纠正贫血,  达泊丁 (自备) 120ug  皮下注射  每4周1次;控制血压:非洛地平缓释片 5mg    口服  1次/日,酒石酸美托洛尔片 50mg/次 口服  每日1次;阿托伐他汀钙片 40mg/次  口服  每日1次。"
1503
+         this.form.patient_complains = "维持性血液透析1年余"
1504
+         this.form.past_history = "既往否认冠心病、糖尿病等慢性疾病;否认肝炎、结核、艾滋、梅毒等传染病史;否认药物、食物过敏史;无重大手术、外伤史。"
1505
+         this.form.present_history = "患者于30年前体检查尿蛋白+,行肾穿刺活检,病理结果示:IgA肾病,此后于香港当地医院规范治疗,定时复查,至2021年12月复查发现血肌酐渐升高,300+umol/L,血压高于正常,开始为肾透析行右前臂自体动静脉内瘘成形术,1年前导入透析治疗,每周2次,每次5小时,规律维持至今。平素无胸闷、心慌,无咳嗽、咳痰,无恶心、呕吐,饮食、睡眠可,尿量约1000ml/日。本次检查感染四项阴性,血红蛋白103g/L,PTH 28.2pmol/L, Ca 2.17mmol/L ,P 1.57mmol/L。"
1506
+         this.form.remark = "神志清,精神可,体型肥胖,面色黝黑,颜面、眼睑无浮肿,皮肤未见出血点、瘀斑;胸廓对称,心前区无隆起,心界向左扩大,心音有力,节律规整,未闻及明显杂音,双肺呼吸音粗;腹部呈脂肪堆积,腹软,无包块、无皮疹、无静脉曲张、无压痛;脊柱、四肢未见畸形,关节活动正常,肌力正常;双下肢无明显水肿;右前臂自体动静脉内瘘能触及震颤、闻及连续杂音。"
1507
+      }
1500
     }
1508
     }
1501
 
1509
 
1502
   },
1510
   },

+ 187 - 9
src/xt_pages/user/inspection.vue 파일 보기

40
         </el-col>
40
         </el-col>
41
         <el-col :span="17" v-loading="itemLoading">
41
         <el-col :span="17" v-loading="itemLoading">
42
           <div class="filter-container" style="float:right">
42
           <div class="filter-container" style="float:right">
43
+
44
+            <el-button
45
+              size="small"
46
+              class="filter-item"
47
+              type="primary"
48
+              @click="setRemindDialog()"
49
+              v-if="project && project.project_id != 14"
50
+              icon="el-icon-circle-plus-outline"
51
+              :disabled="project ? false : true"
52
+            >设置提醒弹窗
53
+            </el-button>
54
+
55
+            <el-button
56
+              size="small"
57
+              class="filter-item"
58
+              type="primary"
59
+              @click="setRemind()"
60
+              v-if="project && project.project_id != 14"
61
+              icon="el-icon-circle-plus-outline"
62
+              :disabled="project ? false : true"
63
+            >设置提醒周期
64
+            </el-button>
65
+
43
             <el-button
66
             <el-button
44
               size="small"
67
               size="small"
45
               class="filter-item"
68
               class="filter-item"
210
       </el-row>
233
       </el-row>
211
     </div>
234
     </div>
212
 
235
 
236
+    <el-dialog
237
+      :title="formTitle"
238
+      :visible.sync="dialogRemindFormVisible"
239
+      width="1000px"
240
+      id="user-inspection-form"
241
+    >
242
+      <el-form :model="form" ref="form" label-position="top">
243
+        <el-row>
244
+          <el-col :span="24">
245
+            <el-form-item label="周期提醒: ">
246
+              <el-radio-group v-model="temp_remind_cycle">
247
+                <el-radio :label="1">一月一次</el-radio>
248
+                <el-radio :label="2">两月一次</el-radio>
249
+                <el-radio :label="3">三月一次</el-radio>
250
+                <el-radio :label="4">半年一次</el-radio>
251
+                <el-radio :label="5">一年一次</el-radio>
252
+              </el-radio-group>
253
+            </el-form-item>
254
+          </el-col>
255
+
256
+<!--          <el-col :span="24">-->
257
+<!--            <p style="margin-top:20px;">是否弹窗提醒:-->
258
+<!--              <el-switch v-model="is_open"></el-switch>-->
259
+<!--            </p>-->
260
+<!--          </el-col>-->
261
+        </el-row>
262
+      </el-form>
263
+      <div slot="footer" class="dialog-footer">
264
+        <el-button @click="dialogRemindFormVisible = false">取 消</el-button>
265
+        <el-button
266
+          type="primary"
267
+          @click="submitNewRemind()"
268
+        >保 存
269
+        </el-button
270
+        >
271
+      </div>
272
+    </el-dialog>
273
+
274
+    <el-dialog
275
+      :visible.sync="dialogRemindDialogFormVisible"
276
+      width="1000px"
277
+      id="user-inspection-form"
278
+    >
279
+      <el-col :span="24">
280
+        <p style="margin-top:20px;">是否弹窗提醒:
281
+          <el-switch v-model="is_open"></el-switch>
282
+        </p>
283
+      </el-col>
284
+      <div slot="footer" class="dialog-footer">
285
+        <el-button @click="dialogRemindDialogFormVisible = false">取 消</el-button>
286
+        <el-button
287
+          type="primary"
288
+          @click="submitRemindDialog()"
289
+        >保 存
290
+        </el-button
291
+        >
292
+      </div>
293
+    </el-dialog>
294
+
295
+
296
+
213
     <el-dialog
297
     <el-dialog
214
       :title="formTitle"
298
       :title="formTitle"
215
       :visible.sync="dialogFormVisible"
299
       :visible.sync="dialogFormVisible"
410
   DeletePatientInspection,
494
   DeletePatientInspection,
411
   EditPatientInspection,
495
   EditPatientInspection,
412
   fetchInspectionReference,
496
   fetchInspectionReference,
413
-  fetchPatientInspections
497
+  fetchPatientInspections,
498
+  setRemind,
499
+  setRemindDialog
414
 } from '@/api/inspection'
500
 } from '@/api/inspection'
415
 import { getFileExtension, uParseTime } from '@/utils/tools'
501
 import { getFileExtension, uParseTime } from '@/utils/tools'
416
 
502
 
419
   components: { PatientSidebar, ElImageViewer},
505
   components: { PatientSidebar, ElImageViewer},
420
   data() {
506
   data() {
421
     return {
507
     return {
508
+      temp_remind_cycle:"",
509
+      is_open:false,
510
+      record_id:0,
422
       showViewer:false,
511
       showViewer:false,
423
       imgs:[],
512
       imgs:[],
424
       total: 0,
513
       total: 0,
436
       },
525
       },
437
       itemName: '请选择项目',
526
       itemName: '请选择项目',
438
       formTitle: '',
527
       formTitle: '',
528
+      dialogRemindFormVisible:false,
529
+      dialogRemindDialogFormVisible:false,
439
       dialogPicFormVisible: false,
530
       dialogPicFormVisible: false,
440
       dialogFormVisible: false,
531
       dialogFormVisible: false,
441
       patient_info: null,
532
       patient_info: null,
610
         })
701
         })
611
         .catch(() => {
702
         .catch(() => {
612
         })
703
         })
613
-    },
614
-    openEdit() {
704
+    },submitRemindDialog(){
705
+      var temp_is_open = 0
706
+      if(this.is_open){
707
+        temp_is_open = 1
708
+      }else{
709
+        temp_is_open = 0
710
+      }
711
+      setRemindDialog(this.record_id,temp_is_open).then(response => {
712
+        if (response.data.state == 0) {
713
+          this.$message.error(response.data.msg)
714
+          return false
715
+        } else {
716
+          this.record_id = response.data.data.config.id
717
+          if(response.data.data.config.is_open == 1){
718
+            this.is_open = true
719
+          }else{
720
+            this.is_open = false
721
+          }
722
+          this.$notify({
723
+            title: '成功',
724
+            message: '设置成功',
725
+            type: 'success',
726
+            duration: 2000
727
+          })
728
+          this.dialogRemindDialogFormVisible = false
729
+        }
730
+      })
731
+    },submitNewRemind(){
732
+      // console.log(this.is_open)
733
+      var params = {
734
+        patient: this.patientID,
735
+        project_id: this.project.project_id,
736
+        remind_cycle: this.temp_remind_cycle
737
+      }
738
+      setRemind(params).then(response => {
739
+        if (response.data.state == 0) {
740
+          this.$message.error(response.data.msg)
741
+          return false
742
+        } else {
743
+          this.$notify({
744
+            title: '成功',
745
+            message: '设置成功',
746
+            type: 'success',
747
+            duration: 2000
748
+          })
749
+          this.dialogRemindFormVisible = false
750
+        }
751
+      })
752
+    }, openEdit() {
615
 
753
 
616
       if (this.project == null) {
754
       if (this.project == null) {
617
         this.$message.error('请先选择项目')
755
         this.$message.error('请先选择项目')
641
         this.form.project_id = this.project.project_id
779
         this.form.project_id = this.project.project_id
642
         this.form.inspect_date = this.itemDate
780
         this.form.inspect_date = this.itemDate
643
         this.form.old_inspect_date = this.itemDate
781
         this.form.old_inspect_date = this.itemDate
644
-        this.form.remind_cycle = this.patient_info.remind_cycle
782
+        if(this.form.project_id == 14) {
783
+          this.form.remind_cycle = this.patient_info.remind_cycle
784
+        }else{
785
+          this.form.remind_cycle =""
786
+        }
645
         console.log(this.form.remind_cycle)
787
         console.log(this.form.remind_cycle)
646
 
788
 
647
         this.form.formItem = []
789
         this.form.formItem = []
664
 
806
 
665
       }
807
       }
666
 
808
 
667
-    },
668
-    openPic() {
809
+    },setRemindDialog(){
810
+      this.dialogRemindDialogFormVisible = true
811
+
812
+
813
+    },setRemind(){
814
+      this.dialogRemindFormVisible = true
815
+      // this.temp_remind_cycle = this.
816
+
817
+    },openPic() {
669
       if (this.project == null) {
818
       if (this.project == null) {
670
         this.$message.error('请先选择项目')
819
         this.$message.error('请先选择项目')
671
         return false
820
         return false
676
       this.form.project_id = this.project.project_id
825
       this.form.project_id = this.project.project_id
677
       this.form.imgs=[]
826
       this.form.imgs=[]
678
       this.form.delete_imgs=[]
827
       this.form.delete_imgs=[]
679
-      this.form.remind_cycle = this.patient_info.remind_cycle
828
+      if(this.form.project_id == 14) {
829
+        this.form.remind_cycle = this.patient_info.remind_cycle
830
+      }
680
       var today = new Date()
831
       var today = new Date()
681
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
832
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
682
       this.form.formItem = []
833
       this.form.formItem = []
713
       this.form.method = 'add'
864
       this.form.method = 'add'
714
       this.formTitle = '新增' + this.project.project_name
865
       this.formTitle = '新增' + this.project.project_name
715
       this.form.project_id = this.project.project_id
866
       this.form.project_id = this.project.project_id
716
-      this.form.remind_cycle = this.patient_info.remind_cycle
867
+      if(this.form.project_id == 14) {
868
+        this.form.remind_cycle = this.patient_info.remind_cycle
869
+      }
870
+      // this.form.remind_cycle = this.patient_info.remind_cycle
717
       var today = new Date()
871
       var today = new Date()
718
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
872
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
719
       this.form.formItem = []
873
       this.form.formItem = []
1049
             this.projects = reference
1203
             this.projects = reference
1050
             this.patient_info = patient_info
1204
             this.patient_info = patient_info
1051
             this.pageLoading = false
1205
             this.pageLoading = false
1052
-            this.form.remind_cycle = this.patient_info.remind_cycle
1206
+
1207
+            // this.form.remind_cycle = this.patient_info.remind_cycle
1053
           } else {
1208
           } else {
1054
             this.$message.error(response.data.msg)
1209
             this.$message.error(response.data.msg)
1055
             return false
1210
             return false
1099
             var inspections = response.data.data.inspections
1254
             var inspections = response.data.data.inspections
1100
             this.total = response.data.data.total
1255
             this.total = response.data.data.total
1101
             this.itemDate = response.data.data.date
1256
             this.itemDate = response.data.data.date
1257
+            let remind = response.data.data.remind
1258
+
1259
+            let config = response.data.data.config
1260
+            this.record_id = config.id
1261
+            if(config.id > 0){
1262
+
1263
+              if(config.is_open == 1){
1264
+                this.is_open = true
1265
+              }else{
1266
+                this.is_open = false
1267
+
1268
+              }
1269
+            }else{
1270
+              this.is_open = false
1271
+            }
1272
+
1273
+
1274
+            if(remind.id > 0 && remind.remind_cycle > 0){
1275
+              this.temp_remind_cycle = remind.remind_cycle
1276
+            }else{
1277
+              this.temp_remind_cycle = ""
1278
+            }
1279
+
1102
             this.inspections = response.data.data.inspections
1280
             this.inspections = response.data.data.inspections
1103
             if (inspections == null) {
1281
             if (inspections == null) {
1104
               this.inspections = []
1282
               this.inspections = []

+ 1 - 1
src/xt_pages/workforce/components/nextTableWeeks.vue 파일 보기

665
     },
665
     },
666
     signPrint() {
666
     signPrint() {
667
         
667
         
668
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
668
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id ==10375){
669
          var zone = this.zone
669
          var zone = this.zone
670
           var newArr = []
670
           var newArr = []
671
           for(let i=0;i<this.zoneList.length;i++){
671
           for(let i=0;i<this.zoneList.length;i++){

+ 3 - 3
src/xt_pages/workforce/components/tableData.vue 파일 보기

1379
             }
1379
             }
1380
           }
1380
           }
1381
         } else {
1381
         } else {
1382
-          if(column.label == '晚' ){
1383
-            return 'evening_border'
1384
-          }
1382
+          // if(column.label == '晚' ){
1383
+          //   return 'evening_border'
1384
+          // }
1385
         }
1385
         }
1386
       }
1386
       }
1387
       return "";
1387
       return "";

+ 1 - 1
src/xt_pages/workforce/components/tableWeeks.vue 파일 보기

888
       ,
888
       ,
889
       signPrint() {
889
       signPrint() {
890
 
890
 
891
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 0){
891
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 0 || this.org_id == 10375){
892
          var zone = this.zone
892
          var zone = this.zone
893
           console.log("zone23232",zone)
893
           console.log("zone23232",zone)
894
           var newArr = []
894
           var newArr = []