Procházet zdrojové kódy

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

yq1 před 11 měsíci
rodič
revize
47e50ba93a
50 změnil soubory, kde provedl 1656 přidání a 256 odebrání
  1. 10 0
      src/api/dialysis.js
  2. 9 0
      src/api/drug/drug.js
  3. 18 0
      src/api/drug/drug_stock.js
  4. 27 0
      src/api/stock.js
  5. 85 19
      src/xt_pages/data/components/consumables.vue
  6. 52 11
      src/xt_pages/data/components/drugs.vue
  7. 3 3
      src/xt_pages/data/components/project.vue
  8. 44 2
      src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue
  9. 57 8
      src/xt_pages/dialysis/batch_print/batch_print_order_six.vue
  10. 4 1
      src/xt_pages/dialysis/batch_print/batch_print_order_thirtyNine.vue
  11. 2 2
      src/xt_pages/dialysis/details/DialysisPrescription.vue
  12. 5 0
      src/xt_pages/dialysis/details/assessmentAfter.vue
  13. 21 13
      src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue
  14. 1 1
      src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue
  15. 142 15
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue
  16. 10 8
      src/xt_pages/dialysis/details/dialog/monitor_dialog.vue
  17. 9 1
      src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue
  18. 5 5
      src/xt_pages/dialysis/details/dialysisMonitoring.vue
  19. 2 2
      src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue
  20. 52 12
      src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue
  21. 81 0
      src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue
  22. 1 1
      src/xt_pages/kuyiShopping/index.vue
  23. 7 2
      src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue
  24. 2 2
      src/xt_pages/qcd/basicInformationAnalysis.vue
  25. 5 1
      src/xt_pages/qcd/officesControlAnalysis/time.vue
  26. 7 4
      src/xt_pages/stock/Dialog/goodInfoDailog.vue
  27. 198 3
      src/xt_pages/stock/drugs/components/drugQuery.vue
  28. 5 1
      src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue
  29. 15 4
      src/xt_pages/stock/drugs/drugStockFlow.vue
  30. 102 14
      src/xt_pages/stock/drugs/drugStockOutOrder.vue
  31. 8 0
      src/xt_pages/stock/drugs/newDrugInventory.vue
  32. 7 2
      src/xt_pages/stock/newInventory.vue
  33. 142 2
      src/xt_pages/stock/query/goodNewQuery.vue
  34. 4 4
      src/xt_pages/stock/query/purchaseNewStockQuery.vue
  35. 7 1
      src/xt_pages/stock/stockInOrder.vue
  36. 14 2
      src/xt_pages/stock/stockInOrderAdd.vue
  37. 76 1
      src/xt_pages/stock/stockOutOrder.vue
  38. 35 8
      src/xt_pages/user/Sitemap.vue
  39. 27 2
      src/xt_pages/user/components/PatientDetail.vue
  40. 21 2
      src/xt_pages/user/components/PatientForm.vue
  41. 2 3
      src/xt_pages/user/inspection.vue
  42. 2 2
      src/xt_pages/user/patients.vue
  43. 54 11
      src/xt_pages/user/templateSummary.vue
  44. 54 11
      src/xt_pages/workforce/components/nextTableWeeks.vue
  45. 101 50
      src/xt_pages/workforce/components/tableWeeks.vue
  46. 42 3
      src/xt_pages/workforce/next_remind_print.vue
  47. 46 3
      src/xt_pages/workforce/remind_print.vue
  48. 14 2
      src/xt_pages/workforce/remind_print_setting.vue
  49. 14 10
      src/xt_pages/workforce/remind_print_setting_one.vue
  50. 5 2
      src/xt_pages/workforce/remind_print_setting_two.vue

+ 10 - 0
src/api/dialysis.js Zobrazit soubor

538
     params:params,
538
     params:params,
539
   })
539
   })
540
 }
540
 }
541
+
542
+
543
+export function getPatientRecordList(patient_id,params){
544
+ 
545
+  return request({
546
+    url:"/api/patient/getpatientrecordlist?patient_id="+patient_id,
547
+    method:"Get",
548
+    params:params,
549
+  })
550
+}

+ 9 - 0
src/api/drug/drug.js Zobrazit soubor

661
     method:"Get",
661
     method:"Get",
662
     params:params,
662
     params:params,
663
   })
663
   })
664
+}
665
+
666
+export function getCheckGoodBatchList(id,params){
667
+  
668
+  return request({
669
+    url:"/api/good/getcheckgoodbatchlist?id="+id,
670
+    method:"get",
671
+    params:params,
672
+  })
664
 }
673
 }

+ 18 - 0
src/api/drug/drug_stock.js Zobrazit soubor

652
     method:"Get",
652
     method:"Get",
653
     params:params
653
     params:params
654
   })
654
   })
655
+}
656
+
657
+
658
+export function getCheckDrugBatchList(drug_id,params){
659
+ return request({
660
+  url:"/api/drug/getcheckdrugbatchlist?drug_id="+drug_id,
661
+  method:"get",
662
+  params:params,
663
+ })
664
+}
665
+
666
+export function getDrugPatientName(params){
667
+  
668
+  return request({
669
+    url:"/api/drug/getdrugpatientname",
670
+    method:"Get",
671
+    params:params,
672
+  })
655
 }
673
 }

+ 27 - 0
src/api/stock.js Zobrazit soubor

1096
     method:"Get",
1096
     method:"Get",
1097
     params:params,
1097
     params:params,
1098
   })
1098
   })
1099
+}
1100
+
1101
+export function getGoodPatientName(params){
1102
+  return request({
1103
+    url:"/api/stock/getgoodpatientname",
1104
+    method:"Get",
1105
+    params:params,
1106
+  })
1107
+}
1108
+
1109
+export function updateBaseDrugLibByUserOrgId(params){
1110
+  
1111
+  return request({
1112
+    url:"/api/drug/updatebasedruglisbyuserorgid",
1113
+    method:"Get",
1114
+    params:params
1115
+  })
1116
+}
1117
+
1118
+
1119
+export function updateGoodInfoByUserOrgId(params){
1120
+
1121
+  return request({
1122
+    url:"/api/good/updategoodinfobyuserorgid",
1123
+    method:"Get",
1124
+    params:params
1125
+  })
1099
 }
1126
 }

+ 85 - 19
src/xt_pages/data/components/consumables.vue Zobrazit soubor

54
      <div style="display:flex; align-items:center;margin-bottom:10px;">
54
      <div style="display:flex; align-items:center;margin-bottom:10px;">
55
         <!--<el-button type="primary" size="mini" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138">批量备案</el-button>-->
55
         <!--<el-button type="primary" size="mini" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028 || $store.getters.xt_user.org_id == 10138">批量备案</el-button>-->
56
         <!--<el-button type="primary" size="mini">批量备案</el-button>-->
56
         <!--<el-button type="primary" size="mini">批量备案</el-button>-->
57
-        <el-link target="_blank" href="https://kuyi.shengws.com/stockTemplate.xlsx" :underline="false"
57
+        <el-link target="_blank" href="https://kuyi.shengws.com/stockTemplateTwo.xlsx" :underline="false"
58
                  style="margin-left:15px">
58
                  style="margin-left:15px">
59
           <el-button
59
           <el-button
60
             class="filter-item"
60
             class="filter-item"
80
           size="small"
80
           size="small"
81
         >点击导出
81
         >点击导出
82
         </el-button>
82
         </el-button>
83
+
84
+        <!-- <el-button
85
+          style="margin-left:10px;"
86
+          @click="jiaoBen()"
87
+          class="filter-item"
88
+          type="primary"
89
+          size="small"
90
+        >脚本
91
+        </el-button> -->
83
       </div>
92
       </div>
84
 
93
 
85
     <el-table
94
     <el-table
111
           {{ getGoodTypeByID(scope.row.good_type_id) }}
120
           {{ getGoodTypeByID(scope.row.good_type_id) }}
112
         </template>
121
         </template>
113
       </el-table-column>
122
       </el-table-column>
114
-      <el-table-column label="注册编码" width="140" align="center">
123
+      <el-table-column label="注册证号" width="140" align="center">
115
         <template slot-scope="scope">
124
         <template slot-scope="scope">
116
           {{ scope.row.register_number }}
125
           {{ scope.row.register_number }}
117
         </template>
126
         </template>
132
           {{ scope.row.social_security_directory_code }}
141
           {{ scope.row.social_security_directory_code }}
133
         </template>
142
         </template>
134
       </el-table-column>
143
       </el-table-column>
144
+      <el-table-column label="生产厂家" width="140" align="center">
145
+        <template slot-scope="scope">
146
+          {{ getManufactur(scope.row.manufacturer) }}
147
+        </template>
148
+      </el-table-column>
135
       <el-table-column label="状态" width="60" align="center">
149
       <el-table-column label="状态" width="60" align="center">
136
         <template slot-scope="scope">
150
         <template slot-scope="scope">
137
         <!--{{ scope.row.good_status}}-->
151
         <!--{{ scope.row.good_status}}-->
238
     getGoodInfoList,
252
     getGoodInfoList,
239
     modifyGoodInfo,
253
     modifyGoodInfo,
240
     postGoodInformation,
254
     postGoodInformation,
241
-    getInitializtion
255
+    getInitializtion,
256
+    updateGoodInfoByUserOrgId
242
   } from '@/api/stock'
257
   } from '@/api/stock'
243
   import UploadExcel from '@/xt_pages/components/UploadExcel'
258
   import UploadExcel from '@/xt_pages/components/UploadExcel'
244
   import GoodExcel from '@/xt_pages/components/GoodExcel'
259
   import GoodExcel from '@/xt_pages/components/GoodExcel'
369
       }
384
       }
370
     },
385
     },
371
     methods: {
386
     methods: {
387
+    jiaoBen(){
388
+      updateGoodInfoByUserOrgId().then(response=>{
389
+        if(response.data.state ==1){
390
+
391
+        }
392
+      })
393
+      },
372
       putOnUnRecord(id){
394
       putOnUnRecord(id){
373
         var that = this;
395
         var that = this;
374
         let params = {
396
         let params = {
1187
 
1209
 
1188
           var isHasMedicalInsuranceLevel = header.includes('*医保等级');
1210
           var isHasMedicalInsuranceLevel = header.includes('*医保等级');
1189
 
1211
 
1190
-          var isHasGoodUnit = header.includes('*单位');
1212
+          var isHasGoodUnit = header.includes('*包装单位');
1191
 
1213
 
1192
           var isHasStockWarnCount = header.includes('*库存警戒');
1214
           var isHasStockWarnCount = header.includes('*库存警戒');
1193
 
1215
 
1199
 
1221
 
1200
           var isHasSpecificationName = header.includes('*规格型号');
1222
           var isHasSpecificationName = header.includes('*规格型号');
1201
 
1223
 
1202
-          var isHasBuyPrice = header.includes('*零价');
1224
+          var isHasBuyPrice = header.includes('*零价');
1203
 
1225
 
1204
           if (!(isHasMedicalInsuranceLevel && isHasGoodUnit && isHasStockWarnCount && isHasManuFacturer  && isHasGoodName && isHasGoodKand && isHasSpecificationName &&  isHasBuyPrice)) {
1226
           if (!(isHasMedicalInsuranceLevel && isHasGoodUnit && isHasStockWarnCount && isHasManuFacturer  && isHasGoodName && isHasGoodKand && isHasSpecificationName &&  isHasBuyPrice)) {
1205
             this.dialogVisible = true;
1227
             this.dialogVisible = true;
1212
 
1234
 
1213
        var tableData = [];
1235
        var tableData = [];
1214
        for(let i=1;i<results.length;i++){
1236
        for(let i=1;i<results.length;i++){
1215
-         let obj = {"good_kind_id":0,"good_type_id":0,"medical_insurance_id":0,"dealer_id":0,"statistic_id":0,"manufacturer_id":0,"unit_id":0};
1237
+         let obj = {"good_kind_id":0,"good_type_id":0,"medical_insurance_id":0,"dealer_id":0,"statistic_id":0,"manufacturer_id":0,"unit_id":0,"default_count":1,"default_count_unit":"","buy_price":"","retail_price":""};
1216
          for (var key in results[i]) {
1238
          for (var key in results[i]) {
1217
 
1239
 
1218
            if (results[i]['*耗材名称'] === undefined) {
1240
            if (results[i]['*耗材名称'] === undefined) {
1263
               }
1285
               }
1264
            }
1286
            }
1265
 
1287
 
1266
-           if (results[i]['*单位'] === undefined) {
1288
+           if (results[i]['*包装单位'] === undefined) {
1267
                 obj['good_unit'] = ''
1289
                 obj['good_unit'] = ''
1268
               } else {
1290
               } else {
1269
-             if (key == '*单位') {
1291
+             if (key == '*包装单位') {
1270
                obj['good_unit'] = results[i][key].replace(/\s/g,"")
1292
                obj['good_unit'] = results[i][key].replace(/\s/g,"")
1271
               }
1293
               }
1272
            }
1294
            }
1295
+           if (results[i]['*默认单次用量'] === undefined) {
1296
+                obj['default_count'] = ''
1297
+              } else {
1298
+             if (key == '*默认单次用量') {
1299
+               obj['default_count'] = parseInt(results[i][key].replace(/\s/g,"")) 
1300
+              }
1301
+           }
1302
+
1303
+           if (results[i]['*默认单次用量单位'] === undefined) {
1304
+                obj['default_count_unit'] = ''
1305
+              } else {
1306
+             if (key == '*默认单次用量单位') {
1307
+               obj['default_count_unit'] = results[i][key].replace(/\s/g,"")
1308
+              }
1309
+           }
1273
 
1310
 
1274
-          if (results[i]['*零价'] === undefined) {
1311
+          if (results[i]['*零价'] === undefined) {
1275
                 obj['retail_price'] = ''
1312
                 obj['retail_price'] = ''
1276
               } else {
1313
               } else {
1277
-             if (key == '*零价') {
1314
+             if (key == '*零价') {
1278
                obj['retail_price'] = results[i][key].replace(/\s/g,"")
1315
                obj['retail_price'] = results[i][key].replace(/\s/g,"")
1279
               }
1316
               }
1280
            }
1317
            }
1281
 
1318
 
1319
+           if (results[i]['*进货价'] === undefined) {
1320
+                obj['buy_price'] = ''
1321
+              } else {
1322
+             if (key == '*进货价') {
1323
+               obj['buy_price'] = results[i][key].replace(/\s/g,"")
1324
+              }
1325
+           }
1326
+
1282
             if (results[i]['*库存警戒'] === undefined) {
1327
             if (results[i]['*库存警戒'] === undefined) {
1283
                 obj['stock_warn_count'] = ''
1328
                 obj['stock_warn_count'] = ''
1284
               } else {
1329
               } else {
1311
               }
1356
               }
1312
            }
1357
            }
1313
 
1358
 
1314
-           if (results[i]['最新进价'] === undefined) {
1315
-                obj['buy_price'] = ''
1316
-              } else {
1317
-             if (key == '最新进价') {
1318
-               obj['buy_price'] = results[i][key].replace(/\s/g,"")
1319
-              }
1320
-           }
1359
+         
1321
 
1360
 
1322
            if (results[i]['医保编码'] === undefined) {
1361
            if (results[i]['医保编码'] === undefined) {
1323
                 obj['medical_insurance_number'] = ''
1362
                 obj['medical_insurance_number'] = ''
1392
               }
1431
               }
1393
            }
1432
            }
1394
 
1433
 
1434
+           if (results[i]['批准文号'] === undefined) {
1435
+                obj['number'] = ''
1436
+              } else {
1437
+             if (key == '批准文号') {
1438
+               obj['number'] = results[i][key].replace(/\s/g,"")
1439
+              }
1440
+           }
1441
+
1442
+           if (results[i]['注册编号'] === undefined) {
1443
+                obj['register_number'] = ''
1444
+              } else {
1445
+             if (key == '注册编号') {
1446
+               obj['register_number'] = results[i][key].replace(/\s/g,"")
1447
+              }
1448
+           }
1449
+
1395
            if (results[i]['备注'] === undefined) {
1450
            if (results[i]['备注'] === undefined) {
1396
                 obj['remark'] = ''
1451
                 obj['remark'] = ''
1397
               } else {
1452
               } else {
1465
           'goods':tableData
1520
           'goods':tableData
1466
         };
1521
         };
1467
         console.log("param2332323223",params)
1522
         console.log("param2332323223",params)
1523
+    
1468
         postGoodInformation(params).then(response=>{
1524
         postGoodInformation(params).then(response=>{
1469
            if(response.data.state == 1){
1525
            if(response.data.state == 1){
1470
              var msg =  response.data.data.msg;
1526
              var msg =  response.data.data.msg;
1576
          }
1632
          }
1577
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1633
          console.log("hhhadhh233323232",this.goodInfo.goodInfoData)
1578
 
1634
 
1579
-         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','单位','零价','库存警戒','经销商','最新进价','医保编码','社保目录编码','批准文号','医保等级',"注册编码"]
1580
-         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','packing_price','stock_warn_count','dealer_name','buy_price','medical_insurance_number','social_security_directory_code','number','medical_insurance_level','register_number']
1635
+         const tHeader = ['耗材名称','耗材种类','耗材类型','医保等级','规格型号','生产厂商','包装单位','进货价','零售价','库存警戒','经销商','默认单次用量','默认单次用量单位','拼音','五笔','医保编码','是否特病目录','是否备案','统计分类','状态','社保目录编码','生产地类别','特殊医用标志',"批准文号","注册编号","备注"]
1636
+         const filterVal = ['good_name', 'good_kind_name','good_type_name','medical_insurance_level_name','specification_name','manufacturer_name','packing_unit','buy_price','packing_price','stock_warn_count','dealer_name','default_count','default_count_unit','','','medical_insurance_number','是','','','','social_security_directory_code','','','number','register_number','']
1581
 
1637
 
1582
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1638
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1583
 
1639
 
1593
        formatJson(filterVal, jsonData) {
1649
        formatJson(filterVal, jsonData) {
1594
         return jsonData.map(v => filterVal.map(j => v[j]))
1650
         return jsonData.map(v => filterVal.map(j => v[j]))
1595
        },
1651
        },
1652
+       getManufactur(manufacturer){
1653
+        var manufacturer_name =""
1654
+         for(let i=0;i<this.manufacturers.length;i++){
1655
+           if(manufacturer == this.manufacturers[i].id){
1656
+              manufacturer_name = this.manufacturers[i].manufacturer_name
1657
+           }
1658
+         }
1659
+         return manufacturer_name
1660
+       }
1661
+      
1596
     },
1662
     },
1597
     created() {
1663
     created() {
1598
       this.goodInfo.goodInfoDialog.formValue.is_user = "2"
1664
       this.goodInfo.goodInfoDialog.formValue.is_user = "2"

+ 52 - 11
src/xt_pages/data/components/drugs.vue Zobrazit soubor

47
     <div style="display:flex; align-items:center;margin-bottom:10px;">
47
     <div style="display:flex; align-items:center;margin-bottom:10px;">
48
         <!--<el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>-->
48
         <!--<el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 ||  this.$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>-->
49
         <el-button type="primary" size="small"  @click="GDYBBatchPutOnRecord()">批量备案</el-button>
49
         <el-button type="primary" size="small"  @click="GDYBBatchPutOnRecord()">批量备案</el-button>
50
-        <el-link target="_blank" href="https://kuyi.shengws.com/drugsTemplate.xlsx" :underline="false"
50
+        <el-link target="_blank" href="https://kuyi.shengws.com/drugsTemplateOne.xlsx" :underline="false"
51
                  style="margin-left:15px">
51
                  style="margin-left:15px">
52
           <el-button
52
           <el-button
53
             class="filter-item"
53
             class="filter-item"
73
           size="small"
73
           size="small"
74
         >点击导出
74
         >点击导出
75
         </el-button>
75
         </el-button>
76
+
77
+        <!-- <el-button
78
+          style="margin-left:10px;"
79
+          @click="jiaoBen()"
80
+          class="filter-item"
81
+          type="primary"
82
+          size="small"
83
+        >脚本
84
+        </el-button> -->
76
       </div>
85
       </div>
77
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
78
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
239
   import selfPayment from './selfPayment'
248
   import selfPayment from './selfPayment'
240
   import maintain from './maintain'
249
   import maintain from './maintain'
241
   import addDrugs from './addDrugs'
250
   import addDrugs from './addDrugs'
242
-  import { GetAllManufacturer,postDrugInformation,getInitializtion } from '@/api/stock'
251
+  import { GetAllManufacturer,postDrugInformation,getInitializtion,updateBaseDrugLibByUserOrgId } from '@/api/stock'
243
   import { getDataConfig,getDictionaryDataConfig } from "@/utils/data";
252
   import { getDataConfig,getDictionaryDataConfig } from "@/utils/data";
244
   import { uParseTime } from '@/utils/tools'
253
   import { uParseTime } from '@/utils/tools'
245
   import {
254
   import {
1033
 
1042
 
1034
        var tableData = [];
1043
        var tableData = [];
1035
        for(let i=1;i<results.length;i++){
1044
        for(let i=1;i<results.length;i++){
1036
-         let obj = {"drug_type_id":0,"drug_dosage_form_id":0,"medical_insurance_level_id":0,"drug_classify_id":0,"manufacturer_id":0,"dealer_id":0,"statistics_category_id":0,"drug_control_id":0,"pharmacology_category_id":0,"drug_category_id":0};
1045
+         let obj = {"drug_type_id":0,"drug_dosage_form_id":0,"medical_insurance_level_id":0,"drug_classify_id":0,"manufacturer_id":0,"dealer_id":0,"statistics_category_id":0,"drug_control_id":0,"pharmacology_category_id":0,"drug_category_id":0,"prescribing_number":"","prescribing_number_unit":"","drug_day":"","delivery_way":"","execution_frequency":""};
1037
          for (var key in results[i]) {
1046
          for (var key in results[i]) {
1038
 
1047
 
1039
            if (results[i]['*药品名称'] === undefined) {
1048
            if (results[i]['*药品名称'] === undefined) {
1205
               }
1214
               }
1206
            }
1215
            }
1207
 
1216
 
1208
-            if (results[i]['默认给药途径'] === undefined) {
1217
+            if (results[i]['*默认给药途径'] === undefined) {
1209
                 obj['delivery_way'] = ''
1218
                 obj['delivery_way'] = ''
1210
               } else {
1219
               } else {
1211
-            if (key == '默认给药途径') {
1220
+            if (key == '*默认给药途径') {
1212
                 obj['delivery_way'] = results[i][key].replace(/\s/g,"")
1221
                 obj['delivery_way'] = results[i][key].replace(/\s/g,"")
1213
               }
1222
               }
1214
            }
1223
            }
1215
 
1224
 
1216
-              if (results[i]['默认执行频率'] === undefined) {
1225
+          if (results[i]['*默认执行频率'] === undefined) {
1217
                 obj['execution_frequency'] = ''
1226
                 obj['execution_frequency'] = ''
1218
               } else {
1227
               } else {
1219
-            if (key == '默认执行频率') {
1228
+            if (key == '*默认执行频率') {
1220
                 obj['execution_frequency'] = results[i][key].replace(/\s/g,"")
1229
                 obj['execution_frequency'] = results[i][key].replace(/\s/g,"")
1221
               }
1230
               }
1222
            }
1231
            }
1223
 
1232
 
1233
+
1234
+           if (results[i]['*默认开药数量'] === undefined) {
1235
+                obj['prescribing_number'] = ''
1236
+              } else {
1237
+            if (key == '*默认开药数量') {
1238
+                obj['prescribing_number'] = parseInt(results[i][key].replace(/\s/g,""))
1239
+              }
1240
+           }
1241
+
1242
+           if (results[i]['*默认开药数量单位'] === undefined) {
1243
+                obj['prescribing_number_unit'] = ''
1244
+              } else {
1245
+            if (key == '*默认开药数量单位') {
1246
+                obj['prescribing_number_unit'] = results[i][key].replace(/\s/g,"")
1247
+              }
1248
+           }
1249
+
1250
+           if (results[i]['*默认开药天数'] === undefined) {
1251
+                obj['drug_day'] = ''
1252
+              } else {
1253
+            if (key == '*默认开药天数') {
1254
+                obj['drug_day'] = results[i][key].replace(/\s/g,"")
1255
+              }
1256
+           }
1257
+
1258
+
1259
+           
1260
+
1224
            if (results[i]['限制性用药'] === undefined) {
1261
            if (results[i]['限制性用药'] === undefined) {
1225
                 obj['lmt_used_flag'] = ''
1262
                 obj['lmt_used_flag'] = ''
1226
               } else {
1263
               } else {
1459
           'drugs':tableData
1496
           'drugs':tableData
1460
         };
1497
         };
1461
         console.log("params222222222",params)
1498
         console.log("params222222222",params)
1462
-
1463
-
1499
+        
1464
         postDrugInformation(params).then(response=>{
1500
         postDrugInformation(params).then(response=>{
1465
            if(response.data.state == 1){
1501
            if(response.data.state == 1){
1466
              var msg =  response.data.data.msg;
1502
              var msg =  response.data.data.msg;
1586
           }
1622
           }
1587
          }
1623
          }
1588
 
1624
 
1589
-         const tHeader = ['药品名称','药品规格','剂量','剂量单位','拆零','拆零单位','包装单位','药品类型','库存警戒','产地','药品剂型','拆零零售价','包装零售价','进货价','药物分类','默认单次用量','默认单次用量单位','生产厂商','经销商','医保编码','社保目录编码','批准文号','医保等级','是否特病目录','限制性用药']
1590
-         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','medical_insurance_number','social_security_directory_code','number','medical_insurance_level','is_special_diseases_name','lmt_used_flag_name']
1625
+         const tHeader = ['*药品名称','*药品规格','*剂量','*剂量单位','*拆零','*拆零单位','*包装单位','*药品类型','*库存警戒','*产地','*药品剂型','*拆零零售价','*包装零售价','进货价','*药物分类','*默认单次用量','*默认单次用量单位','*生产厂商','经销商','*默认给药途径','*默认执行频率','*默认开药数量','*默认开药数量单位','*默认开药天数','限制性用药','药品别名','药品类别','开药控制','批准文号','审批标志','医保编码','药理分类','统计分类','本位码','是否特病目录','是否备案','处方药标志','社保目录编码','备案日期','药品备注','状态','限制说明']
1626
+         const filterVal = ['drug_name', 'specification_name','dose','dose_unit','min_number','min_unit','max_unit','drug_category_name','drug_stock_limit','drug_origin_place','drug_dosage_form_name','min_price','retail_price','last_price','drug_classify_name','drug_dose','drug_dose_unit_name','manufacturer_name','dealer_name','delivery_way','execution_frequency','prescribing_number','prescribing_number_unit','drug_day','','','','','number','','medical_insurance_number','','','','is_special_diseases_name','','','social_security_directory_code','','','','']
1591
 
1627
 
1592
          const data = this.formatJson(filterVal,this.list)
1628
          const data = this.formatJson(filterVal,this.list)
1593
 
1629
 
1633
            }
1669
            }
1634
         })
1670
         })
1635
       },
1671
       },
1672
+      jiaoBen(){
1673
+        updateBaseDrugLibByUserOrgId().then(response=>{
1674
+
1675
+        })
1676
+      }
1636
 
1677
 
1637
     },
1678
     },
1638
     created() {
1679
     created() {

+ 3 - 3
src/xt_pages/data/components/project.vue Zobrazit soubor

41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
42
         <!--<el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>-->
42
         <!--<el-button type="primary" size="small" @click="BatchDelete()" v-if="$store.getters.xt_user.org_id == 9504 || $store.getters.xt_user.org_id == 10028" >批量备案</el-button>-->
43
         <el-button type="primary" size="small" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
43
         <el-button type="primary" size="small" @click="GDYBBatchPutOnRecord()">批量备案</el-button>
44
-        <el-link target="_blank" href="https://kuyi.shengws.com/itemTemplate.xlsx" :underline="false"
44
+        <el-link target="_blank" href="https://kuyi.shengws.com/itemTemplateOne.xlsx" :underline="false"
45
                  style="margin-left:15px">
45
                  style="margin-left:15px">
46
           <el-button
46
           <el-button
47
             class="filter-item"
47
             class="filter-item"
923
            }
923
            }
924
          }
924
          }
925
           console.log("this.table",this.tableData)
925
           console.log("this.table",this.tableData)
926
-         const tHeader = ['项目名称','零价','单位','费用类别','执行科室','医保等级','国家编码','社保目录编码']
927
-         const filterVal = ['project_name', 'price','unit','cost_classify_name','executive_section_name','medical_coverage_name','medical_code','social_security_directory_code']
926
+         const tHeader = ['项目名称','零价','单位','费用类别','执行科室','医保等级','拼音','五笔','统计分类','是否特病目录','是否备案','国家编码','试管颜色','单次用量','用法','频率','天数','总量','状态','类别','特检项目','社保目录编码','备案日期','备注']
927
+         const filterVal = ['project_name', 'price','unit','cost_classify_name','executive_section_name','medical_coverage_name','','','','是','','medical_code','','','','','','','','','','social_security_directory_code','','']
928
 
928
 
929
          const data = this.formatJson(filterVal,this.tableData)
929
          const data = this.formatJson(filterVal,this.tableData)
930
 
930
 

+ 44 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue Zobrazit soubor

94
                   {{ record.patient.dialysis_no }}
94
                   {{ record.patient.dialysis_no }}
95
                 </div>
95
                 </div>
96
               </div>
96
               </div>
97
+              <div
98
+                class="inline_block"
99
+                v-if="
100
+                  record.receive_assessment.condition &&
101
+                  record.receive_assessment.condition == 1
102
+                "
103
+              >
104
+                住院科室:
105
+                <div
106
+                  class="under_line"
107
+                  style="width: 50px; text-align: center"
108
+                >
109
+                  <span>{{
110
+                    record.receive_assessment.condition &&
111
+                    record.receive_assessment.condition == 1 &&
112
+                    record.receive_assessment.his_department
113
+                      ?record.receive_assessment.his_department
114
+                      : "/"
115
+                  }}</span>
116
+                </div>
117
+              </div>
118
+              <div
119
+                class="inline_block"
120
+                v-if="
121
+                 record.receive_assessment.condition &&
122
+                 record.receive_assessment.condition == 1
123
+                "
124
+              >
125
+                住院床位:
126
+                <div
127
+                  class="under_line"
128
+                  style="width: 50px; text-align: center"
129
+                >
130
+                  <span>{{
131
+                    record.receive_assessment.condition &&
132
+                    record.receive_assessment.condition == 1 &&
133
+                    record.receive_assessment.his_bed
134
+                      ? record.receive_assessment.his_bed
135
+                      : "/"
136
+                  }}</span>
137
+                </div>
138
+              </div>
97
               <div class="inline_block" style="margin-left: 5px">
139
               <div class="inline_block" style="margin-left: 5px">
98
-                住院号/门诊号:
140
+                 住院号
99
                 <div
141
                 <div
100
                   class="under_line"
142
                   class="under_line"
101
                   style="width: 70px; text-align: left"
143
                   style="width: 70px; text-align: left"
102
                   v-if="record.receive_assessment.admission_number"
144
                   v-if="record.receive_assessment.admission_number"
103
                 >
145
                 >
104
-                  {{ record.receive_assessment.admission_number }}
146
+                   {{ record.receive_assessment.admission_number?record.receive_assessment.admission_number:"/" }}
105
                 </div>
147
                 </div>
106
                 <div
148
                 <div
107
                   class="under_line"
149
                   class="under_line"

+ 57 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue Zobrazit soubor

836
                               : "/"
836
                               : "/"
837
                            }}
837
                            }}
