Browse Source

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

陈少旭 1 year ago
parent
commit
3d41030a4f

+ 12 - 0
src/router/modules/dialysis.js View File

@@ -928,6 +928,18 @@ export default {
928 928
         noCache: true
929 929
       }
930 930
     },
931
+    {
932
+      path: '/dialysis/print/batch/seventy',
933
+      component: () =>
934
+        import('@/xt_pages/dialysis/batch_print/batch_print_order_seventy'),
935
+      hidden: true,
936
+      is_menu: false,
937
+      name: 'batch_print_order_seventy',
938
+      meta: {
939
+        title: '批量打印',
940
+        noCache: true
941
+      }
942
+    },
931 943
     {
932 944
       path: '/dialysis/flow',
933 945
       component: () => import('@/xt_pages/dialysis/dialysisFlow'),

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

@@ -1461,18 +1461,18 @@
1461 1461
         console.log("params222222222",params)
1462 1462
 
1463 1463
 
1464
-        // postDrugInformation(params).then(response=>{
1465
-        //    if(response.data.state == 1){
1466
-        //      var msg =  response.data.data.msg;
1467
-        //      this.getList();
1468
-        //      this.getAllManufacturer();
1469
-        //      this.GetAllConfig();
1470
-        //      this.$message.success("导入成功!")
1471
-        //
1472
-        //    }else{
1473
-        //      this.$message.error("导入失败,请下载日志查看")
1474
-        //    }
1475
-        // })
1464
+        postDrugInformation(params).then(response=>{
1465
+           if(response.data.state == 1){
1466
+             var msg =  response.data.data.msg;
1467
+             this.getList();
1468
+             this.getAllManufacturer();
1469
+             this.GetAllConfig();
1470
+             this.$message.success("导入成功!")
1471
+        
1472
+           }else{
1473
+             this.$message.error("导入失败,请下载日志查看")
1474
+           }
1475
+        })
1476 1476
       },
1477 1477
       generateTxt: function(log) {
1478 1478
         var content = '';

+ 5 - 5
src/xt_pages/device/objectTableDisinfectTwo.vue View File

@@ -1094,19 +1094,19 @@
1094 1094
                                 <td>楼层</td>
1095 1095
                                 <td>湿化瓶<br/>500mg/l含氯制剂</td>
1096 1096
                                 <td>负责人</td>
1097
-                                <td width="40">检查合格<br/></td>
1097
+                                <td width="40">消毒液浓度合格<br/></td>
1098 1098
                                 <td>止血带<br/>500mg/l含氯制剂</td>
1099 1099
                                 <td>负责人</td>
1100
-                                <td width="40">检查合格<br/></td>
1100
+                                <td width="40">消毒液浓度合格<br/></td>
1101 1101
                                 <td>医疗垃圾桶<br/>1000mg/l含<br/>氯制剂</td>
1102 1102
                                 <td>负责人</td>
1103
-                                <td width="40">检查合格<br/></td>
1103
+                                <td width="40">消毒液浓度合格<br/></td>
1104 1104
                                 <td>体温计<br/>75%酒精浸泡</td>
1105 1105
                                 <td>负责人</td>
1106
-                                <td width="40">检查合格<br/></td>
1106
+                                <td width="40">消毒液浓度合格<br/></td>
1107 1107
                                 <td>体温枪<br/>75%酒精擦拭</td>
1108 1108
                                 <td>负责人</td>
1109
-                                <td width="40">检查合格<br/></td>
1109
+                                <td width="40">消毒液浓度合格<br/></td>
1110 1110
                                
1111 1111
                             </tr>
1112 1112
 

File diff suppressed because it is too large
+ 3177 - 0
src/xt_pages/dialysis/batch_print/batch_print_order_seventy.vue


+ 11 - 0
src/xt_pages/dialysis/bloodPresssWatch.vue View File

@@ -428,6 +428,15 @@
428 428
           type="primary"
429 429
           >批量打印</el-button>
430 430
       </template>
431
+      <template v-if="this.template_id == 70">
432
+        <el-button
433
+          size="small"
434
+          icon="el-icon-printer"
435
+          :disabled="selecting_schs.length == 0"
436
+          @click="batchPrintAction"
437
+          type="primary"
438
+          >批量打印</el-button>
439
+      </template>
431 440
     </div>
432 441
     <div class="app-container">
433 442
       <!-- <div class="filter-container">
@@ -2180,6 +2189,8 @@ export default {
2180 2189
       }
2181 2190
       else if (this.template_id == 68) {
2182 2191
         this.$router.push({ path: "/dialysis/print/batch/sixtyeight" });
2192
+      }else if (this.template_id == 70) {
2193
+        this.$router.push({ path: "/dialysis/print/batch/seventy" });
2183 2194
       }
2184 2195
     },
2185 2196
     batchPrintActionOne: function() {

+ 1 - 1
src/xt_pages/dialysis/details/NavIgation.vue View File

@@ -193,7 +193,7 @@
193 193
       :prescription="prescription"
194 194
       :predialysis_evaluation="predialysis_evaluation"
195 195
       :dialysis_order="dialysis_order"
196
-    
196
+      :schedual="temp_schedual"
197 197
     ></assessment-after-dislysis>
198 198
   </div>
199 199
 </template>

+ 22 - 4
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -746,6 +746,9 @@ export default {
746 746
         return { id: 0 }
747 747
       }
748 748
     },
