Procházet zdrojové kódy

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

杨青 před 1 rokem
rodič
revize
8f6e6cda61
33 změnil soubory, kde provedl 1382 přidání a 240 odebrání
  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 Zobrazit soubor

@@ -382,4 +382,21 @@ export function deleteObjectRegistration(id,params){
382 382
     method:"get",
383 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 Zobrazit soubor

@@ -92,4 +92,20 @@ export function toSign(params){
92 92
     method:"get",
93 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 Zobrazit soubor

@@ -506,7 +506,25 @@ export default {
506 506
       hidden: true,
507 507
       is_menu: false,
508 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 Zobrazit soubor

@@ -45,7 +45,7 @@
45 45
 
46 46
                 <el-table-column prop="fenopda" label="使用数量" align="center" min-width="60">
47 47
                     <template slot-scope="scope">
48
-                        {{ scope.row.model_number }}
48
+                        {{ scope.row.user_count }}
49 49
                     </template>
50 50
                 </el-table-column>
51 51
 
@@ -128,20 +128,29 @@
128 128
                 <el-form :model="form" ref="form">
129 129
                     <el-row :span="24">
130 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 132
                             <el-date-picker
133 133
                             value-format="yyyy-MM-dd"
134 134
                             v-model="form.record_date"
135 135
                             type="date"
136 136
                             placeholder="选择日期时间"
137
-                            style="width: 150px;">
137
+                            style="width: 150px;"
138
+                            @change="changeModelNumber">
138 139
                             </el-date-picker>
139 140
                         </el-form-item>
140 141
                       </el-col>
141 142
 
142 143
                       <el-col :span="8">
143 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 154
                         </el-form-item>
146 155
                       </el-col>
147 156
                     
@@ -251,14 +260,23 @@
251 260
                             v-model="form.record_date"
252 261
                             type="date"
253 262
                             placeholder="选择日期时间"
254
-                            style="width: 150px;">
263
+                            style="width: 150px;"
264
+                            @change="changeModelNumber">
255 265
                             </el-date-picker>
256 266
                         </el-form-item>
257 267
                       </el-col>
258 268
 
259 269
                       <el-col :span="8">
260 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 280
                         </el-form-item>
263 281
                       </el-col>
264 282
                     
@@ -427,7 +445,9 @@
427 445
         getRegistrationDisInfectList,
428 446
         getObjectRegistrationByIdList,
429 447
         UpdateObjectRegistration,
430
-        deleteObjectRegistration 
448
+        deleteObjectRegistration,
449
+        getRegistGoodInforList,
450
+        getRegistNumber 
431 451
     } from "@/api/device"
432 452
     import { uParseTime } from '@/utils/tools'
433 453
     const moment = require('moment')
@@ -491,10 +511,11 @@
491 511
          ],
492 512
          operators: [],
493 513
          operatorMaps:{},
494
-         
514
+         goodList:[],
495 515
         }
496 516
       },
497 517
       created(){
518
+        this.getRegistGoodInforList()
498 519
         this.getAllDoctorList()
499 520
         this.getlist()
500 521
       },
@@ -723,10 +744,16 @@
723 744
                 if(this.form.packaging_identification ==false ){
724 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 753
                 var params = {
727 754
                     id:this.form.id,
728 755
                     record_date:this.form.record_date,
729
-                    model_number:this.form.model_number,
756
+                    model_number:model_number,
730 757
                     user_count:this.form.user_count.toString(),
731 758
                     product_date:this.form.product_date,
732 759
                     expiry_date:this.form.expiry_date,
@@ -844,9 +871,15 @@
844 871
               if(this.form.packaging_identification ==false ){
845 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 880
               var params = {
848 881
                 record_date:this.form.record_date,
849
-                model_number:this.form.model_number,
882
+                model_number:model_number,
850 883
                 user_count:this.form.user_count.toString(),
851 884
                 product_date:this.form.product_date,
852 885
                 expiry_date:this.form.expiry_date,
@@ -870,6 +903,32 @@
870 903
       },
871 904
       toSeach(){
872 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 Zobrazit soubor

@@ -1336,6 +1336,7 @@
1336 1336
                           <td width="50">脉搏<br />(次/分)</td>
1337 1337
                           <td width="50">呼吸<br />(次/分)</td>
1338 1338
                           <td width="50">血流量<br />(ml/min)</td>
1339
+                          <td width="50" v-if="org_id == 10478 || org_id == 0">动脉压<br />(mmHg)</td>
1339 1340
                           <td width="50">静脉压<br />(mmHg)</td>
1340 1341
                           <td width="50">跨膜压<br />(mmHg)</td>
1341 1342
                           <td width="60" v-if="org_id != 9836">
@@ -1378,6 +1379,7 @@
1378 1379
                           >
1379 1380
                           置换液的速度<br />(ml/h)
1380 1381
                           </td>
1382
+                          <td width="50" v-if="org_id == 0 || org_id == 10375">置换率<br />(ml/h)</td>
1381 1383
                           <td width="50" v-if="org_id != 3877 && org_id != 10449">超滤量<br />(ml)</td>
1382 1384
                           <td width="50" v-if="org_id ==3877 || org_id ==10449">累计超滤量<br />(ml)</td>
1383 1385
                           <td
@@ -1465,6 +1467,13 @@
1465 1467
                                 : ""
1466 1468
                             }}
1467 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 1477
                           <td>
1469 1478
                             {{
1470 1479
                               monitor_record.venous_pressure
@@ -1554,7 +1563,9 @@
1554 1563
                                 : ""
1555 1564
                             }}
1556 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 1569
                           <td>
1559 1570
                             <span v-if="org_id == 9671 || org_id == 10440 || org_id == 10471">
1560 1571
                                 {{
@@ -1681,6 +1692,7 @@
1681 1692
                         <td></td>
1682 1693
                         <td></td>
1683 1694
                         <td></td>
1695
+                        <td  v-if="org_id == 0 || org_id == 10375"> </td>
1684 1696
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1685 1697
                         <td
1686 1698
                           v-if="
@@ -1757,6 +1769,7 @@
1757 1769
                             执行人签名
1758 1770
                           </td>
1759 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 1773
                         </tr>
1761 1774
                         <!-- <template v-for="group in doctor_advices" > -->
1762 1775
 
@@ -1864,6 +1877,29 @@
1864 1877
                                 getTime(advice[0].execution_time, " {h}:{i}")
1865 1878
                               }}</span>
1866 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 1903
                           </tr>
1868 1904
                         </template>
1869 1905
                       </tbody>
@@ -2391,7 +2427,7 @@
2391 2427
                       <div
2392 2428
                         class="inline_block"
2393 2429
                         style="flex: 1"
2394
-                        v-if="org_id != 10223"
2430
+                        v-if="org_id != 10223 || org_id!=10375"
2395 2431
                       >
2396 2432
                         透析中入量(L):
2397 2433
                         <div
@@ -2649,6 +2685,40 @@
2649 2685
                           }}