838
                           </span>
838
                           </span>
839
-                          <span v-if="org_id!=10206">
839
+
840
+                          <span v-if="org_id==10510">
841
+                              {{
842
+                            record.assessment_after_dislysis.displace_liqui_value
843
+                              ? record.assessment_after_dislysis.displace_liqui_value
844
+                              : "/"
845
+                           }}
846
+                          </span>
847
+                          
848
+                          <span v-if="org_id!=10206&&org_id!=10510">
840
                             {{
849
                             {{
841
                             record.prescription &&
850
                             record.prescription &&
842
                             record.prescription.displace_liqui_value
851
                             record.prescription.displace_liqui_value
1004
                       class="row"
1013
                       class="row"
1005
                       style="padding: 2px 0; line-height: 23px; display: flex"
1014
                       style="padding: 2px 0; line-height: 23px; display: flex"
1006
                     >
1015
                     >
1007
-                      <div class="inline_block" style="flex: 1"
1016
+                      <!-- <div class="inline_block" style="flex: 1"
1008
                         v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624 && org_id!=10290">
1017
                         v-if="org_id!=10440 && org_id!=0  && org_id!=10469 && org_id!=10490 && org_id!=10478 && org_id!=10495 && org_id!=10510 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10624 && org_id!=10290">
1009
                         上次透后体重:
1018
                         上次透后体重:
1010
                         <div
1019
                         <div
1028
                           }}</span>
1037
                           }}</span>
1029
                         </div>
1038
                         </div>
1030
                         kg
1039
                         kg
1031
-                      </div>
1040
+                      </div> -->
1032
 
1041
 
1033
-                      <div class="inline_block" style="flex: 1"
1034
-                        v-if="(org_id==10440 ||  org_id ==0 || org_id==10469 || org_id==10490 || org_id==10478  || org_id==10495 || org_id == 10460 || org_id ==10624 || org_id==10624 || org_id == 10290)&& org_id!=10510">
1042
+                      <div class="inline_block" style="flex: 1">
1035
                         上次透后体重:
1043
                         上次透后体重:
1036
                         <div
1044
                         <div
1037
                           class="under_line"
1045
                           class="under_line"
1621
                               org_id == 9675 ||
1629
                               org_id == 9675 ||
1622
                               org_id == 9671 ||
1630
                               org_id == 9671 ||
1623
                               org_id ==10600 ||
1631
                               org_id ==10600 ||
1624
-                              org_id ==10629
1632
+                              org_id ==10629 ||
1633
+                              org_id == 10510
1625
                             "
1634
                             "
1626
                           >
1635
                           >
1627
                             KT/V
1636
                             KT/V
1853
                               org_id == 9675 ||
1862
                               org_id == 9675 ||
1854
                               org_id == 9671 ||
1863
                               org_id == 9671 ||
1855
                               org_id == 10600 ||
1864
                               org_id == 10600 ||
1856
-                              org_id ==10629
1865
+                              org_id ==10629 ||
1866
+                              org_id ==10510
1857
                             "
1867
                             "
1858
                           >
1868
                           >
1859
                             {{ monitor_record.ktv }}
1869
                             {{ monitor_record.ktv }}
3735
         var resp = rs.data;
3745
         var resp = rs.data;
3736
         if (resp.state == 1) {
3746
         if (resp.state == 1) {
3737
           this.records = this.records.concat(resp.data.schedules);
3747
           this.records = this.records.concat(resp.data.schedules);
3748
+
3749
+          //华池
3750
+          if(this.org_id == 0 || this.org_id ==10440){
3751
+          
3752
+          var parint_id =0
3753
+        
3754
+          if(this.records!=null&&this.records.length>0){
3755
+            
3756
+            for(let i=0;i<this.records.length;i++){
3757
+             this.records[i].new_arr = []
3758
+             for(let j=0;j<this.records[i].advices.length;j++){
3759
+             
3760
+               if(this.records[i].advices[j].advice_name.indexOf("低分子")!=-1){
3761
+                 
3762
+                  parint_id = this.records[i].advices[j].id
3763
+               }
3764
+             }
3765
+            }
3766
+            for(let i=0;i<this.records.length;i++){
3767
+             for(let j=0;j<this.records[i].advices.length;j++){
3768
+               if(parint_id != this.records[i].advices[j].id && parint_id!=this.records[i].advices[j].parent_id){
3769
+                   this.records[i].new_arr.push(this.records[i].advices[j])
3770
+               }
3771
+             }
3772
+            }
3773
+
3774
+           
3775
+
3776
+            for(let i=0;i<this.records.length;i++){
3777
+               this.records[i].advices= []
3778
+               this.records[i].advices = this.records[i].new_arr
3779
+            }
3780
+          }
3781
+
3782
+         }
3738
           var tempmonitorflag = true;
3783
           var tempmonitorflag = true;
3739
           for(let i=0;i<this.records.length;i++){
3784
           for(let i=0;i<this.records.length;i++){
3740
             for(let j=0;j<this.records[i].monitor_records.length;j++){
3785
             for(let j=0;j<this.records[i].monitor_records.length;j++){
3783
             }
3828
             }
3784
 
3829
 
3785
 
3830
 
3786
-            if(this.org_id == 0|| this.org_id ==10571){
3831
+            if(this.org_id ==10571){
3787
              
3832
              
3788
                if(this.records!=null&& this.records.length>0){
3833
                if(this.records!=null&& this.records.length>0){
3789
                 for(let i=0;i<this.records.length;i++){
3834
                 for(let i=0;i<this.records.length;i++){
3919
             }
3964
             }
3920
           }
3965
           }
3921
           console.log("数据我哦我我", this.records);
3966
           console.log("数据我哦我我", this.records);
3967
+
3968
+
3922
            
3969
            
3923
           if(this.records!=null && this.records.length>0){
3970
           if(this.records!=null && this.records.length>0){
3924
             console.log("进啦地方大丰")
3971
             console.log("进啦地方大丰")
3980
             }
4027
             }
3981
           }
4028
           }
3982
 
4029
 
4030
+        
4031
+
3983
           console.log("时间我哦我",this.records)
4032
           console.log("时间我哦我",this.records)
3984
         
4033
         
3985
           // this.records.forEach(o => {
4034
           // this.records.forEach(o => {

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyNine.vue Zobrazit soubor

274
                                     接管时间:
274
                                     接管时间:
275
                                     <span style="width:160px;display:inline-block;">{{ record.dialysis_order ? getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") : "" }}</span>
275
                                     <span style="width:160px;display:inline-block;">{{ record.dialysis_order ? getTime(record.dialysis_order.start_time, "{y}-{m}-{d} {h}:{i}") : "" }}</span>
276
                                     透析次数
276
                                     透析次数
277
-                                    <div class="inline_block under_line" style="width:50px;text-align:center">&nbsp;{{ record.patient.total_dialysis + record.patient.user_sys_before_count }}</div>次
277
+                                    <div class="inline_block under_line" style="width:50px;text-align:center">&nbsp;
278
+                                      <!-- {{ record.patient.total_dialysis + record.patient.user_sys_before_count }} -->
279
+                                      {{ record.Count + record.patient.user_sys_before_count }}
280
+                                    </div>次
278
                                 </td>
281
                                 </td>
279
                             </tr>
282
                             </tr>
280
                         </tbody>
283
                         </tbody>

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

154
           <label>目标超滤量 : </label>
154
           <label>目标超滤量 : </label>
155
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
155
           <span class="content">{{ target_ultrafiltration != "0" ? target_ultrafiltration : ""}}</span>
156
           
156
           
157
-          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && 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 != 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 != 10460"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
158
-          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || 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 == 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 == 10460" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
157
+          <span v-if="this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 && this.$store.getters.xt_user.template_info.template_id != 40 && this.$store.getters.xt_user.template_info.template_id != 43 && this.$store.getters.xt_user.template_info.template_id != 45  && this.$store.getters.xt_user.template_info.template_id != 46  && this.$store.getters.xt_user.template_info.template_id != 48 && this.$store.getters.xt_user.template_info.org_id != 9555  && this.$store.getters.xt_user.template_info.org_id != 10345  && this.$store.getters.xt_user.template_info.org_id != 10346  && this.$store.getters.xt_user.template_info.org_id != 10395  && this.$store.getters.xt_user.template_info.template_id!=60  && this.$store.getters.xt_user.template_info.org_id != 10340  && 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 != 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 != 10460 &&  this.$store.getters.xt_user.template_info.org_id != 10644"  class="unit">{{ target_ultrafiltration != "0" ? "L" : "" }}</span>
158
+          <span v-if="this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22 || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 || this.$store.getters.xt_user.template_info.template_id == 40 || this.$store.getters.xt_user.template_info.template_id == 43 || this.$store.getters.xt_user.template_info.template_id == 45 || this.$store.getters.xt_user.template_info.template_id == 46  || this.$store.getters.xt_user.template_info.template_id == 48 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345  || this.$store.getters.xt_user.template_info.org_id == 10346  || this.$store.getters.xt_user.template_info.org_id == 10395 || this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || 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 == 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 == 10460 ||  this.$store.getters.xt_user.template_info.org_id == 10644" class="unit">{{ target_ultrafiltration != "0" ? "ml" : "" }}</span>
159
         </li>
159
         </li>
160
 
160
 
161
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">
161
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

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

343
           <label>上次透后体重: </label>
343
           <label>上次透后体重: </label>
344
           <span class="content" >{{ this.record.last_after_weight}}</span>
344
           <span class="content" >{{ this.record.last_after_weight}}</span>
345
         </li>
345
         </li>
346
+
347
+        <li v-if="isShow('置换液总量')">
348
+          <label>置换液总量: </label>
349
+          <span class="content" >{{ this.record.displace_liqui_value}}</span>
350
+        </li>
346
       </ul>
351
       </ul>
347
     </div>
352
     </div>
348
     <!-- <div class="note">
353
     <!-- <div class="note">

+ 21 - 13
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue Zobrazit soubor

461
           </el-form-item>
461
           </el-form-item>
462
         </el-col>
462
         </el-col>
463
 
463
 
464
+        <el-col :span="8" v-if="isShow('置换液总量') &&(prescription!=null && (prescription.mode_id == 2 || prescription.mode_id == 5 || prescription.mode_id == 12))">
465
+            <el-form-item label="置换液总量(L): " :prop="isName('置换液总量')" :rules="isCheckmust('置换液总量')">
466
+              <el-input v-model="form.displace_liqui_value"></el-input>
467
+            </el-form-item>
468
+          </el-col>
469
+
464
 
470
 
465
         <el-col :span="8" v-if="isShow('失衡综合症')">
471
         <el-col :span="8" v-if="isShow('失衡综合症')">
466
           <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')" >
472
           <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')" >
635
             </el-form-item>
641
             </el-form-item>
636
        </el-col>
642
        </el-col>
637
        <el-col :span="8" v-if="isShow('累计血容量')">
643
        <el-col :span="8" v-if="isShow('累计血容量')">
638
-            <el-form-item label="累计血容量(L):"  label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
644
+            <el-form-item label="透析血容量(L):"  label-width="150px" :prop="isName('累计血容量')" :rules="isCheckmust('累计血容量')">
639
               <el-input v-model="form.accumulated_blood_volume"></el-input>
645
               <el-input v-model="form.accumulated_blood_volume"></el-input>
640
             </el-form-item>
646
             </el-form-item>
641
         </el-col>
647
         </el-col>
646
             </el-form-item>
652
             </el-form-item>
647
           </el-col>
653
           </el-col>
648
         <el-col :span="24" v-if="isShow('KT/V')">
654
         <el-col :span="24" v-if="isShow('KT/V')">
649
-            <el-form-item label="KT/V:" :prop="isName('KT/V')" :rules="isCheckmust('KT/V')">
655
+            <el-form-item label="Kt/V:" :prop="isName('KT/V')" :rules="isCheckmust('KT/V')">
650
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
656
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
651
             </el-form-item>
657
             </el-form-item>
652
         </el-col>
658
         </el-col>
886
         accumulated_blood_volume:"",
892
         accumulated_blood_volume:"",
887
         transfusion_volume:"",
893
         transfusion_volume:"",
888
         condenser:"",
894
         condenser:"",
889
-        last_after_weight:""
895
+        last_after_weight:"",
896
+        displace_liqui_value:"",
890
       },
897
       },
891
       lapseList:[],
898
       lapseList:[],
892
       leaveOfficeMethod:[],
899
       leaveOfficeMethod:[],
1011
     'form.weight_after': function() {
1018
     'form.weight_after': function() {
1012
       console.log('体重减少',  this.form.weight_after)
1019
       console.log('体重减少',  this.form.weight_after)
1013
       this.form.weight_loss = ((this.predialysis_evaluation.weight_before - this.predialysis_evaluation.additional_weight) - (this.form.weight_after - this.form.additional_weight)).toFixed(1)
1020
       this.form.weight_loss = ((this.predialysis_evaluation.weight_before - this.predialysis_evaluation.additional_weight) - (this.form.weight_after - this.form.additional_weight)).toFixed(1)
1014
-    
1021
+
1015
       if (this.form.weight_loss < 0) {
1022
       if (this.form.weight_loss < 0) {
1016
         this.form.weight_loss = ''
1023
         this.form.weight_loss = ''
1017
       }
1024
       }
1020
       }
1027
       }
1021
 
1028
 
1022
       if(this.predialysis_evaluation!=null){
1029
       if(this.predialysis_evaluation!=null){
1023
-         
1030
+
1024
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1031
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1025
        }
1032
        }
1026
-      
1033
+
1027
     },
1034
     },
1028
     'form.additional_weight':function(){
1035
     'form.additional_weight':function(){
1029
       if(this.predialysis_evaluation!=null){
1036
       if(this.predialysis_evaluation!=null){
1030
-         
1037
+
1031
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1038
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1032
        }
1039
        }
1033
     }
1040
     }
1128
       this.$refs[formName].validate((valid)=>{
1135
       this.$refs[formName].validate((valid)=>{
1129
         if(valid){
1136
         if(valid){
1130
           var dateOne = this.schedual.schedule_date
1137
           var dateOne = this.schedual.schedule_date
1131
-          var schedule_date = uParseTime(dateOne, '{y}-{m}-{d}')      
1132
-          var date = this.$route.query && this.$route.query.date 
1138
+          var schedule_date = uParseTime(dateOne, '{y}-{m}-{d}')
1139
+          var date = this.$route.query && this.$route.query.date
1133
           this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') :schedule_date
1140
           this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') :schedule_date
1134
           console.log("日期我哦我",this.record_date)
1141
           console.log("日期我哦我",this.record_date)
1135
           this.loading = true
1142
           this.loading = true
1234
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1241
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1235
           data["transfusion_volume"] = this.form.transfusion_volume
1242
           data["transfusion_volume"] = this.form.transfusion_volume
1236
           data["condenser"] = this.form.condenser
1243
           data["condenser"] = this.form.condenser
1244
+          data['displace_liqui_value'] = this.form.displace_liqui_value
1237
           if(this.form.last_after_weight >0){
1245
           if(this.form.last_after_weight >0){
1238
             data["last_after_weight"] = this.form.last_after_weight.toString()
1246
             data["last_after_weight"] = this.form.last_after_weight.toString()
1239
           }else{
1247
           }else{
1240
             data["last_after_weight"] = ""
1248
             data["last_after_weight"] = ""
1241
           }
1249
           }
1242
-         
1250
+
1243
           console.log("Paramsquery",data)
1251
           console.log("Paramsquery",data)
1244
 
1252
 
1245
           postAssessmentAfterDislysis(ParamsQuery, data)
1253
           postAssessmentAfterDislysis(ParamsQuery, data)
1405
           break
1413
           break
1406
         default:
1414
         default:
1407
           break
1415
           break
1408
-        
1416
+
1409
       }
1417
       }
1410
       // console.log(val);
1418
       // console.log(val);
1411
     },
1419
     },
1600
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1608
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1601
     this.channels = this.$store.getters.channels
1609
     this.channels = this.$store.getters.channels
1602
 
1610
 
1603
-   
1611
+
1604
     // this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1612
     // this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1605
-   
1613
+
1606
     if(this.$store.getters.xt_user.template_info.org_id == 0 ||  this.$store.getters.xt_user.template_info.org_id==9829 ||  this.$store.getters.xt_user.template_info.org_id==10469){
1614
     if(this.$store.getters.xt_user.template_info.org_id == 0 ||  this.$store.getters.xt_user.template_info.org_id==9829 ||  this.$store.getters.xt_user.template_info.org_id==10469){
1607
       this.form.pulse_frequency = 80
1615
       this.form.pulse_frequency = 80
1608
     }
1616
     }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue Zobrazit soubor

1600
         }
1600
         }
1601
       }
1601
       }
1602
 
1602
 