749
+    schedual: {
750
+        type: Object
751
+    },
749 752
   },
750 753
   data() {
751 754
     return {
@@ -1095,7 +1098,11 @@ export default {
1095 1098
     submitForm(formName) {
1096 1099
       this.$refs[formName].validate((valid)=>{
1097 1100
         if(valid){
1098
-
1101
+          var dateOne = this.schedual.schedule_date
1102
+          var schedule_date = uParseTime(dateOne, '{y}-{m}-{d}')      
1103
+          var date = this.$route.query && this.$route.query.date 
1104
+          this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') :schedule_date
1105
+          console.log("日期我哦我",this.record_date)
1099 1106
           this.loading = true
1100 1107
           const ParamsQuery = {}
1101 1108
 
@@ -1509,7 +1516,17 @@ export default {
1509 1516
              this.infoDialogVisible = false
1510 1517
            }
1511 1518
         })
1512
-      }
1519
+      },
1520
+      getTime(val) {
1521
+         if(val < 0){
1522
+           return ""
1523
+         }
1524
+         if(val == ""){
1525
+          return ""
1526
+         }else {
1527
+          return uParseTime(val, '{y}-{m}-{d}')
1528
+         }
1529
+      },
1513 1530
   },
1514 1531
   created() {
1515 1532
     // console.log("this.form", this.form.consciousness);
@@ -1537,8 +1554,9 @@ export default {
1537 1554
     this.template_id = this.$store.getters.xt_user.template_info.template_id
1538 1555
     this.channels = this.$store.getters.channels
1539 1556
 
1540
-    var date = this.$route.query && this.$route.query.date
1541
-    this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1557
+   
1558
+    // this.record_date = date ? uParseTime(date, '{y}-{m}-{d}') : parseTime(new Date(), '{y}-{m}-{d}')
1559
+   
1542 1560
     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){
1543 1561
       this.form.pulse_frequency = 80
1544 1562
     }

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

@@ -936,7 +936,7 @@
936 936
             width="140"
937 937
             v-if="
938 938
               isShow('KT/V') &&
939
-              (org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9598)
939
+              (org_id == 9987 || org_id == 10215 || org_id == 9800 || org_id == 9598 || org_id ==10517)
940 940
             "
941 941
           >
942 942
             <template slot-scope="scope">

+ 1 - 1
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -100,7 +100,7 @@
100 100
           <th v-if="isShow('脱水')" width="92px">{{monitor.dehydration ? monitor.dehydration : ""}}</th>
101 101
           <th v-if="isShow('滤前压')" width="92px">{{monitor.filter_pressure ? monitor.filter_pressure : ""}}</th>
102 102
           
103
-          <td v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800 || org_id ==  9598)">{{ monitor.ktv?monitor.ktv:""}}</td>
103
+          <td v-if="isShow('KT/V') && (org_id == 9987 || org_id == 10215 || org_id ==  9800 || org_id ==  9598 || org_id ==10517)">{{ monitor.ktv?monitor.ktv:""}}</td>
104 104
           <td v-if="isShow('病情变化')">{{ monitor.symptom }}
105 105
             <span v-if="(index == monitores.length-1) && (org_id == 0 || org_id == 10340)">累计血容量:{{monitor.accumulated_blood_volume }}L</span>
106 106
           </td>

+ 28 - 0
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

@@ -857,6 +857,18 @@
857 857
         >
858 858
         </div>
859 859
       </template>
860
+      <template v-if="org_template_info.template_id == 70">
861
+        <div>
862
+          <el-button
863
+          :loading="loading"
864
+          size="small"
865
+          icon="el-icon-printer"
866
+          @click="printThisPage"
867
+          type="primary"
868
+          >打印</el-button
869
+        >
870
+        </div>
871
+      </template>
860 872
     </div>
861 873
     <div class="app-container" style="min-height: 0">
862 874
       <!--<div class="order-print-btn"-->
@@ -1328,6 +1340,12 @@
1328 1340
             v-if="org_template_info.template_id == 69"
1329 1341
           >
1330 1342
           </DialysisPrintOrderSixtynine>
1343
+          <DialysisPrintOrderSeventy
1344
+            v-bind:childResponse="childResponse"
1345
+            v-if="org_template_info.template_id == 70"
1346
+          >
1347
+
1348
+          </DialysisPrintOrderSeventy>
1331 1349
 
1332 1350
           <DialysisPrintOrderZero
1333 1351
             v-bind:childResponse="childResponse"
@@ -1421,6 +1439,7 @@ import DialysisPrintOrderSixtysix from './template/DialysisPrintOrderSixtysix'
1421 1439
 import DialysisPrintOrdersixtySeven from './template/DialysisPrintOrdersixtySeven'
1422 1440
 import DialysisPrintOrderSixtyeight from './template/DialysisPrintOrderSixtyeight'
1423 1441
 import DialysisPrintOrderSixtynine from './template/DialysisPrintOrderSixtynine'
1442
+import DialysisPrintOrderSeventy from './template/DialysisPrintOrderSeventy'
1424 1443
 import DialysisPrintOrderZero from './template/DialysisPrintOrderZero'
1425 1444
 export default {
1426 1445
   name: "dialysisPrintOrder",
@@ -1494,6 +1513,7 @@ export default {
1494 1513
     DialysisPrintOrderSixtysix,
1495 1514
     DialysisPrintOrderSixtyeight,
1496 1515
     DialysisPrintOrderSixtynine,
1516
+    DialysisPrintOrderSeventy,
1497 1517
     DialysisPrintOrderZero,
1498 1518
     LabelBox,
1499 1519
     BreadCrumb,
@@ -2086,6 +2106,14 @@ export default {
2086 2106
           scanStyles: false,
2087 2107
         });
2088 2108
         console.log('77777',this.org_template_info.template_id);
2109
+      }else if (this.org_template_info.template_id == 70 ) {
2110
+        printJS({
2111
+          printable: "dialysis-print-box-1",
2112
+          type: "html",
2113
+          style: style2,
2114
+          scanStyles: false,
2115
+        });
2116
+        console.log('77777',this.org_template_info.template_id);
2089 2117
       }
2090 2118
       else if (
2091 2119
         this.org_template_info.template_id == 53

File diff suppressed because it is too large
+ 4151 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderSeventy.vue


+ 5 - 5
src/xt_pages/outpatientCharges/invoicePrint.vue View File

@@ -10,12 +10,12 @@
10 10
         type="primary"
11 11
       >打印</el-button>
12 12
     </template>
13
-    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 && org_id != 0"><!--&& org_id != 10188 && org_id != 0-->
13
+    <div class="app-container" style="padding-top:40px;" v-if="org_id != 10217 && org_id != 10485 && org_id != 10375 && org_id != 10567 && org_id != 10188 "><!--&& org_id != 10188 && org_id != 0-->
14 14
         <div class='dialysisPage'>
15
-          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 && org_id != 0 " >
15
+          <div v-if="org_id != 10106 && org_id != 10215 && org_id != 4 && org_id != 10188 && org_id != 10217 && org_id != 10387&& org_id != 10210 && org_id != 10387 && org_id != 10480 " >
16 16
             <printOne v-if="org_id != 10088 && org_id != 10510 && org_id != 0" :paramsObj="invoiceParams"></printOne>
17 17
             <printThree v-if="org_id == 10088 " :paramsObj="invoiceParams"></printThree>
18
-            <printfifteen v-if="org_id == 10510 " :paramsObj="invoiceParams"></printfifteen>
18
+            <printfifteen v-if="org_id == 10510 || org_id==0 " :paramsObj="invoiceParams"></printfifteen>
19 19
           </div>
20 20
           <printTwo v-if="org_id == 10106" :paramsObj="invoiceParams"></printTwo>
21 21
           <printFour v-if="org_id == 10215 || org_id == 4 " :paramsObj="invoiceParams"></printFour>
@@ -46,13 +46,13 @@
46 46
       </div>
47 47
     </div>
48 48
 
49
-     <div class="app-container" v-if="org_id == 10567 || org_id == 0">
49
+    <div class="app-container" v-if="org_id == 10567 ">
50 50
       <div class='dialysisPage'>
51 51
         <printfourteen :paramsObj="invoiceParams"></printfourteen>
52 52
       </div>
53 53
     </div>
54 54
 
55
-    <div class="app-container" style="padding-top:20px;" v-if="org_id == 10188">
55
+    <div class="app-container" style="padding-top:20px;" v-if="org_id == 10188  ">
56 56
       <div class='dialysisPage'>
57 57
         <printthirteen  :paramsObj="invoiceParams"></printthirteen>
58 58
       </div>

+ 2 - 2
src/xt_pages/outpatientCharges/invoiceTemplate/printfifteen.vue View File

@@ -5,10 +5,10 @@
5 5
             <!-- <div>{{ list.id_card_no }}</div> -->
6 6
         </div>
7 7
         <div style="display:flex;justify-content: space-between;">
8
-            <div  style="position: absolute;top:80px;left:250px;">{{ list.department_name }}</div>
8
+            <div  style="position: absolute;top:80px;left:300px;">{{ list.department_name }}</div>
9 9
             <div></div>
10 10
             <div>
11
-                <span style="position: absolute;top:60px;left:120px;">{{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
11
+                <span style="position: absolute;top:50px;left:120px;">{{ paramsObj.setl_time.split(' ')[0].slice(0,10) }}</span>
12 12
             </div>
13 13
         </div>
14 14
         <div style="display:flex;justify-content: space-between;">

+ 48 - 50
src/xt_pages/outpatientCharges/invoiceTemplate/printfourteen.vue View File

@@ -1,84 +1,82 @@
1 1
 <template>
2 2
   <div id='invoice-print' style="position: relative;">
3 3
     <div>
4
-      <div style="display: inline-block; position: absolute;top: 30px;left: 30px;">{{list.order.mdtrt_id}}</div>
5
-
6
-
4
+      <div style="display: inline-block; position: absolute;top: 20px;left: 50px;">{{list.order.mdtrt_id}}</div>
7 5
     </div>
8 6
     <div>
9
-      <div style="display: inline-block; position: absolute;top: 60px;left: 30px;">血液透析中心</div>
10
-      <div style="display: inline-block; position: absolute;top: 60px;left: 260px;">{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</div>
11
-      <div style="display: inline-block; position: absolute;top: 60px;left: 330px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</div>
12
-      <div style="display: inline-block; position: absolute;top: 60px;left: 400px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</div>
7
+      <div style="display: inline-block; position: absolute;top: 40px;left: 50px;">血液透析中心</div>
8
+      <div style="display: inline-block; position: absolute;top: 40px;left: 460px;">{{  paramsObj.setl_time ? paramsObj.setl_time.split(' ')[0].slice(0,4) : getTime(list.date, '{y}-{m}-{d}').slice(0,4) }}</div>
9
+      <div style="display: inline-block; position: absolute;top: 40px;left: 520px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(5,7)) : getTime(list.date, '{y}-{m}-{d}').slice(5,7) }}</div>
10
+      <div style="display: inline-block; position: absolute;top: 40px;left: 560px;">{{ paramsObj.setl_time ? parseInt(paramsObj.setl_time.split(' ')[0].slice(8,11)) : getTime(list.date, '{y}-{m}-{d}').slice(8,11) }}</div>
13 11
     </div>
14 12
     <div>
15
-      <div style="position: absolute;top: 90px;left: 60px;">{{ paramsObj.name }}</div>
13
+      <div style="position: absolute;top: 60px;left: 60px;">{{ paramsObj.name }}</div>
16 14
       <div style="display:flex;justify-content: space-between;">
17
-          <div  style="position: absolute;top:90px;left:270px;">√</div>
15
+          <div  style="position: absolute;top:60px;left:200px;">√</div>
18 16
           <div  style="position: absolute;top:90px;left:220px;"></div>
19 17
           <div  style="position: absolute;top:90px;left:250px;"></div>
20 18
       </div>
21 19
     </div>
22 20
 
23 21
     <div style="display:flex;justify-content: space-between;">
24
-      <div  style="position: absolute;top:120px;left:60px;" v-if="list.gender == 1">√</div>
25
-      <div  style="position: absolute;top:120px;left:80px;" v-else-if="list.gender == 2">√</div>
26
-      <div  style="position: absolute;top:120px;left:200px;">{{list.order.fund_pay_sumamt}}</div>
27
-      <div  style="position: absolute;top:120px;left:300px;">{{list.psn_cash_money}}</div>
28
-      <div  style="position: absolute;top:120px;left:400px;">{{"医保-门慢"}}</div>
22
+      <div  style="position: absolute;top:85px;left:60px;" v-if="list.gender == 1">√</div>
23
+      <div  style="position: absolute;top:85px;left:80px;" v-else-if="list.gender == 2">√</div>
24
+      <div  style="position: absolute;top:85px;left:220px;">{{list.order.fund_pay_sumamt}}</div>
25
+      <div  style="position: absolute;top:85px;left:380px;">{{list.psn_cash_money}}</div>
26
+      <div  style="position: absolute;top:85px;left:530px;">{{"医保-门慢"}}</div>
29 27
     </div>
30 28
     <div style="display:flex;justify-content: space-between;">
31 29
       <div v-if="list.westernMedicineCostTotal != ''">
32
-        <div  style="position: absolute;top:150px;left:0px;">西药费</div>
33
-        <div  style="position: absolute;top:150px;left:60px;">{{ list.westernMedicineCostTotal ? list.westernMedicineCostTotal.toFixed(2) : '' }}</div>
30
+        <div  style="position: absolute;top:140px;left:0px;">西药费</div>
31
+        <div  style="position: absolute;top:140px;left:60px;">{{ list.westernMedicineCostTotal ? list.westernMedicineCostTotal.toFixed(2) : '' }}</div>
34 32
       </div>
35 33
       <div v-if="list.laboratoryCostTotal != ''">
36
-        <div  style="position: absolute;top:150px;left:120px;">化验费</div>
37
-        <div  style="position: absolute;top:150px;left:180px;">{{ list.laboratoryCostTotal ? list.laboratoryCostTotal.toFixed(2) : '' }}</div>
34
+        <div  style="position: absolute;top:140px;left:140px;">化验费</div>
35
+        <div  style="position: absolute;top:140px;left:210px;">{{ list.laboratoryCostTotal ? list.laboratoryCostTotal.toFixed(2) : '' }}</div>
38 36
       </div>
39 37
       <div v-if="list.treatCostTotal != ''">
40
-        <div  style="position: absolute;top:150px;left:240px;">治疗费</div>
41
-        <div  style="position: absolute;top:150px;left:300px;">{{ list.treatCostTotal ? list.treatCostTotal.toFixed(2) : '' }}</div>
38
+        <div  style="position: absolute;top:140px;left:300px;">治疗费</div>
39
+        <div  style="position: absolute;top:140px;left:360px;">{{ list.treatCostTotal ? list.treatCostTotal.toFixed(2) : '' }}</div>
42 40
       </div>
43 41
       <div v-if="list.materialCostTotal != ''">
44
-        <div  style="position: absolute;top:150px;left:360px;">材料费</div>
45
-        <div  style="position: absolute;top:150px;left:420px;">{{ list.materialCostTotal ? list.materialCostTotal.toFixed(2) : '' }}</div>
42
+        <div  style="position: absolute;top:140px;left:470px;">材料费</div>
43
+        <div  style="position: absolute;top:140px;left:540px;">{{ list.materialCostTotal ? list.materialCostTotal.toFixed(2) : '' }}</div>
46 44
       </div>
47 45
     </div>
48 46
     <div style="display:flex;justify-content: space-between;">
49 47
       <div v-if="list.chineseTraditionalMedicineCostTotal !=' '">
50
-        <div  style="position: absolute;top:180px;left:0px;">中成药</div>
51
-        <div  style="position: absolute;top:180px;left:60px;">{{ list.chineseTraditionalMedicineCostTotal ? list.chineseTraditionalMedicineCostTotal.toFixed(2) : '' }}</div>
48
+        <div  style="position: absolute;top:160px;left:0px;">中成药</div>
49
+        <div  style="position: absolute;top:160px;left:60px;">{{ list.chineseTraditionalMedicineCostTotal ? list.chineseTraditionalMedicineCostTotal.toFixed(2) : '' }}</div>
52 50
       </div>
53 51
       <div v-if="list.zhenChaCostTotal !=''">
54
-        <div  style="position: absolute;top:180px;left:120px;">诊疗费</div>
55
-        <div  style="position: absolute;top:180px;left:180px;">{{ list.zhenChaCostTotal ? list.zhenChaCostTotal.toFixed(2) : '' }}</div>
52
+        <div  style="position: absolute;top:160px;left:140px;">诊疗费</div>
53
+        <div  style="position: absolute;top:160px;left:210px;">{{ list.zhenChaCostTotal ? list.zhenChaCostTotal.toFixed(2) : '' }}</div>
56 54
       </div>
57 55
       <div>
58
-        <div  style="position: absolute;top:180px;left:240px;"></div>
59
-        <div  style="position: absolute;top:180px;left:300px;"></div>
56
+        <div  style="position: absolute;top:160px;left:300px;"></div>
57
+        <div  style="position: absolute;top:160px;left:360px;"></div>
60 58
       </div>
61 59
       <div v-if="list.otherCostTotal !=''">
62
-        <div  style="position: absolute;top:180px;left:360px;"> 其他</div>
63
-        <div  style="position: absolute;top:180px;left:420px;">{{ list.otherCostTotal ? list.otherCostTotal.toFixed(2) : '' }}</div>
60
+        <div  style="position: absolute;top:160px;left:470px;"> 其他</div>
61
+        <div  style="position: absolute;top:160px;left:540px;">{{ list.otherCostTotal ? list.otherCostTotal.toFixed(2) : '' }}</div>
64 62
       </div>
65 63
     </div>
66 64
     <div style="display:flex;justify-content: space-between;">
67 65
       <div>
68
-        <div  style="position: absolute;top:210px;left:0px;"></div>
69
-        <div  style="position: absolute;top:210px;left:60px;"></div>
66
+        <div  style="position: absolute;top:180px;left:0px;"></div>
67
+        <div  style="position: absolute;top:180px;left:60px;"></div>
70 68
       </div>
71 69
       <div v-if="list.checkCostTotal !=''">
72
-        <div  style="position: absolute;top:210px;left:120px;">检查费</div>
73
-        <div  style="position: absolute;top:210px;left:180px;">{{ list.checkCostTotal ? list.checkCostTotal.toFixed(2) : '' }}</div>
70
+        <div  style="position: absolute;top:180px;left:140px;">检查费</div>
71
+        <div  style="position: absolute;top:180px;left:210px;">{{ list.checkCostTotal ? list.checkCostTotal.toFixed(2) : '' }}</div>
74 72
       </div>
75 73
       <div >
76
-        <div  style="position: absolute;top:210px;left:240px;"></div>
77
-        <div  style="position: absolute;top:210px;left:300px;"></div>
74
+        <div  style="position: absolute;top:180px;left:300px;"></div>
75
+        <div  style="position: absolute;top:180px;left:360px;"></div>
78 76
       </div>
79 77
       <div v-if="list.hiliCostTotal !=''">
80
-        <div  style="position: absolute;top:210px;left:360px;">护理费</div>
81
-        <div  style="position: absolute;top:210px;left:420px;">{{list.hiliCostTotal ? list.hiliCostTotal.toFixed(2) : ''}}</div>
78
+        <div  style="position: absolute;top:180px;left:470px;">护理费</div>
79
+        <div  style="position: absolute;top:180px;left:540px;">{{list.hiliCostTotal ? list.hiliCostTotal.toFixed(2) : ''}}</div>
82 80
       </div>
83 81
     </div>
84 82
     <div style="display:flex;justify-content: space-between;">
@@ -89,62 +87,62 @@
89 87
     </div>
90 88
     <div>
91 89
       <span>
92
-        <span  style="position: absolute;top:290px;left:100px">
90
+        <span  style="position: absolute;top:240px;left:140px">
93 91
           <span v-if="zhongwen.indexOf('万') > -1 && zhongwen.indexOf('拾') > -1 && zhongwen.indexOf('拾') == 1">
94 92
                     {{ zhongwen.substring(0,1) }}
95 93
                 </span>
96 94
                 <span v-else>零</span>
97 95
         </span>
98
-        <span  style="position: absolute;top:290px;left:140px">
96
+        <span  style="position: absolute;top:240px;left:180px">
99 97
             <span v-if="zhongwen.indexOf('万') > -1">
100 98
                     {{ zhongwen.substring(zhongwen.indexOf('万') - 1,zhongwen.indexOf('万')) }}
101 99
                 </span>
102 100
                 <span v-else>零</span>
103 101
         </span>
104
-        <span  style="position: absolute;top:290px;left:190px">
102
+        <span  style="position: absolute;top:240px;left:215px">
105 103
             <span v-if="zhongwen.indexOf('仟') > -1">
106 104
                     {{ zhongwen.substring(zhongwen.indexOf('仟') - 1,zhongwen.indexOf('仟')) }}
107 105
                 </span>
108 106
                 <span v-else>零</span>
109 107
         </span>
110
-        <span  style="position: absolute;top:290px;left:260px">
108
+        <span  style="position: absolute;top:240px;left:255px">
111 109
             <span v-if="zhongwen.indexOf('佰') > -1">
112 110
                     {{ zhongwen.substring(zhongwen.indexOf('佰') - 1,zhongwen.indexOf('佰')) }}
113 111
                 </span>
114 112
                 <span v-else>零</span>
115 113
         </span>
116
-        <span style="position: absolute;top:290px;left:310px">
114
+        <span style="position: absolute;top:240px;left:295px">
117 115
             <span v-if="zhongwen.indexOf('拾') > -1">
118 116
                     {{zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) == '佰' ||  !zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾'))? '壹' : zhongwen.substring(zhongwen.indexOf('拾') - 1,zhongwen.indexOf('拾')) }}
119 117
                 </span>
120 118
                 <span v-else>零</span>
121 119
         </span>
122
-        <span  style="position: absolute;top:290px;left:380px">
120
+        <span  style="position: absolute;top:240px;left:335px">
123 121
            <span v-if="zhongwen.indexOf('元') > -1 && zhongwen.substring(this.zhongwen.indexOf('元') - 1).substring(0,1)!= '拾'">
124 122
                     {{ zhongwen.substring(zhongwen.indexOf('元') - 1,zhongwen.indexOf('元')) }}
125 123
                 </span>
126 124
                 <span v-else>零</span>
127 125
         </span>
128
-        <span  style="position: absolute;top:290px;left:450px">
126
+        <span  style="position: absolute;top:240px;left:375px">
129 127
              <span v-if="zhongwen.indexOf('角') > -1">
130 128
                     {{ zhongwen.substring(zhongwen.indexOf('角') - 1,zhongwen.indexOf('角')) }}
131 129
                 </span>
132 130
                 <span v-else>零</span>
133 131
         </span>
134
-        <span  style="position: absolute;top:290px;left:510px">
132
+        <span  style="position: absolute;top:240px;left:415px">
135 133
              <span v-if="zhongwen.indexOf('分') > -1">
136 134
                     {{ zhongwen.substring(zhongwen.indexOf('分') - 1,zhongwen.indexOf('分')) }}
137 135
                 </span>
138 136
                 <span v-else>零</span>
139 137
         </span>
140 138
       </span>
141
-      <span style="position: absolute;top:290px;left:600px">{{ totalPrice.toFixed(2) }}</span>
139
+      <span style="position: absolute;top:240px;left:490px">{{ totalPrice.toFixed(2) }}</span>
142 140
     </div>
143 141
 
144 142
     <div style="display:flex;justify-content: space-between;">
145
-      <div style="position: absolute;top:390px;left:100px;">{{ org_name}}</div>
146
-      <div style="position: absolute;top:390px;left:240px;"></div>
147
-      <div style="position: absolute;top:390px;left:460px;">{{list.admin_user_name}}</div>
143
+      <div style="position: absolute;top:320px;left:60px;">{{ org_name}}</div>
144
+      <div style="position: absolute;top:320px;left:240px;"></div>
145
+      <div style="position: absolute;top:320px;left:380px;">{{list.admin_user_name}}</div>
148 146
     </div>
149 147
   </div>
150 148
 </template>

+ 2 - 2
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

@@ -140,11 +140,11 @@
140 140
                   </div>
141 141
                   <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
142 142
                 </div>
143
-                <div style="display: inline-block;position: absolute;left:80%;margin-left: 10px;" >
143
+                <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 10px;" >
144 144
                   ×&nbsp;{{ it.prescribing_number}}
145 145
                 </div>
146 146
                 <template v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
147
-                  <div style="display: inline-block;position: absolute;left:80%;bottom:20px;margin-left: 10px;" >
147
+                  <div style="display: inline-block;position: absolute;left:80%;bottom:15px;margin-left: 10px;" >
148 148
                     ×&nbsp;{{ item.arr[0][0].prescribing_number}}
149 149
                   </div>
150 150
                 </template>

+ 2 - 2
src/xt_pages/role/admin.vue View File

@@ -209,12 +209,12 @@
209 209
           @click="toCheckPDFInformation">PDF验证</el-button> -->
210 210
 
211 211
 
212
-          <el-button
212
+          <!-- <el-button
213 213
           type="primary"
214 214
           size="small"
215 215
           icon="el-icon-circle-plus-outline"
216 216
           style="float:left"
217
-          @click="toAutoDrug">自动生成</el-button>
217
+          @click="toAutoDrug">自动生成</el-button> -->
218 218
 
219 219
 
220 220
      </div>

+ 17 - 3
src/xt_pages/user/components/PatientDetail.vue View File

@@ -292,6 +292,20 @@
292 292
               </el-form-item>
293 293
              </el-col>
294 294
 
295
+             <el-col :span="24">
296
+              <el-form-item label="主管护士 : " prop="record_number">
297
+                <el-select v-model="form.nurse" style="width:200px"   disabled>
298
+                <el-option
299
+                  v-for="(item,index) in adminUserOptions"
300
+                  :key="index"
301
+                  :label="item.name"
302
+                  :value="item.id"
303
+               
304
+                />
305
+              </el-select>
306
+              </el-form-item>
307
+             </el-col>
308
+
295 309
               <el-col :span="6">
296 310
               <el-form-item
297 311
                 label="本院前透析频率 : "
@@ -1756,9 +1770,9 @@ export default {
1756 1770
             // if (patietInfo.attending_doctor_id > 0) {
1757 1771
             //   this.form.doctor = patietInfo.attending_doctor_id;
1758 1772
             // }
1759
-            // if (patietInfo.head_nurse_id > 0) {
1760
-            //   this.form.nurse = patietInfo.head_nurse_id;
1761
-            // }
1773
+            if (patietInfo.head_nurse_id > 0) {
1774
+              this.form.nurse = patietInfo.head_nurse_id;
1775
+            }
1762 1776
             // if (patietInfo.registrars_id > 0) {
1763 1777
             //   this.form.registrars = patietInfo.registrars_id;
1764 1778
             // }

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

@@ -343,6 +343,19 @@
343 343
               </el-form-item>
344 344
              </el-col>
345 345
 
346
+             <el-col :span="24">
347
+              <el-form-item label="主管护士 : " prop="record_number">
348
+                <el-select v-model="form.nurse" style="width:200px">
349
+                <el-option
350
+                  v-for="(item,index) in adminUserOptions"
351
+                  :key="index"
352
+                  :label="item.name"
353
+                  :value="item.id"
354
+                />
355
+              </el-select>
356
+              </el-form-item>
357
+             </el-col>
358
+
346 359
             <el-col :span="6" :style="isEdit ? 'width:360px' : ''">
347 360
               <el-form-item
348 361
                 label="本院前透析频率 : "
@@ -1027,7 +1040,7 @@
1027 1040
           </el-col>
1028 1041
 
1029 1042
          <el-col :span="6">
1030
-          <el-form-item label="医生 : ">
1043
+          <el-form-item label="主治医生 : ">
1031 1044
             <el-select v-model="form.doctor">
1032 1045
                 <el-option
1033 1046
                   v-for="(item,index) in adminUserOptions"
@@ -1157,6 +1170,7 @@ const defaultForm = {
1157 1170
   troble_shoot:2,
1158 1171
   zb_patient_id:"",
1159 1172
   doctor:"",
1173
+  nurse:"",
1160 1174
   patient_source:0,
1161 1175
   patient_start_time:"",
1162 1176
   patient_end_time:"",
@@ -1593,6 +1607,7 @@ export default {
1593 1607
         if (response.data.state === 1) {
1594 1608
           this.form.doctor = this.$store.getters.xt_user.user.id
1595 1609
           this.adminUserOptions = response.data.data.users;
1610
+          
1596 1611
 
1597 1612
         }
1598 1613
       });
@@ -1663,6 +1678,7 @@ export default {
1663 1678
             this.form.user_sys_before_count = this.form.user_sys_before_count.toString();
1664 1679
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1665 1680
             this.form.doctor = parseInt(this.form.doctor)
1681
+            this.form.nurse = parseInt(this.form.nurse)
1666 1682
             if(this.form.patient_source >0){
1667 1683
               this.form.patient_source = parseInt(this.form.patient_source)
1668 1684
             }else{
@@ -1714,6 +1730,7 @@ export default {
1714 1730
             this.form.age = parseInt(this.form.age);
1715 1731
             this.form.troble_shoot = parseInt(this.form.troble_shoot)
1716 1732
             this.form.doctor = parseInt(this.form.doctor)
1733
+            this.form.nurse = parseInt(this.form.nurse)
1717 1734
             if(this.form.patient_source >0){
1718 1735
               this.form.patient_source = parseInt(this.form.patient_source)
1719 1736
             }else{
@@ -2043,9 +2060,9 @@ export default {
2043 2060
             // if (patietInfo.attending_doctor_id > 0) {
2044 2061
             //   this.form.doctor = patietInfo.attending_doctor_id;
2045 2062
             // }
2046
-            // if (patietInfo.head_nurse_id > 0) {
2047
-            //   this.form.nurse = patietInfo.head_nurse_id;
2048
-            // }
2063
+            if (patietInfo.head_nurse_id > 0) {
2064
+              this.form.nurse = patietInfo.head_nurse_id;
2065
+            }
2049 2066
             // if (patietInfo.registrars_id > 0) {
2050 2067
             //   this.form.registrars = patietInfo.registrars_id;
2051 2068
             // }

+ 5 - 1
src/xt_pages/user/dialysisRecord.vue View File

@@ -686,8 +686,12 @@ export default {
686 686
     },
687 687
     rowclick(val){
688 688
       // console.log('kkkkkkk',val.dialysis_date);
689
+      // this.$router.push({
690
+      //   path: "/dialysis/details/indexs",
691
+      //   query: { patient_id: val.patient_id, date: val.dialysis_date }
692
+      // });
689 693
       this.$router.push({
690
-        path: "/dialysis/details/indexs",
694
+        path: "/dialysis/details",
691 695
         query: { patient_id: val.patient_id, date: val.dialysis_date }
692 696
       });
693 697
       // console.log('kkkkkkk',event);

+ 39 - 1
src/xt_pages/user/patients.vue View File

@@ -268,6 +268,20 @@
268 268
           </ul>
269 269
         </div>
270 270
       </div> -->
271
+      <div  class="cell clearfix">
272
+        <label class="title"><span class="name">主管护士</span> : </label>
273
+        <el-select v-model="form.nurse" style="width:200px"  @change="changeNuseSearch">
274
+            <el-option
275
+              placeholder="主管护士"
276
+              v-for="(item,index) in adminUserOptions"
277
+              :key="index"
278
+              :label="item.name"
279
+              :value="item.id"
280
+             
281
+            
282
+            />
283
+        </el-select>
284
+      </div>
271 285
       <div class="cell clearfix">
272 286
         <label class="title"><span class="name">其它查询</span> : </label>
273 287
         <el-select
@@ -335,8 +349,13 @@
335 349
           >
336 350
           </el-option>
337 351
         </el-select>
352
+      
353
+  
338 354
         <el-button type="primary" size="small" style="float:right" @click="toExport">导出</el-button>
339 355
       </div>
356
+      <div  class="cell clearfix">
357
+
358
+      </div>
340 359
 
341 360
       <el-table
342 361
         ref="multipleTable"
@@ -720,6 +739,7 @@
720 739
 </template>
721 740
 
722 741
 <script>
742
+  import { fetchAllAdminUsers } from "@/api/doctor";
723 743
   import { code, EditLapseto, fetchList, getMaxDialysisNo, OpenView, postExportPatients,GetRemind,getPatientAllagic } from '@/api/patient'
724 744
   import { generateLog } from '@/api/config'
725 745
   import QRCode from 'qrcodejs2'
@@ -869,6 +889,7 @@
869 889
           isscheduling: '',
870 890
           isprescription: '',
871 891
           patientSoureType:'',
892
+          nurse:0,
872 893
         },
873 894
         multipleSelection: [],
874 895
         bindWechatDialog: false,
@@ -899,7 +920,9 @@
899 920
           patient_address:"",
900 921
           patient_start_time:"",
901 922
           patient_end_time:"",
902
-        }
923
+          nurse:"0"
924
+        },
925
+        adminUserOptions:[]
903 926
       }
904 927
     },
905 928
     created() {
@@ -918,9 +941,21 @@
918 941
       }
919 942
       //获取
920 943
       this.GetRemindPatientList()
944
+      this.fetchAllAdminUsers();
921 945
     },
922 946
 
923 947
     methods: {
948
+      fetchAllAdminUsers() {
949
+        fetchAllAdminUsers().then((response) => {
950
+          if (response.data.state === 1) {
951
+            var obj ={id:0,name:"全部"}
952
+            this.adminUserOptions.push(obj)
953
+            for(let i=0;i<response.data.data.users.length;i++){
954
+              this.adminUserOptions.push(response.data.data.users[i])
955
+            }
956
+          }
957
+        });
958
+      },
924 959
       putOnRecord:function(type,row){
925 960
         if(type == 1){
926 961
 
@@ -1531,6 +1566,9 @@
1531 1566
       changeOtherSearch() {
1532 1567
         this.getList()
1533 1568
       },
1569
+      changeNuseSearch(){
1570
+        this.getList()
1571
+      },
1534 1572
       getList() {
1535 1573
          console.log("query23323223wo",this.listQuery)
1536 1574
         fetchList(this.listQuery).then(response => {