2650 2686
                         </div>
2651 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 2722
                     </div>
2653 2723
                   </td>
2654 2724
                 </tr>

+ 7 - 7
src/xt_pages/dialysis/details/DialysisPrescription.vue Zobrazit soubor

@@ -58,8 +58,8 @@
58 58
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{anticoagulant_zongliang != "0" ? anticoagulant_zongliang : ""}}</span>
59 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 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 63
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3" >
64 64
             
65 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,8 +192,8 @@
192 192
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_shouji != "0" ? anticoagulant_shouji : "" }}</span>
193 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 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 197
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
198 198
               <span v-if="this.$store.getters.xt_user.template_info.org_id == 9671">
199 199
                  {{ anticoagulant_shouji != "0" ? "mg" : "" }}
@@ -303,8 +303,8 @@
303 303
           <span class="content" v-if="getValueStr('anticoagulant', 'anticoagulant') != 1">{{ anticoagulant_weichi != "0" ? anticoagulant_weichi : "" }}</span>
304 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 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 308
             <span class="unit" v-if="getValueStr('anticoagulant', 'anticoagulant') == 3">
309 309
               <span v-if="this.$store.getters.xt_user.template_info.org_id ==9671">
310 310
               {{ anticoagulant_weichi != "0" ? "mg/h" : "" }}
@@ -945,7 +945,7 @@ export default {
945 945
   
946 946
   },