1603
-      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517){
1603
+      if(this.$store.getters.xt_user.org.id == 9671 || this.$store.getters.xt_user.org.id == 9675 || this.$store.getters.xt_user.org.id == 10340 || this.$store.getters.xt_user.org.id == 10517 || this.$store.getters.xt_user.org.id == 10383){
1604
          var date = new Date()
1604
          var date = new Date()
1605
           var year = date.getFullYear()
1605
           var year = date.getFullYear()
1606
           var month = date.getMonth() + 1
1606
           var month = date.getMonth() + 1

+ 142 - 15
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Zobrazit soubor

3
         <el-dialog
3
         <el-dialog
4
                 title="透析处方"
4
                 title="透析处方"
5
                 :visible.sync="isVisibility"
5
                 :visible.sync="isVisibility"
6
-                width="1010px"
6
+                width="68%"
7
                 :modal = 'false'
7
                 :modal = 'false'
8
                 :modal-append-to-body="false"
8
                 :modal-append-to-body="false"
9
                 :close-on-click-modal="false"
9
                 :close-on-click-modal="false"
10
                 class="newDialog"
10
                 class="newDialog"
11
         >
11
         >
12
-            <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo">{{ patient.name }}</el-button>
13
-            <span style="position: absolute;left: 22%;top: 3%">
12
+            <el-button style="position: absolute;left: 12%;top: 2%" @click="handlePatientInfo(patient.id)">{{ patient.name }}</el-button>
13
+           
14
+            <span style="position: absolute;left: 20%;top: 3%">
14
               透前体重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
15
               透前体重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
+            
15
             </span>
17
             </span>
16
-            <span style="position: absolute;left: 35%;top: 3%">
18
+            <span style="position: absolute;left: 30%;top: 3%">
17
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
19
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
18
             </span>
20
             </span>
19
             <!-- <span style="position: absolute;left: 48%;top: 3%"  :modal = 'false'>
21
             <!-- <span style="position: absolute;left: 48%;top: 3%"  :modal = 'false'>
20
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
22
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
21
             </span> -->
23
             </span> -->
22
-            <span style="position: absolute;left: 48%;top: 3%">
24
+            <span style="position: absolute;left:38%;top: 3%">
23
               上次透后体重:{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg
25
               上次透后体重:{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg
24
             </span>
26
             </span>
25
 
27
 
26
-            <span style="position: absolute;left: 65%;top: 3%">
28
+            <span style="position: absolute;left:50%;top: 3%">
27
               4小时超滤量上限(5%):
29
               4小时超滤量上限(5%):
28
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
30
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
29
               kg
31
               kg
30
             </span>
32
             </span>
33
+            <span style="position: absolute;left: 70%;top: 3%">
34
+              透前血压:  {{predialysis&&predialysis.systolic_blood_pressure?predialysis.systolic_blood_pressure:""  }} / {{ predialysis&&predialysis.diastolic_blood_pressure?predialysis.diastolic_blood_pressure:"" }} mmHg
35
+            </span>
31
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
36
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
32
             <el-form
37
             <el-form
33
                     ref="dialysisPrescription"
38
                     ref="dialysisPrescription"
113
                     </el-col>
118
                     </el-col>
114
 
119
 
115
                     <el-col :span="8"
120
                     <el-col :span="8"
116
-                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || 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 == 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 == 10460)">
121
+                            v-if="isShows('目标超滤量') && (this.$store.getters.xt_user.template_info.template_id == 17 || this.$store.getters.xt_user.template_info.template_id == 9 || this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 21 || this.$store.getters.xt_user.template_info.template_id == 22  || this.$store.getters.xt_user.template_info.template_id == 23 || this.$store.getters.xt_user.template_info.template_id == 24 || this.$store.getters.xt_user.template_info.template_id == 26 || this.$store.getters.xt_user.template_info.template_id == 28  || this.$store.getters.xt_user.template_info.template_id == 27 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 30 || this.$store.getters.xt_user.template_info.template_id == 31 || this.$store.getters.xt_user.template_info.template_id == 32 || this.$store.getters.xt_user.template_info.template_id == 34 || this.$store.getters.xt_user.template_info.template_id == 38 ||  this.$store.getters.xt_user.template_info.template_id == 40 ||  this.$store.getters.xt_user.template_info.template_id == 43 ||  this.$store.getters.xt_user.template_info.template_id == 45  ||  this.$store.getters.xt_user.template_info.template_id == 46 ||  this.$store.getters.xt_user.template_info.template_id == 48 ||  this.$store.getters.xt_user.template_info.template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 9555 || this.$store.getters.xt_user.template_info.org_id == 10345 || this.$store.getters.xt_user.template_info.org_id == 10346 || this.$store.getters.xt_user.template_info.org_id == 10249 || this.$store.getters.xt_user.template_info.org_id == 10395 ||this.$store.getters.xt_user.template_info.template_id == 60 || this.$store.getters.xt_user.template_info.org_id == 10340 || 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 == 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 == 10460 || this.$store.getters.xt_user.template_info.org_id == 10644)">
117
                         <el-form-item label="目标超滤量(ml):"
122
                         <el-form-item label="目标超滤量(ml):"
118
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
123
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
119
                             <el-input
124
                             <el-input
127
 
132
 
128
 
133
 
129
                     <el-col :span="8"
134
                     <el-col :span="8"
130
-                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && 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!=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 != 10460">
135
+                            v-if="isShows('目标超滤量')  && this.$store.getters.xt_user.template_info.template_id != 17 && this.$store.getters.xt_user.template_info.template_id != 9 && this.$store.getters.xt_user.template_info.template_id != 20 && this.$store.getters.xt_user.template_info.template_id != 21 && this.$store.getters.xt_user.template_info.template_id != 22 && this.$store.getters.xt_user.template_info.template_id != 23 && this.$store.getters.xt_user.template_info.template_id != 24 && this.$store.getters.xt_user.template_info.template_id != 26 && this.$store.getters.xt_user.template_info.template_id != 28 && this.$store.getters.xt_user.template_info.template_id != 27 && this.$store.getters.xt_user.template_info.template_id != 29 && this.$store.getters.xt_user.template_info.template_id != 30 && this.$store.getters.xt_user.template_info.template_id != 31 && this.$store.getters.xt_user.template_info.template_id != 32 && this.$store.getters.xt_user.template_info.template_id != 34 && this.$store.getters.xt_user.template_info.template_id != 38 &&  this.$store.getters.xt_user.template_info.template_id != 40 &&  this.$store.getters.xt_user.template_info.template_id != 43 &&  this.$store.getters.xt_user.template_info.template_id != 45 &&  this.$store.getters.xt_user.template_info.template_id != 46  &&  this.$store.getters.xt_user.template_info.template_id != 48 &&  this.$store.getters.xt_user.template_info.template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 9555 &&  this.$store.getters.xt_user.template_info.org_id != 10345 &&  this.$store.getters.xt_user.template_info.org_id != 10346 && this.$store.getters.xt_user.template_info.org_id != 10249 &&  this.$store.getters.xt_user.template_info.org_id != 10395 &&  this.$store.getters.xt_user.template_info.template_id != 60 &&  this.$store.getters.xt_user.template_info.org_id != 10340 && 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!=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 != 10460 && this.$store.getters.xt_user.template_info.org_id != 10644">
131
                         <el-form-item
136
                         <el-form-item
132
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
137
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
133
                             <el-input
138
                             <el-input
1308
                 :close-on-click-modal="false"
1313
                 :close-on-click-modal="false"
1309
                 :close-on-press-escape="false"
1314
                 :close-on-press-escape="false"
1310
                 :show-close="false"
1315
                 :show-close="false"
1311
-                width="30%"
1316
+                width="40%"
1312
         >
1317
         >
1313
             <div class="newLine">
1318
             <div class="newLine">
1314
                 <span>本次透析日期</span>
1319
                 <span>本次透析日期</span>
1342
                 <span>上次透后称重(kg)</span>
1347
                 <span>上次透后称重(kg)</span>
1343
                 <span>{{ getLastAfterWeight(last_record) }}</span>
1348
                 <span>{{ getLastAfterWeight(last_record) }}</span>
1344
             </div>
1349
             </div>
1350
+          
1351
+          <div  class="newLine"><span>近五次数据展示:</span></div>
1352
+           <div>
1353
+            <el-table
1354
+              :data="tableData"
1355
+              border
1356
+              style="width: 100%">
1357
+              <el-table-column prop="date" label="透析日期" width="100">
1358
+                 <template slot-scope="scope">
1359
+                    {{getTimeOne(scope.row.assessment_date) }}
1360
+                 </template>
1361
+              </el-table-column>
1362
+              <!-- <el-table-column prop="name" label="透前血压(mmHg)" width="140">
1363
+                <template slot-scope="scope">
1364
+                  {{scope.row.systolic_blood_pressure}}/{{scope.row.diastolic_blood_pressure}}
1365
+                </template>
1366
+              </el-table-column> -->
1367
+              <el-table-column prop="name" label="透中血压(mmHg)" width="140">
1368
+                <template slot-scope="scope">
1369
+                  {{ GetMonitorList(scope.row.assessment_date) }}
1370
+                </template>
1371
+              </el-table-column>
1372
+              <el-table-column prop="address" label="透后体重(kg)" width="160">
1373
+                <template slot-scope="scope">
1374
+                   {{GetLast(scope.row.assessment_date)}}
1375
+                </template>
1376
+              </el-table-column>
1377
+              <el-table-column  width="180" prop="address" label="透析器评级">
1378
+                <template slot-scope="scope">
1379
+                  {{GetLastCruor(scope.row.assessment_date)}}
1380
+                </template>
1381
+              </el-table-column>
1382
+             </el-table>
1383
+           </div>
1345
 
1384
 
1346
             <span slot="footer" class="dialog-footer">
1385
             <span slot="footer" class="dialog-footer">
1347
         <el-button @click="cancleMsg()">取 消</el-button>
1386
         <el-button @click="cancleMsg()">取 消</el-button>
1395
 </template>
1434
 </template>
1396
 
1435
 
1397
 <script>
1436
 <script>
1398
-  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation } from '@/api/dialysis'
1437
+  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation,getPatientRecordList } from '@/api/dialysis'
1399
   import { getDataConfig } from '@/utils/data'
1438
   import { getDataConfig } from '@/utils/data'
1400
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1439
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1401
   import store from '@/store'
1440
   import store from '@/store'
1846
         selected_date:"",
1885
         selected_date:"",
1847
         remark:"",
1886
         remark:"",
1848
         blood_access_part: [],
1887
         blood_access_part: [],
1888
+        tableData:[],
1889
+        afterList:[],
1890
+        monitorList:[],
1849
       }
1891
       }
1850
 
1892
 
1851
     },
1893
     },
2187
             }
2229
             }
2188
           }
2230
           }
2189
         } else {
2231
         } else {
2190
-          if (schedual.mode_id == 2 || schedual.mode_id == 5 || schedual.mode_id == 12) {
2232
+          if (schedual.mode_id == 2  || schedual.mode_id == 5 || schedual.mode_id == 12) {
2191
             this.zhiShow = true
2233
             this.zhiShow = true
2192
             this.huShow = true
2234
             this.huShow = true
2193
             this.totalShow = true
2235
             this.totalShow = true
2236
+           if(schedual.mode_id == 2 || schedual.mode_id == 3 || schedual.mode_id == 4 || schedual.mode_id == 12){
2237
+              if(this.$store.getters.xt_user.template_info.org_id == 9970){
2238
+                this.dialysisPrescription.dialysis_remark = "患者毒素多,出现皮肤瘙痒,定期HDF或HP能改善患者不适症状,有利透析的充分性,因血液透析滤过有更稳定的血流动力学状态,且能有效清除中分子物质;血液灌流能更有效的清除大分子毒素。两者定期治疗能减少透析相关并发症,有得透析充分性,改善患者生活质量。"
2239
+              }
2240
+           }else{
2241
+               this.dialysisPrescription.dialysis_remark=""
2242
+           }
2243
+          
2194
           } else {
2244
           } else {
2195
             this.zhiShow = false
2245
             this.zhiShow = false
2196
             this.huShow = false
2246
             this.huShow = false
2522
       getTime(val) {
2572
       getTime(val) {
2523
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
2573
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
2524
       },
2574
       },
2575
+      getTimeOne(val) {
2576
+        return uParseTime(val, '{y}-{m}-{d}')
2577
+      },
2525
       showOne(prescription,admins){
2578
       showOne(prescription,admins){
2526
        console.log("prescription",prescription)
2579
        console.log("prescription",prescription)
2527
        if(prescription!=null && prescription.id == 0){
2580
        if(prescription!=null && prescription.id == 0){
2702
             } else if (schedual.schedule_type == 3) {
2755
             } else if (schedual.schedule_type == 3) {
2703
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2756
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2704
             }
2757
             }
2758
+           }else if(this.$store.getters.xt_user.org.id == 10383){
2759
+              if (schedual.schedule_type == 1) {
2760
+              this.start_time = year + '-' + month + '-' + day + ' ' + '7:00'
2761
+            } else if (schedual.schedule_type == 2) {
2762
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:00'
2763
+            } else if (schedual.schedule_type == 3) {
2764
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2765
+            }
2705
            }else if(this.$store.getters.xt_user.org.id == 10234){
2766
            }else if(this.$store.getters.xt_user.org.id == 10234){
2706
               if (schedual.schedule_type == 1) {
2767
               if (schedual.schedule_type == 1) {
2707
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:30'
2768
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:30'
4349
         this.dialysisPrescription.displace_speed = ""
4410
         this.dialysisPrescription.displace_speed = ""
4350
       }
4411
       }
4351
 
4412
 
4413
+      if(id == 2 || id ==3 || id ==4 || id ==12){
4414
+        if(this.$store.getters.xt_user.template_info.org_id == 9970){
4415
+          this.dialysisPrescription.dialysis_remark = "患者毒素多,出现皮肤瘙痒,定期HDF或HP能改善患者不适症状,有利透析的充分性,因血液透析滤过有更稳定的血流动力学状态,且能有效清除中分子物质;血液灌流能更有效的清除大分子毒素。两者定期治疗能减少透析相关并发症,有得透析充分性,改善患者生活质量。"
4416
+        }
4417
+      }else{
4418
+        this.dialysisPrescription.dialysis_remark = ""
4419
+      }
4420
+       
4421
+      
4422
+
4352
       const ParamsQuery = {}
4423
       const ParamsQuery = {}
4353
       ParamsQuery['patient_id'] = this.$route.query.patient_id
4424
       ParamsQuery['patient_id'] = this.$route.query.patient_id
4354
       ParamsQuery['mode_id'] = id
4425
       ParamsQuery['mode_id'] = id
4502
       }
4573
       }
4503
 
4574
 
4504
     },
4575
     },
4505
-    handlePatientInfo() {
4506
-      this.isVisibility = false
4507
-      this.msgtip_visibility = true
4576
+    handlePatientInfo(id) {
4577
+      
4578
+      getPatientRecordList(id).then(response=>{
4579
+        if(response.data.state ==1){
4580
+          this.isVisibility = false
4581
+          this.msgtip_visibility = true
4582
+
4583
+          
4584
+          var beforList = response.data.data.beforList
4585
+       
4586
+          this.tableData = beforList
4587
+
4588
+          var afterList =  response.data.data.afterList
4589
+       
4590
+          this.afterList = afterList
4591
+
4592
+          this.monitorList = response.data.data.monitorList
4593
+        }
4594
+      })
4595
+     
4596
+    },
4597
+    GetLast(date){
4598
+      var weight_after = ""
4599
+      for(let i=0;i<this.afterList.length;i++){
4600
+        if(date == this.afterList[i].assessment_date){
4601
+           weight_after = this.afterList[i].weight_after
4602
+        }
4603
+      }
4604
+      return weight_after
4605
+    },
4606
+    GetLastCruor(date){
4607
+      var cruor = ""
4608
+      for(let i=0;i<this.afterList.length;i++){
4609
+        if(date == this.afterList[i].assessment_date){
4610
+          cruor = this.afterList[i].cruor
4611
+        }
4612
+      }
4613
+      return cruor
4614
+    },
4615
+    GetMonitorList(monitor_date){
4616
+     
4617
+        var str = ""
4618
+        var newArr = []
4619
+        for(let i=0;i<this.monitorList.length;i++){
4620
+          for(let j=0;j<this.monitorList[i].child.length;j++){
4621
+            if(monitor_date == this.monitorList[i].monitoring_date){
4622
+              newArr.push(this.monitorList[i].child[j]) 
4623
+            }
4624
+          }
4625
+        }
4626
+       
4627
+        if(newArr!=null && newArr.length>0){
4628
+        for(let i=0;i<newArr.length;i++){
4629
+            str += newArr[i].systolic_blood_pressure +"/"+newArr[i].diastolic_blood_pressure+","
4630
+        }
4631
+        }
4632
+      
4633
+        return str
4508
     },
4634
     },
4509
     handlePatientInfoOne(){
4635
     handlePatientInfoOne(){
4510
       this.isVisibility = false
4636
       this.isVisibility = false
5226
           }
5352
           }
5227
         }
5353
         }
5228
         console.log(" 人员",this.adminRoles)
5354
         console.log(" 人员",this.adminRoles)
5229
-      }
5355
+      },
5356
+     
5230
     },
5357
     },
5231
     created() {
5358
     created() {
5232
 
5359
 

+ 10 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue Zobrazit soubor

513
                 org_id == 10395||
513
                 org_id == 10395||
514
                 org_id == 10617
514
                 org_id == 10617
515
 
515
 
516
-               )&& org_id!=10598
516
+               )&& org_id!=10598 && org_id!=10414
517
             "
517
             "
518
           >
518
           >
519
             <template slot-scope="scope">
519
             <template slot-scope="scope">
542
               org_id !=10445 &&
542
               org_id !=10445 &&
543
               org_id!=10395 &&
543
               org_id!=10395 &&
544
               org_id !=10410 &&
544
               org_id !=10410 &&
545
-              org_id!=10617)|| org_id==10598
545
+              org_id!=10617)|| org_id==10598 || org_id ==10414
546
             "
546
             "
547
           >
547
           >
548
             <template slot-scope="scope">
548
             <template slot-scope="scope">
580
                 template_id != 47 &&
580
                 template_id != 47 &&
581
                 org_id!=10558 &&
581
                 org_id!=10558 &&
582
                 org_id!=10517 && 
582
                 org_id!=10517 && 
583
+                org_id!=10414 && 
583
                 org_id!=10598) ||
584
                 org_id!=10598) ||
584
                 org_id == 9779 ||
585
                 org_id == 9779 ||
585
                 template_id == 11 ||
586
                 template_id == 11 ||
612
             width="100"
613
             width="100"
613
             v-if="
614
             v-if="
614
               isShow('置换量') &&
615
               isShow('置换量') &&
615
-              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598) &&
616
+              (template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id == 10551 || org_id ==10558 || org_id ==10517 || org_id ==10598 || org_id ==10414) &&
616
               template_id != 9779 &&
617
               template_id != 9779 &&
617
               template_id != 11 &&
618
               template_id != 11 &&
618
               template_id != 20 &&
619
               template_id != 20 &&
942
           <el-table-column
943
           <el-table-column
943
             prop="heparin"
944
             prop="heparin"
944
             align="center"
945
             align="center"
945
-            label="KT/V"
946
+            label="Kt/V"
946
             width="140"
947
             width="140"
947
             v-if="
948
             v-if="
948
               isShow('KT/V') &&
949
               isShow('KT/V') &&
1436
                 org_id==10445 ||
1437
                 org_id==10445 ||
1437
                 org_id==10410 ||
1438
                 org_id==10410 ||
1438
                 org_id==10395 || 
1439
                 org_id==10395 || 
1439
-                org_id==10617) && org_id !=10558 && org_id!=10598
1440
+                org_id==10617) && org_id !=10558 && org_id!=10598 && org_id!=10414
1440
             "
1441
             "
1441
           >
1442
           >
1442
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1443
             <el-form-item label="置换率(ml/min):" :prop="isName('置换率')"
1469
               org_id!=10340 &&
1470
               org_id!=10340 &&
1470
               org_id!=10432 &&
1471
               org_id!=10432 &&
1471
               org_id!=10445 &&
1472
               org_id!=10445 &&
1472
-              org_id!=10395
1473
+              org_id!=10395 &&
1474
+              org_id!=10414
1473
             "
1475
             "
1474
           >
1476
           >
1475
             <el-form-item label="置换量(L):" :prop="isName('置换量')"
1477
             <el-form-item label="置换量(L):" :prop="isName('置换量')"
1485
                 org_id != 9919 &&
1487
                 org_id != 9919 &&
1486
                 org_id != 10191 &&
1488
                 org_id != 10191 &&
1487
                 org_id != 10551 &&
1489
                 org_id != 10551 &&
1488
-                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598) ||
1490
+                template_id != 43 && org_id!=10558 && org_id!=10346 && org_id!=10598 && org_id!=10414) ||
1489
                 org_id == 9779 ||
1491
                 org_id == 9779 ||
1490
                 template_id == 11 ||
1492
                 template_id == 11 ||
1491
                 template_id == 20 ||
1493
                 template_id == 20 ||
1723
 
1725
 
1724
           <el-row :gutter="20"> -->
1726
           <el-row :gutter="20"> -->
1725
           <el-col :span="24" v-if="isShow('KT/V')">
1727
           <el-col :span="24" v-if="isShow('KT/V')">
1726
-            <el-form-item label="KT/V(在线):" :prop="isName('KT/V')"
1728
+            <el-form-item label="Kt/V(在线):" :prop="isName('Kt/V')"
1727
               :rules="isCheckmust('KT/V')">
1729
               :rules="isCheckmust('KT/V')">
1728
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
1730
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
1729
             </el-form-item>
1731
             </el-form-item>

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

599
         console.log("str000000000000000000222o2o2",str)
599
         console.log("str000000000000000000222o2o2",str)
600
         this.treatmentSummary.dialysis_summary = ""
600
         this.treatmentSummary.dialysis_summary = ""
601
         this.treatmentSummary.dialysis_summary = str
601
         this.treatmentSummary.dialysis_summary = str
