Browse Source

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

yq1 11 months ago
parent
commit
47e50ba93a
50 changed files with 1656 additions and 256 deletions
  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 View File

@@ -538,3 +538,13 @@ export function getDialysisGatherList(params){
538 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 View File

@@ -661,4 +661,13 @@ export function getPurchaseStockQueryList(params){
661 661
     method:"Get",
662 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 View File

@@ -652,4 +652,22 @@ export function getDrugFlowDetailByDrugId(params){
652 652
     method:"Get",
653 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 View File

@@ -1096,4 +1096,31 @@ export function getStockFlowOrderList(params){
1096 1096
     method:"Get",
1097 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 View File

@@ -54,7 +54,7 @@
54 54
      <div style="display:flex; align-items:center;margin-bottom:10px;">
55 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 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 58
                  style="margin-left:15px">
59 59
           <el-button
60 60
             class="filter-item"
@@ -80,6 +80,15 @@
80 80
           size="small"
81 81
         >点击导出
82 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 92
       </div>
84 93
 
85 94
     <el-table
@@ -111,7 +120,7 @@
111 120
           {{ getGoodTypeByID(scope.row.good_type_id) }}
112 121
         </template>
113 122
       </el-table-column>
114
-      <el-table-column label="注册编码" width="140" align="center">
123
+      <el-table-column label="注册证号" width="140" align="center">
115 124
         <template slot-scope="scope">
116 125
           {{ scope.row.register_number }}
117 126
         </template>
@@ -132,6 +141,11 @@
132 141
           {{ scope.row.social_security_directory_code }}
133 142
         </template>
134 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 149
       <el-table-column label="状态" width="60" align="center">
136 150
         <template slot-scope="scope">
137 151
         <!--{{ scope.row.good_status}}-->
@@ -238,7 +252,8 @@
238 252
     getGoodInfoList,
239 253
     modifyGoodInfo,
240 254
     postGoodInformation,
241
-    getInitializtion
255
+    getInitializtion,
256
+    updateGoodInfoByUserOrgId
242 257
   } from '@/api/stock'
243 258
   import UploadExcel from '@/xt_pages/components/UploadExcel'
244 259
   import GoodExcel from '@/xt_pages/components/GoodExcel'
@@ -369,6 +384,13 @@
369 384
       }
370 385
     },
371 386
     methods: {
387
+    jiaoBen(){
388
+      updateGoodInfoByUserOrgId().then(response=>{
389
+        if(response.data.state ==1){
390
+
391
+        }
392
+      })
393
+      },
372 394
       putOnUnRecord(id){
373 395
         var that = this;
374 396
         let params = {
@@ -1187,7 +1209,7 @@
1187 1209
 
1188 1210
           var isHasMedicalInsuranceLevel = header.includes('*医保等级');
1189 1211
 
1190
-          var isHasGoodUnit = header.includes('*单位');
1212
+          var isHasGoodUnit = header.includes('*包装单位');
1191 1213
 
1192 1214
           var isHasStockWarnCount = header.includes('*库存警戒');
1193 1215
 
@@ -1199,7 +1221,7 @@
1199 1221
 
1200 1222
           var isHasSpecificationName = header.includes('*规格型号');
1201 1223
 
1202
-          var isHasBuyPrice = header.includes('*零价');
1224
+          var isHasBuyPrice = header.includes('*零价');
1203 1225
 
1204 1226
           if (!(isHasMedicalInsuranceLevel && isHasGoodUnit && isHasStockWarnCount && isHasManuFacturer  && isHasGoodName && isHasGoodKand && isHasSpecificationName &&  isHasBuyPrice)) {
1205 1227
             this.dialogVisible = true;
@@ -1212,7 +1234,7 @@
1212 1234
 
1213 1235
        var tableData = [];
1214 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 1238
          for (var key in results[i]) {
1217 1239
 
1218 1240
            if (results[i]['*耗材名称'] === undefined) {
@@ -1263,22 +1285,45 @@
1263 1285
               }
1264 1286
            }
1265 1287
 
1266
-           if (results[i]['*单位'] === undefined) {
1288
+           if (results[i]['*包装单位'] === undefined) {
1267 1289
                 obj['good_unit'] = ''
1268 1290
               } else {
1269
-             if (key == '*单位') {
1291
+             if (key == '*包装单位') {
1270 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 1312
                 obj['retail_price'] = ''
1276 1313
               } else {
1277
-             if (key == '*零价') {
1314
+             if (key == '*零价') {
1278 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 1327
             if (results[i]['*库存警戒'] === undefined) {
1283 1328
                 obj['stock_warn_count'] = ''
1284 1329
               } else {
@@ -1311,13 +1356,7 @@
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 1361
            if (results[i]['医保编码'] === undefined) {
1323 1362
                 obj['medical_insurance_number'] = ''
@@ -1392,6 +1431,22 @@
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 1450
            if (results[i]['备注'] === undefined) {
1396 1451
                 obj['remark'] = ''
1397 1452
               } else {
@@ -1465,6 +1520,7 @@
1465 1520
           'goods':tableData
1466 1521
         };
1467 1522
         console.log("param2332323223",params)
1523
+    
1468 1524
         postGoodInformation(params).then(response=>{
1469 1525
            if(response.data.state == 1){
1470 1526
              var msg =  response.data.data.msg;
@@ -1576,8 +1632,8 @@
1576 1632
          }
1577 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 1638
          const data = this.formatJson(filterVal,this.goodInfo.goodInfoData)
1583 1639
 
@@ -1593,6 +1649,16 @@
1593 1649
        formatJson(filterVal, jsonData) {
1594 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 1663
     created() {
1598 1664
       this.goodInfo.goodInfoDialog.formValue.is_user = "2"

+ 52 - 11
src/xt_pages/data/components/drugs.vue View File

@@ -47,7 +47,7 @@
47 47
     <div style="display:flex; align-items:center;margin-bottom:10px;">
48 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 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 51
                  style="margin-left:15px">
52 52
           <el-button
53 53
             class="filter-item"
@@ -73,6 +73,15 @@
73 73
           size="small"
74 74
         >点击导出
75 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 85
       </div>
77 86
     <el-table :data="list" border style="width: 100%" :row-style="{ color: '#303133' }"
78 87
               :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)', color: '#606266'}"
@@ -239,7 +248,7 @@
239 248
   import selfPayment from './selfPayment'
240 249
   import maintain from './maintain'
241 250
   import addDrugs from './addDrugs'
242
-  import { GetAllManufacturer,postDrugInformation,getInitializtion } from '@/api/stock'
251
+  import { GetAllManufacturer,postDrugInformation,getInitializtion,updateBaseDrugLibByUserOrgId } from '@/api/stock'
243 252
   import { getDataConfig,getDictionaryDataConfig } from "@/utils/data";
244 253
   import { uParseTime } from '@/utils/tools'
245 254
   import {
@@ -1033,7 +1042,7 @@
1033 1042
 
1034 1043
        var tableData = [];
1035 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 1046
          for (var key in results[i]) {
1038 1047
 
1039 1048
            if (results[i]['*药品名称'] === undefined) {
@@ -1205,22 +1214,50 @@
1205 1214
               }
1206 1215
            }
1207 1216
 
1208
-            if (results[i]['默认给药途径'] === undefined) {
1217
+            if (results[i]['*默认给药途径'] === undefined) {
1209 1218
                 obj['delivery_way'] = ''
1210 1219
               } else {
1211
-            if (key == '默认给药途径') {
1220
+            if (key == '*默认给药途径') {
1212 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 1226
                 obj['execution_frequency'] = ''
1218 1227
               } else {
1219
-            if (key == '默认执行频率') {
1228
+            if (key == '*默认执行频率') {
1220 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 1261
            if (results[i]['限制性用药'] === undefined) {
1225 1262
                 obj['lmt_used_flag'] = ''
1226 1263
               } else {
@@ -1459,8 +1496,7 @@
1459 1496
           'drugs':tableData
1460 1497
         };
1461 1498
         console.log("params222222222",params)
1462
-
1463
-
1499
+        
1464 1500
         postDrugInformation(params).then(response=>{
1465 1501
            if(response.data.state == 1){
1466 1502
              var msg =  response.data.data.msg;
@@ -1586,8 +1622,8 @@
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 1628
          const data = this.formatJson(filterVal,this.list)
1593 1629
 
@@ -1633,6 +1669,11 @@
1633 1669
            }
1634 1670
         })
1635 1671
       },
1672
+      jiaoBen(){
1673
+        updateBaseDrugLibByUserOrgId().then(response=>{
1674
+
1675
+        })
1676
+      }
1636 1677
 
1637 1678
     },
1638 1679
     created() {

+ 3 - 3
src/xt_pages/data/components/project.vue View File

@@ -41,7 +41,7 @@
41 41
         <div style="display:flex; align-items:center;margin-bottom:10px;">
42 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 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 45
                  style="margin-left:15px">
46 46
           <el-button
47 47
             class="filter-item"
@@ -923,8 +923,8 @@ export default {
923 923
            }
924 924
          }
925 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 929
          const data = this.formatJson(filterVal,this.tableData)
930 930
 

+ 44 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

@@ -94,14 +94,56 @@
94 94
                   {{ record.patient.dialysis_no }}
95 95
                 </div>
96 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 139
               <div class="inline_block" style="margin-left: 5px">
98
-                住院号/门诊号:
140
+                 住院号
99 141
                 <div
100 142
                   class="under_line"
101 143
                   style="width: 70px; text-align: left"
102 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 147
                 </div>
106 148
                 <div
107 149
                   class="under_line"

+ 57 - 8
src/xt_pages/dialysis/batch_print/batch_print_order_six.vue View File

@@ -836,7 +836,16 @@
836 836
                               : "/"
837 837
                            }}
838 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 850
                             record.prescription &&
842 851
                             record.prescription.displace_liqui_value
@@ -1004,7 +1013,7 @@
1004 1013
                       class="row"
1005 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 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 1019
                         <div
@@ -1028,10 +1037,9 @@
1028 1037
                           }}</span>
1029 1038
                         </div>
1030 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 1044
                         <div
1037 1045
                           class="under_line"
@@ -1621,7 +1629,8 @@
1621 1629
                               org_id == 9675 ||
1622 1630
                               org_id == 9671 ||
1623 1631
                               org_id ==10600 ||
1624
-                              org_id ==10629
1632
+                              org_id ==10629 ||
1633
+                              org_id == 10510
1625 1634
                             "
1626 1635
                           >
1627 1636
                             KT/V
@@ -1853,7 +1862,8 @@
1853 1862
                               org_id == 9675 ||
1854 1863
                               org_id == 9671 ||
1855 1864
                               org_id == 10600 ||
1856
-                              org_id ==10629
1865
+                              org_id ==10629 ||
1866
+                              org_id ==10510
1857 1867
                             "
1858 1868
                           >
1859 1869
                             {{ monitor_record.ktv }}
@@ -3735,6 +3745,41 @@ export default {
3735 3745
         var resp = rs.data;
3736 3746
         if (resp.state == 1) {
3737 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 3783
           var tempmonitorflag = true;
3739 3784
           for(let i=0;i<this.records.length;i++){
3740 3785
             for(let j=0;j<this.records[i].monitor_records.length;j++){
@@ -3783,7 +3828,7 @@ export default {
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 3833
                if(this.records!=null&& this.records.length>0){
3789 3834
                 for(let i=0;i<this.records.length;i++){
@@ -3919,6 +3964,8 @@ export default {
3919 3964
             }
3920 3965
           }
3921 3966
           console.log("数据我哦我我", this.records);
3967
+
3968
+
3922 3969
            
3923 3970
           if(this.records!=null && this.records.length>0){
3924 3971
             console.log("进啦地方大丰")
@@ -3980,6 +4027,8 @@ export default {
3980 4027
             }
3981 4028
           }
3982 4029
 
4030
+        
4031
+
3983 4032
           console.log("时间我哦我",this.records)
3984 4033
         
3985 4034
           // this.records.forEach(o => {

+ 4 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyNine.vue View File

@@ -274,7 +274,10 @@
274 274
                                     接管时间:
275 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 281
                                 </td>
279 282
                             </tr>
280 283
                         </tbody>

+ 2 - 2
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -154,8 +154,8 @@
154 154
           <label>目标超滤量 : </label>
155 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 159
         </li>
160 160
 
161 161
          <li v-if="isShow('目标超滤量') && this.$store.getters.xt_user.template_info.org_id == 10290">

+ 5 - 0
src/xt_pages/dialysis/details/assessmentAfter.vue View File

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

+ 21 - 13
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -461,6 +461,12 @@
461 461
           </el-form-item>
462 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 471
         <el-col :span="8" v-if="isShow('失衡综合症')">
466 472
           <el-form-item label="失衡综合症: " :prop="isName('失衡综合症')" :rules="isCheckmust('失衡综合症')" >
@@ -635,7 +641,7 @@
635 641
             </el-form-item>
636 642
        </el-col>
637 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 645
               <el-input v-model="form.accumulated_blood_volume"></el-input>
640 646
             </el-form-item>
641 647
         </el-col>
@@ -646,7 +652,7 @@
646 652
             </el-form-item>
647 653
           </el-col>
648 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 656
               <el-input type="textarea" :rows="4" v-model="form.ktv"></el-input>
651 657
             </el-form-item>
652 658
         </el-col>
@@ -886,7 +892,8 @@ export default {
886 892
         accumulated_blood_volume:"",
887 893
         transfusion_volume:"",
888 894
         condenser:"",
889
-        last_after_weight:""
895
+        last_after_weight:"",
896
+        displace_liqui_value:"",
890 897
       },
891 898
       lapseList:[],
892 899
       leaveOfficeMethod:[],
@@ -1011,7 +1018,7 @@ export default {
1011 1018
     'form.weight_after': function() {
1012 1019
       console.log('体重减少',  this.form.weight_after)
1013 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 1022
       if (this.form.weight_loss < 0) {
1016 1023
         this.form.weight_loss = ''
1017 1024
       }
@@ -1020,14 +1027,14 @@ export default {
1020 1027
       }
1021 1028
 
1022 1029
       if(this.predialysis_evaluation!=null){
1023
-         
1030
+
1024 1031
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1025 1032
        }
1026
-      
1033
+
1027 1034
     },
1028 1035
     'form.additional_weight':function(){
1029 1036
       if(this.predialysis_evaluation!=null){
1030
-         
1037
+
1031 1038
          this.form.additional_weight = this.predialysis_evaluation.additional_weight
1032 1039
        }
1033 1040
     }
@@ -1128,8 +1135,8 @@ export default {
1128 1135
       this.$refs[formName].validate((valid)=>{
1129 1136
         if(valid){
1130 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 1140
           this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') :schedule_date
1134 1141
           console.log("日期我哦我",this.record_date)
1135 1142
           this.loading = true
@@ -1234,12 +1241,13 @@ export default {
1234 1241
           data["accumulated_blood_volume"] = this.form.accumulated_blood_volume
1235 1242
           data["transfusion_volume"] = this.form.transfusion_volume
1236 1243
           data["condenser"] = this.form.condenser
1244
+          data['displace_liqui_value'] = this.form.displace_liqui_value
1237 1245
           if(this.form.last_after_weight >0){
1238 1246
             data["last_after_weight"] = this.form.last_after_weight.toString()
1239 1247
           }else{
1240 1248
             data["last_after_weight"] = ""
1241 1249
           }
1242
-         
1250
+
1243 1251
           console.log("Paramsquery",data)
1244 1252
 
1245 1253
           postAssessmentAfterDislysis(ParamsQuery, data)
@@ -1405,7 +1413,7 @@ export default {
1405 1413
           break
1406 1414
         default:
1407 1415
           break
1408
-        
1416
+
1409 1417
       }
1410 1418
       // console.log(val);
1411 1419
     },
@@ -1600,9 +1608,9 @@ export default {
1600 1608
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1601 1609
     this.channels = this.$store.getters.channels
1602 1610
 
1603
-   
1611
+
1604 1612
     // this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1605
-   
1613
+
1606 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 1615
       this.form.pulse_frequency = 80
1608 1616
     }

+ 1 - 1
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue View File

@@ -1600,7 +1600,7 @@ export default {
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 1604
          var date = new Date()
1605 1605
           var year = date.getFullYear()
1606 1606
           var month = date.getMonth() + 1

+ 142 - 15
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -3,31 +3,36 @@
3 3
         <el-dialog
4 4
                 title="透析处方"
5 5
                 :visible.sync="isVisibility"
6
-                width="1010px"
6
+                width="68%"
7 7
                 :modal = 'false'
8 8
                 :modal-append-to-body="false"
9 9
                 :close-on-click-modal="false"
10 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 15
               透前体重:{{predialysis&&predialysis.weight_before?predialysis.weight_before:"" }} kg
16
+            
15 17
             </span>
16
-            <span style="position: absolute;left: 35%;top: 3%">
18
+            <span style="position: absolute;left: 30%;top: 3%">
17 19
               干体重:{{predialysis&&predialysis.dry_weight?predialysis.dry_weight:""}}kg
18 20
             </span>
19 21
             <!-- <span style="position: absolute;left: 48%;top: 3%"  :modal = 'false'>
20 22
               衣物重:{{predialysis&&predialysis.additional_weight?predialysis.additional_weight:""}}kg
21 23
             </span> -->
22
-            <span style="position: absolute;left: 48%;top: 3%">
24
+            <span style="position: absolute;left:38%;top: 3%">
23 25
               上次透后体重:{{last_record&&last_record.weight_after?last_record.weight_after:""}}kg
24 26
             </span>
25 27
 
26
-            <span style="position: absolute;left: 65%;top: 3%">
28
+            <span style="position: absolute;left:50%;top: 3%">
27 29
               4小时超滤量上限(5%):
28 30
               <span v-if="predialysis!=null && ((predialysis.dry_weight)*0.05) >0 "></span> {{(predialysis.dry_weight*0.05).toFixed(2)}}
29 31
               kg
30 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 36
             <div class="warnTxt" v-if="showTxt != ''">{{ showTxt }}</div>
32 37
             <el-form
33 38
                     ref="dialysisPrescription"
@@ -113,7 +118,7 @@
113 118
                     </el-col>
114 119
 
115 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 122
                         <el-form-item label="目标超滤量(ml):"
118 123
                         prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
119 124
                             <el-input
@@ -127,7 +132,7 @@
127 132
 
128 133
 
129 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 136
                         <el-form-item
132 137
                         label="目标超滤量(L):" prop="target_ultrafiltration" :rules="isCheckmust('目标超滤量')">
133 138
                             <el-input
@@ -1308,7 +1313,7 @@
1308 1313
                 :close-on-click-modal="false"
1309 1314
                 :close-on-press-escape="false"
1310 1315
                 :show-close="false"
1311
-                width="30%"
1316
+                width="40%"
1312 1317
         >
1313 1318
             <div class="newLine">
1314 1319
                 <span>本次透析日期</span>
@@ -1342,6 +1347,40 @@
1342 1347
                 <span>上次透后称重(kg)</span>
1343 1348
                 <span>{{ getLastAfterWeight(last_record) }}</span>
1344 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 1385
             <span slot="footer" class="dialog-footer">
1347 1386
         <el-button @click="cancleMsg()">取 消</el-button>
@@ -1395,7 +1434,7 @@
1395 1434
 </template>
1396 1435
 
1397 1436
 <script>
1398
-  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation } from '@/api/dialysis'
1437
+  import { CreateGroupAdvice, GetSolution, postPrescription, postSoulution,saveInformation,getPatientRecordList } from '@/api/dialysis'
1399 1438
   import { getDataConfig } from '@/utils/data'
1400 1439
   import { calculateAnticoagulantZL, uParseTime,replacementFlow } from '@/utils/tools'
1401 1440
   import store from '@/store'
@@ -1846,6 +1885,9 @@
1846 1885
         selected_date:"",
1847 1886
         remark:"",
1848 1887
         blood_access_part: [],
1888
+        tableData:[],
1889
+        afterList:[],
1890
+        monitorList:[],
1849 1891
       }
1850 1892
 
1851 1893
     },
@@ -2187,10 +2229,18 @@ mu
2187 2229
             }
2188 2230
           }
2189 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 2233
             this.zhiShow = true
2192 2234
             this.huShow = true
2193 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 2244
           } else {
2195 2245
             this.zhiShow = false
2196 2246
             this.huShow = false
@@ -2522,6 +2572,9 @@ mu
2522 2572
       getTime(val) {
2523 2573
         return uParseTime(val, '{y}-{m}-{d} {h}:{i}')
2524 2574
       },
2575
+      getTimeOne(val) {
2576
+        return uParseTime(val, '{y}-{m}-{d}')
2577
+      },
2525 2578
       showOne(prescription,admins){
2526 2579
        console.log("prescription",prescription)
2527 2580
        if(prescription!=null && prescription.id == 0){
@@ -2702,6 +2755,14 @@ mu
2702 2755
             } else if (schedual.schedule_type == 3) {
2703 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 2766
            }else if(this.$store.getters.xt_user.org.id == 10234){
2706 2767
               if (schedual.schedule_type == 1) {
2707 2768
               this.start_time = year + '-' + month + '-' + day + ' ' + '7:30'
@@ -4349,6 +4410,16 @@ mu
4349 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 4423
       const ParamsQuery = {}
4353 4424
       ParamsQuery['patient_id'] = this.$route.query.patient_id
4354 4425
       ParamsQuery['mode_id'] = id
@@ -4502,9 +4573,64 @@ mu
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 4635
     handlePatientInfoOne(){
4510 4636
       this.isVisibility = false
@@ -5226,7 +5352,8 @@ mu
5226 5352
           }
5227 5353
         }
5228 5354
         console.log(" 人员",this.adminRoles)
5229
-      }
5355
+      },
5356
+     
5230 5357
     },
5231 5358
     created() {
5232 5359
 

+ 10 - 8
src/xt_pages/dialysis/details/dialog/monitor_dialog.vue View File

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

+ 9 - 1
src/xt_pages/dialysis/details/dialog/treatmentSummaryDialog.vue View File

@@ -599,10 +599,18 @@ export default {
599 599
         console.log("str000000000000000000222o2o2",str)
600 600
         this.treatmentSummary.dialysis_summary = ""
601 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 610
        }else{
603 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 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 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 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 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 View File

@@ -21,11 +21,11 @@
21 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 22
           <th v-if="isShow('钠浓度')" width="92px">钠浓度(mmol/L)</th>
23 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 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 29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
30 30
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31 31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
@@ -46,7 +46,7 @@
46 46
           <th v-if="isShow('脱水')" width="92px">脱水(L)</th>
47 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 50
           <th v-if="isShow('病情变化')" width="92px">病情变化</th>
51 51
 
52 52
           <th v-if="isShow('处理')" width="92px">处理</th>

+ 2 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSeventythree.vue View File

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

+ 52 - 12
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue View File

@@ -897,13 +897,20 @@
897 897
                         class="under_line"
898 898
                         style="width: 70px; text-align: center"
899 899
                       >
900
-                      <span v-if="org_id ==10206"> {{
900
+                      <span v-if="org_id ==10206 "> {{
901 901
                           prescription.replacement_total
902 902
                             ? prescription.replacement_total
903 903
                             : "/"
904 904
                         }}
905 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 914
                           prescription.displace_liqui_value
908 915
                             ? prescription.displace_liqui_value
909 916
                             : "/"
@@ -929,7 +936,15 @@
929 936
                             : "/"
930 937
                         }}
931 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 948
                           prescription.displace_liqui_value
934 949
                             ? prescription.displace_liqui_value
935 950
                             : "/"
@@ -1128,14 +1143,16 @@
1128 1143
                         class="under_line"
1129 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 1147
                           lastafterdialysis.weight_after
1133 1148
                         }}</span>
1134 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 1150
                           predialysis.weight_after_last_transparency
1136 1151
                             ? predialysis.weight_after_last_transparency
1137 1152
                             : "未称重"
1138
-                        }}</span>
1153
+                        }}</span> -->
1154
+
1155
+                        {{lastafterdialysis.weight_after?lastafterdialysis.weight_after:"未称重"}}
1139 1156
                        
1140 1157
                       </div>
1141 1158
                       kg
@@ -1688,7 +1705,7 @@
1688 1705
                           <span v-if="org_id==10598">(L)</span> 
1689 1706
                         </td>
1690 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 1709
                         <td width="50" v-if="org_id == 9919">在线尿素监测</td>
1693 1710
                         <td width="50" v-if="org_id == 9671">在线尿素监测</td>
1694 1711
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id== 9671">血容量<br />(L)</td>
@@ -1794,7 +1811,7 @@
1794 1811
                         <td v-if="org_id == 10375 || org_id == 0"><br />
1795 1812
                           {{ monitor.replacement_rate? monitor.replacement_rate: ""}}
1796 1813
                         </td>
1797
-                        <td v-if="org_id!=10600">
1814
+                        <td v-if="org_id!=10600 && org_id!=10644">
1798 1815
                           <span v-if="org_id!=9671 && org_id!=10440 && org_id!=10617"> {{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: ""}}</span>
1799 1816
                           <span v-if="org_id==9671 || org_id==10440 || org_id ==10617">
1800 1817
                               <span v-if="org_id ==10617 && monindex == 0">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "/"}}</span>
@@ -1803,7 +1820,7 @@
1803 1820
                               <span v-if="org_id !=10617">{{ monitor.ultrafiltration_volume? monitor.ultrafiltration_volume: "0"}}</span> 
1804 1821
                            </span>
1805 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 1824
                         <td
1808 1825
                           v-if="
1809 1826
                             (prescription.mode_id == 2 ||
@@ -1822,7 +1839,7 @@
1822 1839
                           </span>
1823 1840
                         </td>
1824 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 1843
                           {{ monitor.ktv?monitor.ktv:"" }}
1827 1844
                         </td>
1828 1845
                         <td width="50" v-if="org_id == 9538 || org_id == 9919 || org_id == 9671">
@@ -1954,7 +1971,7 @@
1954 1971
                   </table>
1955 1972
                 </td>
1956 1973
               </tr>
1957
-              <tr v-if="org_id!=0&& org_id!=10206">
1974
+              <tr v-if="org_id!=10206">
1958 1975
                 <td style="padding: 0; position: relative" colspan="2">
1959 1976
                   <table class="inside_table">
1960 1977
                     <tbody>
@@ -2190,7 +2207,7 @@
2190 2207
               </tr>
2191 2208
 
2192 2209
 
2193
-              <tr v-if="org_id==0 || org_id ==10206">
2210
+              <tr v-if="org_id ==10206">
2194 2211
                 <td style="padding: 0; position: relative" colspan="2">
2195 2212
                   <table class="inside_table">
2196 2213
                     <tbody>
@@ -4715,6 +4732,29 @@ export default {
4715 4732
 
4716 4733
 
4717 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 4758
         if(this.org_id ==10515  || this.org_id == 10510 || this.org_id ==10567 || this.org_id == 10489){
4719 4759
           if(response.data.data.doctorAdevieInfo!=null && response.data.data.doctorAdevieInfo.length>0){
4720 4760
 
@@ -4787,7 +4827,7 @@ export default {
4787 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 4832
           if(this.doctor_advices!=null && this.doctor_advices.length > 0){
4793 4833
              

+ 81 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderTwentySeven.vue View File

@@ -767,6 +767,87 @@
767 767
                   </tbody>
768 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 851
                 <table class="table-box">
771 852
                   <tbody>
772 853
                     <tr>

+ 1 - 1
src/xt_pages/kuyiShopping/index.vue View File

@@ -1,5 +1,5 @@
1 1
 <template>
2 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 4
     </div>
5 5
 </template>

+ 7 - 2
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue View File

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

+ 2 - 2
src/xt_pages/qcd/basicInformationAnalysis.vue View File

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

+ 5 - 1
src/xt_pages/qcd/officesControlAnalysis/time.vue View File

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

+ 7 - 4
src/xt_pages/stock/Dialog/goodInfoDailog.vue View File

@@ -231,12 +231,13 @@
231 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 235
               <el-input v-model="form.number" style="width:180px"></el-input>
236 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 242
             <el-form-item label="备注 : " prop="name" style="width:100%;">
242 243
               <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
@@ -413,6 +414,7 @@
413 414
           is_warehouse:"1",
414 415
           bbx01:"",
415 416
           bby01:"",
417
+          
416 418
         },
417 419
 
418 420
         rules: {
@@ -456,6 +458,7 @@
456 458
          {id: "1",name: "是"},
457 459
          {id: "2",name: "否"}
458 460
         ],
461
+        org_id:0
459 462
       }
460 463
     },
461 464
     props: {
@@ -744,7 +747,7 @@
744 747
       }
745 748
     },
746 749
     created(){
747
-
750
+      this.org_id = this.$store.getters.xt_user.org.id
748 751
       this.getlist()
749 752
       //获取所有经销商
750 753
       this.GetAllConfig()

+ 198 - 3
src/xt_pages/stock/drugs/components/drugQuery.vue View File

@@ -180,9 +180,10 @@
180 180
             <el-table-column label="总库存量" align="center">
181 181
              <template slot-scope="scope">
182 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 187
                 </div>
187 188
               </template>
188 189
             </el-table-column>
@@ -206,7 +207,15 @@
206 207
                     @click="handleBatch(scope.row)"
207 208
                     >批次
208 209
                     </el-button>
210
+                    <!-- <el-button
211
+                      size="small"
212
+                      type="primary"
213
+                      @click="handleCheckBatch(scope.row)"
214
+                      >自查
215
+                    </el-button> -->
209 216
                 </template>
217
+
218
+                 
210 219
               </el-table-column>
211 220
           </el-table>
212 221
            <el-pagination
@@ -345,13 +354,61 @@
345 354
     <el-button @click="hide()">取 消</el-button>
346 355
   </span>
347 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 404
   </div>
349 405
 </template>
350 406
 <script>
351 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 409
 import { uParseTime } from '@/utils/tools'
354 410
 import { max } from 'moment'
411
+
355 412
 const moment = require('moment')
356 413
 export default {
357 414
 
@@ -408,6 +465,10 @@ export default {
408 465
      drug_type: 0,
409 466
      storehouseId:0,
410 467
      dealerList:[],
468
+     checkdialogVisible:false,
469
+     checkData:[],
470
+     outData:[],
471
+     drug_id:0,
411 472
     }
412 473
   
413 474
   },
@@ -484,6 +545,9 @@ export default {
484 545
             var countList  = response.data.data.countList
485 546
             console.log("countList999999999999",countList)
486 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 551
                for (let j = 0; j < countList[i].drug_warehouse_info.length; j++) {
488 552
                 if (countList[i].max_unit == countList[i].drug_warehouse_info[j].max_unit) {
489 553
                     countList[i].drug_warehouse_info[j].stock_max_number =countList[i].min_number *countList[i].drug_warehouse_info[j].stock_max_number
@@ -980,6 +1044,137 @@ export default {
980 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 1179
     cellStyle({ row, column, rowIndex, columnIndex }) {
985 1180
       let arr = [5,6, 7, 8, 9,10,11];

+ 5 - 1
src/xt_pages/stock/drugs/components/purchaseNewDrugQuery.vue View File

@@ -388,8 +388,9 @@ export default {
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 394
              if(list[i].new_drug_in_flow_info!=null && list[i].new_drug_in_flow_info.length>0){
394 395
                 for(let j=0;j<list[i].new_drug_in_flow_info.length;j++){
395 396
                    if(list[i].max_unit == list[i].new_drug_in_flow_info[j].max_unit){
@@ -430,6 +431,9 @@ export default {
430 431
                 }
431 432
              }
432 433
 
434
+
435
+            }
436
+           
433 437
             }
434 438
 
435 439
             console.log("list23323223322332232323322323wode",list)

+ 15 - 4
src/xt_pages/stock/drugs/drugStockFlow.vue View File

@@ -690,12 +690,23 @@
690 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 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 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 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 711
             if(this.tableList[i].price>0){
701 712
               this.tableList[i].total_price = this.tableList[i].price
@@ -721,7 +732,7 @@
721 732
         const data = this.formatJson(filterVal, this.tableList) 
722 733
         console.log("datawoowow",data)
723 734
          
724
-      
735
+        
725 736
          excel.export_json_to_excel({
726 737
            header: multiHeader,
727 738
            data,

+ 102 - 14
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -344,7 +344,7 @@
344 344
             <template slot-scope="scope">
345 345
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
346 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 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 349
                       <span v-if="is_sys == 0">
350 350
                         <span v-if="scope.row.child.length == 1">
@@ -356,7 +356,7 @@
356 356
                       
357 357
                       </span>
358 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 360
                         {{ scope.row.min_price }}
361 361
                     </span>
362 362
                     
@@ -369,21 +369,19 @@
369 369
             <template slot-scope="scope">
370 370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371 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 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 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 377
                     </span>
378 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 381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
382 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 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 384
                     </span>
385
-                  
386
-
387 385
                   </td>
388 386
                </tr>
389 387
             </template>
@@ -454,7 +452,18 @@
454 452
                 >使用明细</span
455 453
               >
456 454
             </template>
455
+
456
+           
457 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 467
         </el-table>
459 468
       </div>
460 469
     </div>
@@ -568,6 +577,44 @@
568 577
         >
569 578
       </span>
570 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 618
   </div>
572 619
 </template>
573 620
 
@@ -585,6 +632,7 @@ import {
585 632
   getAutoDrugDetail,
586 633
   getDrugCountList,
587 634
   getExportOutOrderDrugList,
635
+  getDrugPatientName
588 636
 } from "@/api/drug/drug_stock";
589 637
 import BreadCrumb from "../../components/bread-crumb";
590 638
 import { getInitializtion } from "@/api/stock";
@@ -706,6 +754,11 @@ export default {
706 754
       exportLoding:false,
707 755
       outInfoList:[],
708 756
       patients:[],
757
+      AdviceDialogVisible:false,
758
+      adviceList:[],
759
+      outList:[],
760
+      patientList:[],
761
+
709 762
     };
710 763
   },
711 764
   methods: {
@@ -1271,8 +1324,6 @@ export default {
1271 1324
           this.outList = drugoutlist
1272 1325
           this.drugOutInfo = drugoutlist
1273 1326
           if (is_sys == 1) {
1274
-             console.log("数据1",drugFlowList)
1275
-             console.log("数据2",drugListOne)
1276 1327
             if (drugFlowList.length > 0) {
1277 1328
               for (let i = 0; i < drugFlowList.length; i++) {
1278 1329
                  drugFlowList[i].childOne = []
@@ -1345,7 +1396,7 @@ export default {
1345 1396
           }
1346 1397
 
1347 1398
         
1348
-        console.log("中故宫人我奶奶万年万年",list)
1399
+       
1349 1400
         if(is_sys == 1 || is_sys == 5){
1350 1401
           for(let i=0;i<list.length;i++){
1351 1402
             for(let j=0;j<list[i].childOne.length;j++){
@@ -1353,7 +1404,7 @@ export default {
1353 1404
             }
1354 1405
           }
1355 1406
          
1356
-          console.log("中部listowowowoowowow",list)
1407
+         
1357 1408
 
1358 1409
          for(let i=0;i<list.length;i++){
1359 1410
             for(let j=0;j<list[i].childOne.length;j++){
@@ -1362,7 +1413,7 @@ export default {
1362 1413
                } 
1363 1414
             }
1364 1415
           }
1365
-          console.log("list表格---------",list)
1416
+         
1366 1417
           this.tableList = list;
1367 1418
         }
1368 1419
         if(is_sys == 12){
@@ -1403,7 +1454,8 @@ export default {
1403 1454
           }
1404 1455
           this.tableList = list;
1405 1456
         }
1406
-        
1457
+         
1458
+         console.log("tableLIST==================",this.tableList)
1407 1459
 
1408 1460
         }
1409 1461
       });
@@ -2371,6 +2423,42 @@ export default {
2371 2423
          }
2372 2424
       }
2373 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 View File

@@ -31,6 +31,14 @@
31 31
                 {{scope.row.warehousing_order}}
32 32
             </template>
33 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 42
             <el-table-column  prop="name" label="有效期" width="100"  align="center">
35 43
             <template slot-scope="scope">
36 44
                 {{getTime(scope.row.expiry_date)}}

+ 7 - 2
src/xt_pages/stock/newInventory.vue View File

@@ -16,7 +16,7 @@
16 16
     <div style="float:right;margin-bottom:10px"><el-button type="primary" @click="saveInentoryList">保存</el-button></div>
17 17
      
18 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 20
                 <template slot-scope="scope">
21 21
                   {{scope.row.good_name}}
22 22
                 </template>
@@ -31,6 +31,11 @@
31 31
                   {{scope.row.warehousing_order}}
32 32
                 </template>
33 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 39
               <el-table-column  prop="name" label="有效期" width="100"  align="center">
35 40
                 <template slot-scope="scope">
36 41
                   {{getTime(scope.row.expiry_date)}}
@@ -70,7 +75,7 @@
70 75
                  </template> 
71 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 79
                 <template slot-scope="scope">
75 80
                    <el-select v-model="scope.row.type" placeholder="请选择">
76 81
                       <el-option

+ 142 - 2
src/xt_pages/stock/query/goodNewQuery.vue View File

@@ -192,6 +192,13 @@
192 192
                   @click="toClickOne(scope.row)"
193 193
                 >批次
194 194
                 </el-button>
195
+
196
+                <!-- <el-button
197
+                  size="small"
198
+                  type="primary"
199
+                  @click="handleCheckBatch(scope.row)"
200
+                >自查
201
+                </el-button> -->
195 202
                </template>
196 203
             </el-table-column>
197 204
           </el-table>
@@ -313,10 +320,56 @@
313 320
       </span>
314 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 369
   </div>
317 370
 </template>
318 371
 <script>
319
-import { getStorehouseList,getGoodNewQuery,getGoodWarehouseOutInfoById,toSendGoodInfomation } from "@/api/drug/drug"
372
+import { getStorehouseList,getGoodNewQuery,getGoodWarehouseOutInfoById,toSendGoodInfomation,getCheckGoodBatchList } from "@/api/drug/drug"
320 373
 import {
321 374
   getStockDrugCount
322 375
 } from "@/api/stock";
@@ -369,7 +422,10 @@ export default {
369 422
      flushList:[],
370 423
      type_name:0,
371 424
      storehouseId:0,
372
-     dealerList:[]
425
+     dealerList:[],
426
+     checkdialogVisible:false,
427
+     checkData:[],
428
+     outData:[],
373 429
     }
374 430
   
375 431
   },
@@ -1148,6 +1204,90 @@ export default {
1148 1204
       }else{
1149 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 View File

@@ -265,7 +265,7 @@ export default {
265 265
             this.loading = false
266 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 269
                 list[i].stockIn = list[i].GoodStartFlowInfo.over_count
270 270
               }else{
271 271
                
@@ -837,9 +837,9 @@ export default {
837 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 843
      all_count = count +count_one - count_two
844 844
      console.log("数据我哦我我",all_count)
845 845
      if(all_count >0){

+ 7 - 1
src/xt_pages/stock/stockInOrder.vue View File

@@ -341,7 +341,13 @@
341 341
             </span>  
342 342
           </template>
343 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 351
           <template slot-scope="scope">
346 352
            <span v-if="scope.row.is_total ==0"> {{ scope.row.license_number}}</span>
347 353
           </template>

+ 14 - 2
src/xt_pages/stock/stockInOrderAdd.vue View File

@@ -194,7 +194,7 @@
194 194
             </template>
195 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 198
             <template slot="header" slot-scope="scope">
199 199
               <span>批准文号</span>
200 200
             </template>
@@ -204,7 +204,17 @@
204 204
               </el-form-item>
205 205
             </template>
206 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 218
             <template slot="header" slot-scope="scope">
209 219
               <span>注册编码</span>
210 220
             </template>
@@ -410,6 +420,7 @@
410 420
         showCheck:false,
411 421
         showReturnCheck:false,
412 422
         warehousing_info_id:0,
423
+        org_id:0
413 424
       }
414 425
     },
415 426
     methods: {
@@ -960,6 +971,7 @@
960 971
     }
961 972
     ,
962 973
     created() {
974
+      this.org_id = this.$store.getters.xt_user.org.id
963 975
       var nowDate = new Date()
964 976
       var nowYear = nowDate.getFullYear()
965 977
       var nowMonth = nowDate.getMonth() + 1

+ 76 - 1
src/xt_pages/stock/stockOutOrder.vue View File

@@ -441,6 +441,16 @@
441 441
               >
442 442
             </template>
443 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 454
         </el-table>
445 455
       </div>
446 456
     </div>
@@ -920,6 +930,43 @@
920 930
       v-on:dialog-cancle="cancle"
921 931
     >
922 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 970
   </div>
924 971
 </template>
925 972
 
@@ -940,6 +987,7 @@ import {
940 987
   getOrderDetailByOrderId,
941 988
   getOrderDetailById,
942 989
   getOutExportList,
990
+  getGoodPatientName
943 991
 } from "@/api/stock";
944 992
 import BreadCrumb from "../components/bread-crumb";
945 993
 import StockInDialog from "./Dialog/stockInDialog";
@@ -1084,7 +1132,10 @@ export default {
1084 1132
       flowList:[],
1085 1133
       cancelInfoList:[],
1086 1134
       exportLoding:false,
1087
-      patients:[]
1135
+      patients:[],
1136
+      projectList:[],
1137
+      outList:[],
1138
+      AdviceDialogVisible:false
1088 1139
     };
1089 1140
   },
1090 1141
   methods: {
@@ -2455,6 +2506,30 @@ export default {
2455 2506
          }
2456 2507
       }
2457 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 View File

@@ -18,11 +18,13 @@
18 18
         </div>
19 19
       </div>
20 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 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 29
             <!-- A端/V端 v-if="a_num==2" -->
28 30
             <!-- <div v-for="(item,index) in A_arr" :key="index">
@@ -122,7 +124,9 @@
122 124
               </div>
123 125
             </div></div>
124 126
           </div>
127
+         
125 128
         </div>
129
+       
126 130
         <div style="width:25px;"></div>
127 131
         <div style="width:49%;">
128 132
           <div>
@@ -174,6 +178,9 @@
174 178
           <div id="ctrl-xgtlpic-mask" class="readonly" data-text="图片操作的遮罩层" v-show="append == false"></div>
175 179
         </div>
176 180
       </div>
181
+
182
+      
183
+      <!-- <img :src="imageSrc" alt="Rendered Image" /> -->
177 184
     </div>
178 185
 
179 186
     <!-- <div style="width:50%; margin-top:20px">
@@ -375,6 +382,8 @@ export default{
375 382
       patients:{},
376 383
       date:moment(new Date()).format("YYYY-MM-DD"),
377 384
       widthtext:null,
385
+      imageSrc:"",
386
+      imageList: []
378 387
     }
379 388
   },
380 389
   created(){
@@ -390,6 +399,21 @@ export default{
390 399
     console.log('asfdazxsdfdfdsdfsadfs',this.fileList);
391 400
   },
392 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 417
     add(){
394 418
       if(this.append == false){
395 419
         console.log('1111');
@@ -901,6 +925,8 @@ export default{
901 925
         id: 0
902 926
       })
903 927
       console.log('上传 图片',this.fileList);
928
+      this.imageList.push(res.localPath);
929
+      console.log("图片路径2222222222222222222222",this.fileList)
904 930
       this.loading.close()
905 931
       this.imgDialogVisible=false
906 932
     },
@@ -1026,10 +1052,11 @@ export default{
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 1060
        var params = {
1034 1061
          id:this.id,
1035 1062
          is_append:is_append,
@@ -1071,7 +1098,7 @@ export default{
1071 1098
          left_v:0,
1072 1099
          aarr:this.Aarr,
1073 1100
          varr:this.Varr,
1074
-         img_url:img_url,
1101
+         img_url:this.fileList[0].img_url,
1075 1102
        }
1076 1103
        console.log("paramswowwo",params)
1077 1104
 

+ 27 - 2
src/xt_pages/user/components/PatientDetail.vue View File

@@ -281,6 +281,22 @@
281 281
                 </el-checkbox-group>
282 282
               </el-form-item>
283 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 300
              <el-col :span="8">
285 301
                 <el-form-item label="住院(门诊)号 : " prop="admissionNumber">
286 302
                   <el-input v-model="form.admissionNumber" disabled></el-input>
@@ -1225,9 +1241,12 @@
1225 1241
               <div class="proj">
1226 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 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 1251
               </div>
1233 1252
               <div class="proj">
@@ -1375,6 +1394,7 @@ const defaultForm = {
1375 1394
   patient_address:"",
1376 1395
   infectious_remark:"",
1377 1396
   allergic_history:"",
1397
+  print_date:"",
1378 1398
 };
1379 1399
 
1380 1400
 export default {
@@ -1723,6 +1743,11 @@ export default {
1723 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 1751
             this.form.patient_source = patietInfo.patient_source
1727 1752
             if (patietInfo.patient_start_time != 0) {
1728 1753
               this.form.patient_start_time = uParseTime(

+ 21 - 2
src/xt_pages/user/components/PatientForm.vue View File

@@ -129,12 +129,11 @@
129 129
               <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
130 130
                 <el-form-item
131 131
                   label="身份证号 : "
132
-                  class="is-required"
133 132
                   prop="idCardNo"
134 133
                 >
135 134
                   <el-input
135
+                    @input="checkIdCardNo"
136 136
                     v-model="form.idCardNo"
137
-                    @blur="checkIdCardNo"
138 137
                   ></el-input><!---->
139 138
                 </el-form-item>
140 139
               </el-col>
@@ -334,6 +333,20 @@
334 333
               </el-form-item>
335 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 350
             <el-col :span="8" :style="isEdit ? 'width:360px' : ''">
338 351
                   <el-form-item label="住院(门诊)号 : ">
339 352
                     <el-input v-model="form.admissionNumber"></el-input>
@@ -1183,6 +1196,7 @@ const defaultForm = {
1183 1196
   patient_address:"",
1184 1197
   infectious_remark:"",
1185 1198
   allergic_history:"",
1199
+  print_date:"",
1186 1200
   formItem: [
1187 1201
     {
1188 1202
       id: 0,
@@ -2025,6 +2039,11 @@ export default {
2025 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 2047
             if (patietInfo.age == 0) {
2029 2048
               this.form.age = jsGetAge(this.form.birth, "-");
2030 2049
             } else {

+ 2 - 3
src/xt_pages/user/inspection.vue View File

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

+ 2 - 2
src/xt_pages/user/patients.vue View File

@@ -1804,8 +1804,8 @@
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 1809
         console.log("table",this.tableData)
1810 1810
 
1811 1811
         const data = this.formatJson(filterVal, this.tableData)

+ 54 - 11
src/xt_pages/user/templateSummary.vue View File

@@ -680,6 +680,7 @@
680 680
                    <el-radio-group style="padding: 10px;"  v-model="radio" @change="changeRadio">
681 681
                       <el-radio :label="1">月份</el-radio>
682 682
                       <el-radio :label="2">季度</el-radio>
683
+                      <el-radio :label="3">自定义时间</el-radio>
683 684
                     </el-radio-group>
684 685
                  </el-form-item>
685 686
                  <el-form-item v-show="showquarty">
@@ -703,20 +704,39 @@
703 704
                       value-format="yyyy-MM">
704 705
                     </el-date-picker>
705 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 707
                 </div>
718 708
               </el-form-item>
719 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 740
             <el-row>
721 741
                <span>选择检验检查项目:</span>
722 742
                  <div class="record">
@@ -966,6 +986,9 @@
966 986
        radio:1,
967 987
        showtime:true,
968 988
        showquarty:false,
989
+       fisrt_time:"",
990
+       last_time:"",
991
+       showStarttime:false,
969 992
       }
970 993
     },
971 994
     created() {
@@ -1223,6 +1246,11 @@
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 1255
           console.log("start_time",start_time)
1228 1256
           console.log("end_time",end_time)
@@ -1846,6 +1874,13 @@
1846 1874
         }
1847 1875
 
1848 1876
        
1877
+        this.getInspectionMajor()
1878
+      },
1879
+      changFirstYear(){
1880
+        console.log("hahhahahh")
1881
+        this.getInspectionMajor()
1882
+      },
1883
+      changLastYear(){
1849 1884
         this.getInspectionMajor()
1850 1885
       },
1851 1886
       selectSummary(val){
@@ -1892,11 +1927,19 @@
1892 1927
        if(val == 1){
1893 1928
          this.showtime = true
1894 1929
          this.showquarty = false
1930
+         this.showStarttime = false
1895 1931
          this.getInspectionMajor()
1896 1932
        }
1897 1933
        if(val == 2){
1898 1934
          this.showquarty = true
1899 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 1943
          this.getInspectionMajor()
1901 1944
        }
1902 1945
      }

+ 54 - 11
src/xt_pages/workforce/components/nextTableWeeks.vue View File

@@ -97,7 +97,13 @@
97 97
         color: '#606266'
98 98
       }"
99 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 107
       <el-table-column label="透析处方" min-width="100" align="center">
102 108
         <template slot-scope="scope">
103 109
           <span v-if="scope.row.prescription.id > 0">已确认</span>
@@ -120,9 +126,9 @@
120 126
           {{ scope.row.patient }}
121 127
         </template>
122 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 130
         <template slot-scope="scope">
125
-          {{ scope.row.zone.name }}
131
+          {{ scope.row.zone.name }}({{ getType(scope.row.partition_id)  }})
126 132
         </template>
127 133
       </el-table-column>
128 134
       <el-table-column label="班次" min-width="70" align="center">
@@ -307,6 +313,7 @@ export default {
307 313
       zoneList:[],
308 314
       start_time:moment().week(moment().week() + 1).startOf('week').unix(),
309 315
       loading:false,
316
+      ids:""
310 317
     };
311 318
   },
312 319
   watch: {
@@ -372,10 +379,8 @@ export default {
372 379
 
373 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 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,7 +390,8 @@ export default {
385 390
           week_type:this.week_type,
386 391
           week_time:this.week_time,
387 392
           zone:str,
388
-          record_date:this.getTime(now_time)
393
+          record_date:this.getTime(now_time),
394
+          ids:this.ids,
389 395
        }
390 396
       console.log("params0000000000",params)
391 397
       getNextScheduleWeekDay(params).then(response => {
@@ -665,7 +671,7 @@ export default {
665 671
     },
666 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 675
          var zone = this.zone
670 676
           var newArr = []
671 677
           for(let i=0;i<this.zoneList.length;i++){
@@ -680,10 +686,10 @@ export default {
680 686
             str = zone.join(",")
681 687
           }
682 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 693
           var zone = this.zone
688 694
         var newArr = []
689 695
         for(let i=0;i<this.zoneList.length;i++){
@@ -698,7 +704,7 @@ export default {
698 704
           str = zone.join(",")
699 705
         }
700 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 710
         else if(this.org_id==10469){
@@ -717,7 +723,7 @@ export default {
717 723
             str = zone.join(",")
718 724
           }
719 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,6 +735,43 @@ export default {
729 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 776
   components: {
734 777
     WeekItem

+ 101 - 50
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -77,18 +77,6 @@
77 77
         </div>
78 78
         <div class="cell clearfix">
79 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 80
             <el-select v-model="zone" multiple placeholder="请选择" @change="changeZone">
93 81
               <el-option
94 82
                 v-for="item in zoneList"
@@ -99,26 +87,26 @@
99 87
             </el-select>
100 88
         </div>
101 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 102
             <el-table-column label="分区" min-width="70" align="center">
114 103
                 <template slot-scope="scope">
115
-                    {{ scope.row.zone.name }}
104
+                    {{ scope.row.zone.name }} 
116 105
                 </template>
117 106
             </el-table-column>
118 107
 
119 108
             <el-table-column label="透析模式" min-width="100" align="center">
120 109
                 <template slot-scope="scope">
121
-                    <!--{{getModeDesc(scope.row.list)}}-->
122 110
                     <div >{{getModeDesc(scope.row.list)}}</div>
123 111
 
124 112
                 </template>
@@ -168,11 +156,17 @@
168 156
                 :data="scheduleData"
169 157
                 border
170 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 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 170
             <el-table-column label="透析处方" min-width="100" align="center">
177 171
                 <template slot-scope="scope">
178 172
                     <span v-if="scope.row.prescription.id>0">已确定</span>
@@ -195,9 +189,9 @@
195 189
                     {{ scope.row.patient.name }}
196 190
                 </template>
197 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 193
                 <template slot-scope="scope">
200
-                    {{ scope.row.zone.name }}
194
+                    {{ scope.row.zone.name }} ({{ getType(scope.row.partition_id)  }})
201 195
                 </template>
202 196
             </el-table-column>
203 197
             <el-table-column label="班次" min-width="70" align="center">
@@ -221,17 +215,7 @@
221 215
             </el-table-column>
222 216
             <el-table-column label="透析器/灌流器" min-width="100" align="center">
223 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 219
                     <span v-if="scope.row.prescription.dialysis_dialyszers =='' ">
236 220
                        {{scope.row.dialysissolution.dialysis_dialyszers}}
237 221
                     </span>
@@ -311,6 +295,19 @@
311 295
             </el-table-column>
312 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 311
     <el-dialog
315 312
             title="打印设置"
316 313
             :visible.sync="dialogVisible"
@@ -374,7 +371,6 @@
374 371
     getAllZoneList,
375 372
     getRemindPrintList,
376 373
     getScheduleList,
377
-    getSchedules,
378 374
     getScheduleWeekDay,
379 375
     saveRemindPrint
380 376
   } from '@/api/schedule'
@@ -464,6 +460,10 @@
464 460
         summarySchData: [],
465 461
         zone:0,
466 462
         zoneList:[],
463
+        ids:"",
464
+        limit:100,
465
+        page:1,
466
+        total:0,
467 467
       }
468 468
     },
469 469
     watch: {
@@ -881,12 +881,12 @@
881 881
           str = zone.join(",")
882 882
         }
883 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 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 890
          var zone = this.zone
891 891
           console.log("zone23232",zone)
892 892
           var newArr = []
@@ -902,10 +902,10 @@
902 902
             str = zone.join(",")
903 903
           }
904 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 909
           var zone = this.zone
910 910
           console.log("zone23232",zone)
911 911
           var newArr = []
@@ -921,7 +921,7 @@
921 921
             str = zone.join(",")
922 922
           }
923 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 926
         }else if(this.org_id==10469){
927 927
           var zone = this.zone
@@ -939,7 +939,7 @@
939 939
             str = zone.join(",")
940 940
           }
941 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,6 +1023,9 @@
1023 1023
           week_type: this.week_type,
1024 1024
           week_time: this.week_time,
1025 1025
           zone: str,
1026
+          ids:this.ids,
1027
+          limit:this.limit,
1028
+          page:this.page,
1026 1029
         }
1027 1030
         console.log("param",params)
1028 1031
         this.scheduleData = []
@@ -1033,6 +1036,7 @@
1033 1036
             console.log('22333333333', this.pre_status)
1034 1037
             var list = response.data.data.list
1035 1038
             console.log("list33333333333333333333",list)
1039
+            this.total =response.data.data.total
1036 1040
             if (this.pre_status == 0) {
1037 1041
 
1038 1042
               for (let i = 0; i < list.length; i++) {
@@ -1127,7 +1131,7 @@
1127 1131
                 this.summarySchData.push(obj)
1128 1132
               }
1129 1133
             }
1130
-
1134
+            console.log("this.000000",this.summarySchData)
1131 1135
           }
1132 1136
         })
1133 1137
       }
@@ -1572,11 +1576,58 @@
1572 1576
         this.zone = val
1573 1577
         this.getScheduleList()
1574 1578
       },
1575
-     printActionSchedule(){
1579
+      printActionSchedule(){
1576 1580
         this.$router.push({
1577 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 1632
     components: {
1582 1633
       WeekItem

+ 42 - 3
src/xt_pages/workforce/next_remind_print.vue View File

@@ -52,7 +52,7 @@
52 52
                   <span v-if="main_collection.schedule_week == 6">周六</span>
53 53
                 </td>
54 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 56
                 <td :width="td_1_width" v-if="printObj.classes == 1">
57 57
                   {{getSchedulesType(main_collection.schedule_type)}}
58 58
                 </td>
@@ -113,7 +113,7 @@
113 113
 </template>
114 114
 
115 115
 <script>
116
-  import { getNextScheduleWeekDay,getPrintList } from '@/api/schedule'
116
+  import { getNextScheduleWeekDay,getPrintList,getAllZoneList } from '@/api/schedule'
117 117
   import { getDataConfig } from '@/utils/data'
118 118
   import { parseTime } from '@/utils'
119 119
   import { uParseTime } from '@/utils/tools'
@@ -147,13 +147,14 @@
147 147
         printObj:{},
148 148
         loading: false,
149 149
         blood_access_option:[],
150
+        zoneList:[]
150 151
       }
151 152
     },
152 153
     components: {
153 154
       BreadCrumb
154 155
     },
155 156
     created() {
156
-      
157
+      this.getAllZoneList()
157 158
       this.blood_access_option = getDataConfig(
158 159
           'hemodialysis',
159 160
           'vascular_access_desc'
@@ -178,6 +179,14 @@
178 179
     
179 180
     },
180 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 190
       getBloodName(id){
182 191
          var name= ""
183 192
          for(let i=0;i<this.blood_access_option.length;i++){
@@ -470,6 +479,36 @@
470 479
           } 
471 480
         }
472 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 View File

@@ -51,7 +51,7 @@
51 51
                   <span v-if="main_collection.schedule_week == 6">周六</span>
52 52
                 </td>
53 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 55
                 <td :width="td_1_width" v-if="printObj.classes == 1">
56 56
                   {{getSchedulesType(main_collection.schedule_type)}}
57 57
                 </td>
@@ -112,7 +112,7 @@
112 112
 </template>
113 113
 
114 114
 <script>
115
-  import { getScheduleList,getPrintList } from '@/api/schedule'
115
+  import { getScheduleList,getPrintList,getAllZoneList } from '@/api/schedule'
116 116
   import { getDataConfig } from '@/utils/data'
117 117
   import { parseTime } from '@/utils'
118 118
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
@@ -140,13 +140,15 @@
140 140
         printObj:{},
141 141
         week_time:0,
142 142
         zone:0,
143
-        blood_access_option:[]
143
+        blood_access_option:[],
144
+        zoneList:[]
144 145
       }
145 146
     },
146 147
     components: {
147 148
       BreadCrumb
148 149
     },
149 150
     created() {
151
+      this.getAllZoneList()
150 152
       this.getPrintList()
151 153
       this.org_id = this.$store.getters.xt_user.org.id
152 154
 
@@ -166,6 +168,9 @@
166 168
           week_type:this.week_type,
167 169
           week_time:this.week_time,
168 170
           zone:this.zone,
171
+          ids:this.$route.query.ids,
172
+          limit:1000,
173
+          page:1,
169 174
         }
170 175
        console.log("params",params)
171 176
        getScheduleList(params).then(response=>{
@@ -217,6 +222,14 @@
217 222
       
218 223
     },
219 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 233
       getAdvice:function(doctor_advice) {
221 234
         if (doctor_advice != null) {
222 235
 
@@ -423,6 +436,36 @@
423 436
            }
424 437
          }
425 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 View File

@@ -74,6 +74,14 @@
74 74
                   <span v-if="type ==1 && printObj.name == 1">{{main_collection.patient.name}} </span>
75 75
                   <span v-if="type ==2 && printObj.name == 1">{{main_collection.patient}} </span>
76 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 85
                 <div v-if="printObj.anticoagulant == 1">抗凝剂:
78 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 87
                   <span v-else >
@@ -177,7 +185,7 @@
177 185
                   <span>抗凝剂:{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}</span>
178 186
                 </div>
179 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 189
                  首剂:<span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_shouji}} mg</span>
182 190
                   <span v-if="main_collection.dialysissolution.anticoagulant == 2">
183 191
                     {{main_collection.dialysissolution.anticoagulant_shouji}}mg
@@ -355,6 +363,9 @@
355 363
           week_type:this.week_type,
356 364
           week_time:this.week_time,
357 365
           zone:this.zone,
366
+          ids:this.$route.query.ids,
367
+          limit:1000,
368
+          page:1,
358 369
         }
359 370
        console.log("params",params)
360 371
        getScheduleList(params).then(response=>{
@@ -605,7 +616,8 @@
605 616
           week_type:this.week_type,
606 617
           week_time:this.week_time,
607 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 622
         // const params = {
611 623
         //   start_time:1609603200,

+ 14 - 10
src/xt_pages/workforce/remind_print_setting_one.vue View File

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

+ 5 - 2
src/xt_pages/workforce/remind_print_setting_two.vue View File

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