947 947
   created() {
948
-   
948
+    console.log("template_id", this.$store.getters.xt_user.template_info.template_id)
949 949
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
950 950
     var map = {}
951 951
     for (let index = 0; index < perfusion_apparatus.length; index++) {

+ 2 - 2
src/xt_pages/dialysis/details/assessmentAfter.vue Zobrazit soubor

@@ -17,8 +17,8 @@
17 17
           <span class="content" v-if="actual_ultrafiltration != '0'">{{
18 18
             actual_ultrafiltration
19 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 22
         </li>
23 23
         <li v-if="isShow('导管')">
24 24
           <label>导管 : </label>

+ 9 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Zobrazit soubor

@@ -29,7 +29,7 @@
29 29
           <el-col :span="8" v-if="isShow('实际超滤量')">
30 30
             <el-form-item
31 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 33
               <el-input v-model="form.actual_ultrafiltration"></el-input>
34 34
             </el-form-item>
35 35
             <el-form-item label="实际超滤量(L): " v-else :prop="isName('实际超滤量')" :rules="isCheckmust('实际超滤量')">
@@ -628,6 +628,12 @@
628 628
             </el-form-item>
629 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 637
       </el-form>
632 638
 
633 639
 
@@ -852,6 +858,7 @@ export default {
852 858
         machine_run:0,
853 859
         after_urea:"",
854 860
         accumulated_blood_volume:"",
861
+     
855 862
       },
856 863
       lapseList:[],
857 864
       leaveOfficeMethod:[],
@@ -1174,6 +1181,7 @@ export default {
1174 1181
           data["after_urea"] = this.form.after_urea
1175 1182
           data["pip_coagulation"] = this.form.pip_coagulation
1176 1183
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1184
+       
1177 1185
           console.log("Data",data)
1178 1186
           console.log("Paramsquery",data)
1179 1187
 

+ 18 - 12
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

@@ -312,11 +312,13 @@
312 312
                         this.$store.getters.xt_user.template_info.org_id != 9829 &&
313 313
                         this.$store.getters.xt_user.template_info.org_id != 10440 &&
314 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 318
                           this.$store.getters.xt_user.template_info.template_id != 45 &&
318 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 322
                             <el-form-item
321 323
                                     v-if='dialysisPrescription.anticoagulant != 1 &&
322 324
                                     this.$store.getters.xt_user.template_info.template_id != 21 &&
@@ -360,7 +362,8 @@
360 362
                                     this.$store.getters.xt_user.template_info.template_id == 38 ||
361 363
                                     this.$store.getters.xt_user.template_info.org_id == 9987 ||
362 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 367
                                     :label="'首剂(mg) : '" prop="anticoagulant_shouji" :rules="isCheckmust('首剂')">
365 368
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
366 369
                                           v-model="dialysisPrescription.anticoagulant_shouji"></el-input>
@@ -411,8 +414,8 @@
411 414
 
412 415
 
413 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 419
                             <el-form-item :label="'维持(' + anticoagulant.weichi_unit + ') : '"
417 420
                                           v-if="anticoagulant.weichi != -1 &&
418 421
                                            this.$store.getters.xt_user.template_info.template_id != 21 &&
@@ -420,7 +423,8 @@
420 423
                                             this.$store.getters.xt_user.template_info.template_id != 38 &&
421 424
                                             this.$store.getters.xt_user.template_info.org_id != 9987  &&
422 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 428
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
425 429
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
426 430
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -435,7 +439,9 @@
435 439
                                           this.$store.getters.xt_user.template_info.org_id == 54 ||
436 440
                                           this.$store.getters.xt_user.template_info.org_id == 10346 ||
437 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 445
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
440 446
                                           v-model="dialysisPrescription.anticoagulant_weichi"></el-input>
441 447
                                 <el-input type="number" disabled v-if="dialysisPrescription.anticoagulant == 1"
@@ -490,10 +496,10 @@
490 496
 
491 497
 
492 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 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 503
                                     :label="'总量(' + anticoagulant.zongliang_unit + ') : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
498 504
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
499 505
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>
@@ -501,7 +507,7 @@
501 507
                                           v-model="dialysisPrescription.no_anticoagulant_zongliang"></el-input>
502 508
                             </el-form-item>
503 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 511
                                     :label="'总量(mg) : '" prop="anticoagulant_zongliang" :rules="isCheckmust('总量')">
506 512
                                 <el-input type="number" v-if="dialysisPrescription.anticoagulant != 1"
507 513
                                           v-model="dialysisPrescription.anticoagulant_zongliang"></el-input>

+ 10 - 13
src/xt_pages/dialysis/details/dialog/doubleCheckDialog.vue Zobrazit soubor

@@ -796,17 +796,17 @@ export default {
796 796
     changeBox(val) {
797 797
       var arr = [];
798 798
       var str = val.join(";");
799
-      if (str.indexOf("透析器/灌流器") != -1 && this.prescription != null) {
799
+      if (str.indexOf("透析器/灌流器/滤过器") != -1 && this.prescription != null) {
800 800
         arr.push(
801
-          "透析器/灌流器:" +
801
+          "透析器/灌流器/滤过器:" +
802 802
             (this.prescription.dialyzer_perfusion_apparatus
803 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 812
       if (str.indexOf("穿刺针") != -1 && this.predialysis_evaluation.id != 0) {
@@ -1366,7 +1366,7 @@ export default {
1366 1366
       if (this.prescription != null && this.prescription.id != 0) {
1367 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 1370
             this.diazes = "透析器/灌流器:";
1371 1371
             this.diazes = this.diazes + this.prescription.dialyzer_perfusion_apparatus;
1372 1372
             this.diazes = this.diazes + this.prescription.dialysis_dialyszers + this.prescription.dialysis_irrigation + "  " +"批号:"+ " ";
@@ -1374,15 +1374,12 @@ export default {
1374 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 1385
         } else {

+ 24 - 12
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Zobrazit soubor

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

+ 55 - 7
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

@@ -1432,6 +1432,14 @@
1432 1432
                         <td width="50">脉搏<br />(次/分)</td>
1433 1433
                         <td width="50">呼吸<br />(次/分)</td>
1434 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 1443
                         <td width="50">
1436 1444
                           静脉压<br />({{
1437 1445
                             monitors[0] &&
@@ -1459,6 +1467,7 @@
1459 1467
                           <span v-if="org_id == 0 || org_id == 10490"> 置换液的速度<br />(ml/h)</span> 
1460 1468
                         </td>
1461 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 1471
                         <td width="50" v-if="org_id != 3877 && org_id != 10449 && org_id != 0">超滤量<br />(ml)</td>
1463 1472
                         <td width="50" v-if="org_id ==3877 || org_id == 10449 || org_id ==0">累计超滤量<br />(ml)</td>
1464 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,6 +1489,13 @@
1480 1489
                         <td>{{ monitor.pulse_frequency? monitor.pulse_frequency: ""}}</td>
1481 1490
                         <td>{{monitor.breathing_rate ? monitor.breathing_rate : ""}}</td>
1482 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 1499
                         <td>
1484 1500
                           {{
1485 1501
                             monitor.venous_pressure
@@ -1550,7 +1566,9 @@
1550 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 1572
                         <td>
1555 1573
                           <span v-if="org_id!=9671 && org_id!=10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1556 1574
                           <span v-if="org_id==9671 || org_id==10440"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span>
@@ -1635,12 +1653,14 @@
1635 1653
                         <td></td>
1636 1654
                         <td></td>
1637 1655
                         <td></td>
1656
+                        <td v-if="org_id == 0 || org_id ==10478"></td>
1638 1657
                         <td></td>
1639 1658
                         <td></td>
1640 1659
                         <td></td>
1641 1660
                         <td></td>
1642 1661
                         <td></td>
1643 1662
                         <td></td>
1663
+                        <td v-if="org_id == 10375 || org_id == 0"><br /></td>
1644 1664
                         <td v-if="org_id == 9671 || org_id == 9919"></td>
1645 1665
                         <td
1646 1666
                           v-if="
@@ -1716,7 +1736,7 @@
1716 1736
                         <td
1717 1737
                           style="font-size: 16px"
1718 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 1742
                         </td>
@@ -1807,7 +1827,7 @@
1807 1827
                             getTime(advice.execution_time, "{h}:{i}")
1808 1828
                           }}</span>
1809 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 1831
                           <span v-if="setAdminUserES(advice.checker) == ''">{{
1812 1832
                             getAdminUser(advice.checker)
1813 1833
                           }}</span>
@@ -2401,7 +2421,7 @@
2401 2421
                     <div
2402 2422
                       class="inline_block"
2403 2423
                       style="flex: 1"
2404
-                      v-if="org_id != 10223"
2424
+                      v-if="org_id != 10223 || org_id!=10375"
2405 2425
                     >
2406 2426
                       透析中入量(L):
2407 2427
                       <div
@@ -2597,6 +2617,34 @@
2597 2617
                       </div>
2598 2618
                     </div>
2599 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 2648
                   <div
2601 2649
                     class="row"
2602 2650
                     style="padding: 2px 0; line-height: 23px; display: flex"
@@ -3009,13 +3057,13 @@
3009 3057
                       >
3010 3058
                         <span
3011 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 3063
                         </span>
3016 3064
                         <img
3017 3065
                           style="height: 40px"
3018
-                          :src="setAdminUserES(prescription.creater)"
3066
+                          :src="setAdminUserES(doctor_advices[0].advice_doctor)"
3019 3067
                           alt=""
3020 3068
                           srcset=""
3021 3069
                           v-else

+ 6 - 6
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyFive.vue Zobrazit soubor

@@ -1092,14 +1092,14 @@
1092 1092
                         }}
1093 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 1096
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1097 1097
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1098 1098
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1099 1099
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1100 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 1103
                       <span v-if="prescription.anticoagulant == 4">iu</span>
1104 1104
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1105 1105
                       <span v-if="prescription.anticoagulant == 2">mg</span>
@@ -1138,7 +1138,7 @@
1138 1138
                             : "0"
1139 1139
                         }}
1140 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 1143
                         <span v-if="prescription.anticoagulant == 5">ml/h</span>
1144 1144
                           <span v-if="prescription.anticoagulant == 4">mg/h</span>
@@ -1146,7 +1146,7 @@
1146 1146
                           <span v-if="prescription.anticoagulant == 2">iu/h</span>
1147 1147
                           <span v-if="prescription.anticoagulant == 1">mg/h</span>
1148 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 1150
                         <span v-if="prescription.anticoagulant == 2">mg/h</span>
1151 1151
                           <span v-if="prescription.anticoagulant == 3">iu/h</span>
1152 1152
                           <span v-if="prescription.anticoagulant == 4">ml</span>
@@ -1211,13 +1211,13 @@
1211 1211
                             : "/"
1212 1212
                         }}
1213 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 1215
                       <span v-if="prescription.anticoagulant == 4">mg</span>
1216 1216
                       <span v-if="prescription.anticoagulant == 3">iu</span>
1217 1217
                       <span v-if="prescription.anticoagulant == 2">iu</span>
1218 1218
                       <span v-if="prescription.anticoagulant == 1">mg</span>
1219 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 1221
                        <span v-if="prescription.anticoagulant == 2">mg</span>
1222 1222
                        <span v-if="prescription.anticoagulant == 3">iu</span>
1223 1223
                        <span v-if="prescription.anticoagulant == 4">ml</span>

+ 69 - 69
src/xt_pages/hospitalStation/batchStatementTemplate/hospitalBatchPrint.vue Zobrazit soubor

@@ -9,78 +9,78 @@
9 9
         <td width="80">机构编码</td>
10 10
         <td colspan="4">{{info.fixmedins_code}}</td>
11 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 23
         <td width="100" v-else></td>
24 24
 
25 25
       </tr>
26 26
       <tr>
27 27
         <td width="90">就医登记号</td>
28
-        <td colspan="11">{{info.mdtrt_id}}</td>
28
+        <td colspan="11">{{info.order.mdtrt_id}}</td>
29 29
       </tr>
30 30
       <tr>
31 31
         <td width="80">姓名</td>
32
-        <td width="80">{{info.psn_name}}</td>
32
+        <td width="80">{{info.order.psn_name}}</td>
33 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 37
         <td width="80">出生日期</td>
38
-        <td width="100">{{info.brdy}}</td>
38
+        <td width="100">{{info.info.brdy}}</td>
39 39
         <td width="90">个人电脑号</td>
40
-        <td width="110">{{info.psn_no}}</td>
40
+        <td width="110">{{info.order.psn_no}}</td>
41 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 76
       </tr>
77 77
       <tr>
78 78
         <td>单位名称</td>
79
-        <td colspan="5">{{info.emp_name}}</td>
79
+        <td colspan="5">{{info.info.emp_name}}</td>
80 80
         <td width="80">联系电话</td>
81 81
         <td width="110">{{info.patient.phone}}</td>
82 82
         <td width="80">身份证号</td>
83
-        <td colspan="3">{{info.certno}}</td>
83
+        <td colspan="3">{{info.info.certno}}</td>
84 84
       </tr>
85 85
       <tr>
86 86
         <td>住院号</td>
@@ -90,22 +90,22 @@
90 90
         <td>床号</td>
91 91
         <td></td>
92 92
         <td>入院日期</td>
93
-        <td>{{info.begndate}}</td>
93
+        <td>{{info.his.in_hosptial_time.split(" ")[0]}}</td>
94 94
         <td>出院日期</td>
95
-        <td width="100">{{info.enddate}}</td>
95
+        <td width="100">{{info.his.out_hosptial_time.split(" ")[0]}}</td>
96 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 99
       </tr>
100 100
       <tr>
101 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 109
         <td>入院第一诊断</td>
110 110
         <td colspan="3">{{info.diagnosis}}</td>
111 111
         <td>出院第一诊断</td>
@@ -115,21 +115,21 @@
115 115
       </tr>
116 116
       <tr>
117 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 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 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 128
       </tr>
129 129
       <tr>
130 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 134
         </td>
135 135
       </tr>
@@ -264,28 +264,28 @@
264 264
       </tr>
265 265
       <tr>
266 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 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 270
       </tr>
271 271
       <tr>
272 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 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 276
       </tr>
277 277
       <tr>
278 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 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 282
       </tr>
283 283
 
284 284
       <tr>
285 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 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 289
       </tr>
290 290
       <tr>
291 291
         <td>收款人:</td>

+ 105 - 46
src/xt_pages/hospitalStation/hospitalBatchStatementPrint.vue Zobrazit soubor

@@ -197,54 +197,113 @@ export default {
197 197
             return false
198 198
           } else {
199 199
             let infos = []
200
+            console.log(response.data.data.infos)
200 201
             for(var i  = 0; i < response.data.data.infos.length; i++){
202
+              let tempInfo = {}
201 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 308
             that.infos = infos
250 309
             console.log(infos)

+ 21 - 1
src/xt_pages/management/components/ManageForm.vue Zobrazit soubor

@@ -34,6 +34,24 @@
34 34
             </el-form-item>
35 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 55
           <el-col :span="8">
38 56
             <el-form-item
39 57
               label="机位号:"
@@ -388,7 +406,8 @@ export default {
388 406
         revers_mode: "", // 反渗模式
389 407
         treat_mode: [],
390 408
         treat_type: [], // 治疗模式
391
-        beds: ""
409
+        beds: "",
410
+        zone_id:"",
392 411
       },
393 412
       forms: {
394 413
         beds: ""
@@ -471,6 +490,7 @@ export default {
471 490
       getAllSubregion().then(response => {
472 491
         if (response.data.state === 1) {
473 492
           var zones = response.data.data.zones;
493
+        
474 494
           this.deviceType = zones;
475 495
           var numbers = response.data.data.numbers;
476 496
           var devicenumber = response.data.data.devicenumber;

+ 15 - 2
src/xt_pages/management/home.vue Zobrazit soubor

@@ -117,6 +117,13 @@
117 117
                                   </el-select>
118 118
                                  </el-form-item>
119 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 127
                               <el-col :span="8">
121 128
                                   <el-form-item label="机位号:">
122 129
                                        <el-select style="width:150px" v-model="form.bed_number" :disabled="disableThree">
@@ -2779,7 +2786,8 @@ export default {
2779 2786
           Disinfection_mode: '',
2780 2787
           revers_mode: '',
2781 2788
           beds: '',
2782
-          bed_numbers: ''
2789
+          bed_numbers: '',
2790
+          zone_id:"",
2783 2791
         },
2784 2792
         activeName: 'first',
2785 2793
         activeNameTwo: 'first',
@@ -3347,6 +3355,7 @@ export default {
3347 3355
       getAllSubregion() {
3348 3356
         getAllSubregion().then(response => {
3349 3357
           var zones = response.data.data.zones
3358
+          console.log("zones",zones)
3350 3359
           this.deviceType = zones
3351 3360
           var numbers = response.data.data.numbers
3352 3361
 
@@ -3469,6 +3478,7 @@ export default {
3469 3478
         getMachineDetailById(id).then(response => {
3470 3479
           if (response.data.state === 1) {
3471 3480
             var addmacher = response.data.data.addmacher
3481
+            console.log("addmacher",addmacher)
3472 3482
             var warning = response.data.data.warning
3473 3483
 
3474 3484
             var time = this.getTimestamp(this.userform.date) - warning.stime
@@ -3587,7 +3597,10 @@ export default {
3587 3597
             this.form.device_name = addmacher.device_name
3588 3598
             this.form.manufacture_factory = addmacher.manufacture_factory
3589 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 3604
             // this.form.unit_type = addmacher.unit_type
3592 3605
 
3593 3606
             this.form.unit_type = parseInt(addmacher.device_mode)

+ 42 - 27
src/xt_pages/medicalScheduling/index.vue Zobrazit soubor

@@ -443,7 +443,7 @@ export default {
443 443
                     this.getStaffScheduleList()
444 444
 
445 445
                     var doctorlist =  response.data.data.doctorlist
446
-                    let arr = []
446
+                  
447 447
                     for(let i=0;i<doctorlist.length;i++){
448 448
                         if(doctorlist[i].sort == 0){
449 449
                           doctorlist[i].sort = ""
@@ -485,7 +485,7 @@ export default {
485 485
             })
486 486
         },
487 487
         hangdleClick(val,index,num){
488
-        //  console.log("val",val)
488
+          console.log("val",val)
489 489
          this.docobj = val
490 490
          if(this.getTimestamp(this.weekDayArr[num]) < this.timeNow){
491 491
             this.$message.error("过去日期不可以编辑")
@@ -647,7 +647,7 @@ export default {
647 647
             getStaffScheduleList(params).then(response=>{
648 648
                 if(response.data.state == 1){
649 649
                     var staffList =  response.data.data.staffList
650
-                    // console.log("获取所有排班",staffList)
650
+                    console.log("获取所有排班",staffList)
651 651
                     var sevenStr = ""
652 652
                     var oneStr = ""
653 653
                     var twoStr = ""
@@ -691,6 +691,7 @@ export default {
691 691
                         })
692 692
                         sevenStr = zeroStr
693 693
                     }
694
+                    
694 695
                     if(staffList[i].schedule_week == 1){
695 696
                         staffList[i].class_index = 1
696 697
                         var arr = []
@@ -772,6 +773,8 @@ export default {
772 773
                         })
773 774
                         threeStr = strThree
774 775
                     }
776
+
777
+
775 778
                     if(staffList[i].schedule_week == 4){
776 779
                         staffList[i].class_index = 4
777 780
                         var arr = []
@@ -799,6 +802,8 @@ export default {
799 802
                         })
800 803
                         fourStr = strFour
801 804
                     }
805
+
806
+                    
802 807
                     if(staffList[i].schedule_week == 5){
803 808
                         staffList[i].class_index = 5
804 809
 
@@ -827,6 +832,7 @@ export default {
827 832
                         })
828 833
                          fiveStr = strFive
829 834
                     }
835
+
830 836
                     if(staffList[i].schedule_week == 6){
831 837
                         staffList[i].class_index = 6
832 838
                          var arr = []
@@ -857,7 +863,7 @@ export default {
857 863
                     }
858 864
                     let tempArr = [], newArr = []
859 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 867
                             newArr.push({
862 868
                                 user_name: staffList[i].user_name,
863 869
                                 admin_user_id:staffList[i].admin_user_id,
@@ -868,18 +874,20 @@ export default {
868 874
                             })
869 875
                             tempArr.push(staffList[i].user_name);
870 876
                         } else {
877
+                            console.log("staffList",staffList[i].user_name)
871 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 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 888
                     let newNurse = []
881 889
                     let newDoctor = []
882
-                    arr.map(item => {
890
+                    arrTen.map(item => {
883 891
                         if(item.user_type == 2){
884 892
                             newDoctor.push(item)
885 893
                         }
@@ -888,6 +896,7 @@ export default {
888 896
                         }
889 897
                     })
890 898
                     //护士
899
+                    console.log("newNurse",newNurse)
891 900
                     newNurse.sort(this.compare('admin_user_id'))
892 901
                     let newNurseTableData = []
893 902
                     this.nurseTableData.map(item => {
@@ -896,6 +905,7 @@ export default {
896 905
                         }
897 906
                     })
898 907
                     newNurseTableData.sort(this.compare('admin_user_id'))
908
+                    console.log("newNurseTableData",newNurseTableData)
899 909
                     newNurseTableData.map((item,index) => {
900 910
                         if (newNurse[index] && item.admin_user_id == newNurse[index].admin_user_id) {
901 911
 
@@ -904,8 +914,8 @@ export default {
904 914
                         }
905 915
                     })
906 916
                     newNurse.sort(this.compare('sort'))
907
-
908
-                    //医生
917
+                  
918
+                    // //医生
909 919
                     newDoctor.sort(this.compare('admin_user_id'))
910 920
                     let newDoctorTableData = []
911 921
                     this.doctorTableData.map(item => {
@@ -924,25 +934,15 @@ export default {
924 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 937
                     let arr2 = []
938
+                    
939 939
                     arr2.push({class_name:oneStr,schedule_week:1})
940 940
                     arr2.push({class_name:twoStr,schedule_week:2})
941 941
                     arr2.push({class_name:threeStr,schedule_week:3})
942 942
                     arr2.push({class_name:fourStr,schedule_week:4})
943 943
                     arr2.push({class_name:fiveStr,schedule_week:5})
944 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 946
                     var obj = {}
947 947
                     obj.admin_user_id = "1000000"
948 948
                     obj.user_name = "合计"
@@ -951,16 +951,30 @@ export default {
951 951
                     arr.push(obj)
952 952
 
953 953
                     let data = []
954
+                  
954 955
                     data.push(...newNurse)
955 956
                     data.push(...newDoctor)
956 957
                     data.push(obj)
957
-
958
+                    console.log("data2o2oo2o2o2o22o",data)
959
+                    
960
+                    // this.tableData = this.distinct(data)
958 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 979
         getClass(name,index){
966 980
             if(name != undefined){
@@ -1060,6 +1074,7 @@ export default {
1060 1074
                         })
1061 1075
                         sevenStr = zeroStr
1062 1076
                     }
1077
+
1063 1078
                     if(staffList[i].schedule_week == 1){
1064 1079
                         staffList[i].class_index = 1
1065 1080
                         var arr = []
@@ -1311,7 +1326,7 @@ export default {
1311 1326
                     arr2.push({class_name:fourStr,schedule_week:4})
1312 1327
                     arr2.push({class_name:fiveStr,schedule_week:5})
1313 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 1330
                     var obj = {}
1316 1331
                     obj.admin_user_id = "1000000"
1317 1332
                     obj.user_name = "合计"
@@ -1630,7 +1645,7 @@ export default {
1630 1645
                         arr2.push({class_name:fourStr,schedule_week:4})
1631 1646
                         arr2.push({class_name:fiveStr,schedule_week:5})
1632 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 1649
                         var obj = {}
1635 1650
                         obj.admin_user_id = "1000000"
1636 1651
                         obj.user_name = "合计"
@@ -1669,7 +1684,7 @@ export default {
1669 1684
                         arr2.push({class_name:fourStr,schedule_week:4})
1670 1685
                         arr2.push({class_name:fiveStr,schedule_week:5})
1671 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 1688
                         var obj = {}
1674 1689
                         obj.admin_user_id = "1000000"
1675 1690
                         obj.user_name = "合计"
@@ -1707,7 +1722,7 @@ export default {
1707 1722
                         arr2.push({class_name:fourStr,schedule_week:4})
1708 1723
                         arr2.push({class_name:fiveStr,schedule_week:5})
1709 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 1726
                         var obj = {}
1712 1727
                         obj.admin_user_id = "1000000"
1713 1728
                         obj.user_name = "合计"

+ 13 - 0
src/xt_pages/outpatientCharges/summary.vue Zobrazit soubor

@@ -436,6 +436,19 @@
436 436
           :paramsObj="settlementObj"
437 437
       ></settlement-print>
438 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 452
   </div>
440 453
 </template>
441 454
 

+ 33 - 2
src/xt_pages/role/admin.vue Zobrazit soubor

@@ -21,7 +21,22 @@
21 21
           size="small"
22 22
           icon="el-icon-circle-plus-outline"
23 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 40
      </div>
26 41
     
27 42
       
@@ -176,7 +191,7 @@
176 191
 </template>
177 192
 
178 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 195
 import { getRoles } from "@/api/role/role";
181 196
 
182 197
 import { parseTime } from "@/utils";
@@ -473,6 +488,22 @@ export default {
473 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 509
   watch: {

+ 244 - 0
src/xt_pages/stock/drug_damage_print.vue Zobrazit soubor

@@ -0,0 +1,244 @@
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 Zobrazit soubor

@@ -94,6 +94,11 @@
94 94
                 {{getManufacturName(scope.row.manufacturer)}}
95 95
               </template>
96 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 102
             <el-table-column label="批准文号" align="center">
98 103
               <template slot-scope="scope">
99 104
                 {{scope.row.number}}
@@ -402,6 +407,7 @@ export default {
402 407
      isClose: false,
403 408
      drug_type: 0,
404 409
      storehouseId:0,
410
+     dealerList:[],
405 411
     }
406 412
   
407 413
   },
@@ -454,6 +460,7 @@ export default {
454 460
            this.manufacturerList = response.data.data.manufacturerList
455 461
            this.goodTypeList = response.data.data.goodTypeList
456 462
            this.patientList = response.data.data.patientList
463
+           this.dealerList = response.data.data.dealerList
457 464
          }
458 465
       })
459 466
     },
@@ -1489,7 +1496,16 @@ export default {
1489 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 1510
   created(){
1495 1511
     this.getStorehouseList()

+ 14 - 1
src/xt_pages/stock/drugs/drugDamaged.vue Zobrazit soubor

@@ -24,6 +24,7 @@
24 24
       @click="search"
25 25
       >搜索</el-button
26 26
       >
27
+     
27 28
       <el-date-picker
28 29
       size="small"
29 30
       v-model="start_time"
@@ -40,9 +41,18 @@
40 41
       placeholder="选择日期"
41 42
       @change="changeEndTime">
42 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 53
     </div>
44 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 56
         <el-table-column  prop="date" label="报损日期" align="center">
47 57
             <template slot-scope="scope">
48 58
               {{getTime(scope.row.start_time)}}
@@ -474,6 +484,9 @@ export default {
474 484
       }else{
475 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 492
     created(){

+ 21 - 0
src/xt_pages/stock/drugs/inventoryDetails.vue Zobrazit soubor

@@ -99,6 +99,18 @@
99 99
                  <span v-if="scope.row.inventory_type == 11">盘亏</span>
100 100
                </template>
101 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 114
         </el-table>
103 115
         <el-pagination
104 116
             @size-change="handleSizeChange"
@@ -222,6 +234,15 @@ export default {
222 234
         console.log("str",str)
223 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 247
     created(){
227 248
       this.getlist()

+ 26 - 2
src/xt_pages/stock/inventoryDetails.vue Zobrazit soubor

@@ -41,13 +41,13 @@
41 41
                   {{scope.row.good_name}}
42 42
                 </template>
43 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 45
                <template slot-scope="scope">
46 46
                   {{scope.row.specification_name}}
47 47
                 </template>
48 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 51
                <template slot-scope="scope">
52 52
                  {{getTime(scope.row.expire_date)}}
53 53
                </template>
@@ -88,6 +88,18 @@
88 88
                 <span v-if="scope.row.inventory_type ==7">有效期到期</span>
89 89
                </template>
90 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 104
         </el-table>
93 105
         <el-pagination
@@ -107,6 +119,7 @@
107 119
 <script>
108 120
 import { uParseTime } from '@/utils/tools'
109 121
 import { getInventoryDetailList } from "@/api/stock"
122
+import user from '../../store/modules/user';
110 123
 
111 124
 export default {
112 125
     name: "inventory",
@@ -127,6 +140,7 @@ export default {
127 140
             damageList:[],
128 141
             storehouse_id:0,
129 142
             houseList:[],
143
+            docList:[]
130 144
          }
131 145
     },
132 146
     methods:{
@@ -173,6 +187,7 @@ export default {
173 187
                for(let i=0;i<response.data.data.houseList.length;i++){
174 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,6 +251,15 @@ export default {
236 251
       changeHouseList(){
237 252
         this.houseList = []
238 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 265
     created(){

+ 202 - 0
src/xt_pages/stock/print_damage.vue Zobrazit soubor

@@ -0,0 +1,202 @@
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 Zobrazit soubor

@@ -48,6 +48,11 @@
48 48
             border
49 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 56
             <el-table-column label="耗材类型" align="center">
52 57
               <template slot-scope="scope">
53 58
                 {{getGoodTypeName(scope.row.good_type_id)}}
@@ -68,6 +73,11 @@
68 73
                   {{getManufacturName(scope.row.manufacturer)}}
69 74
               </template>
70 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 81
             <el-table-column label="批准文号" align="center">
72 82
               <template slot-scope="scope">
73 83
                  {{scope.row.number}}
@@ -358,7 +368,8 @@ export default {
358 368
      warehouseOutByList:[],
359 369
      flushList:[],
360 370
      type_name:0,
361
-     storehouseId:0
371
+     storehouseId:0,
372
+     dealerList:[]
362 373
     }
363 374
   
364 375
   },
@@ -411,6 +422,7 @@ export default {
411 422
            this.manufacturerList = response.data.data.manufacturerList
412 423
            this.goodTypeList = response.data.data.goodTypeList
413 424
            this.patientList = response.data.data.patientList
425
+           this.dealerList = response.data.data.dealerList
414 426
          }
415 427
       })
416 428
     },
@@ -445,6 +457,15 @@ export default {
445 457
       }
446 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 469
     handleSizeChange(val) {
449 470
       this.limit = val;
450 471
       this.getlist()

+ 14 - 1
src/xt_pages/stock/stockDamaged.vue Zobrazit soubor

@@ -40,10 +40,17 @@
40 40
           placeholder="选择日期"
41 41
           @change="changeEndTime">
42 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 50
     </div>
44 51
   
45 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 54
         <el-table-column  prop="date" label="报损日期" align="center">
48 55
             <template slot-scope="scope">
49 56
               {{getTime(scope.row.ctime)}}
@@ -833,6 +840,12 @@ export default {
833 840
       changeHouseList(){
834 841
         this.houseList = []
835 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 851
     created(){

+ 8 - 0
src/xt_pages/user/components/PatientForm.vue Zobrazit soubor

@@ -1497,6 +1497,14 @@ export default {
1497 1497
       this.submitMsg = "新增患者成功";
1498 1498
       this.form = Object.assign({}, defaultForm);
1499 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 Zobrazit soubor

@@ -40,6 +40,29 @@
40 40
         </el-col>
41 41
         <el-col :span="17" v-loading="itemLoading">
42 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 66
             <el-button
44 67
               size="small"
45 68
               class="filter-item"
@@ -210,6 +233,67 @@
210 233
       </el-row>
211 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 297
     <el-dialog
214 298
       :title="formTitle"
215 299
       :visible.sync="dialogFormVisible"
@@ -410,7 +494,9 @@ import {
410 494
   DeletePatientInspection,
411 495
   EditPatientInspection,
412 496
   fetchInspectionReference,
413
-  fetchPatientInspections
497
+  fetchPatientInspections,
498
+  setRemind,
499
+  setRemindDialog
414 500
 } from '@/api/inspection'
415 501
 import { getFileExtension, uParseTime } from '@/utils/tools'
416 502
 
@@ -419,6 +505,9 @@ export default {
419 505
   components: { PatientSidebar, ElImageViewer},
420 506
   data() {
421 507
     return {
508
+      temp_remind_cycle:"",
509
+      is_open:false,
510
+      record_id:0,
422 511
       showViewer:false,
423 512
       imgs:[],
424 513
       total: 0,
@@ -436,6 +525,8 @@ export default {
436 525
       },
437 526
       itemName: '请选择项目',
438 527
       formTitle: '',
528
+      dialogRemindFormVisible:false,
529
+      dialogRemindDialogFormVisible:false,
439 530
       dialogPicFormVisible: false,
440 531
       dialogFormVisible: false,
441 532
       patient_info: null,
@@ -610,8 +701,55 @@ export default {
610 701
         })
611 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 754
       if (this.project == null) {
617 755
         this.$message.error('请先选择项目')
@@ -641,7 +779,11 @@ export default {
641 779
         this.form.project_id = this.project.project_id
642 780
         this.form.inspect_date = this.itemDate
643 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 787
         console.log(this.form.remind_cycle)
646 788
 
647 789
         this.form.formItem = []
@@ -664,8 +806,15 @@ export default {
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 818
       if (this.project == null) {
670 819
         this.$message.error('请先选择项目')
671 820
         return false
@@ -676,7 +825,9 @@ export default {
676 825
       this.form.project_id = this.project.project_id
677 826
       this.form.imgs=[]
678 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 831
       var today = new Date()
681 832
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
682 833
       this.form.formItem = []
@@ -713,7 +864,10 @@ export default {
713 864
       this.form.method = 'add'
714 865
       this.formTitle = '新增' + this.project.project_name
715 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 871
       var today = new Date()
718 872
       this.form.inspect_date = uParseTime(today, '{y}-{m}-{d} {h}:{i}')
719 873
       this.form.formItem = []
@@ -1049,7 +1203,8 @@ export default {
1049 1203
             this.projects = reference
1050 1204
             this.patient_info = patient_info
1051 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 1208
           } else {
1054 1209
             this.$message.error(response.data.msg)
1055 1210
             return false
@@ -1099,6 +1254,29 @@ export default {
1099 1254
             var inspections = response.data.data.inspections
1100 1255
             this.total = response.data.data.total
1101 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 1280
             this.inspections = response.data.data.inspections
1103 1281
             if (inspections == null) {
1104 1282
               this.inspections = []

+ 1 - 1
src/xt_pages/workforce/components/nextTableWeeks.vue Zobrazit soubor

@@ -665,7 +665,7 @@ export default {
665 665
     },
666 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 669
          var zone = this.zone
670 670
           var newArr = []
671 671
           for(let i=0;i<this.zoneList.length;i++){

+ 3 - 3
src/xt_pages/workforce/components/tableData.vue Zobrazit soubor

@@ -1379,9 +1379,9 @@ export default {
1379 1379
             }
1380 1380
           }
1381 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 1387
       return "";

+ 1 - 1
src/xt_pages/workforce/components/tableWeeks.vue Zobrazit soubor

@@ -888,7 +888,7 @@
888 888
       ,
889 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 892
          var zone = this.zone
893 893
           console.log("zone23232",zone)
894 894
           var newArr = []