602
+       }else if (this.org_id ==10537 ){
603
+        var str = " 患者今日来我科行血液透析治疗,血管通路选择:"+this.predialysis_evaluation.blood_access_part_id+ " "+this.QueryOperaById(this.predialysis_evaluation.blood_access_part_opera_id) +",透析模式:"+this.getModeId(this.prescription.mode_id)+
604
+       ",透前检查:"+this.predialysis_evaluation.internal_fistula +this.predialysis_evaluation.catheter + str_one +" "+ ",透析器:"+this.prescription.dialyzer_perfusion_apparatus + ",抗凝剂:"+this.GetAnticoagulant(this.prescription.anticoagulant) +
605
+      ",透前体重:"+this.predialysis_evaluation.weight_before+"kg"+",间期体重增长:"+total +"kg"+",目标脱水量:"+this.prescription.target_ultrafiltration +"ml" +",血流量:"+this.prescription.blood_flow_volume+"ml/min" + ",透析开始时间:"+this.getTime(this.dialysis_order.start_time) +",透析过程中血压波动,"+"最小收缩压:"+monitor_one[0].systolic_blood_pressure+"mmHg"+",最大收缩压:"+monitor_one[monitor_one.length-1].systolic_blood_pressure
606
+      +"mmHg" +",最小舒张压:" +monitor_two[0].diastolic_blood_pressure+"mmHg" + ",最大舒张压:" + monitor_two[monitor_two.length-1].diastolic_blood_pressure +"mmHg" + ",最大脉搏:"+monitor_three[0].pulse_frequency+"次/分"+",最小脉搏:"+monitor_three[monitor_three.length-1].pulse_frequency+"次/分"+",透析结束时间:"+this.getTime(this.dialysis_order.end_time) +
607
+      ",实际治疗时长:"+ this.assessment_after_dislysis.actual_treatment_hour +"时"+this.assessment_after_dislysis.actual_treatment_minute+"分" +",实际超滤量:"+this.assessment_after_dislysis.actual_ultrafiltration+"L"+",透后体重:"+this.assessment_after_dislysis.weight_after+"kg"+",透析过程顺利,安全下机" + " "
608
+       +",患者下机后测血压,"+"收缩压:"+this.assessment_after_dislysis.systolic_blood_pressure+"mmHg"+",舒张压:"+this.assessment_after_dislysis.diastolic_blood_pressure+"mmHg"+",脉搏:"+this.assessment_after_dislysis.pulse_frequency +"次/分"
609
+
602
        }else{
610
        }else{
603
         var str = " 患者今日来我科行血液透析治疗,血管通路选择:"+this.predialysis_evaluation.blood_access_part_id+ " "+this.QueryOperaById(this.predialysis_evaluation.blood_access_part_opera_id) +",透析模式:"+this.getModeId(this.prescription.mode_id)+
611
         var str = " 患者今日来我科行血液透析治疗,血管通路选择:"+this.predialysis_evaluation.blood_access_part_id+ " "+this.QueryOperaById(this.predialysis_evaluation.blood_access_part_opera_id) +",透析模式:"+this.getModeId(this.prescription.mode_id)+
604
        ",透前检查:"+this.predialysis_evaluation.internal_fistula +this.predialysis_evaluation.catheter + str_one +" "+ ",透析器:"+this.prescription.dialyzer_perfusion_apparatus + ",抗凝剂:"+this.GetAnticoagulant(this.prescription.anticoagulant) +
612
        ",透前检查:"+this.predialysis_evaluation.internal_fistula +this.predialysis_evaluation.catheter + str_one +" "+ ",透析器:"+this.prescription.dialyzer_perfusion_apparatus + ",抗凝剂:"+this.GetAnticoagulant(this.prescription.anticoagulant) +
605
-      ",透前体重:"+this.predialysis_evaluation.weight_before+"kg"+",间期体重增长:"+total +"kg"+",目标脱水量:"+this.prescription.target_ultrafiltration +"L" +",血流量:"+this.prescription.blood_flow_volume+"ml/min" + ",透析开始时间:"+this.getTime(this.dialysis_order.start_time) +",透析过程中血压波动,"+"最大收缩压:"+monitor_one[0].systolic_blood_pressure+"mmHg"+",最小收缩压:"+monitor_one[monitor_one.length-1].systolic_blood_pressure
613
+      ",透前体重:"+this.predialysis_evaluation.weight_before+"kg"+",间期体重增长:"+total +"kg"+",目标脱水量:"+this.prescription.target_ultrafiltration +"L" +",血流量:"+this.prescription.blood_flow_volume+"ml/min" + ",透析开始时间:"+this.getTime(this.dialysis_order.start_time) +",透析过程中血压波动,"+"最小收缩压:"+monitor_one[0].systolic_blood_pressure+"mmHg"+",最大收缩压:"+monitor_one[monitor_one.length-1].systolic_blood_pressure
606
       +"mmHg" +",最小舒张压:" +monitor_two[0].diastolic_blood_pressure+"mmHg" + ",最大舒张压:" + monitor_two[monitor_two.length-1].diastolic_blood_pressure +"mmHg" + ",最大脉搏:"+monitor_three[0].pulse_frequency+"次/分"+",最小脉搏:"+monitor_three[monitor_three.length-1].pulse_frequency+"次/分"+",透析结束时间:"+this.getTime(this.dialysis_order.end_time) +
614
       +"mmHg" +",最小舒张压:" +monitor_two[0].diastolic_blood_pressure+"mmHg" + ",最大舒张压:" + monitor_two[monitor_two.length-1].diastolic_blood_pressure +"mmHg" + ",最大脉搏:"+monitor_three[0].pulse_frequency+"次/分"+",最小脉搏:"+monitor_three[monitor_three.length-1].pulse_frequency+"次/分"+",透析结束时间:"+this.getTime(this.dialysis_order.end_time) +
607
       ",实际治疗时长:"+ this.assessment_after_dislysis.actual_treatment_hour +"时"+this.assessment_after_dislysis.actual_treatment_minute+"分" +",实际超滤量:"+this.assessment_after_dislysis.actual_ultrafiltration+"L"+",透后体重:"+this.assessment_after_dislysis.weight_after+"kg"+",透析过程顺利,安全下机" + " "
615
       ",实际治疗时长:"+ this.assessment_after_dislysis.actual_treatment_hour +"时"+this.assessment_after_dislysis.actual_treatment_minute+"分" +",实际超滤量:"+this.assessment_after_dislysis.actual_ultrafiltration+"L"+",透后体重:"+this.assessment_after_dislysis.weight_after+"kg"+",透析过程顺利,安全下机" + " "
608
        +",患者下机后测血压,"+"收缩压:"+this.assessment_after_dislysis.systolic_blood_pressure+"mmHg"+",舒张压:"+this.assessment_after_dislysis.diastolic_blood_pressure+"mmHg"+",脉搏:"+this.assessment_after_dislysis.pulse_frequency +"次/分"
616
        +",患者下机后测血压,"+"收缩压:"+this.assessment_after_dislysis.systolic_blood_pressure+"mmHg"+",舒张压:"+this.assessment_after_dislysis.diastolic_blood_pressure+"mmHg"+",脉搏:"+this.assessment_after_dislysis.pulse_frequency +"次/分"

+ 5 - 5
src/xt_pages/dialysis/details/dialysisMonitoring.vue Zobrazit soubor

21
           <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && 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!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
21
           <th v-if="isShow('超滤率') && (template_id !=6 && template_id !=65 && template_id !=10 && template_id !=11 && template_id !=12 && template_id !=13 && template_id !=17 && template_id !=18 && template_id !=19 && template_id !=20 && template_id !=21 && template_id !=22 && template_id !=23 && template_id !=24 && template_id !=26 && template_id !=29 && template_id !=30 && template_id !=31 && template_id !=34 && template_id !=35 && template_id !=38  && template_id !=41 && template_id !=43 && template_id !=44 && template_id !=46 && template_id !=47 &&  template_id !=48 &&  template_id !=53 &&  template_id !=54 &&  template_id !=56 &&  template_id !=60 && this.$store.getters.xt_user.template_info.org_id!=10432  && 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!=10485 &&this.$store.getters.xt_user.template_info.org_id!=10375 && this.$store.getters.xt_user.template_info.org_id!=10480 && this.$store.getters.xt_user.template_info.org_id!=10597 && this.$store.getters.xt_user.template_info.org_id!=10599 && this.$store.getters.xt_user.template_info.org_id!=10612 && this.$store.getters.xt_user.template_info.org_id!=10617 && this.$store.getters.xt_user.template_info.org_id!=10580 && this.$store.getters.xt_user.template_info.org_id!=10629 ) || this.$store.getters.xt_user.template_info.org_id==10387" width="50px"> 超滤率 <br />(L/h) </th>
22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
23
           <th v-if="isShow('透析液温度')" width="92px">透析液温度(℃)</th>
24
-          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617) && org_id!=10558 && org_id!=10598" width="92px" > 置换率(ml/min) </th>
25
-          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617) || org_id == 10558 || org_id ==10598" width="92px" > 置换率(L/h)  </th>
24
+          <th v-if=" isShow('置换率') && (template_id == 6 || template_id == 10 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46  || template_id == 48 || template_id == 53  || template_id == 54 || template_id == 56 || org_id == 10432 || org_id == 10445 || org_id == 10410 || org_id ==10617) && org_id!=10558 && org_id!=10598 && org_id!=10414" width="92px" > 置换率(ml/min) </th>
25
+          <th v-if=" isShow('置换率') && (template_id != 6 && template_id != 10 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && org_id!=10432 && org_id!=10445 && org_id!=10410 && org_id!=10617) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换率(L/h)  </th>
26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
26
           <th v-if=" isShow('置换量') && (template_id == 43)" width="92px"> 置换量(ml/h)  </th>
27
-          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || 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 == 10445 ) && org_id!=10558 && org_id!=10598" width="92px"  > 置换量(ml)  </th>
28
-          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && 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 != 10445) || org_id == 10558 || org_id ==10598" width="92px" > 置换量(L) </th>
27
+          <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || 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 == 10445 ) && org_id!=10558 && org_id!=10598  && org_id!=10414" width="92px"  > 置换量(ml)  </th>
28
+          <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && 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 != 10445) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换量(L) </th>
29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
30
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
30
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
46
           <th v-if="isShow('脱水')" width="92px">脱水(L)</th>
46
           <th v-if="isShow('脱水')" width="92px">脱水(L)</th>
47
           <th v-if="isShow('滤前压')" width="92px">滤前压(mmHg)</th>
47
           <th v-if="isShow('滤前压')" width="92px">滤前压(mmHg)</th>
48
         
48
         
49
-          <th v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800 || org_id ==  9598)" width="92px">KT/V</th>
49
+          <th v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800 || org_id ==  9598)" width="92px">Kt/V</th>
50
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
50
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
51
 
51
 
52
           <th v-if="isShow('处理')" width="92px">处理</th>
52
           <th v-if="isShow('处理')" width="92px">处理</th>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue Zobrazit soubor

1086
                                 "
1086
                                 "
1087
                                 >【开始透析】引血{{ dialysisOrder.blood_drawing }} ml/min
1087
                                 >【开始透析】引血{{ dialysisOrder.blood_drawing }} ml/min
1088
                                 </template>
1088
                                 </template>
1089
-
1090
-                              {{ monitor.dispose }} {{ monitor.end }}  &nbsp;
1089
+                              
1090
+                                {{ monitor.dispose }} {{ monitor.end }}  &nbsp;
1091
                               &nbsp;
1091
                               &nbsp;
1092
                             </span>
1092
                             </span>
1093
                           </div>
1093
                           </div>

+ 52 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Zobrazit soubor

897
                         class="under_line"
897
                         class="under_line"
898
                         style="width: 70px; text-align: center"
898
                         style="width: 70px; text-align: center"
899
                       >
899
                       >
900
-                      <span v-if="org_id ==10206"> {{
900
+                      <span v-if="org_id ==10206 "> {{
901
                           prescription.replacement_total
901
                           prescription.replacement_total
902
                             ? prescription.replacement_total
902
                             ? prescription.replacement_total
903
                             : "/"
903
                             : "/"
904
                         }}
904
                         }}
905
                         </span>
905
                         </span>
906
-                        <span v-if="org_id!=10206"> {{
906
+
907
+                        <span v-if="org_id ==10510 "> {{
908
+                          afterdialysis.displace_liqui_value
909
+                            ? afterdialysis.displace_liqui_value
910
+                            : "/"
911
+                        }}
912
+                        </span>
913
+                        <span v-if="org_id!=10206&& org_id!=10510"> {{
907
                           prescription.displace_liqui_value
914
                           prescription.displace_liqui_value
908
                             ? prescription.displace_liqui_value
915
                             ? prescription.displace_liqui_value
909
                             : "/"
916
                             : "/"
929
                             : "/"
936
                             : "/"
930
                         }}
937
                         }}
931
                         </span>
938
                         </span>
932
-                        <span v-if="org_id!=10206"> {{
939
+
940
+                        <span v-if="org_id ==10510"> {{
941
+                          afterdialysis.displace_liqui_value
942
+                            ? afterdialysis.displace_liqui_value
943
+                            : "/"
944
+                        }}
945
+                        </span>
946
+                        
947
+                        <span v-if="org_id!=10206 && org_id!=10510"> {{
933
                           prescription.displace_liqui_value
948
                           prescription.displace_liqui_value
934
                             ? prescription.displace_liqui_value
949
                             ? prescription.displace_liqui_value
935
                             : "/"
950
                             : "/"
1128
                         class="under_line"
1143
                         class="under_line"
1129
                         style="width: 100px; text-align: center"
1144
                         style="width: 100px; text-align: center"
1130
                       >
1145
                       >
1131
-                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 || org_id == 0 || org_id == 10469 || org_id == 10478 || org_id == 10490 || org_id ==10495 || org_id == 10460 || org_id==10585 || org_id ==10567 || org_id ==10598 || org_id ==10624">{{
1146
+                        <!-- <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 || org_id == 10440 || org_id == 0 || org_id == 10469 || org_id == 10478 || org_id == 10490 || org_id ==10495 || org_id == 10460 || org_id==10585 || org_id ==10567 || org_id ==10598 || org_id ==10624">{{
1132
                           lastafterdialysis.weight_after
1147
                           lastafterdialysis.weight_after
1133
                         }}</span>
1148
                         }}</span>
1134
                         <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440 && org_id!=0 && org_id!=10469 && org_id!=10478 && org_id!=10490 && org_id!=10495 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10598&&org_id!=10624">{{
1149
                         <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956 && org_id != 10440 && org_id!=0 && org_id!=10469 && org_id!=10478 && org_id!=10490 && org_id!=10495 && org_id!=10460 && org_id!=10585 && org_id!=10567 && org_id!=10598&&org_id!=10624">{{
1135
                           predialysis.weight_after_last_transparency
1150
                           predialysis.weight_after_last_transparency
1136
                             ? predialysis.weight_after_last_transparency
1151
                             ? predialysis.weight_after_last_transparency
1137
                             : "未称重"
1152
                             : "未称重"
1138
-                        }}</span>
1153
+                        }}</span> -->
1154
+
1155
+                        {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
1139
                        
1156
                        
1140
                       </div>
1157
                       </div>
1141
                       kg
1158
                       kg
1688
                           <span v-if="org_id==10598">(L)</span> 
1705
                           <span v-if="org_id==10598">(L)</span> 
1689
                         </td>
1706
                         </td>
1690
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1707
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">滤前压(mmHg)</td>
1691
-                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629">KT/V</td>
1708
+                        <td width="50" v-if="org_id == 9538 || org_id ==10600 || org_id ==10629 || org_id ==10510">KT/V</td>
1692
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1709
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1693
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1710
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1694
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1711
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
1794
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1811
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1795
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1812
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1796
                         </td>
1813
                         </td>
1797
-                        <td v-if="org_id!=10600">
1814
+                        <td v-if="org_id!=10600 && org_id!=10644">
1798
                           <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1815
                           <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1799
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1816
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1800
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1817
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
1803
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1820
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1804
                            </span>
1821
                            </span>
1805
                         </td>
1822
                         </td>
1806
-                        <td width="50" v-if="org_id == 10600 || org_id == 10598"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1823
+                        <td width="50" v-if="org_id == 10600 || org_id == 10598 || org_id==10644"><br/> {{ monitor.ultrafiltration_rate? monitor.ultrafiltration_rate: "0"}}</td>
1807
                         <td
1824
                         <td
1808
                           v-if="
1825
                           v-if="
1809
                             (prescription.mode_id == 2 ||
1826
                             (prescription.mode_id == 2 ||
1822
                           </span>
1839
                           </span>
1823
                         </td>
1840
                         </td>
1824
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1841
                         <td width="50" v-if="org_id == 3877 || org_id == 0 || org_id == 10449">{{ monitor.filter_pressure?monitor.filter_pressure:""}}</td>
1825
-                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629">
1842
+                        <td width="50" v-if="org_id == 9919 || org_id == 9538 || org_id == 9671 || org_id ==10600 || org_id ==10629 || org_id ==10510">
1826
                           {{ monitor.ktv?monitor.ktv:"" }}
1843
                           {{ monitor.ktv?monitor.ktv:"" }}
1827
                         </td>
1844
                         </td>
1828
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
1845
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
1954
                   </table>
1971
                   </table>
1955
                 </td>
1972
                 </td>
1956
               </tr>
1973
               </tr>
1957
-              <tr v-if="org_id!=0&& org_id!=10206">
1974
+              <tr v-if="org_id!=10206">
1958
                 <td style="padding: 0; position: relative" colspan="2">
1975
                 <td style="padding: 0; position: relative" colspan="2">
1959
                   <table class="inside_table">
1976
                   <table class="inside_table">
1960
                     <tbody>
1977
                     <tbody>
2190
               </tr>
2207
               </tr>
2191
 
2208
 
2192
 
2209
 
2193
-              <tr v-if="org_id==0 || org_id ==10206">
2210
+              <tr v-if="org_id ==10206">
2194
                 <td style="padding: 0; position: relative" colspan="2">
2211
                 <td style="padding: 0; position: relative" colspan="2">
2195
                   <table class="inside_table">
2212
                   <table class="inside_table">
2196
                     <tbody>
2213
                     <tbody>
4715
 
4732
 
4716
 
4733
 
4717
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4734
         console.log("RESWOOWOWWOOW",response.data.data.doctorAdevieInfo)
4735
+
4736
+        //华池
4737
+        if(this.org_id == 0 || this.org_id == 10440){
4738
+           var parint_id =0
4739
+           var newArr = []
4740
+           if(this.doctor_advices!=null&&this.doctor_advices.length>0){
4741
+               
4742
+             for(let i=0;i<this.doctor_advices.length;i++){
4743
+               if(this.doctor_advices[i].advice_name.indexOf("低分子")!=-1){
4744
+                 parint_id = this.doctor_advices[i].id
4745
+               }
4746
+             }
4747
+
4748
+             for(let i=0;i<this.doctor_advices.length;i++){
4749
+               if(this.doctor_advices[i].id != parint_id && this.doctor_advices[i].parent_id!=parint_id){
4750
+                  newArr.push(this.doctor_advices[i])
4751
+               }
4752
+             }
4753
+             this.doctor_advices =[]
4754
+             this.doctor_advices = newArr
4755
+           }
4756
+        }
4757
+
4718
         if(this.org_id ==10515  || this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489){
4758
         if(this.org_id ==10515  || this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489){
4719
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4759
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4720
 
4760
 
4787
         console.log("时间我我我哦我我",this.doctor_advices)
4827
         console.log("时间我我我哦我我",this.doctor_advices)
4788
         
4828
         
4789
         //针对内蒙古阿拉善
4829
         //针对内蒙古阿拉善
4790
-        if(this.org_id == 0 || this.org_id ==10206){
4830
+        if(this.org_id ==10206){
4791
            
4831
            
4792
           if(this.doctor_advices!=null && this.doctor_advices.length > 0){
4832
           if(this.doctor_advices!=null && this.doctor_advices.length > 0){
4793
              
4833
              

+ 81 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue Zobrazit soubor

767
                   </tbody>
767
                   </tbody>
768
                 </table> -->
768
                 </table> -->
769
 
769
 
770
+                <table class="table-box">
771
+                          <tbody>
772
+                            <tr>
773
+                              <td width="40">抗凝方式:</td>
774
+                              <td width="120">
775
+                                <div class="under-line">
776
+                                  <span v-if="prescription.anticoagulant == ''">&nbsp;/</span>
777
+                                  <span v-if="prescription.anticoagulant == '无肝素'">&nbsp;无肝素</span>
778
+                                  <span v-if="prescription.anticoagulant == '普通肝素'">&nbsp;普通肝素</span>
779
+                                  <span v-if="prescription.anticoagulant == '低分子肝素'">&nbsp;低分子肝素</span>
780
+                                  <span v-if="prescription.anticoagulant == '阿加曲班'">&nbsp;阿加曲班</span>
781
+                                  <span v-if="prescription.anticoagulant == '枸橼酸钠'">&nbsp;枸橼酸钠</span>
782
+                                  <span v-if="prescription.anticoagulant == '低分子肝素'">&nbsp;低分子肝素</span>
783
+                                  <span v-if="prescription.anticoagulant == '低分子量肝素钙'">&nbsp;低分子量肝素钙</span>
784
+                                  <span v-if="prescription.anticoagulant == '低分子肝素钙'">&nbsp;低分子肝素钙</span>
785
+                                  <span v-if="prescription.anticoagulant == '低分子肝素钠'">&nbsp;低分子肝素钠</span>
786
+                                  <span v-if="prescription.anticoagulant == '依诺肝素'">&nbsp;依诺肝素</span>
787
+                                  <span v-if="prescription.anticoagulant == '达肝素'">&nbsp;达肝素</span>
788
+                                  <span v-if="prescription.anticoagulant == '体外抗凝'">&nbsp;体外抗凝</span>
789
+                                  <span v-if="prescription.anticoagulant == '那屈肝素'">&nbsp;那屈肝素</span>
790
+                                  <span v-if="prescription.anticoagulant == '无抗凝剂'">&nbsp;无抗凝剂</span>
791
+                                  <span v-if="prescription.anticoagulant == '那屈肝素钙'">&nbsp;那屈肝素钙</span>
792
+                                  <span v-if="prescription.anticoagulant == '肝素钙注射液'">&nbsp;肝素钙注射液</span>
793
+                                  <span v-if="prescription.anticoagulant == '甲磺酸萘莫司他'">&nbsp;</span>
794
+                                  <span v-if="prescription.anticoagulant == '肝素钠'">&nbsp;肝素钠</span>
795
+                                </div>
796
+                              </td>
797
+                             
798
+
799
+                              <td width="50">首剂量</td>
800
+                              <td width="60">
801
+                                {{prescription.anticoagulant_shouji ? prescription.anticoagulant_shouji : ""}}
802
+                                    <span v-if="prescription.anticoagulant == '枸橼酸钠'">iu</span>
803
+                                    <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
804
+                                    <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
805
+                                    <span v-if="prescription.anticoagulant == '依诺肝素'">iu</span>
806
+                                    <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
807
+                                    <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
808
+                                    <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
809
+                                    <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
810
+                                    <span v-if="prescription.anticoagulant == '甲磺酸萘莫司他'">mg</span>
811
+                                    <span v-if="prescription.anticoagulant == '低分子量肝素钙'">mg</span>
812
+                                    <span v-if="prescription.anticoagulant == '肝素钠'">mg</span>
813
+                              </td>
814
+
815
+                              <td width="30">维持</td>
816
+                              <td width="60">
817
+                                {{prescription.anticoagulant_weichi ? prescription.anticoagulant_weichi : ""}}
818
+                                <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
819
+                                <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
820
+                                <span v-if="prescription.anticoagulant == '依诺肝素'">iu</span>
821
+                                <span v-if="prescription.anticoagulant == '枸橼酸钠'">ml/h</span>
822
+                                <span v-if="prescription.anticoagulant == '阿加曲班'">mg/h</span>
823
+                                <span v-if="prescription.anticoagulant == '低分子肝素'">iu/h</span>
824
+                                <span v-if="prescription.anticoagulant == '普通肝素'">mg/h</span>
825
+                                <span v-if="prescription.anticoagulant == '无肝素'">mg/h</span>
826
+                                <span v-if="prescription.anticoagulant == '甲磺酸萘莫司他'">mg/h</span>
827
+                                <span v-if="prescription.anticoagulant == '低分子量肝素钙'">mg/h</span>
828
+                                <span v-if="prescription.anticoagulant == '肝素钠'">mg/h</span>
829
+                              </td>
830
+
831
+                              <td width="30">总量</td>
832
+                              <td width="60">
833
+                                {{prescription.anticoagulant_zongliang ?prescription.anticoagulant_zongliang : ""}}
834
+                                <span v-if="prescription.anticoagulant == '枸橼酸钠'">iu</span>
835
+                                  <span v-if="prescription.anticoagulant == '低分子肝素钙'">iu</span>
836
+                                  <span v-if="prescription.anticoagulant == '低分子肝素钠'">iu</span>
837
+                                  <span v-if="prescription.anticoagulant == '依诺肝素'">iu</span>
838
+                                  <span v-if="prescription.anticoagulant == '阿加曲班'">mg</span>
839
+                                  <span v-if="prescription.anticoagulant == '低分子肝素'">iu</span>
840
+                                  <span v-if="prescription.anticoagulant == '普通肝素'">mg</span>
841
+                                  <span v-if="prescription.anticoagulant == '无肝素'">mg</span>
842
+                                  <span v-if="prescription.anticoagulant == '甲磺酸萘莫司他'">mg</span>
843
+                                  <span v-if="prescription.anticoagulant == '低分子量肝素钙'">mg</span>
844
+                                  <span v-if="prescription.anticoagulant == '肝素钠'">mg</span>
845
+                              </td>
846
+                             
847
+                            </tr>
848
+                          </tbody>
849
+                        </table>
850
+
770
                 <table class="table-box">
851
                 <table class="table-box">
771
                   <tbody>
852
                   <tbody>
772
                     <tr>
853
                     <tr>

+ 1 - 1
src/xt_pages/kuyiShopping/index.vue Zobrazit soubor

1
 <template>
1
 <template>
2
     <div class="page_kuyishopping" style="width:100%;height:100%;">
2
     <div class="page_kuyishopping" style="width:100%;height:100%;">
3
-        <iframe style="width:100%;height:100%;" src="https://market.kuyicloud.com/app/index.php?i=2&c=entry&m=ewei_shopv2&do=mobile&r=pc" frameborder="0"></iframe>
3
+        <iframe style="width:100%;height:100%;" src="https://www.ltsxt.com" frameborder="0"></iframe>
4
     </div>
4
     </div>
5
 </template>
5
 </template>

+ 7 - 2
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue Zobrazit soubor

78
         </div>
78
         </div>
79
         <div class="otherInfo">
79
         <div class="otherInfo">
80
             <div class="otherName">体格检查:</div>
80
             <div class="otherName">体格检查:</div>
81
-            <div style="flex:1;">
81
+            <div style="flex:1;" v-if="org_id!=10537 && org_id!=0">
82
                 <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
82
                 <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
83
                 <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
83
                 <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>
84
                 <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
84
                 <span>呼吸:{{ history.breathing ? history.breathing + '次/分' : '/' }}</span>
85
                 <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
85
                 <span>血压:{{ history.sbp }}/{{ history.dbp }}mmHg</span>
86
             </div>
86
             </div>
87
+            <div style="flex:1;" v-if="org_id ==10537 || org_id ==0">
88
+                 {{ history.physical_examination?history.physical_examination:"" }}
89
+            </div>
87
         </div>
90
         </div>
88
         <div class="otherInfo">
91
         <div class="otherInfo">
89
             <div class="otherName">门诊诊断:</div>
92
             <div class="otherName">门诊诊断:</div>
122
             departmentList:[],
125
             departmentList:[],
123
             orgname:'',
126
             orgname:'',
124
             history:{},
127
             history:{},
125
-            printDate:''
128
+            printDate:'',
129
+            org_id:0,
126
         }
130
         }
127
     },
131
     },
128
     methods:{
132
     methods:{
213
 
217
 
214
     },
218
     },
215
     created(){
219
     created(){
220
+        this.org_id = this.$store.getters.xt_user.template_info.org_id
216
         this.educationOptions = getDataConfig("patient", "education_types");
221
         this.educationOptions = getDataConfig("patient", "education_types");
217
         this.getAllDoctorList()
222
         this.getAllDoctorList()
218
         this.getPatientCaseHistory()
223
         this.getPatientCaseHistory()

+ 2 - 2
src/xt_pages/qcd/basicInformationAnalysis.vue Zobrazit soubor

287
                       <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
287
                       <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
288
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
288
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
289
                   </span>
289
                   </span>
290
-                  <span v-if="item.mode_id == 'HDF800'">
290
+                  <!-- <span v-if="item.mode_id == 'HDF800'">
291
                       <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
291
                       <p>HDF800:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
292
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
292
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
293
-                  </span>
293
+                  </span> -->
294
                   <span v-if="item.mode_id == 'HDF1000'">
294
                   <span v-if="item.mode_id == 'HDF1000'">
295
                       <p>HDF1000:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
295
                       <p>HDF1000:{{item.count}}次({{(item.count/total*100).toFixed(2)}}%)</p>
296
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>
296
                       <el-progress :percentage="(item.count/total*100).toFixed(2)"></el-progress>

+ 5 - 1
src/xt_pages/qcd/officesControlAnalysis/time.vue Zobrazit soubor

690
           this.isLoading = false
690
           this.isLoading = false
691
 
691
 
692
           var count = response.data.data.count
692
           var count = response.data.data.count
693
-
693
+          
694
+          console.log("cuont--------------------",count)
695
+          
694
           var countwo = response.data.data.countwo
696
           var countwo = response.data.data.countwo
695
 
697
 
698
+          console.log("countwo--------------------",countwo)
699
+
696
           var systolicTotal = response.data.data.systolicTotal
700
           var systolicTotal = response.data.data.systolicTotal
697
           
701
           
698
           var sysstandTotal = 0
702
           var sysstandTotal = 0

+ 7 - 4
src/xt_pages/stock/Dialog/goodInfoDailog.vue Zobrazit soubor

231
              </el-form-item>
231
              </el-form-item>
232
 
232
 
233
 
233
 
234
-            <el-form-item label="批准文号:" >
234
+            <el-form-item label="批准文号:" v-if="org_id!=10653&&org_id!=0">
235
               <el-input v-model="form.number" style="width:180px"></el-input>
235
               <el-input v-model="form.number" style="width:180px"></el-input>
236
             </el-form-item>
236
             </el-form-item>
237
 
237
 
238
-
239
-
238
+            <el-form-item label="生产许可证号:" v-if="org_id ==10653 || org_id == 0">
239
+              <el-input v-model="form.number" style="width:180px"></el-input>
240
+            </el-form-item>
240
 
241
 
241
             <el-form-item label="备注 : " prop="name" style="width:100%;">
242
             <el-form-item label="备注 : " prop="name" style="width:100%;">
242
               <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
243
               <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
413
           is_warehouse:"1",
414
           is_warehouse:"1",
414
           bbx01:"",
415
           bbx01:"",
415
           bby01:"",
416
           bby01:"",
417
+          
416
         },
418
         },
417
 
419
 
418
         rules: {
420
         rules: {
456
          {id: "1",name: "是"},
458
          {id: "1",name: "是"},
457
          {id: "2",name: "否"}
459
          {id: "2",name: "否"}
458
         ],
460
         ],
461
+        org_id:0
459
       }
462
       }
460
     },
463
     },
461
     props: {
464
     props: {
744
       }
747
       }
745
     },
748
     },
746
     created(){
749
     created(){
747
-
750
+      this.org_id = this.$store.getters.xt_user.org.id
748
       this.getlist()
751
       this.getlist()
749
       //获取所有经销商
752
       //获取所有经销商
750
       this.GetAllConfig()
753
       this.GetAllConfig()

+ 198 - 3
src/xt_pages/stock/drugs/components/drugQuery.vue Zobrazit soubor

180
             <el-table-column label="总库存量" align="center">
180
             <el-table-column label="总库存量" align="center">
181
              <template slot-scope="scope">
181
              <template slot-scope="scope">
182
                 <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info) > 0">
182
                 <div v-if="getWarehoseInfo(scope.row.drug_warehouse_info) > 0">
183
-                   <span v-if="scope.row.total_count<=scope.row.drug_stock_limit_count" style="color:red">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}<i class="el-icon-warning"></i></span> 
183
+                 
184
+                   <span v-if="scope.row.sum_count<= (parseInt(scope.row.drug_stock_limit)*scope.row.min_number)" style="color:red">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}<i class="el-icon-warning"></i></span> 
184
                    
185
                    
185
-                   <span v-if="scope.row.total_count >scope.row.drug_stock_limit_count">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
186
+                   <span v-if="scope.row.sum_count > (parseInt(scope.row.drug_stock_limit)*scope.row.min_number)">{{getSumCount(scope.row.drug_stock_count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
186
                 </div>
187
                 </div>
187
               </template>
188
               </template>
188
             </el-table-column>
189
             </el-table-column>
206
                     @click="handleBatch(scope.row)"
207
                     @click="handleBatch(scope.row)"
207
                     >批次
208
                     >批次
208
                     </el-button>
209
                     </el-button>
210
+                    <!-- <el-button
211
+                      size="small"
212
+                      type="primary"
213
+                      @click="handleCheckBatch(scope.row)"
214
+                      >自查
215
+                    </el-button> -->
209
                 </template>
216
                 </template>
217
+
218
+                 
210
               </el-table-column>
219
               </el-table-column>
211
           </el-table>
220
           </el-table>
212
            <el-pagination
221
            <el-pagination
345
     <el-button @click="hide()">取 消</el-button>
354
     <el-button @click="hide()">取 消</el-button>
346
   </span>
355
   </span>
347
   </el-dialog>
356
   </el-dialog>
357
+
358
+
359
+  <el-dialog
360
+    title="自查数据"
361
+    :visible.sync="checkdialogVisible"
362
+    width="50%">
363
+    <span>
364
+      <span>ID:{{drug_id}}</span>
365
+      <el-table
366
+        :data="checkData"
367
+        border
368
+        style="width: 100%">
369
+        <el-table-column prop="date" label="开药日期" width="180" align="center">
370
+          <template slot-scope="scope" >
371
+              {{ getTime(scope.row.advice_date) }}
372
+          </template>
373
+        </el-table-column>
374
+        <el-table-column prop="date" label="时间搓" width="180" align="center">
375
+          <template slot-scope="scope" >
376
+              {{scope.row.advice_date}}
377
+          </template>
378
+        </el-table-column>
379
+        <el-table-column prop="name" label="开药数量" width="180" align="center">
380
+          <template slot-scope="scope" >
381
+              {{ scope.row.check_count }}
382
+          </template>
383
+        </el-table-column>
384
+        <el-table-column prop="address" label="出库数量" align="center">
385
+          <template slot-scope="scope" >
386
+             {{getCount(scope.row.advice_date)}}
387
+          </template>
388
+        </el-table-column>
389
+
390
+        <el-table-column prop="address" label="是否异常" align="center">
391
+          <template slot-scope="scope" >
392
+             <span v-if="scope.row.check_count==getCount(scope.row.advice_date)">否</span>
393
+             <span v-if="scope.row.check_count!=getCount(scope.row.advice_date)" style="color:red">是</span>
394
+          </template>
395
+        </el-table-column>
396
+      </el-table>
397
+    </span>
398
+    <span slot="footer" class="dialog-footer">
399
+      <el-button @click="checkdialogVisible = false">取 消</el-button>
400
+      <el-button type="primary" @click="checkdialogVisible = false">确 定</el-button>
401
+    </span>
402
+  </el-dialog>
403
+
348
   </div>
404
   </div>
349
 </template>
405
 </template>
350
 <script>
406
 <script>
351
 import { getStorehouseList,getDrugNewQuery,getDrugWarehouseOutInfoById } from "@/api/drug/drug"
407
 import { getStorehouseList,getDrugNewQuery,getDrugWarehouseOutInfoById } from "@/api/drug/drug"
352
-import { createDrugStockAutomaticReduceConfig, getDrugStockAutomaticReduceConfig,getDrugInitDataList } from '@/api/drug/drug_stock'
408
+import { createDrugStockAutomaticReduceConfig, getDrugStockAutomaticReduceConfig,getDrugInitDataList,getCheckDrugBatchList } from '@/api/drug/drug_stock'
353
 import { uParseTime } from '@/utils/tools'
409
 import { uParseTime } from '@/utils/tools'
354
 import { max } from 'moment'
410
 import { max } from 'moment'
411
+
355
 const moment = require('moment')
412
 const moment = require('moment')
356
 export default {
413
 export default {
357
 
414
 
408
      drug_type: 0,
465
      drug_type: 0,
409
      storehouseId:0,
466
      storehouseId:0,
410
      dealerList:[],
467
      dealerList:[],
468
+     checkdialogVisible:false,
469
+     checkData:[],
470
+     outData:[],
471
+     drug_id:0,
411
     }
472
     }
412
   
473
   
413
   },
474
   },
484
             var countList  = response.data.data.countList
545
             var countList  = response.data.data.countList
485
             console.log("countList999999999999",countList)
546
             console.log("countList999999999999",countList)
486
             for (let i = 0; i < countList.length; i++) {
547
             for (let i = 0; i < countList.length; i++) {
548
+               if(countList[i].drug_stock_limit == ""){
549
+                countList[i].drug_stock_limit = 0
550
+               }
487
                for (let j = 0; j < countList[i].drug_warehouse_info.length; j++) {
551
                for (let j = 0; j < countList[i].drug_warehouse_info.length; j++) {
488
                 if (countList[i].max_unit == countList[i].drug_warehouse_info[j].max_unit) {
552
                 if (countList[i].max_unit == countList[i].drug_warehouse_info[j].max_unit) {
489
                     countList[i].drug_warehouse_info[j].stock_max_number =countList[i].min_number *countList[i].drug_warehouse_info[j].stock_max_number
553
                     countList[i].drug_warehouse_info[j].stock_max_number =countList[i].min_number *countList[i].drug_warehouse_info[j].stock_max_number
980
           over_plus,
1044
           over_plus,
981
       });
1045
       });
982
     },
1046
     },
1047
+    handleCheckBatch(row){
1048
+      this.drug_id = row.id
1049
+      getCheckDrugBatchList(row.id).then(response=>{
1050
+         if(response.data.state ==1){
1051
+          var advicelist =  response.data.data.advicelist
1052
+          var baseDrugList = response.data.data.baseDrugList
1053
+
1054
+          var newArr= []
1055
+          var newArrOne = []
1056
+          if (advicelist.length >0){
1057
+            for(let i=0;i<advicelist.length;i++){
1058
+              advicelist[i].is_check_count =0
1059
+              if(advicelist[i].prescribing_number_unit == baseDrugList.max_unit && baseDrugList.max_unit!=baseDrugList.min_unit){
1060
+                advicelist[i].is_check_count = advicelist[i].prescribing_number * baseDrugList.min_number
1061
+              }
1062
+
1063
+              if(advicelist[i].prescribing_number_unit == baseDrugList.min_unit && baseDrugList.max_unit!=baseDrugList.min_unit){
1064
+                advicelist[i].is_check_count = advicelist[i].prescribing_number 
1065
+              }
1066
+
1067
+              if(advicelist[i].prescribing_number_unit == baseDrugList.max_unit && baseDrugList.max_unit==baseDrugList.min_unit){
1068
+                advicelist[i].is_check_count = advicelist[i].prescribing_number 
1069
+              }
1070
+            }
1071
+            console.log("advicelist",advicelist)
1072
+
1073
+            let dataInfoOne = {}
1074
+            advicelist.forEach((item, index) => {
1075
+            let { advice_date } = item
1076
+              if (!dataInfoOne[advice_date]) {
1077
+                dataInfoOne[advice_date] = {
1078
+                  advice_date:item.advice_date,
1079
+                  check_count:0,
1080
+                  child:[]
1081
+                }
1082
+              }
1083
+            })
1084
+            let hisarr = Object.values(dataInfoOne)
1085
+           
1086
+            
1087
+            if(hisarr!=null && hisarr.length>0){
1088
+               for(let i=0;i<hisarr.length;i++){
1089
+                 for(let j=0;j<advicelist.length;j++){
1090
+                    if(hisarr[i].advice_date == advicelist[j].advice_date){
1091
+                       hisarr[i].child.push(advicelist[j])
1092
+                    }
1093
+                 } 
1094
+               }
1095
+            }
1096
+            for(let i=0;i<hisarr.length;i++){
1097
+              for(let j=0;j<hisarr[i].child.length;j++){
1098
+                 hisarr[i].check_count +=hisarr[i].child[j].is_check_count
1099
+              }
1100
+            }
1101
+            console.log("00000000000000000",hisarr)
1102
+
1103
+            newArr=hisarr
1104
+            this.checkData = []
1105
+            this.checkData = hisarr
1106
+          }
1107
+
1108
+          var outInfo = response.data.data.outInfo
1109
+
1110
+          if(outInfo.length>0){
1111
+            for(let i=0;i<outInfo.length;i++){
1112
+              outInfo[i].is_check_count =0
1113
+              if(outInfo[i].count_unit == baseDrugList.max_unit && baseDrugList.max_unit!=baseDrugList.min_unit){
1114
+                outInfo[i].is_check_count = outInfo[i].count * baseDrugList.min_number
1115
+              }
1116
+
1117
+              if(outInfo[i].count_unit == baseDrugList.min_unit && baseDrugList.max_unit!=baseDrugList.min_unit){
1118
+                outInfo[i].is_check_count = outInfo[i].count 
1119
+              }
1120
+
1121
+              if(outInfo[i].count_unit == baseDrugList.max_unit && baseDrugList.max_unit==baseDrugList.min_unit){
1122
+                outInfo[i].is_check_count = outInfo[i].count 
1123
+              }
1124
+            }
1125
+
1126
+            let dataInfoOne = {}
1127
+            outInfo.forEach((item, index) => {
1128
+            let { sys_record_time } = item
1129
+              if (!dataInfoOne[sys_record_time]) {
1130
+                dataInfoOne[sys_record_time] = {
1131
+                  sys_record_time:item.sys_record_time,
1132
+                  check_count:0,
1133
+                  child:[]
1134
+                }
1135
+              }
1136
+            })
1137
+            let hisarr = Object.values(dataInfoOne)
1138
+           
1139
+            
1140
+            if(hisarr!=null && hisarr.length>0){
1141
+               for(let i=0;i<hisarr.length;i++){
1142
+                 for(let j=0;j<outInfo.length;j++){
1143
+                    if(hisarr[i].sys_record_time == outInfo[j].sys_record_time){
1144
+                       hisarr[i].child.push(outInfo[j])
1145
+                    }
1146
+                 } 
1147
+               }
1148
+            }
1149
+            for(let i=0;i<hisarr.length;i++){
1150
+              for(let j=0;j<hisarr[i].child.length;j++){
1151
+                 hisarr[i].check_count +=hisarr[i].child[j].is_check_count
1152
+              }
1153
+            }
1154
+            console.log("00000000000000000",hisarr)
1155
+
1156
+            newArrOne = hisarr
1157
+            this.outData=[]
1158
+            this.outData = hisarr
1159
+          }
1160
+          
1161
+          console.log("newArrOne",newArrOne)
1162
+          console.log("newarr",newArr)
1163
+          var outInfoOne = response.data.data.outInfoOne
1164
+          var drugflow = response.data.data.drugflow
1165
+          this.checkdialogVisible = true
1166
+         }
1167
+      })
1168
+    },
1169
+    getCount(advice_date){
1170
+      var count = 0
1171
+     for(let i=0;i<this.outData.length;i++){
1172
+        if(advice_date == this.outData[i].sys_record_time){
1173
+            count = this.outData[i].check_count
1174
+        }
1175
+     }
1176
+     return count
1177
+    },
983
    // 合并单元格样式
1178
    // 合并单元格样式
984
     cellStyle({ row, column, rowIndex, columnIndex }) {
1179
     cellStyle({ row, column, rowIndex, columnIndex }) {
985
       let arr = [5,6, 7, 8, 9,10,11];
1180
       let arr = [5,6, 7, 8, 9,10,11];

+ 5 - 1
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue Zobrazit soubor

388
                }
388
                }
389
              }
389
              }
390
 
390
 
391
+            if(this.org_id !=10210 && this.org_id!=0 && this.org_id !=10402 && this.org_id !=10215){
391
 
392
 
392
-            //  新版
393
+               //  新版
393
              if(list[i].new_drug_in_flow_info!=null && list[i].new_drug_in_flow_info.length>0){
394
              if(list[i].new_drug_in_flow_info!=null && list[i].new_drug_in_flow_info.length>0){
394
                 for(let j=0;j<list[i].new_drug_in_flow_info.length;j++){
395
                 for(let j=0;j<list[i].new_drug_in_flow_info.length;j++){
395
                    if(list[i].max_unit == list[i].new_drug_in_flow_info[j].max_unit){
396
                    if(list[i].max_unit == list[i].new_drug_in_flow_info[j].max_unit){
430
                 }
431
                 }
431
              }
432
              }
432
 
433
 
434
+
435
+            }
436
+           
433
             }
437
             }
434
 
438
 
435
             console.log("list23323223322332232323322323wode",list)
439
             console.log("list23323223322332232323322323wode",list)

+ 15 - 4
src/xt_pages/stock/drugs/drugStockFlow.vue Zobrazit soubor

690
             if(this.tableList[i].consumable_type!=2 && this.tableList[i].consumable_type!=3 && this.tableList[i].consumable_type!=5 &&  this.tableList[i].consumable_type != 7){
690
             if(this.tableList[i].consumable_type!=2 && this.tableList[i].consumable_type!=3 && this.tableList[i].consumable_type!=5 &&  this.tableList[i].consumable_type != 7){
691
               this.tableList[i].coutn_unit = (this.tableList[i].count.toString()) +this.tableList[i].max_unit
691
               this.tableList[i].coutn_unit = (this.tableList[i].count.toString()) +this.tableList[i].max_unit
692
             }
692
             }
693
+
694
+           
695
+            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number) >0)){
696
+            
697
+              this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.min_unit
698
+              
699
+            }
700
+
693
             if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
701
             if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number) >0)){
702
+             
694
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.max_unit
703
               this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count/this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.max_unit
704
+             
695
             }
705
             }
696
-            if(this.tableList[i].consumable_type == 2 ||this.tableList[i].consumable_type == 3 || this.tableList[i].consumable_type == 5 ||  this.tableList[i].consumable_type ==7  && (this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number >0)){
697
-              this.tableList[i].coutn_unit = (parseInt(this.tableList[i].count%this.tableList[i].BaseDrugLib.min_number)).toString() +  this.tableList[i].BaseDrugLib.min_unit
698
-            }
706
+
707
+            
708
+
709
+
699
 
710
 
700
             if(this.tableList[i].price>0){
711
             if(this.tableList[i].price>0){
701
               this.tableList[i].total_price = this.tableList[i].price
712
               this.tableList[i].total_price = this.tableList[i].price
721
         const data = this.formatJson(filterVal, this.tableList) 
732
         const data = this.formatJson(filterVal, this.tableList) 
722
         console.log("datawoowow",data)
733
         console.log("datawoowow",data)
723
          
734
          
724
-      
735
+        
725
          excel.export_json_to_excel({
736
          excel.export_json_to_excel({
726
            header: multiHeader,
737
            header: multiHeader,
727
            data,
738
            data,

+ 102 - 14
src/xt_pages/stock/drugs/drugStockOutOrder.vue Zobrazit soubor

344
             <template slot-scope="scope">
344
             <template slot-scope="scope">
345
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
345
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
346
                   <td style="border-right: none; border-inline-end: none;text-align: center">
346
                   <td style="border-right: none; border-inline-end: none;text-align: center">
347
-                    <span v-if="org_id!=0 && org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
347
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
348
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
348
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span> 
349
                       <span v-if="is_sys == 0">
349
                       <span v-if="is_sys == 0">
350
                         <span v-if="scope.row.child.length == 1">
350
                         <span v-if="scope.row.child.length == 1">
356
                       
356
                       
357
                       </span>
357
                       </span>
358
                     </span>
358
                     </span>
359
-                    <span v-if="org_id==0 || org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
359
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
360
                         {{ scope.row.min_price }}
360
                         {{ scope.row.min_price }}
361
                     </span>
361
                     </span>
362
                     
362
                     
369
             <template slot-scope="scope">
369
             <template slot-scope="scope">
370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
372
-                    <span v-if="org_id!=0 && org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
372
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
373
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
373
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
374
                     <span v-if="is_sys == 0">
374
                     <span v-if="is_sys == 0">
375
-                      <span v-if="scope.row.child.length == 1">{{item.retail_price}}</span> 
376
-                      <span v-if="scope.row.child.length > 1">{{item.count * item.price}}</span> 
375
+                      <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
376
+                      <span v-if="scope.row.child.length > 1">{{item.count * item.price}} </span> 
377
                     </span>
377
                     </span>
378
                     </span>
378
                     </span>
379
 
379
 
380
-                    <span v-if="org_id==0 || org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
380
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
382
                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
382
                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
383
                      <span v-if="is_sys==0"> {{(getOutCountNightTenOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*item.price).toFixed(2)}}</span>
383
                      <span v-if="is_sys==0"> {{(getOutCountNightTenOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*item.price).toFixed(2)}}</span>
384
                     </span>
384
                     </span>
385
-                  
386
-
387
                   </td>
385
                   </td>
388
                </tr>
386
                </tr>
389
             </template>
387
             </template>
454
                 >使用明细</span
452
                 >使用明细</span
455
               >
453
               >
456
             </template>
454
             </template>
455
+
456
+           
457
           </el-table-column>
457
           </el-table-column>
458
+          <!-- <el-table-column label="自查自检" align="center">
459
+            <template slot-scope="scope">
460
+              <span style="color: #589ff8" @click="getDrugPatientName(scope.row)"
461
+                >自查</span
462
+              >
463
+            </template>
464
+
465
+           
466
+          </el-table-column> -->
458
         </el-table>
467
         </el-table>
459
       </div>
468
       </div>
460
     </div>
469
     </div>
568
         >
577
         >
569
       </span>
578
       </span>
570
     </el-dialog>
579
     </el-dialog>
580
+
581
+
582
+    <el-dialog
583
+      title="详细"
584
+      :visible.sync="AdviceDialogVisible"
585
+      width="40%">
586
+      <span>
587
+        <el-table
588
+          :data="adviceList"
589
+          border
590
+          style="width: 100%">
591
+          <el-table-column prop="date" label="序号" width="100" align="center">
592
+              <template slot-scope="scope"> 
593
+                {{scope.$index + 1}}
594
+              </template>
595
+          </el-table-column>
596
+          <el-table-column prop="date" label="患者姓名" width="100" align="center">
597
+              <template slot-scope="scope"> 
598
+                  {{getPatientNameOne(scope.row.patient_id)}}
599
+              </template>
600
+          </el-table-column>
601
+          <el-table-column prop="name" label="医嘱数量" width="180" align="center">
602
+            <template slot-scope="scope"> 
603
+                {{scope.row.prescribing_number}}{{scope.row.prescribing_number_unit}}
604
+             </template>
605
+          </el-table-column>
606
+          <el-table-column prop="address" label="出库数量" align="center">
607
+            <template slot-scope="scope"> 
608
+               {{getDrugOutCount(scope.row.patient_id)}}
609
+            </template>
610
+          </el-table-column>
611
+        </el-table>
612
+      </span>
613
+      <span slot="footer" class="dialog-footer">
614
+        <el-button @click="AdviceDialogVisible = false">取 消</el-button>
615
+        <el-button type="primary" @click="AdviceDialogVisible = false">确 定</el-button>
616
+      </span>
617
+   </el-dialog>
571
   </div>
618
   </div>
572
 </template>
619
 </template>
573
 
620
 
585
   getAutoDrugDetail,
632
   getAutoDrugDetail,
586
   getDrugCountList,
633
   getDrugCountList,
587
   getExportOutOrderDrugList,
634
   getExportOutOrderDrugList,
635
+  getDrugPatientName
588
 } from "@/api/drug/drug_stock";
636
 } from "@/api/drug/drug_stock";
589
 import BreadCrumb from "../../components/bread-crumb";
637
 import BreadCrumb from "../../components/bread-crumb";
590
 import { getInitializtion } from "@/api/stock";
638
 import { getInitializtion } from "@/api/stock";
706
       exportLoding:false,
754
       exportLoding:false,
707
       outInfoList:[],
755
       outInfoList:[],
708
       patients:[],
756
       patients:[],
757
+      AdviceDialogVisible:false,
758
+      adviceList:[],
759
+      outList:[],
760
+      patientList:[],
761
+
709
     };
762
     };
710
   },
763
   },
711
   methods: {
764
   methods: {
1271
           this.outList = drugoutlist
1324
           this.outList = drugoutlist
1272
           this.drugOutInfo = drugoutlist
1325
           this.drugOutInfo = drugoutlist
1273
           if (is_sys == 1) {
1326
           if (is_sys == 1) {
1274
-             console.log("数据1",drugFlowList)
1275
-             console.log("数据2",drugListOne)
1276
             if (drugFlowList.length > 0) {
1327
             if (drugFlowList.length > 0) {
1277
               for (let i = 0; i < drugFlowList.length; i++) {
1328
               for (let i = 0; i < drugFlowList.length; i++) {
1278
                  drugFlowList[i].childOne = []
1329
                  drugFlowList[i].childOne = []
1345
           }
1396
           }
1346
 
1397
 
1347
         
1398
         
1348
-        console.log("中故宫人我奶奶万年万年",list)
1399
+       
1349
         if(is_sys == 1 || is_sys == 5){
1400
         if(is_sys == 1 || is_sys == 5){
1350
           for(let i=0;i<list.length;i++){
1401
           for(let i=0;i<list.length;i++){
1351
             for(let j=0;j<list[i].childOne.length;j++){
1402
             for(let j=0;j<list[i].childOne.length;j++){
1353
             }
1404
             }
1354
           }
1405
           }
1355
          
1406
          
1356
-          console.log("中部listowowowoowowow",list)
1407
+         
1357
 
1408
 
1358
          for(let i=0;i<list.length;i++){
1409
          for(let i=0;i<list.length;i++){
1359
             for(let j=0;j<list[i].childOne.length;j++){
1410
             for(let j=0;j<list[i].childOne.length;j++){
1362
                } 
1413
                } 
1363
             }
1414
             }
1364
           }
1415
           }
1365
-          console.log("list表格---------",list)
1416
+         
1366
           this.tableList = list;
1417
           this.tableList = list;
1367
         }
1418
         }
1368
         if(is_sys == 12){
1419
         if(is_sys == 12){
1403
           }
1454
           }
1404
           this.tableList = list;
1455
           this.tableList = list;
1405
         }
1456
         }
1406
-        
1457
+         
1458
+         console.log("tableLIST==================",this.tableList)
1407
 
1459
 
1408
         }
1460
         }
1409
       });
1461
       });
2371
          }
2423
          }
2372
       }
2424
       }
2373
       return name
2425
       return name
2426
+    },
2427
+    getDrugPatientName(row){
2428
+       console.log("row",row)
2429
+       var params = {
2430
+        drug_id:row.drug_id,
2431
+        sys_record_time:row.sys_record_time
2432
+       }
2433
+      getDrugPatientName(params).then(response=>{
2434
+         if(response.data.state ==1){
2435
+          var advicelist = response.data.data.advicelist
2436
+          this.adviceList= advicelist
2437
+          var outInfor = response.data.data.outInfor
2438
+          this.outList = outInfor
2439
+          var patients = response.data.data.patients
2440
+          this.patientList= patients
2441
+          this.AdviceDialogVisible= true
2442
+         }
2443
+      })
2444
+    },
2445
+    getPatientNameOne(patient_id){
2446
+      var name =""
2447
+      for(let i=0;i<this.patientList.length;i++){
2448
+        if(patient_id == this.patientList[i].id){
2449
+           name = this.patientList[i].name
2450
+        }
2451
+      }
2452
+      return name
2453
+    },
2454
+    getDrugOutCount(patient_id){
2455
+      var str = ""
2456
+      for(let i=0;i<this.outList.length;i++){
2457
+         if(patient_id == this.outList[i].patient_id){
2458
+            str = this.outList[i].count + this.outList[i].count_unit
2459
+         }
2460
+      }
2461
+      return str
2374
     }
2462
     }
2375
   },
2463
   },
2376
 };
2464
 };

+ 8 - 0
src/xt_pages/stock/drugs/newDrugInventory.vue Zobrazit soubor

31
                 {{scope.row.warehousing_order}}
31
                 {{scope.row.warehousing_order}}
32
             </template>
32
             </template>
33
             </el-table-column>
33
             </el-table-column>
34
+
35
+            <el-table-column  prop="name" label="入库数量" width="100"  align="center">
36
+              <template slot-scope="scope">
37
+                  {{scope.row.warehousing_count}} {{ scope.row.max_unit }}
38
+              </template>
39
+            </el-table-column>
40
+
41
+            
34
             <el-table-column  prop="name" label="有效期" width="100"  align="center">
42
             <el-table-column  prop="name" label="有效期" width="100"  align="center">
35
             <template slot-scope="scope">
43
             <template slot-scope="scope">
36
                 {{getTime(scope.row.expiry_date)}}
44
                 {{getTime(scope.row.expiry_date)}}

+ 7 - 2
src/xt_pages/stock/newInventory.vue Zobrazit soubor

16
     <div style="float:right;margin-bottom:10px"><el-button type="primary" @click="saveInentoryList">保存</el-button></div>
16
     <div style="float:right;margin-bottom:10px"><el-button type="primary" @click="saveInentoryList">保存</el-button></div>
17
      
17
      
18
         <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" style="width:100%">
18
         <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" style="width:100%">
19
-              <el-table-column prop="date" label="耗材名称" width="150" align="center">
19
+              <el-table-column prop="date" label="耗材名称" width="100" align="center">
20
                 <template slot-scope="scope">
20
                 <template slot-scope="scope">
21
                   {{scope.row.good_name}}
21
                   {{scope.row.good_name}}
22
                 </template>
22
                 </template>
31
                   {{scope.row.warehousing_order}}
31
                   {{scope.row.warehousing_order}}
32
                 </template>
32
                 </template>
33
               </el-table-column>
33
               </el-table-column>
34
+              <el-table-column  prop="name" label="入库数量" width="50"  align="center">
35
+                <template slot-scope="scope">
36
+                  {{scope.row.warehousing_count}}
37
+                </template>
38
+              </el-table-column>
34
               <el-table-column  prop="name" label="有效期" width="100"  align="center">
39
               <el-table-column  prop="name" label="有效期" width="100"  align="center">
35
                 <template slot-scope="scope">
40
                 <template slot-scope="scope">
36
                   {{getTime(scope.row.expiry_date)}}
41
                   {{getTime(scope.row.expiry_date)}}
70
                  </template> 
75
                  </template> 
71
               </el-table-column>
76
               </el-table-column>
72
 
77
 
73
-              <el-table-column prop="name" label="盘点原因" width="180"  align="center">
78
+              <el-table-column prop="name" label="盘点原因" width="100"  align="center">
74
                 <template slot-scope="scope">
79
                 <template slot-scope="scope">
75
                    <el-select v-model="scope.row.type" placeholder="请选择">
80
                    <el-select v-model="scope.row.type" placeholder="请选择">
76
                       <el-option
81
                       <el-option

+ 142 - 2
src/xt_pages/stock/query/goodNewQuery.vue Zobrazit soubor

192
                   @click="toClickOne(scope.row)"
192
                   @click="toClickOne(scope.row)"
193
                 >批次
193
                 >批次
194
                 </el-button>
194
                 </el-button>
195
+
196
+                <!-- <el-button
197
+                  size="small"
198
+                  type="primary"
199
+                  @click="handleCheckBatch(scope.row)"
200
+                >自查
201
+                </el-button> -->
195
                </template>
202
                </template>
196
             </el-table-column>
203
             </el-table-column>
197
           </el-table>
204
           </el-table>
313
       </span>
320
       </span>
314
     </el-dialog>
321
     </el-dialog>
315
 
322
 
323
+
324
+   <el-dialog
325
+    title="自查数据"
326
+    :visible.sync="checkdialogVisible"
327
+    width="50%">
328
+    <span>
329
+      <span>ID: {{good_id}}</span>
330
+      <el-table
331
+        :data="checkData"
332
+        border
333
+        style="width: 100%">
334
+        <el-table-column prop="date" label="开药日期" width="180" align="center">
335
+          <template slot-scope="scope" >
336
+              {{ getTime(scope.row.record_date) }}
337
+          </template>
338
+        </el-table-column>
339
+        <el-table-column prop="date" label="时间搓" width="180" align="center">
340
+          <template slot-scope="scope" >
341
+              {{scope.row.record_date}}
342
+          </template>
343
+        </el-table-column>
344
+        <el-table-column prop="name" label="开药数量" width="180" align="center">
345
+          <template slot-scope="scope" >
346
+              {{ scope.row.check_count }}
347
+          </template>
348
+        </el-table-column>
349
+        <el-table-column prop="address" label="出库数量" align="center">
350
+          <template slot-scope="scope" >
351
+             {{getGoodCount(scope.row.record_date)}}
352
+          </template>
353
+        </el-table-column>
354
+
355
+        <el-table-column prop="address" label="是否异常" align="center">
356
+          <template slot-scope="scope" >
357
+             <span v-if="scope.row.check_count==getGoodCount(scope.row.record_date)">否</span>
358
+             <span v-if="scope.row.check_count!=getGoodCount(scope.row.record_date)" style="color:red">是</span>
359
+          </template>
360
+        </el-table-column>
361
+      </el-table>
362
+    </span>
363
+    <span slot="footer" class="dialog-footer">
364
+      <el-button @click="checkdialogVisible = false">取 消</el-button>
365
+      <el-button type="primary" @click="checkdialogVisible = false">确 定</el-button>
366
+    </span>
367
+  </el-dialog>
368
+
316
   </div>
369
   </div>
317
 </template>
370
 </template>
318
 <script>
371
 <script>
319
-import { getStorehouseList,getGoodNewQuery,getGoodWarehouseOutInfoById,toSendGoodInfomation } from "@/api/drug/drug"
372
+import { getStorehouseList,getGoodNewQuery,getGoodWarehouseOutInfoById,toSendGoodInfomation,getCheckGoodBatchList } from "@/api/drug/drug"
320
 import {
373
 import {
321
   getStockDrugCount
374
   getStockDrugCount
322
 } from "@/api/stock";
375
 } from "@/api/stock";
369
      flushList:[],
422
      flushList:[],
370
      type_name:0,
423
      type_name:0,
371
      storehouseId:0,
424
      storehouseId:0,
372
-     dealerList:[]
425
+     dealerList:[],
426
+     checkdialogVisible:false,
427
+     checkData:[],
428
+     outData:[],
373
     }
429
     }
374
   
430
   
375
   },
431
   },
1148
       }else{
1204
       }else{
1149
         return 0
1205
         return 0
1150
       }
1206
       }
1207
+    },
1208
+    handleCheckBatch(val){
1209
+       this.good_id = val.id 
1210
+      getCheckGoodBatchList(val.id).then(response=>{
1211
+         if(response.data.state ==1){
1212
+           var projectList = response.data.data.projectList
1213
+           if (projectList.length> 0)  {
1214
+              for(let i=0;i<projectList.length;i++){
1215
+                let dataInfoOne = {}
1216
+                projectList.forEach((item, index) => {
1217
+                let { record_date } = item
1218
+                  if (!dataInfoOne[record_date]) {
1219
+                    dataInfoOne[record_date] = {
1220
+                      record_date:item.record_date,
1221
+                      check_count:0,
1222
+                      child:[]
1223
+                    }
1224
+                  }
1225
+                })
1226
+                let hisarr = Object.values(dataInfoOne)
1227
+                for(let i=0;i<hisarr.length;i++){
1228
+                  for(let j=0;j<projectList.length;j++){
1229
+                     if(hisarr[i].record_date == projectList[j].record_date){
1230
+                         hisarr[i].child.push(projectList[j])
1231
+                     }
1232
+                  }
1233
+                }
1234
+
1235
+                for(let i=0;i<hisarr.length;i++){
1236
+                  for(let j=0;j<hisarr[i].child.length;j++){
1237
+                       hisarr[i].check_count += hisarr[i].child[j].count
1238
+                  }
1239
+                }
1240
+
1241
+                this.checkData = []
1242
+                console.log("hia_arr",hisarr)
1243
+                this.checkData = hisarr
1244
+              }
1245
+           }
1246
+           var warehouseList = response.data.data.warehouseList
1247
+
1248
+           if (warehouseList.length> 0)  {
1249
+              for(let i=0;i<warehouseList.length;i++){
1250
+                let dataInfoOne = {}
1251
+                warehouseList.forEach((item, index) => {
1252
+                let { sys_record_time } = item
1253
+                  if (!dataInfoOne[sys_record_time]) {
1254
+                    dataInfoOne[sys_record_time] = {
1255
+                      sys_record_time:item.sys_record_time,
1256
+                      check_count:0,
1257
+                      child:[]
1258
+                    }
1259
+                  }
1260
+                })
1261
+                let hisarr = Object.values(dataInfoOne)
1262
+                for(let i=0;i<hisarr.length;i++){
1263
+                  for(let j=0;j<warehouseList.length;j++){
1264
+                     if(hisarr[i].sys_record_time == warehouseList[j].sys_record_time){
1265
+                         hisarr[i].child.push(warehouseList[j])
1266
+                     }
1267
+                  }
1268
+                }
1269
+
1270
+                for(let i=0;i<hisarr.length;i++){
1271
+                  for(let j=0;j<hisarr[i].child.length;j++){
1272
+                       hisarr[i].check_count += hisarr[i].child[j].count
1273
+                  }
1274
+                }
1275
+                this.outData=[]
1276
+                this.outData = hisarr
1277
+              }
1278
+              this.checkdialogVisible = true
1279
+           }
1280
+         }
1281
+      })
1282
+    },
1283
+    getGoodCount(sys_record_time){
1284
+      var count = 0
1285
+      for(let i=0;i<this.outData.length;i++){
1286
+        if(this.outData[i].sys_record_time == sys_record_time){
1287
+            count = this.outData[i].check_count
1288
+        }
1289
+      }
1290
+      return count
1151
     }
1291
     }
1152
 
1292
 
1153
   },
1293
   },

+ 4 - 4
src/xt_pages/stock/query/purchaseNewStockQuery.vue Zobrazit soubor

265
             this.loading = false
265
             this.loading = false
266
             for(let i=0;i<list.length;i++){
266
             for(let i=0;i<list.length;i++){
267
                
267
                
268
-              if(this.org_id ==10210){
268
+              if(this.org_id ==10210 || this.org_id ==10215){
269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270
               }else{
270
               }else{
271
                
271
                
837
         count_two +=val3[i].count
837
         count_two +=val3[i].count
838
       }
838
       }
839
      }
839
      }
840
-     console.log("countwowowoowow3333",count)
841
-     console.log("count_one222222",count_one)
842
-     console.log("count_two222222",count_two)
840
+     console.log("本期减少",count)
841
+     console.log("盘亏",count_one)
842
+     console.log("退库",count_two)
843
      all_count = count +count_one - count_two
843
      all_count = count +count_one - count_two
844
      console.log("数据我哦我我",all_count)
844
      console.log("数据我哦我我",all_count)
845
      if(all_count >0){
845
      if(all_count >0){

+ 7 - 1
src/xt_pages/stock/stockInOrder.vue Zobrazit soubor

341
             </span>  
341
             </span>  
342
           </template>
342
           </template>
343
         </el-table-column>
343
         </el-table-column>
344
-       <el-table-column label="批准文号" align="center">
344
+        <el-table-column label="批准文号" align="center" v-if="org_id!=10653&&org_id!=0">
345
+          <template slot-scope="scope">
346
+           <span v-if="scope.row.is_total ==0"> {{ scope.row.license_number}}</span>
347
+          </template>
348
+        </el-table-column>
349
+
350
+         <el-table-column label="生产许可证号" align="center" v-if="org_id ==10653 || org_id == 0">
345
           <template slot-scope="scope">
351
           <template slot-scope="scope">
346
            <span v-if="scope.row.is_total ==0"> {{ scope.row.license_number}}</span>
352
            <span v-if="scope.row.is_total ==0"> {{ scope.row.license_number}}</span>
347
           </template>
353
           </template>

+ 14 - 2
src/xt_pages/stock/stockInOrderAdd.vue Zobrazit soubor

194
             </template>
194
             </template>
195
           </el-table-column>
195
           </el-table-column>
196
 
196
 
197
-         <el-table-column align="center" width="150">
197
+         <el-table-column align="center" width="150" v-if="org_id!=10653&&org_id!=0">
198
             <template slot="header" slot-scope="scope">
198
             <template slot="header" slot-scope="scope">
199
               <span>批准文号</span>
199
               <span>批准文号</span>
200
             </template>
200
             </template>
204
               </el-form-item>
204
               </el-form-item>
205
             </template>
205
             </template>
206
           </el-table-column>
206
           </el-table-column>
207
-         <el-table-column align="center" width="150">
207
+          <el-table-column align="center" width="150" v-if="org_id ==10653 || org_id == 0">
208
+            <template slot="header" slot-scope="scope">
209
+              <span>生产许可证号</span>
210
+            </template>
211
+            <template slot-scope="scope">
212
+              <el-form-item style="padding-top: 20px">
213
+                <el-input placeholder="请输入生产许可证号" v-model="scope.row.license_number" ></el-input>
214
+              </el-form-item>
215
+            </template>
216
+          </el-table-column>
217
+          <el-table-column align="center" width="150">
208
             <template slot="header" slot-scope="scope">
218
             <template slot="header" slot-scope="scope">
209
               <span>注册编码</span>
219
               <span>注册编码</span>
210
             </template>
220
             </template>
410
         showCheck:false,
420
         showCheck:false,
411
         showReturnCheck:false,
421
         showReturnCheck:false,
412
         warehousing_info_id:0,
422
         warehousing_info_id:0,
423
+        org_id:0
413
       }
424
       }
414
     },
425
     },
415
     methods: {
426
     methods: {
960
     }
971
     }
961
     ,
972
     ,
962
     created() {
973
     created() {
974
+      this.org_id = this.$store.getters.xt_user.org.id
963
       var nowDate = new Date()
975
       var nowDate = new Date()
964
       var nowYear = nowDate.getFullYear()
976
       var nowYear = nowDate.getFullYear()
965
       var nowMonth = nowDate.getMonth() + 1
977
       var nowMonth = nowDate.getMonth() + 1

+ 76 - 1
src/xt_pages/stock/stockOutOrder.vue Zobrazit soubor

441
               >
441
               >
442
             </template>
442
             </template>
443
           </el-table-column>
443
           </el-table-column>
444
+
445
+          <!-- <el-table-column label="自查自检" align="center">
446
+            <template slot-scope="scope">
447
+              <span
448
+                style="color: #589ff8"
449
+                @click="GetGoodPatientName(scope.row)"
450
+                >自查自检</span
451
+              >
452
+            </template>
453
+          </el-table-column> -->
444
         </el-table>
454
         </el-table>
445
       </div>
455
       </div>
446
     </div>
456
     </div>
920
       v-on:dialog-cancle="cancle"
930
       v-on:dialog-cancle="cancle"
921
     >
931
     >
922
     </stock-in-dialog>
932
     </stock-in-dialog>
933
+
934
+    <el-dialog
935
+      title="详细"
936
+      :visible.sync="AdviceDialogVisible"
937
+      width="40%">
938
+      <span>
939
+        <el-table
940
+          :data="projectList"
941
+          border
942
+          style="width: 100%">
943
+          <el-table-column prop="date" label="序号" width="180" align="center">
944
+              <template slot-scope="scope"> 
945
+                {{scope.$index+1}}
946
+              </template>
947
+          </el-table-column>
948
+          <el-table-column prop="date" label="患者姓名" width="100" align="center">
949
+              <template slot-scope="scope"> 
950
+                  {{getPatientName(scope.row.patient_id)}}
951
+              </template>
952
+          </el-table-column>
953
+          <el-table-column prop="name" label="耗材数量" width="100" align="center">
954
+            <template slot-scope="scope"> 
955
+                {{scope.row.count}}{{scope.row.unit}}
956
+             </template>
957
+          </el-table-column>
958
+          <el-table-column prop="address" label="出库数量" align="center">
959
+            <template slot-scope="scope"> 
960
+               {{getGoodOutCount(scope.row.patient_id)}}
961
+            </template>
962
+          </el-table-column>
963
+        </el-table>
964
+      </span>
965
+      <span slot="footer" class="dialog-footer">
966
+        <el-button @click="AdviceDialogVisible = false">取 消</el-button>
967
+        <el-button type="primary" @click="AdviceDialogVisible = false">确 定</el-button>
968
+      </span>
969
+   </el-dialog>
923
   </div>
970
   </div>
924
 </template>
971
 </template>
925
 
972
 
940
   getOrderDetailByOrderId,
987
   getOrderDetailByOrderId,
941
   getOrderDetailById,
988
   getOrderDetailById,
942
   getOutExportList,
989
   getOutExportList,
990
+  getGoodPatientName
943
 } from "@/api/stock";
991
 } from "@/api/stock";
944
 import BreadCrumb from "../components/bread-crumb";
992
 import BreadCrumb from "../components/bread-crumb";
945
 import StockInDialog from "./Dialog/stockInDialog";
993
 import StockInDialog from "./Dialog/stockInDialog";
1084
       flowList:[],
1132
       flowList:[],
1085
       cancelInfoList:[],
1133
       cancelInfoList:[],
1086
       exportLoding:false,
1134
       exportLoding:false,
1087
-      patients:[]
1135
+      patients:[],
1136
+      projectList:[],
1137
+      outList:[],
1138
+      AdviceDialogVisible:false
1088
     };
1139
     };
1089
   },
1140
   },
1090
   methods: {
1141
   methods: {
2455
          }
2506
          }
2456
       }
2507
       }
2457
       return name
2508
       return name
2509
+    },
2510
+    GetGoodPatientName(val){
2511
+       var params = {
2512
+        good_id:val.good_id,
2513
+        sys_record_time:val.sys_record_time,
2514
+       }
2515
+      getGoodPatientName(params).then(response=>{
2516
+        if(response.data.state == 1){
2517
+          var projectList = response.data.data.projectList
2518
+          this.projectList = projectList
2519
+          var outList = response.data.data.outList
2520
+          this.outList = outList
2521
+          this.AdviceDialogVisible= true
2522
+        }
2523
+      })
2524
+    },
2525
+    getGoodOutCount(patient_id){
2526
+      var count = ""
2527
+      for(let i=0;i<this.outList.length;i++){
2528
+        if(patient_id == this.outList[i].patient_id){
2529
+          count = this.outList[i].count
2530
+        }
2531
+      }
2532
+      return count 
2458
     }
2533
     }
2459
   },
2534
   },
2460
 };
2535
 };

+ 35 - 8
src/xt_pages/user/Sitemap.vue Zobrazit soubor

18
         </div>
18
         </div>
19
       </div>
19
       </div>
20
       <div style="margin-top:6px;display:flex;flex-wrap: wrap;position:relative;min-height:480px;">
20
       <div style="margin-top:6px;display:flex;flex-wrap: wrap;position:relative;min-height:480px;">
21
-        <div style="width:47%;border:1px solid #ddd;padding: 5px;" id="print_mark_img" >
21
+        <div style="width:47%;border:1px solid #ddd;padding: 5px;" id="print_mark_img"  ref="imageContainer">
22
           <div id="point_mark_img_wrap1" class="print_main_content" style="width: 100%;padding: 0;border: 0;" ref="imageWrapper">
22
           <div id="point_mark_img_wrap1" class="print_main_content" style="width: 100%;padding: 0;border: 0;" ref="imageWrapper">
23
 
23
 
24
-            <img v-if="fileList[0].img_url==0" id="ossPointMarkImg" src="@/assets/evaluate/xgtl_default.png" alt="" srcset="">
25
-            <img v-if="fileList[0].img_url!=''" id="ossPointMarkImg" :src="fileList[0].img_url" alt="" srcset="">
24
+            <img v-if="fileList[0].img_url==0" id="ossPointMarkImg" src="@/assets/evaluate/xgtl-tool-tips.jpg" alt="" srcset="">
25
+          
26
+           <img v-if="fileList[0].img_url!=''" id="ossPointMarkImg" :src="fileList[0].img_url" alt="" srcset="">
27
+          
26
 
28
 
27
             <!-- A端/V端 v-if="a_num==2" -->
29
             <!-- A端/V端 v-if="a_num==2" -->
28
             <!-- <div v-for="(item,index) in A_arr" :key="index">
30
             <!-- <div v-for="(item,index) in A_arr" :key="index">
122
               </div>
124
               </div>
123
             </div></div>
125
             </div></div>
124
           </div>
126
           </div>
127
+         
125
         </div>
128
         </div>
129
+       
126
         <div style="width:25px;"></div>
130
         <div style="width:25px;"></div>
127
         <div style="width:49%;">
131
         <div style="width:49%;">
128
           <div>
132
           <div>
174
           <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
178
           <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
175
         </div>
179
         </div>
176
       </div>
180
       </div>
181
+
182
+      
183
+      <!-- <img :src="imageSrc" alt="Rendered Image" /> -->
177
     </div>
184
     </div>
178
 
185
 
179
     <!-- <div style="width:50%; margin-top:20px">
186
     <!-- <div style="width:50%; margin-top:20px">
375
       patients:{},
382
       patients:{},
376
       date:moment(new Date()).format("YYYY-MM-DD"),
383
       date:moment(new Date()).format("YYYY-MM-DD"),
377
       widthtext:null,
384
       widthtext:null,
385
+      imageSrc:"",
386
+      imageList: []
378
     }
387
     }
379
   },
388
   },
380
   created(){
389
   created(){
390
     console.log('asfdazxsdfdfdsdfsadfs',this.fileList);
399
     console.log('asfdazxsdfdfdsdfsadfs',this.fileList);
391
   },
400
   },
392
   methods:{
401
   methods:{
402
+    
403
+    async captureImage() {
404
+      try {
405
+        const element = document.getElementById('print_mark_img');
406
+        const canvas = await html2canvas(element);
407
+        console.log("canvas22222222222222",canvas)
408
+        var imgUrl = canvas.toDataURL('image/png');
409
+       
410
+      
411
+        this.imageSrc= imgUrl
412
+        return imgUrl
413
+      } catch (error) {
414
+        console.error('截图失败:', error);
415
+      }
416
+    },
393
     add(){
417
     add(){
394
       if(this.append == false){
418
       if(this.append == false){
395
         console.log('1111');
419
         console.log('1111');
901
         id: 0
925
         id: 0
902
       })
926
       })
903
       console.log('上传 图片',this.fileList);
927
       console.log('上传 图片',this.fileList);
928
+      this.imageList.push(res.localPath);
929
+      console.log("图片路径2222222222222222222222",this.fileList)
904
       this.loading.close()
930
       this.loading.close()
905
       this.imgDialogVisible=false
931
       this.imgDialogVisible=false
906
     },
932
     },
1026
       }
1052
       }
1027
 
1053
 
1028
 
1054
 
1029
-       var img_url = ""
1030
-       if(this.fileList!=null && this.fileList.length>0){
1031
-          img_url = this.fileList[0].img_url
1032
-       }
1055
+      
1056
+
1057
+       console.log("hahhahah",this.captureImage())
1058
+    
1059
+     
1033
        var params = {
1060
        var params = {
1034
          id:this.id,
1061
          id:this.id,
1035
          is_append:is_append,
1062
          is_append:is_append,
1071
          left_v:0,
1098
          left_v:0,
1072
          aarr:this.Aarr,
1099
          aarr:this.Aarr,
1073
          varr:this.Varr,
1100
          varr:this.Varr,
1074
-         img_url:img_url,
1101
+         img_url:this.fileList[0].img_url,
1075
        }
1102
        }
1076
        console.log("paramswowwo",params)
1103
        console.log("paramswowwo",params)
1077
 
1104
 

+ 27 - 2
src/xt_pages/user/components/PatientDetail.vue Zobrazit soubor

281
                 </el-checkbox-group>
281
                 </el-checkbox-group>
282
               </el-form-item>
282
               </el-form-item>
283
              </el-col>
283
              </el-col>
284
+            
285
+             <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
286
+                <el-form-item
287
+                  label="打印日期:"
288
+                  label-width="150px"
289
+                >
290
+                  <el-date-picker
291
+                     disabled
292
+                    v-model="form.print_date"
293
+                    type="date"
294
+                    format="yyyy-MM-dd"
295
+                    value-format="yyyy-MM-dd"
296
+                  ></el-date-picker>
297
+                </el-form-item>
298
+              </el-col>
299
+
284
              <el-col :span="8">
300
              <el-col :span="8">
285
                 <el-form-item label="住院(门诊)号 : " prop="admissionNumber">
301
                 <el-form-item label="住院(门诊)号 : " prop="admissionNumber">
286
                   <el-input v-model="form.admissionNumber" disabled></el-input>
302
                   <el-input v-model="form.admissionNumber" disabled></el-input>
1225
               <div class="proj">
1241
               <div class="proj">
1226
                 <span class="proj_title">日期:</span>
1242
                 <span class="proj_title">日期:</span>
1227
 
1243
 
1228
-                <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1244
+                <!-- <span v-if="org_id == 3907 || org_id == 9671|| org_id == 9675 || org_id == 10394 || org_id ==10612 || org_id == 0 || org_id ==10617">
1229
                 {{getTime(patientPrint.created_time)}}</span>
1245
                 {{getTime(patientPrint.created_time)}}</span>
1230
-                <span v-else>{{ printDate }}</span>
1246
+                <span v-else>{{ printDate }}</span> -->
1247
+
1248
+                <span v-if="patientPrint.print_date>0">{{getTime(patientPrint.print_date)}}</span> 
1249
+                <span v-if="patientPrint.print_date<=0">{{getTime(patientPrint.created_time)}}</span> 
1231
 
1250
 
1232
               </div>
1251
               </div>
1233
               <div class="proj">
1252
               <div class="proj">
1375
   patient_address:"",
1394
   patient_address:"",
1376
   infectious_remark:"",
1395
   infectious_remark:"",
1377
   allergic_history:"",
1396
   allergic_history:"",
1397
+  print_date:"",
1378
 };
1398
 };
1379
 
1399
 
1380
 export default {
1400
 export default {
1723
               "{y}-{m}-{d}"
1743
               "{y}-{m}-{d}"
1724
             );
1744
             );
1725
 
1745
 
1746
+            this.form.print_date = uParseTime(
1747
+              patietInfo.print_date,
1748
+              "{y}-{m}-{d}"
1749
+            );
1750
+
1726
             this.form.patient_source = patietInfo.patient_source
1751
             this.form.patient_source = patietInfo.patient_source
1727
             if (patietInfo.patient_start_time != 0) {
1752
             if (patietInfo.patient_start_time != 0) {
1728
               this.form.patient_start_time = uParseTime(
1753
               this.form.patient_start_time = uParseTime(

+ 21 - 2
src/xt_pages/user/components/PatientForm.vue Zobrazit soubor

129
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
129
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
130
                 <el-form-item
130
                 <el-form-item
131
                   label="身份证号 : "
131
                   label="身份证号 : "
132
-                  class="is-required"
133
                   prop="idCardNo"
132
                   prop="idCardNo"
134
                 >
133
                 >
135
                   <el-input
134
                   <el-input
135
+                    @input="checkIdCardNo"
136
                     v-model="form.idCardNo"
136
                     v-model="form.idCardNo"
137
-                    @blur="checkIdCardNo"
138
                   ></el-input><!---->
137
                   ></el-input><!---->
139
                 </el-form-item>
138
                 </el-form-item>
140
               </el-col>
139
               </el-col>
334
               </el-form-item>
333
               </el-form-item>
335
             </el-col>
334
             </el-col>
336
 
335
 
336
+            <el-col :span="6" :style="isEdit ? 'width:380px' : ''">
337
+                <el-form-item
338
+                  label="打印日期:"
339
+                  label-width="150px"
340
+                >
341
+                  <el-date-picker
342
+                    v-model="form.print_date"
343
+                    type="date"
344
+                    format="yyyy-MM-dd"
345
+                    value-format="yyyy-MM-dd"
346
+                  ></el-date-picker>
347
+                </el-form-item>
348
+              </el-col>
349
+
337
             <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
350
             <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
338
                   <el-form-item label="住院(门诊)号 : ">
351
                   <el-form-item label="住院(门诊)号 : ">
339
                     <el-input v-model="form.admissionNumber"></el-input>
352
                     <el-input v-model="form.admissionNumber"></el-input>
1183
   patient_address:"",
1196
   patient_address:"",
1184
   infectious_remark:"",
1197
   infectious_remark:"",
1185
   allergic_history:"",
1198
   allergic_history:"",
1199
+  print_date:"",
1186
   formItem: [
1200
   formItem: [
1187
     {
1201
     {
1188
       id: 0,
1202
       id: 0,
2025
               "{y}-{m}-{d}"
2039
               "{y}-{m}-{d}"
2026
             );
2040
             );
2027
 
2041
 
2042
+            this.form.print_date = uParseTime(
2043
+              patietInfo.print_date,
2044
+              "{y}-{m}-{d}"
2045
+            );
2046
+
2028
             if (patietInfo.age == 0) {
2047
             if (patietInfo.age == 0) {
2029
               this.form.age = jsGetAge(this.form.birth, "-");
2048
               this.form.age = jsGetAge(this.form.birth, "-");
2030
             } else {
2049
             } else {

+ 2 - 3
src/xt_pages/user/inspection.vue Zobrazit soubor

347
                   placeholder="请填入"
347
                   placeholder="请填入"
348
                   v-model="item.value"
348
                   v-model="item.value"
349
                   style="width:95%"
349
                   style="width:95%"
350
-                  type="number"
350
+                
351
                   @input='changeInput(item)'
351
                   @input='changeInput(item)'
352
                 >
352
                 >
353
                   <template slot="append">{{ item.unit }}</template>
353
                   <template slot="append">{{ item.unit }}</template>
1012
             this.patientID,
1012
             this.patientID,
1013
             this.form,
1013
             this.form,
1014
             this.form.remind_cycle
1014
             this.form.remind_cycle
1015
-          )
1016
-            .then(response => {
1015
+          ).then(response => {
1017
               if (response.data.state == 1) {
1016
               if (response.data.state == 1) {
1018
                 this.$notify({
1017
                 this.$notify({
1019
                   title: '成功',
1018
                   title: '成功',

+ 2 - 2
src/xt_pages/user/patients.vue Zobrazit soubor

1804
           }
1804
           }
1805
         }
1805
         }
1806
 
1806
 
1807
-        const tHeader = ['姓名', '性别', '身份证号码','年龄','透析号','首次治疗时间','本人电话','患者来源','治疗状态','传染病']
1808
-        const filterVal = ['name', 'genders', 'id_card_no','age_year','dialysis_no','first_dialysis_date','phone','sources','lapesetos','is_infectiouss']
1807
+        const tHeader = ['姓名', '性别', '身份证号码','年龄','透析号','首次治疗时间','本人电话','患者来源','治疗状态','传染病','家庭住址','工作单位']
1808
+        const filterVal = ['name', 'genders', 'id_card_no','age_year','dialysis_no','first_dialysis_date','phone','sources','lapesetos','is_infectiouss','home_address','work_unit']
1809
         console.log("table",this.tableData)
1809
         console.log("table",this.tableData)
1810
 
1810
 
1811
         const data = this.formatJson(filterVal, this.tableData)
1811
         const data = this.formatJson(filterVal, this.tableData)

+ 54 - 11
src/xt_pages/user/templateSummary.vue Zobrazit soubor

680
                    <el-radio-group style="padding: 10px;"  v-model="radio" @change="changeRadio">
680
                    <el-radio-group style="padding: 10px;"  v-model="radio" @change="changeRadio">
681
                       <el-radio :label="1">月份</el-radio>
681
                       <el-radio :label="1">月份</el-radio>
682
                       <el-radio :label="2">季度</el-radio>
682
                       <el-radio :label="2">季度</el-radio>
683
+                      <el-radio :label="3">自定义时间</el-radio>
683
                     </el-radio-group>
684
                     </el-radio-group>
684
                  </el-form-item>
685
                  </el-form-item>
685
                  <el-form-item v-show="showquarty">
686
                  <el-form-item v-show="showquarty">
703
                       value-format="yyyy-MM">
704
                       value-format="yyyy-MM">
704
                     </el-date-picker>
705
                     </el-date-picker>
705
                  </el-form-item>
706
                  </el-form-item>
706
-                 <!-- <el-form-item  label="月份:"
707
-                   prop="startYear"
708
-                   style="width:100%;">
709
-                  <el-date-picker
710
-                    v-model="startMonth"
711
-                    type="month"
712
-                    format="MM"
713
-                    value-format="MM"
714
-                    placeholder="请选择">
715
-                  </el-date-picker>
716
-                 </el-form-item> -->
717
                 </div>
707
                 </div>
718
               </el-form-item>
708
               </el-form-item>
719
             </el-row>
709
             </el-row>
710
+            <el-row>
711
+              <div v-show="showStarttime">
712
+
713
+                  <el-form-item >
714
+                    <el-date-picker
715
+                        @change="changFirstYear"
716
+                        style="width: 200px;"
717
+                        v-model="fisrt_time"
718
+                        class="timePicker"
719
+                        type="month"
720
+                        placeholder="开始时间"
721
+                        format="yyyy-MM-dd"
722
+                        value-format="yyyy-MM-dd">
723
+                      </el-date-picker>
724
+                       -
725
+                      <el-date-picker
726
+                          @change="changLastYear"
727
+                          style="width: 200px;"
728
+                          v-model="last_time"
729
+                          class="timePicker"
730
+                          type="month"
731
+                          placeholder="结束时间"
732
+                          format="yyyy-MM-dd"
733
+                          value-format="yyyy-MM-dd">
734
+                        </el-date-picker>
735
+                  </el-form-item> 
736
+              
737
+              </div>
738
+              
739
+            </el-row>
720
             <el-row>
740
             <el-row>
721
                <span>选择检验检查项目:</span>
741
                <span>选择检验检查项目:</span>
722
                  <div class="record">
742
                  <div class="record">
966
        radio:1,
986
        radio:1,
967
        showtime:true,
987
        showtime:true,
968
        showquarty:false,
988
        showquarty:false,
989
+       fisrt_time:"",
990
+       last_time:"",
991
+       showStarttime:false,
969
       }
992
       }
970
     },
993
     },
971
     created() {
994
     created() {
1223
             }
1246
             }
1224
           }
1247
           }
1225
 
1248
 
1249
+          if(this.radio == 3){
1250
+            start_time = this.fisrt_time
1251
+            end_time = this.last_time
1252
+          }
1253
+
1226
 
1254
 
1227
           console.log("start_time",start_time)
1255
           console.log("start_time",start_time)
1228
           console.log("end_time",end_time)
1256
           console.log("end_time",end_time)
1846
         }
1874
         }
1847
 
1875
 
1848
        
1876
        
1877
+        this.getInspectionMajor()
1878
+      },
1879
+      changFirstYear(){
1880
+        console.log("hahhahahh")
1881
+        this.getInspectionMajor()
1882
+      },
1883
+      changLastYear(){
1849
         this.getInspectionMajor()
1884
         this.getInspectionMajor()
1850
       },
1885
       },
1851
       selectSummary(val){
1886
       selectSummary(val){
1892
        if(val == 1){
1927
        if(val == 1){
1893
          this.showtime = true
1928
          this.showtime = true
1894
          this.showquarty = false
1929
          this.showquarty = false
1930
+         this.showStarttime = false
1895
          this.getInspectionMajor()
1931
          this.getInspectionMajor()
1896
        }
1932
        }
1897
        if(val == 2){
1933
        if(val == 2){
1898
          this.showquarty = true
1934
          this.showquarty = true
1899
          this.showtime = false
1935
          this.showtime = false
1936
+         this.showStarttime = false
1937
+         this.getInspectionMajor()
1938
+       }
1939
+       if(val == 3){
1940
+         this.showStarttime = true
1941
+         this.showtime =false
1942
+         this.showquarty = false
1900
          this.getInspectionMajor()
1943
          this.getInspectionMajor()
1901
        }
1944
        }
1902
      }
1945
      }

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

97
         color: '#606266'
97
         color: '#606266'
98
       }"
98
       }"
99
       style="width: 100%"
99
       style="width: 100%"
100
+      @selection-change="handleSelectionChange"
100
     >
101
     >
102
+     <el-table-column
103
+        align="center"
104
+        type="selection"
105
+        width="55">
106
+      </el-table-column>
101
       <el-table-column label="透析处方" min-width="100" align="center">
107
       <el-table-column label="透析处方" min-width="100" align="center">
102
         <template slot-scope="scope">
108
         <template slot-scope="scope">
103
           <span v-if="scope.row.prescription.id > 0">已确认</span>
109
           <span v-if="scope.row.prescription.id > 0">已确认</span>
120
           {{ scope.row.patient }}
126
           {{ scope.row.patient }}
121
         </template>
127
         </template>
122
       </el-table-column>
128
       </el-table-column>
123
-      <el-table-column label="分区" min-width="70" align="center">
129
+      <el-table-column label="分区" min-width="100" align="center">
124
         <template slot-scope="scope">
130
         <template slot-scope="scope">
125
-          {{ scope.row.zone.name }}
131
+          {{ scope.row.zone.name }}({{ getType(scope.row.partition_id)  }})
126
         </template>
132
         </template>
127
       </el-table-column>
133
       </el-table-column>
128
       <el-table-column label="班次" min-width="70" align="center">
134
       <el-table-column label="班次" min-width="70" align="center">
307
       zoneList:[],
313
       zoneList:[],
308
       start_time:moment().week(moment().week() + 1).startOf('week').unix(),
314
       start_time:moment().week(moment().week() + 1).startOf('week').unix(),
309
       loading:false,
315
       loading:false,
316
+      ids:""
310
     };
317
     };
311
   },
318
   },
312
   watch: {
319
   watch: {
372
 
379
 
373
         let next_sunday = moment().add((7 - weekOfDay) + 7, 'days').format('YYYY-MM-DD')
380
         let next_sunday = moment().add((7 - weekOfDay) + 7, 'days').format('YYYY-MM-DD')
374
 
381
 
375
-        console.log("开始时间++++++++",(this.getTimestamp(next_monday)/1000)-28800)
376
-
377
         var now_time = parseInt(this.week_type - 1)*86400 + (this.getTimestamp(next_monday)/1000 -28800)
382
         var now_time = parseInt(this.week_type - 1)*86400 + (this.getTimestamp(next_monday)/1000 -28800)
378
-        console.log("now_time------------------",now_time)
383
+      
379
 
384
 
380
 
385
 
381
 
386
 
385
           week_type:this.week_type,
390
           week_type:this.week_type,
386
           week_time:this.week_time,
391
           week_time:this.week_time,
387
           zone:str,
392
           zone:str,
388
-          record_date:this.getTime(now_time)
393
+          record_date:this.getTime(now_time),
394
+          ids:this.ids,
389
        }
395
        }
390
       console.log("params0000000000",params)
396
       console.log("params0000000000",params)
391
       getNextScheduleWeekDay(params).then(response => {
397
       getNextScheduleWeekDay(params).then(response => {
665
     },
671
     },
666
     signPrint() {
672
     signPrint() {
667
         //
673
         //
668
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id ==10375){
674
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id ==10375 || this.org_id ==10517){
669
          var zone = this.zone
675
          var zone = this.zone
670
           var newArr = []
676
           var newArr = []
671
           for(let i=0;i<this.zoneList.length;i++){
677
           for(let i=0;i<this.zoneList.length;i++){
680
             str = zone.join(",")
686
             str = zone.join(",")
681
           }
687
           }
682
           this.$router.push({
688
           this.$router.push({
683
-            path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
689
+            path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2+"&ids="+this.ids
684
           })
690
           })
685
           }
691
           }
686
-        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340 && this.org_id !=10375 && this.org_id !=10469){
692
+        if(this.org_id!=9671 && this.org_id!=9675 && this.org_id!=10340 && this.org_id !=10375 && this.org_id !=10469 && this.org_id !=10517){
687
           var zone = this.zone
693
           var zone = this.zone
688
         var newArr = []
694
         var newArr = []
689
         for(let i=0;i<this.zoneList.length;i++){
695
         for(let i=0;i<this.zoneList.length;i++){
698
           str = zone.join(",")
704
           str = zone.join(",")
699
         }
705
         }
700
         this.$router.push({
706
         this.$router.push({
701
-          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
707
+          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2+"&ids="+this.ids
702
         })
708
         })
703
         }
709
         }
704
         else if(this.org_id==10469){
710
         else if(this.org_id==10469){
717
             str = zone.join(",")
723
             str = zone.join(",")
718
           }
724
           }
719
           this.$router.push({
725
           this.$router.push({
720
-            path: '/schedule/remind/print/setting/two?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
726
+            path: '/schedule/remind/print/setting/two?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2+"&ids="+this.ids
721
           })
727
           })
722
         }
728
         }
723
 
729
 
729
       return uParseTime(val, '{y}-{m}-{d}')
735
       return uParseTime(val, '{y}-{m}-{d}')
730
       }
736
       }
731
     },
737
     },
738
+    handleSelectionChange(val){
739
+        var arr = []
740
+        for(let i=0;i<val.length;i++){
741
+          arr.push(val[i].patient_id)
742
+        }
743
+        this.ids = arr.join(",")
744
+     },
745
+     getType(zone_id){
746
+        var type_name =""
747
+        var is_type = 0
748
+        for(let i=0;i<this.zoneList.length;i++){
749
+           if(zone_id == this.zoneList[i].id){
750
+               is_type =this.zoneList[i].type
751
+           }
752
+        }
753
+        if(is_type ==1){
754
+          type_name = "普通"
755
+        }
756
+        if(is_type ==2){
757
+          type_name = "乙肝"
758
+        }
759
+        if(is_type ==3){
760
+          type_name = "丙肝"
761
+        }
762
+        if(is_type ==4){
763
+          type_name = "艾滋病"
764
+        }
765
+        if(is_type ==5){
766
+          type_name = "肺结核"
767
+        }
768
+        if(is_type ==6){
769
+          type_name = "梅毒"
770
+        }
771
+
772
+        return type_name 
773
+
774
+      }
732
   },
775
   },
733
   components: {
776
   components: {
734
     WeekItem
777
     WeekItem

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

77
         </div>
77
         </div>
78
         <div class="cell clearfix">
78
         <div class="cell clearfix">
79
             <div class="title"><span class="name">分区</span> :</div>
79
             <div class="title"><span class="name">分区</span> :</div>
80
-            <!-- <div class="time">
81
-                <ul class>
82
-                    <li
83
-                          :class="item.id == zone ? 'active' : ''"
84
-                            @click="selectZoneList(item.id)"
85
-                            v-for="item in zoneList"
86
-                            :key="item.id"
87
-                    >
88
-                        {{ item.name }}
89
-                    </li>
90
-                </ul>
91
-            </div> -->
92
             <el-select v-model="zone" multiple placeholder="请选择" @change="changeZone">
80
             <el-select v-model="zone" multiple placeholder="请选择" @change="changeZone">
93
               <el-option
81
               <el-option
94
                 v-for="item in zoneList"
82
                 v-for="item in zoneList"
99
             </el-select>
87
             </el-select>
100
         </div>
88
         </div>
101
         <el-table
89
         <el-table
102
-                v-loading="isloading"
103
-                :row-style="{ color: '#303133' }"
104
-                :data="summarySchData"
105
-                border
106
-                :header-cell-style="{
107
-        backgroundColor: 'rgb(245, 247, 250)',
108
-        color: '#606266'
109
-      }"
110
-                style="width: 100%"
90
+          v-loading="isloading"
91
+          :row-style="{ color: '#303133' }"
92
+          :data="summarySchData"
93
+          border
94
+          :header-cell-style="{
95
+          backgroundColor: 'rgb(245, 247, 250)',
96
+          color: '#606266'
97
+         }"
98
+         style="width: 100%"
99
+        
111
         >
100
         >
112
-
101
+         
113
             <el-table-column label="分区" min-width="70" align="center">
102
             <el-table-column label="分区" min-width="70" align="center">
114
                 <template slot-scope="scope">
103
                 <template slot-scope="scope">
115
-                    {{ scope.row.zone.name }}
104
+                    {{ scope.row.zone.name }} 
116
                 </template>
105
                 </template>
117
             </el-table-column>
106
             </el-table-column>
118
 
107
 
119
             <el-table-column label="透析模式" min-width="100" align="center">
108
             <el-table-column label="透析模式" min-width="100" align="center">
120
                 <template slot-scope="scope">
109
                 <template slot-scope="scope">
121
-                    <!--{{getModeDesc(scope.row.list)}}-->
122
                     <div >{{getModeDesc(scope.row.list)}}</div>
110
                     <div >{{getModeDesc(scope.row.list)}}</div>
123
 
111
 
124
                 </template>
112
                 </template>
168
                 :data="scheduleData"
156
                 :data="scheduleData"
169
                 border
157
                 border
170
                 :header-cell-style="{
158
                 :header-cell-style="{
171
-        backgroundColor: 'rgb(245, 247, 250)',
172
-        color: '#606266'
173
-      }"
159
+                backgroundColor: 'rgb(245, 247, 250)',
160
+                color: '#606266'
161
+                 }"
174
                 style="width: 100%"
162
                 style="width: 100%"
163
+                @selection-change="handleSelectionChange"
175
         >
164
         >
165
+          <el-table-column
166
+            align="center"
167
+            type="selection"
168
+            width="55">
169
+          </el-table-column>
176
             <el-table-column label="透析处方" min-width="100" align="center">
170
             <el-table-column label="透析处方" min-width="100" align="center">
177
                 <template slot-scope="scope">
171
                 <template slot-scope="scope">
178
                     <span v-if="scope.row.prescription.id>0">已确定</span>
172
                     <span v-if="scope.row.prescription.id>0">已确定</span>
195
                     {{ scope.row.patient.name }}
189
                     {{ scope.row.patient.name }}
196
                 </template>
190
                 </template>
197
             </el-table-column>
191
             </el-table-column>
198
-            <el-table-column label="分区" min-width="70" align="center">
192
+            <el-table-column label="分区" min-width="100" align="center">
199
                 <template slot-scope="scope">
193
                 <template slot-scope="scope">
200
-                    {{ scope.row.zone.name }}
194
+                    {{ scope.row.zone.name }} ({{ getType(scope.row.partition_id)  }})
201
                 </template>
195
                 </template>
202
             </el-table-column>
196
             </el-table-column>
203
             <el-table-column label="班次" min-width="70" align="center">
197
             <el-table-column label="班次" min-width="70" align="center">
221
             </el-table-column>
215
             </el-table-column>
222
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
216
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
223
                 <template slot-scope="scope">
217
                 <template slot-scope="scope">
224
-                    <!-- <span v-if="org_id!=9987&&org_id!=10131&&org_id!=10215 &&org_id!=10233 && org_id!=10290">
225
-                      <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">
226
-                        <span>{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
227
-                      </span>
228
-
229
-                      <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.id > 0 && scope.row.prescription.dialysis_dialyszers == ''">{{scope.row.dialysissolution.dialysis_dialyszers}}</span>
230
-                    </span> -->
231
-
232
-                    <!-- <span v-if="org_id==10131 || org_id == 10215 || org_id == 10233">{{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}</span> -->
233
-
234
-                      <!-- {{scope.row.prescription.dialysis_dialyszers}} -->
218
+                   
235
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
219
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
236
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
220
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
237
                     </span>
221
                     </span>
311
             </el-table-column>
295
             </el-table-column>
312
         </el-table>
296
         </el-table>
313
 
297
 
298
+        <el-pagination
299
+          @size-change="handleSizeChangeOne"
300
+          @current-change="handleCurrentChangeOne"
301
+          :page-sizes="[100, 200, 300,400,500,600,700,800,900,1000]"
302
+          :page-size="10"
303
+          background
304
+          align="right"
305
+          style="margin-top:20px;"
306
+          layout="total, sizes, prev, pager, next, jumper"
307
+          :total="total"
308
+       >
309
+      </el-pagination>
310
+
314
     <el-dialog
311
     <el-dialog
315
             title="打印设置"
312
             title="打印设置"
316
             :visible.sync="dialogVisible"
313
             :visible.sync="dialogVisible"
374
     getAllZoneList,
371
     getAllZoneList,
375
     getRemindPrintList,
372
     getRemindPrintList,
376
     getScheduleList,
373
     getScheduleList,
377
-    getSchedules,
378
     getScheduleWeekDay,
374
     getScheduleWeekDay,
379
     saveRemindPrint
375
     saveRemindPrint
380
   } from '@/api/schedule'
376
   } from '@/api/schedule'
464
         summarySchData: [],
460
         summarySchData: [],
465
         zone:0,
461
         zone:0,
466
         zoneList:[],
462
         zoneList:[],
463
+        ids:"",
464
+        limit:100,
465
+        page:1,
466
+        total:0,
467
       }
467
       }
468
     },
468
     },
469
     watch: {
469
     watch: {
881
           str = zone.join(",")
881
           str = zone.join(",")
882
         }
882
         }
883
         this.$router.push({
883
         this.$router.push({
884
-          path: '/schedule/remind/print?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str
884
+          path: '/schedule/remind/print?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str+"&ids"+this.ids
885
         })
885
         })
886
       },
886
       },
887
       signPrint() {
887
       signPrint() {
888
 //
888
 //
889
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340  || this.org_id == 10375){
889
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340  || this.org_id == 10375 || this.org_id ==10517){
890
          var zone = this.zone
890
          var zone = this.zone
891
           console.log("zone23232",zone)
891
           console.log("zone23232",zone)
892
           var newArr = []
892
           var newArr = []
902
             str = zone.join(",")
902
             str = zone.join(",")
903
           }
903
           }
904
           this.$router.push({
904
           this.$router.push({
905
-            path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
905
+            path: '/schedule/remind/print/setting/one?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1+"&ids="+this.ids
906
           })
906
           })
907
         }
907
         }
908
-        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340  && this.org_id!=10375 && this.org_id!=10469){
908
+        if(this.org_id != 9671 && this.org_id != 9675 && this.org_id != 10340  && this.org_id!=10375 && this.org_id!=10469 && this.org_id!=10517){
909
           var zone = this.zone
909
           var zone = this.zone
910
           console.log("zone23232",zone)
910
           console.log("zone23232",zone)
911
           var newArr = []
911
           var newArr = []
921
             str = zone.join(",")
921
             str = zone.join(",")
922
           }
922
           }
923
           this.$router.push({
923
           this.$router.push({
924
-            path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
924
+            path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1+"&ids="+this.ids
925
           })
925
           })
926
         }else if(this.org_id==10469){
926
         }else if(this.org_id==10469){
927
           var zone = this.zone
927
           var zone = this.zone
939
             str = zone.join(",")
939
             str = zone.join(",")
940
           }
940
           }
941
           this.$router.push({
941
           this.$router.push({
942
-            path: '/schedule/remind/print/setting/two?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
942
+            path: '/schedule/remind/print/setting/two?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1+"&ids="+this.ids
943
           })
943
           })
944
         }
944
         }
945
 
945
 
1023
           week_type: this.week_type,
1023
           week_type: this.week_type,
1024
           week_time: this.week_time,
1024
           week_time: this.week_time,
1025
           zone: str,
1025
           zone: str,
1026
+          ids:this.ids,
1027
+          limit:this.limit,
1028
+          page:this.page,
1026
         }
1029
         }
1027
         console.log("param",params)
1030
         console.log("param",params)
1028
         this.scheduleData = []
1031
         this.scheduleData = []
1033
             console.log('22333333333', this.pre_status)
1036
             console.log('22333333333', this.pre_status)
1034
             var list = response.data.data.list
1037
             var list = response.data.data.list
1035
             console.log("list33333333333333333333",list)
1038
             console.log("list33333333333333333333",list)
1039
+            this.total =response.data.data.total
1036
             if (this.pre_status == 0) {
1040
             if (this.pre_status == 0) {
1037
 
1041
 
1038
               for (let i = 0; i < list.length; i++) {
1042
               for (let i = 0; i < list.length; i++) {
1127
                 this.summarySchData.push(obj)
1131
                 this.summarySchData.push(obj)
1128
               }
1132
               }
1129
             }
1133
             }
1130
-
1134
+            console.log("this.000000",this.summarySchData)
1131
           }
1135
           }
1132
         })
1136
         })
1133
       }
1137
       }
1572
         this.zone = val
1576
         this.zone = val
1573
         this.getScheduleList()
1577
         this.getScheduleList()
1574
       },
1578
       },
1575
-     printActionSchedule(){
1579
+      printActionSchedule(){
1576
         this.$router.push({
1580
         this.$router.push({
1577
           path: '/workforce/schedulePrint=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + this.pre_status+"&type="+1
1581
           path: '/workforce/schedulePrint=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + this.pre_status+"&type="+1
1578
         })
1582
         })
1579
-     }
1583
+      },
1584
+      handleSelectionChange(val){
1585
+        console.log("val",val)
1586
+        var arr = []
1587
+        for(let i=0;i<val.length;i++){
1588
+          arr.push(val[i].patient_id)
1589
+        }
1590
+        this.ids = arr.join(",")
1591
+     },
1592
+     handleSizeChangeOne(val) {
1593
+        this.limit = val;
1594
+        this.getScheduleList();
1595
+      },
1596
+      handleCurrentChangeOne(val) {
1597
+        this.page = val;
1598
+        this.getScheduleList();
1599
+      },
1600
+      getType(zone_id){
1601
+        var type_name =""
1602
+        var is_type = 0
1603
+        for(let i=0;i<this.zoneList.length;i++){
1604
+           if(zone_id == this.zoneList[i].id){
1605
+               is_type =this.zoneList[i].type
1606
+           }
1607
+        }
1608
+        if(is_type ==1){
1609
+          type_name = "普通"
1610
+        }
1611
+        if(is_type ==2){
1612
+          type_name = "乙肝"
1613
+        }
1614
+        if(is_type ==3){
1615
+          type_name = "丙肝"
1616
+        }
1617
+        if(is_type ==4){
1618
+          type_name = "艾滋病"
1619
+        }
1620
+        if(is_type ==5){
1621
+          type_name = "肺结核"
1622
+        }
1623
+        if(is_type ==6){
1624
+          type_name = "梅毒"
1625
+        }
1626
+
1627
+        return type_name 
1628
+
1629
+      }
1630
+      
1580
     },
1631
     },
1581
     components: {
1632
     components: {
1582
       WeekItem
1633
       WeekItem

+ 42 - 3
src/xt_pages/workforce/next_remind_print.vue Zobrazit soubor

52
                   <span v-if="main_collection.schedule_week == 6">周六</span>
52
                   <span v-if="main_collection.schedule_week == 6">周六</span>
53
                 </td>
53
                 </td>
54
                 <td :width="td_1_width" v-if="printObj.name == 1">{{ main_collection.patient}}</td>
54
                 <td :width="td_1_width" v-if="printObj.name == 1">{{ main_collection.patient}}</td>
55
-                <td :width="td_1_width" v-if="printObj.zone == 1">{{ main_collection.zone.name }}</td>
55
+                <td :width="td_1_width" v-if="printObj.zone == 1">{{ main_collection.zone.name }} ({{ getType(main_collection.partition_id)  }})</td>
56
                 <td :width="td_1_width" v-if="printObj.classes == 1">
56
                 <td :width="td_1_width" v-if="printObj.classes == 1">
57
                   {{getSchedulesType(main_collection.schedule_type)}}
57
                   {{getSchedulesType(main_collection.schedule_type)}}
58
                 </td>
58
                 </td>
113
 </template>
113
 </template>
114
 
114
 
115
 <script>
115
 <script>
116
-  import { getNextScheduleWeekDay,getPrintList } from '@/api/schedule'
116
+  import { getNextScheduleWeekDay,getPrintList,getAllZoneList } from '@/api/schedule'
117
   import { getDataConfig } from '@/utils/data'
117
   import { getDataConfig } from '@/utils/data'
118
   import { parseTime } from '@/utils'
118
   import { parseTime } from '@/utils'
119
   import { uParseTime } from '@/utils/tools'
119
   import { uParseTime } from '@/utils/tools'
147
         printObj:{},
147
         printObj:{},
148
         loading: false,
148
         loading: false,
149
         blood_access_option:[],
149
         blood_access_option:[],
150
+        zoneList:[]
150
       }
151
       }
151
     },
152
     },
152
     components: {
153
     components: {
153
       BreadCrumb
154
       BreadCrumb
154
     },
155
     },
155
     created() {
156
     created() {
156
-      
157
+      this.getAllZoneList()
157
       this.blood_access_option = getDataConfig(
158
       this.blood_access_option = getDataConfig(
158
           'hemodialysis',
159
           'hemodialysis',
159
           'vascular_access_desc'
160
           'vascular_access_desc'
178
     
179
     
179
     },
180
     },
180
     methods: {
181
     methods: {
182
+      getAllZoneList(){
183
+      getAllZoneList().then(response=>{
184
+         if(response.data.state == 1){
185
+            var zonelist = response.data.data.zoneList
186
+            this.zoneList.push(...zonelist)
187
+         }
188
+      })
189
+      },
181
       getBloodName(id){
190
       getBloodName(id){
182
          var name= ""
191
          var name= ""
183
          for(let i=0;i<this.blood_access_option.length;i++){
192
          for(let i=0;i<this.blood_access_option.length;i++){
470
           } 
479
           } 
471
         }
480
         }
472
         return nowdate
481
         return nowdate
482
+      },
483
+      getType(zone_id){
484
+        var type_name =""
485
+        var is_type = 0
486
+        for(let i=0;i<this.zoneList.length;i++){
487
+           if(zone_id == this.zoneList[i].id){
488
+               is_type =this.zoneList[i].type
489
+           }
490
+        }
491
+        if(is_type ==1){
492
+          type_name = "普通"
493
+        }
494
+        if(is_type ==2){
495
+          type_name = "乙肝"
496
+        }
497
+        if(is_type ==3){
498
+          type_name = "丙肝"
499
+        }
500
+        if(is_type ==4){
501
+          type_name = "艾滋病"
502
+        }
503
+        if(is_type ==5){
504
+          type_name = "肺结核"
505
+        }
506
+        if(is_type ==6){
507
+          type_name = "梅毒"
508
+        }
509
+
510
+        return type_name 
511
+
473
       }
512
       }
474
     }
513
     }
475
   }
514
   }

+ 46 - 3
src/xt_pages/workforce/remind_print.vue Zobrazit soubor

51
                   <span v-if="main_collection.schedule_week == 6">周六</span>
51
                   <span v-if="main_collection.schedule_week == 6">周六</span>
52
                 </td>
52
                 </td>
53
                 <td :width="td_1_width" v-if="printObj.name == 1">{{ main_collection.patient.name}}</td>
53
                 <td :width="td_1_width" v-if="printObj.name == 1">{{ main_collection.patient.name}}</td>
54
-                <td :width="td_1_width" v-if="printObj.zone == 1">{{ main_collection.zone.name }}</td>
54
+                <td :width="td_1_width" v-if="printObj.zone == 1">{{ main_collection.zone.name }} ({{ getType(main_collection.partition_id)  }})</td>
55
                 <td :width="td_1_width" v-if="printObj.classes == 1">
55
                 <td :width="td_1_width" v-if="printObj.classes == 1">
56
                   {{getSchedulesType(main_collection.schedule_type)}}
56
                   {{getSchedulesType(main_collection.schedule_type)}}
57
                 </td>
57
                 </td>
112
 </template>
112
 </template>
113
 
113
 
114
 <script>
114
 <script>
115
-  import { getScheduleList,getPrintList } from '@/api/schedule'
115
+  import { getScheduleList,getPrintList,getAllZoneList } from '@/api/schedule'
116
   import { getDataConfig } from '@/utils/data'
116
   import { getDataConfig } from '@/utils/data'
117
   import { parseTime } from '@/utils'
117
   import { parseTime } from '@/utils'
118
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
118
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
140
         printObj:{},
140
         printObj:{},
141
         week_time:0,
141
         week_time:0,
142
         zone:0,
142
         zone:0,
143
-        blood_access_option:[]
143
+        blood_access_option:[],
144
+        zoneList:[]
144
       }
145
       }
145
     },
146
     },
146
     components: {
147
     components: {
147
       BreadCrumb
148
       BreadCrumb
148
     },
149
     },
149
     created() {
150
     created() {
151
+      this.getAllZoneList()
150
       this.getPrintList()
152
       this.getPrintList()
151
       this.org_id = this.$store.getters.xt_user.org.id
153
       this.org_id = this.$store.getters.xt_user.org.id
152
 
154
 
166
           week_type:this.week_type,
168
           week_type:this.week_type,
167
           week_time:this.week_time,
169
           week_time:this.week_time,
168
           zone:this.zone,
170
           zone:this.zone,
171
+          ids:this.$route.query.ids,
172
+          limit:1000,
173
+          page:1,
169
         }
174
         }
170
        console.log("params",params)
175
        console.log("params",params)
171
        getScheduleList(params).then(response=>{
176
        getScheduleList(params).then(response=>{
217
       
222
       
218
     },
223
     },
219
     methods: {
224
     methods: {
225
+     getAllZoneList(){
226
+      getAllZoneList().then(response=>{
227
+         if(response.data.state == 1){
228
+            var zonelist = response.data.data.zoneList
229
+            this.zoneList.push(...zonelist)
230
+         }
231
+      })
232
+      },
220
       getAdvice:function(doctor_advice) {
233
       getAdvice:function(doctor_advice) {
221
         if (doctor_advice != null) {
234
         if (doctor_advice != null) {
222
 
235
 
423
            }
436
            }
424
          }
437
          }
425
          return name
438
          return name
439
+      },
440
+      getType(zone_id){
441
+        var type_name =""
442
+        var is_type = 0
443
+        for(let i=0;i<this.zoneList.length;i++){
444
+           if(zone_id == this.zoneList[i].id){
445
+               is_type =this.zoneList[i].type
446
+           }
447
+        }
448
+        if(is_type ==1){
449
+          type_name = "普通"
450
+        }
451
+        if(is_type ==2){
452
+          type_name = "乙肝"
453
+        }
454
+        if(is_type ==3){
455
+          type_name = "丙肝"
456
+        }
457
+        if(is_type ==4){
458
+          type_name = "艾滋病"
459
+        }
460
+        if(is_type ==5){
461
+          type_name = "肺结核"
462
+        }
463
+        if(is_type ==6){
464
+          type_name = "梅毒"
465
+        }
466
+
467
+        return type_name 
468
+
426
       }
469
       }
427
     },
470
     },
428
   }
471
   }

+ 14 - 2
src/xt_pages/workforce/remind_print_setting.vue Zobrazit soubor

74
                   <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
74
                   <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
75
                   <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
75
                   <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
76
                 </div>
76
                 </div>
77
+                <div class="printCell">
78
+                  <span>
79
+                    床号:{{ main_collection.number.number }}
80
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 1">上午</span>
81
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 2">下午</span>
82
+                    <span style="width:auto;" v-if="main_collection.schedule_type == 3">晚上</span>
83
+                  </span>
84
+                </div>
77
                 <div v-if="printObj.anticoagulant == 1">抗凝剂:
85
                 <div v-if="printObj.anticoagulant == 1">抗凝剂:
78
                   <span v-if="org_id == 10138 || org_id == 0 || org_id == 10278">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
86
                   <span v-if="org_id == 10138 || org_id == 0 || org_id == 10278">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
79
                   <span v-else >
87
                   <span v-else >
177
                   <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
185
                   <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
178
                 </div>
186
                 </div>
179
                 <div class="printCell">
187
                 <div class="printCell">
180
-                  <span>净重值:{{ main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight }}Kg</span>
188
+                  <span>净重值:{{ (main_collection.assessmentbefor.weight_before - main_collection.assessmentbefor.additional_weight).toFixed(2) }}Kg</span>
181
                  首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
189
                  首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
182
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
190
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
183
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
191
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
355
           week_type:this.week_type,
363
           week_type:this.week_type,
356
           week_time:this.week_time,
364
           week_time:this.week_time,
357
           zone:this.zone,
365
           zone:this.zone,
366
+          ids:this.$route.query.ids,
367
+          limit:1000,
368
+          page:1,
358
         }
369
         }
359
        console.log("params",params)
370
        console.log("params",params)
360
        getScheduleList(params).then(response=>{
371
        getScheduleList(params).then(response=>{
605
           week_type:this.week_type,
616
           week_type:this.week_type,
606
           week_time:this.week_time,
617
           week_time:this.week_time,
607
           zone:this.zone,
618
           zone:this.zone,
608
-          record_date:this.getTime(now_time)
619
+          record_date:this.getTime(now_time),
620
+          ids:this.$route.query.ids,
609
         }
621
         }
610
         // const params = {
622
         // const params = {
611
         //   start_time:1609603200,
623
         //   start_time:1609603200,

+ 14 - 10
src/xt_pages/workforce/remind_print_setting_one.vue Zobrazit soubor

382
                 <div class="printCell" v-if="org_id==9671 || org_id==9675 || org_id==10340">
382
                 <div class="printCell" v-if="org_id==9671 || org_id==9675 || org_id==10340">
383
                     <span v-if="main_collection.lastafterweight!=undefined">上次透析时长:{{ main_collection.lastafterweight.actual_treatment_hour }}小时{{ main_collection.lastafterweight.actual_treatment_minute }}分钟</span>
383
                     <span v-if="main_collection.lastafterweight!=undefined">上次透析时长:{{ main_collection.lastafterweight.actual_treatment_hour }}小时{{ main_collection.lastafterweight.actual_treatment_minute }}分钟</span>
384
                 </div>
384
                 </div>
385
-                <div class="printCell">身份证:
385
+                <div class="printCell" v-if="org_id!=10517 && org_id!=0">身份证:
386
                     <span v-if="type ==1">{{main_collection.patient.id_card_no}} </span>
386
                     <span v-if="type ==1">{{main_collection.patient.id_card_no}} </span>
387
                     <span v-if="type ==2">{{main_collection.id_card_no}} </span>
387
                     <span v-if="type ==2">{{main_collection.id_card_no}} </span>
388
                 </div>
388
                 </div>
392
                 </div>
392
                 </div>
393
                 <div class="printCell">
393
                 <div class="printCell">
394
                    透析器:
394
                    透析器:
395
-                    <span v-if="org_id!=0&&org_id!=10375">
395
+                    <span v-if="org_id!=10375">
396
                       <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
396
                       <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
397
                       <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
397
                       <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_dialyszers}} </span>
398
                     </span>
398
                     </span>
399
                    
399
                    
400
 
400
 
401
-                    <span v-if="org_id == 0 || org_id ==10375">
401
+                    <span v-if="org_id ==10375">
402
                       <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
402
                       <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
403
                       <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
403
                       <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_dialyszers}} </span>
404
                     </span>
404
                     </span>
406
                 </div>
406
                 </div>
407
                 <div class="printCell">
407
                 <div class="printCell">
408
                    灌流器:
408
                    灌流器:
409
-                   <span v-if="org_id!=0&&org_id!=10375">
409
+                   <span v-if="org_id!=10375">
410
                     <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
410
                     <span v-if="type ==1">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
411
                     <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
411
                     <span v-if="type ==2">{{main_collection.dialysis_order.dialysis_irrigation}} </span>
412
                    </span>
412
                    </span>
413
                  
413
                  
414
 
414
 
415
-                    <span v-if="org_id == 0 || org_id == 10375"> 
415
+                    <span v-if="org_id == 10375"> 
416
                       <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
416
                       <span v-if="type ==1">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
417
                       <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
417
                       <span v-if="type ==2">{{main_collection.dialysissolution.dialysis_irrigation}} </span>
418
                     </span>
418
                     </span>
419
                 </div>
419
                 </div>
420
                 <div class="printCell">
420
                 <div class="printCell">
421
                   血管通路:
421
                   血管通路:
422
-                  <span v-if="org_id!=0&& org_id!=10375">
422
+                  <span v-if="org_id!=10375">
423
                     <span v-if="type ==1">{{getBloodAccess(main_collection.dialysis_order.blood_access_id)}} </span>
423
                     <span v-if="type ==1">{{getBloodAccess(main_collection.dialysis_order.blood_access_id)}} </span>
424
                     <span v-if="type ==2">{{getBloodAccess(main_collection.dialysis_order.blood_access_id)}} </span>
424
                     <span v-if="type ==2">{{getBloodAccess(main_collection.dialysis_order.blood_access_id)}} </span>
425
                   </span>
425
                   </span>
426
 
426
 
427
-                  <span v-if="org_id == 0 || org_id == 10375">
427
+                  <span v-if="org_id == 10375">
428
                    <span v-if="type ==1">{{getBloodAccess(main_collection.dialysissolution.blood_access)}} </span>
428
                    <span v-if="type ==1">{{getBloodAccess(main_collection.dialysissolution.blood_access)}} </span>
429
                    <span v-if="type ==2">{{getBloodAccess(main_collection.dialysissolution.blood_access)}} </span>
429
                    <span v-if="type ==2">{{getBloodAccess(main_collection.dialysissolution.blood_access)}} </span>
430
                   </span>
430
                   </span>
524
       this.week_time = this.$route.query.week_time
524
       this.week_time = this.$route.query.week_time
525
       this.zone = this.$route.query.zone
525
       this.zone = this.$route.query.zone
526
       this.pre_status = this.$route.query.prestatus
526
       this.pre_status = this.$route.query.prestatus
527
-
527
+      
528
       if (parseInt(this.$route.query.type) == 1) {
528
       if (parseInt(this.$route.query.type) == 1) {
529
         const params = {
529
         const params = {
530
           week_type: this.week_type,
530
           week_type: this.week_type,
531
           week_time: this.week_time,
531
           week_time: this.week_time,
532
-          zone: this.zone
532
+          zone: this.zone,
533
+          ids:this.$route.query.ids,
534
+          limit:1000,
535
+          page:1,
533
         }
536
         }
534
       
537
       
535
         this.loading = true
538
         this.loading = true
785
           week_type: this.week_type,
788
           week_type: this.week_type,
786
           week_time: this.week_time,
789
           week_time: this.week_time,
787
           zone: this.zone,
790
           zone: this.zone,
788
-          record_date: this.getTime(now_time)
791
+          record_date: this.getTime(now_time),
792
+          ids:this.$route.query.ids,
789
         }
793
         }
790
         // const params = {
794
         // const params = {
791
         //   start_time:1609603200,
795
         //   start_time:1609603200,

+ 5 - 2
src/xt_pages/workforce/remind_print_setting_two.vue Zobrazit soubor

261
      this.org_id = this.$store.getters.xt_user.org.id
261
      this.org_id = this.$store.getters.xt_user.org.id
262
      console.log("机构ID",this.org_id)
262
      console.log("机构ID",this.org_id)
263
      this.currentDate = this.getCurrentDate()
263
      this.currentDate = this.getCurrentDate()
264
-     console.log("打印时间----------------------------",this.currentDate)
265
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
264
     this.printDate = moment().format("YYYY-MM-DD HH:mm:ss")
266
     this.modeOptions = this.$store.getters.treatment_mode
265
     this.modeOptions = this.$store.getters.treatment_mode
267
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
266
     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
275
           week_type:this.week_type,
274
           week_type:this.week_type,
276
           week_time:this.week_time,
275
           week_time:this.week_time,
277
           zone:this.zone,
276
           zone:this.zone,
277
+          ids:this.$route.query.ids,
278
+          limit:1000,
279
+          page:1,
278
         }
280
         }
279
       console.log("params",params)
281
       console.log("params",params)
280
       getScheduleList(params).then(response=>{
282
       getScheduleList(params).then(response=>{
519
           week_type:this.week_type,
521
           week_type:this.week_type,
520
           week_time:this.week_time,
522
           week_time:this.week_time,
521
           zone:this.zone,
523
           zone:this.zone,
522
-          record_date:this.getTime(now_time)
524
+          record_date:this.getTime(now_time),
525
+          ids:this.$route.query.ids,
523
         }
526
         }
524
         // const params = {
527
         // const params = {
525
         //   start_time:1609603200,
528
         //   start_time:1609603200,