Browse Source

库存显示展示

XMLWAN 2 years ago
parent
commit
c737844690

+ 18 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_fiftyOne.vue View File

2368
                             v-if="!record.check"
2368
                             v-if="!record.check"
2369
                           ></div>
2369
                           ></div>
2370
                         </div> -->
2370
                         </div> -->
2371
-                        <div class="inline_block" style="flex: 1">
2371
+                        <!-- <div class="inline_block" style="flex: 1">
2372
                           下机护士:
2372
                           下机护士:
2373
                           <div
2373
                           <div
2374
                             class="under_line"
2374
                             class="under_line"
2404
                               alt=""
2404
                               alt=""
2405
                               srcset=""
2405
                               srcset=""
2406
                               v-else
2406
                               v-else
2407
+                              style="height: 40px"
2408
+                            />
2409
+                          </div>
2410
+                        </div> -->
2411
+                          <div class="inline_block" style="flex: 1">
2412
+                          患者签名:
2413
+                          <div
2414
+                            class="under_line"
2415
+                            style="width: 80px; text-align: center"
2416
+                          >
2417
+                           
2418
+                            <img
2419
+                              class="es-img"
2420
+                              :src="record.dialysis_order.url"
2421
+                              alt=""
2422
+                              srcset=""
2423
+                            
2407
                               style="height: 40px"
2424
                               style="height: 40px"
2408
                             />
2425
                             />
2409
                           </div>
2426
                           </div>

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

392
                       >置换方式:
392
                       >置换方式:
393
                        <label-box
393
                        <label-box
394
                          :isChecked="
394
                          :isChecked="
395
-                          record.prescription.displace_liqui_part == 1  ? true : false
395
+                          record.prescription.displace_liqui_part == 1 && record.prescription.mode_id != 2 &&  record.prescription.mode_id != 5 && record.prescription.mode_id != 12 ? true : false
396
                           "
396
                           "
397
                          showValue="前"
397
                          showValue="前"
398
                          ></label-box
398
                          ></label-box
399
                          >&nbsp;
399
                          >&nbsp;
400
                         <label-box
400
                         <label-box
401
                           :isChecked="
401
                           :isChecked="
402
-                            record.prescription.displace_liqui_part == 2 ? true : false
402
+                            record.prescription.displace_liqui_part == 2 && record.prescription.mode_id != 2 &&  record.prescription.mode_id != 5 && record.prescription.mode_id != 12? true : false
403
                           "
403
                           "
404
                           showValue="后"
404
                           showValue="后"
405
                         ></label-box>
405
                         ></label-box>

+ 2 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue View File

1891
 
1891
 
1892
 
1892
 
1893
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
1893
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
1894
-              console.log("wode数据",(-100).toString())
1895
-              console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
1894
+              // console.log("wode数据",(-100).toString())
1895
+              // console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
1896
 
1896
 
1897
             }
1897
             }
1898
           }
1898
           }

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

31
           icon="el-icon-printer"
31
           icon="el-icon-printer"
32
           >打印</el-button
32
           >打印</el-button
33
         >
33
         >
34
+      
34
       </div>
35
       </div>
35
     </div>
36
     </div>
36
 
37
 

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue View File

114
           $store.getters.xt_user.org.id == 0
114
           $store.getters.xt_user.org.id == 0
115
         "
115
         "
116
       >
116
       >
117
+      <div>
117
         <el-button
118
         <el-button
119
+          
118
           :loading="loading"
120
           :loading="loading"
119
           size="small"
121
           size="small"
120
           icon="el-icon-printer"
122
           icon="el-icon-printer"
122
           type="primary"
124
           type="primary"
123
           >打印</el-button
125
           >打印</el-button
124
         >
126
         >
127
+        <el-button
128
+            :loading="loading"
129
+            size="small"
130
+            icon="el-icon-printer"
131
+            @click="printThisTwoPage"
132
+            type="primary"
133
+            >打印医嘱单</el-button
134
+         >
135
+      </div>
125
       </template>
136
       </template>
126
 
137
 
127
       <template v-if="org_template_info.template_id == 47">
138
       <template v-if="org_template_info.template_id == 47">
1182
             v-if="org_template_info.template_id == 53"
1193
             v-if="org_template_info.template_id == 53"
1183
           >
1194
           >
1184
           </DialysisPrintOrderFiftyThree>
1195
           </DialysisPrintOrderFiftyThree>
1196
+
1197
+         
1198
+        
1185
            <DialysisPrintOrderFiftyFour
1199
            <DialysisPrintOrderFiftyFour
1186
             v-bind:childResponse="childResponse"
1200
             v-bind:childResponse="childResponse"
1187
             v-if="org_template_info.template_id == 54"
1201
             v-if="org_template_info.template_id == 54"
2028
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2042
         '@media print {.dialysis-print-order{width:960px;margin:0 auto}.dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:23px;font-size:14px}.dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:25px;font-size:14px}.dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;} .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}';
2029
       const style2 =
2043
       const style2 =
2030
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2044
         '@media print {.option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;} .print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 3px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-50{margin-bottom:50px;}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:900px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top: 1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}';
2031
-
2045
+     
2046
+      // 雷州惠爱样式
2047
+      const style12 ='@page {margin-top:10px;}@media print {.dialysis-print-order{width:960px;margin:0 auto;margin-top:30px;} .dialysis-print-order .order-yy-name{margin:auto;text-align:center;font-size:20px;letter-spacing:5px}.dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px 20px 20px 20px}.dialysis-print-order .table-box{width:100%;line-height:40px;font-size:14px} .dialysis-print-order .print-table{width:100%;text-align:center;border-collapse:collapse;line-height:40px;font-size:14px} .print-table tbody tr td{border-collapse:collapse;} .dialysis-print-order .print-table .short_tr th p{height:20px !important; line-height:20px !important;} .list_table{border-collapse:collapse;height:40px;display: flex;justify-content: flex-start;} .list_table div{text-align: left;flex: 1;}  .list_table_1{height:40px;line-height:40px;text-align:left;border-collapse:collapse;} .list_table_1 div{height:40px;line-height:40px;white-space:normal;height: fit-content;} .dialysis-print-order .td_div1{display:flex;white-space: normal;} .dialysis-print-order .print-table-no{width:100%;text-align:center;border-collapse:collapse;font-size:14px}.dialysis-print-order .under-line{border-bottom:1px solid #999;width:95%;text-align:center;margin-left:2px}.dialysis-print-order .title-box{text-align:center;font-size:16px;border:1px solid #666}.dialysis-print-order .radio-lebel-box{font-weight:400;cursor:pointer}.dialysis-print-order .radio-no{opacity:0;outline:0;position:absolute;margin:0;width:0;height:0;z-index:-1}.dialysis-print-order .radio-inner{white-space:nowrap;cursor:pointer;outline:0;display:inline-block;line-height:1;position:relative;vertical-align:middle}.dialysis-print-order .radio-fang{display:inline-block;position:relative;border:1px solid #000;box-sizing:border-box;width:14px;height:14px;background-color:#fff;z-index:1;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.dialysis-print-order .is-checked-radio::after{content:"√";font-size:15px}}.dialysis-print-order .print-table-no tr td { padding: 8px 5px; line-height: 25px; }.es-img{height: 20px; }.advice-name{text-align: left;}.advice-children{display:flex;} .dialysis-print-order .print-table tr td{padding: 0px 0px;line-height:35px} .print-table tr th p{height: 20px; line-height: 20px}  .print-template-two tr {line-height: 30px;}   .title-box-pro{border: 0 #fff;line-height: 40px;height: 40px;text-align: left;padding-left: 10px !important;}  .text-align-left{text-align: left !important;padding-left:10px !important;font-size: 14px !important;line-height: 25px;}@page {margin-left:30px;margin-right:40px;}  .dialysis-print-order tbody .print-table tr{page-break-inside:avoid;} .dialysis-print-order tbody .print-table tr td{border: 1px solid #000;} ';
2032
       if (this.org_template_info.template_id == 1) {
2048
       if (this.org_template_info.template_id == 1) {
2033
         printJS({
2049
         printJS({
2034
           printable: "dialysis-print-box",
2050
           printable: "dialysis-print-box",
2076
           style: style,
2092
           style: style,
2077
           scanStyles: false,
2093
           scanStyles: false,
2078
         });
2094
         });
2095
+      } else if (this.org_template_info.template_id == 53) {
2096
+        printJS({
2097
+          printable: "dialysis-print-box-1-2",
2098
+          type: "html",
2099
+          style: style12,
2100
+          scanStyles: false,
2101
+        });
2079
       }
2102
       }
2080
     },
2103
     },
2104
+   
2081
     getNumber() {
2105
     getNumber() {
2082
       if (this.dialysisOrder != null) {
2106
       if (this.dialysisOrder != null) {
2083
         return (
2107
         return (

+ 35 - 10
src/xt_pages/dialysis/newDoctorAdvice.vue View File

175
       </div> -->
175
       </div> -->
176
 
176
 
177
       <div style="margin-top: 10px;margin-bottom:10px">
177
       <div style="margin-top: 10px;margin-bottom:10px">
178
-        <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671 && org_id!=0 && org_id!=10340 ">统计</el-button>
178
+        <el-button type="primary" size="small" @click="toStatic" v-if="org_id!=9671  && org_id!=10340 ">统计</el-button>
179
 
179
 
180
-        <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id == 0 || org_id==10340">统计</el-button>
180
+        <el-button type="primary" size="small" @click="toStaticOne" v-if="org_id == 9671 || org_id==10340">统计</el-button>
181
       </div>
181
       </div>
182
 
182
 
183
 
183
 
539
             </el-option>
539
             </el-option>
540
            </el-select>
540
            </el-select>
541
            <label class="title"> <span class="name">病区选择</span> : </label>
541
            <label class="title"> <span class="name">病区选择</span> : </label>
542
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType">
542
+           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionType" multiple >
543
             <el-option
543
             <el-option
544
               v-for="item in partitionArr"
544
               v-for="item in partitionArr"
545
               :key="item.id"
545
               :key="item.id"
611
             </el-option>
611
             </el-option>
612
            </el-select>
612
            </el-select>
613
            <label class="title"> <span class="name">病区选择</span> : </label>
613
            <label class="title"> <span class="name">病区选择</span> : </label>
614
-           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeOne">
614
+           <el-select v-model="partion_type" placeholder="请选择" @change="changePartionTypeOne" multiple>
615
             <el-option
615
             <el-option
616
               v-for="item in partitionArr"
616
               v-for="item in partitionArr"
617
               :key="item.id"
617
               :key="item.id"
819
       doctorMap:[],
819
       doctorMap:[],
820
       excutList:[],
820
       excutList:[],
821
       execution_frequency:"",
821
       execution_frequency:"",
822
+      zoneIdList:[],
823
+      partion_str:"",
822
     };
824
     };
823
   },
825
   },
824
   created() {
826
   created() {
903
           return false;
905
           return false;
904
         } else {
906
         } else {
905
           this.partitionArr = response.data.data.zone;
907
           this.partitionArr = response.data.data.zone;
906
-          this.partitionArr.unshift({ id: 0, name: "全部" });
908
+          for(let i=0;i<this.partitionArr.length;i++){
909
+           this.zoneIdList.push(this.partitionArr[i].id)
910
+          }
911
+         
912
+          // this.partitionArr.unshift({ id: 0, name: "全部" });
907
           var dics  =  response.data.data.dics
913
           var dics  =  response.data.data.dics
908
           var obj = {id:0,name:"全部"}
914
           var obj = {id:0,name:"全部"}
909
           this.deliveryWay.push(obj)
915
           this.deliveryWay.push(obj)
997
                     })
1003
                     })
998
                   }
1004
                   }
999
                 })
1005
                 })
1000
-                console.log("hh3oo1o3o123o3oo312o132o312o31o132o",resp.data.hisAdvices)
1006
+                console.log("中国人民名份反反复复方法 ",resp.data.hisAdvices)
1001
               }
1007
               }
1002
             }
1008
             }
1003
 
1009
 
1724
     },
1730
     },
1725
 
1731
 
1726
      toStatic() {
1732
      toStatic() {
1733
+          var str = ""
1734
+         if(this.partion_type==0){
1735
+            str = this.zoneIdList.join(",")
1736
+         }
1737
+         if(this.partion_type!=0){
1738
+            str = this.partion_type.join(",")
1739
+         }
1740
+         this.partion_str = ""
1741
+         this.partion_str = str  
1727
          this.tableList = []
1742
          this.tableList = []
1728
           var params = {
1743
           var params = {
1729
             schedule_type:this.schedule_type,
1744
             schedule_type:this.schedule_type,
1730
-            partion_type:this.partion_type,
1745
+            partion_type:str,
1731
             selected_date: moment(this.time).format('YYYY-MM-DD'),
1746
             selected_date: moment(this.time).format('YYYY-MM-DD'),
1732
           }
1747
           }
1748
+
1733
          console.log("params2332232wo",params)
1749
          console.log("params2332232wo",params)
1734
         getDialysisAdviceToday(params).then(response=>{
1750
         getDialysisAdviceToday(params).then(response=>{
1735
           if(response.data.state == 1){
1751
           if(response.data.state == 1){
1861
 
1877
 
1862
       },
1878
       },
1863
       toStaticOne() {
1879
       toStaticOne() {
1880
+         var str = ""
1881
+         if(this.partion_type==0){
1882
+            str = this.zoneIdList.join(",")
1883
+         }
1884
+         if(this.partion_type!=0){
1885
+            str = this.partion_type.join(",")
1886
+         }
1887
+         this.partion_str = ""
1888
+         this.partion_str = str  
1864
          this.tableList = []
1889
          this.tableList = []
1865
           var params = {
1890
           var params = {
1866
             schedule_type:this.schedule_type,
1891
             schedule_type:this.schedule_type,
1867
-            partion_type:this.partion_type,
1892
+            partion_type:str,
1868
             selected_date: moment(this.time).format('YYYY-MM-DD'),
1893
             selected_date: moment(this.time).format('YYYY-MM-DD'),
1869
           }
1894
           }
1870
 
1895
 
2057
       },
2082
       },
2058
       toPrintOne(){
2083
       toPrintOne(){
2059
          var schedule_date = moment(this.time).format('YYYY-MM-DD')
2084
          var schedule_date = moment(this.time).format('YYYY-MM-DD')
2060
-        this.$router.push({path:"/dialysis/doctorAdviceStaticPrint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+schedule_date+"&is_open="+this.config.is_open})
2085
+        this.$router.push({path:"/dialysis/doctorAdviceStaticPrint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_str+"&schedule_date="+schedule_date+"&is_open="+this.config.is_open})
2061
       },
2086
       },
2062
       toPrintTwo(){
2087
       toPrintTwo(){
2063
         var schedule_date = moment(this.time).format('YYYY-MM-DD')
2088
         var schedule_date = moment(this.time).format('YYYY-MM-DD')
2064
-        this.$router.push({path:"/dialysis/doctorNewAdviceStaticPrint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_type+"&schedule_date="+schedule_date+"&is_open="+this.config.is_open})
2089
+        this.$router.push({path:"/dialysis/doctorNewAdviceStaticPrint?schedule_type="+this.schedule_type+"&partion_type="+this.partion_str+"&schedule_date="+schedule_date+"&is_open="+this.config.is_open})
2065
       },
2090
       },
2066
       toExportListOne(){
2091
       toExportListOne(){
2067
         import('@/vendor/Export2Excel').then(excel => {
2092
         import('@/vendor/Export2Excel').then(excel => {

+ 16 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyOne.vue View File

2594
                                 />
2594
                                 />
2595
                               </div>
2595
                               </div>
2596
                             </div>
2596
                             </div>
2597
-                            <div class="inline_block" style="flex: 1">
2597
+                            <!-- <div class="inline_block" style="flex: 1">
2598
                               下机护士:
2598
                               下机护士:
2599
                               <div
2599
                               <div
2600
                                 class="under_line"
2600
                                 class="under_line"
2632
                                   v-else
2632
                                   v-else
2633
                                 />
2633
                                 />
2634
                               </div>
2634
                               </div>
2635
+                            </div> -->
2636
+                            <div class="inline_block" style="flex: 1">
2637
+                              患者签名:
2638
+                              <div
2639
+                                class="under_line"
2640
+                                style="width: 80px; text-align: center"
2641
+                              >
2642
+                               
2643
+                                <img
2644
+                                  style="height: 30px"
2645
+                                  :src="dialysisOrder == null? 0: dialysisOrder.url"
2646
+                                  alt=""
2647
+                                  srcset=""
2648
+                                />
2649
+                              </div>
2635
                             </div>
2650
                             </div>
2636
                             <div class="inline_block" style="flex: 1">
2651
                             <div class="inline_block" style="flex: 1">
2637
                               治疗医生:
2652
                               治疗医生:

+ 268 - 4
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

795
               </table>
795
               </table>
796
             </td>
796
             </td>
797
           </tr>
797
           </tr>
798
-          <tr style="transform: translateY(4px)">
798
+          <tr style="transform: translateY(4px)" v-if="org_id!=10346 && org_id!=0">
799
             <td>
799
             <td>
800
               <table class="print-table" border="1" style="text-align: center">
800
               <table class="print-table" border="1" style="text-align: center">
801
                 <tr>
801
                 <tr>
819
                   >
819
                   >
820
                     <p style="height: 20px; line-height: 20px">执行时间</p>
820
                     <p style="height: 20px; line-height: 20px">执行时间</p>
821
                   </td>
821
                   </td>
822
-                  <!-- <td style="height: 20px" width="90" v-if="org_id == 10249  || org_id == 0">
823
-                    <p style="height: 20px; line-height: 20px">开嘱医生</p>
824
-                  </td> -->
822
+             
825
                   <td style="height: 20px" width="90">
823
                   <td style="height: 20px" width="90">
826
                     <p style="height: 20px; line-height: 20px">执行</p>
824
                     <p style="height: 20px; line-height: 20px">执行</p>
827
                   </td>
825
                   </td>
844
               </table>
842
               </table>
845
             </td>
843
             </td>
846
           </tr>
844
           </tr>
845
+          <div v-if="org_id!=10346 && org_id!=0">
847
           <tr
846
           <tr
848
             v-for="(advice, advice_index) in advices"
847
             v-for="(advice, advice_index) in advices"
849
             :key="advice_index"
848
             :key="advice_index"
1026
               </table>
1025
               </table>
1027
             </td>
1026
             </td>
1028
           </tr>
1027
           </tr>
1028
+          </div>
1029
 
1029
 
1030
           <tr style="transform: translateY(1px)">
1030
           <tr style="transform: translateY(1px)">
1031
             <td>
1031
             <td>
1143
         </tbody>
1143
         </tbody>
1144
       </table>
1144
       </table>
1145
     </div>
1145
     </div>
1146
+
1147
+
1148
+    <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
1149
+     
1150
+      <div class="dialysis-print-order">
1151
+      <table class="print-table">
1152
+        <thead style="transform: translateY(2px)">
1153
+          <tr>
1154
+            <td>
1155
+              <div class="order-yy-name">{{ orgname }}</div>
1156
+              <div class="order-title">血液净化科医嘱及执行单</div>
1157
+            </td>
1158
+          </tr>
1159
+          <tr>
1160
+            <td>
1161
+              <table class="print-table" border="1">
1162
+                <tr>
1163
+                  <td width="80" colspan="11" style="text-align: center">
1164
+                    治 疗 日 期:&nbsp;<span>{{ queryParams.xtdate }}</span>
1165
+                  </td>
1166
+                </tr>
1167
+                <tr>
1168
+                  <td colspan="11" style="padding-left: 10px">
1169
+                    <div class="list_table">
1170
+                      <div>姓 名:&nbsp;{{ patientInfo.name }}</div>
1171
+                      <div>
1172
+                        性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
1173
+                      </div>
1174
+                      <div>年龄:{{ getoldAge() }}</div>
1175
+                      <div>透析机号:&nbsp;{{ getNumber() }}</div>
1176
+                    </div>
1177
+                  </td>
1178
+                </tr>
1179
+              </table>
1180
+            </td>
1181
+          </tr>
1182
+        </thead>
1183
+        <tbody>
1184
+        
1185
+       
1186
+          <tr style="transform: translateY(4px)">
1187
+            <td>
1188
+              <table class="print-table" border="1" style="text-align: center">
1189
+                <tr>
1190
+                  <td style="height: 20px" width="60">
1191
+                    <p style="height: 20px; line-height: 20px">时间</p>
1192
+                  </td>
1193
+                  <td
1194
+                    style="height: 20px"
1195
+                    width="90"
1196
+                   
1197
+                  >
1198
+                    <p style="height: 20px; line-height: 20px">开嘱医生</p>
1199
+                  </td>
1200
+                  <td style="height: 20px" width="344">
1201
+                    <p style="height: 20px; line-height: 20px">医嘱执行记录</p>
1202
+                  </td>
1203
+                  <td
1204
+                    style="height: 20px"
1205
+                    width="70"
1206
+                  
1207
+                  >
1208
+                    <p style="height: 20px; line-height: 20px">执行时间</p>
1209
+                  </td>
1210
+             
1211
+                  <td style="height: 20px" width="90">
1212
+                    <p style="height: 20px; line-height: 20px">执行</p>
1213
+                  </td>
1214
+                  <td style="height: 20px" width="90">
1215
+                    <p style="height: 20px; line-height: 20px">核对</p>
1216
+                  </td>
1217
+                  <td style="height: 20px" width="144">
1218
+                    <p style="height: 20px; line-height: 20px">上次透后体重</p>
1219
+                  </td>
1220
+                  <td style="height: 20px" width="60">
1221
+                    {{
1222
+                      patientInfo.total_dialysis +
1223
+                        patientInfo.user_sys_before_count >
1224
+                      0
1225
+                        ? assessmentafter.weight_after
1226
+                        : "/"
1227
+                    }}kg
1228
+                  </td>
1229
+                </tr>
1230
+              </table>
1231
+            </td>
1232
+          </tr>
1233
+          <div>
1234
+          <tr
1235
+            v-for="(advice, advice_index) in advices"
1236
+            :key="advice_index"
1237
+            style="transform: translateY(3px)"
1238
+          >
1239
+            <td>
1240
+              <table class="print-table" border="1">
1241
+                <tr>
1242
+                  <td width="60">
1243
+                    {{ getTime(advice.start_time, "{h}:{i}") }}
1244
+                  </td>
1245
+                  <td
1246
+                    style="line-height: 30px"
1247
+                    width="90"
1248
+                  >
1249
+                    <span v-if="setAdminUserES(advice.advice_doctor) == ''">
1250
+                      {{ getAdminUser(advice.advice_doctor) }}
1251
+                    </span>
1252
+                    <img
1253
+                      style="height: 30px"
1254
+                      :src="setAdminUserES(advice.advice_doctor)"
1255
+                      alt=""
1256
+                      srcset=""
1257
+                    />
1258
+                  </td>
1259
+                  <td style="text-align: left; padding-left: 5px" width="340">
1260
+                    <span v-if="advice.parent_id > 0">---></span>
1261
+                    <span>{{ advice.advice_name }}</span>
1262
+                    <span v-if="advice && advice.advice_desc"
1263
+                      >({{ advice.advice_desc
1264
+                      }}{{ advice.drug_spec_unit }})</span
1265
+                    >
1266
+                    <span v-if="advice.prescribing_number"
1267
+                      >&nbsp;&nbsp; {{ advice.prescribing_number
1268
+                      }}{{ advice.prescribing_number_unit }}</span
1269
+                    >
1270
+                    <span v-if="advice.single_dose != 0"
1271
+                      >{{ advice.single_dose
1272
+                      }}{{ advice.single_dose_unit }}</span
1273
+                    >
1274
+
1275
+                    <span v-if="advice.parent_id == 0">{{
1276
+                      advice.delivery_way
1277
+                    }}</span>
1278
+                    <span v-if="advice.parent_id == 0">{{
1279
+                      advice.execution_frequency
1280
+                    }}</span>
1281
+                    <span>{{ advice.remark }}</span>
1282
+                  </td>
1283
+                  <td
1284
+                    style="line-height: 10px"
1285
+                    width="70"
1286
+                  >
1287
+                    <span v-if="advice.execution_time">{{
1288
+                      getTime(advice.execution_time, "{h}:{i}")
1289
+                    }}</span>
1290
+                  </td>
1291
+              
1292
+                  <td style="line-height: 10px" width="90">
1293
+                    <span v-if="setAdminUserES(advice.execution_staff) == ''">{{
1294
+                      getAdminUser(advice.execution_staff)
1295
+                    }}</span>
1296
+                    <img
1297
+                      style="height: 30px"
1298
+                      :src="setAdminUserES(advice.execution_staff)"
1299
+                      alt=""
1300
+                      srcset=""
1301
+                    />
1302
+                  </td>
1303
+                  <td style="line-height: 30px" width="90">
1304
+                    <span v-if="setAdminUserES(advice.checker) == ''">{{
1305
+                      getAdminUser(advice.checker)
1306
+                    }}</span>
1307
+                    <img
1308
+                      style="height: 30px"
1309
+                      :src="setAdminUserES(advice.checker)"
1310
+                      alt=""
1311
+                      srcset=""
1312
+                      v-else
1313
+                    />
1314
+                  </td>
1315
+
1316
+                  <td v-if="advice_index === 0" width="145">透前体重:</td>
1317
+                  <td v-if="advice_index === 0" width="60">
1318
+                    {{
1319
+                      patientInfo.total_dialysis +
1320
+                        patientInfo.user_sys_before_count >
1321
+                      0
1322
+                        ? predialysis.weight_before
1323
+                        : "/"
1324
+                    }}kg
1325
+                  </td>
1326
+                  <td v-if="advice_index === 1" width="145">体重增加量:</td>
1327
+                  <td v-if="advice_index === 1" width="60">
1328
+                    {{
1329
+                      assessmentafter.weight_after == 0 ||
1330
+                      predialysis.weight_before == 0
1331
+                        ? 0
1332
+                        : (
1333
+                            predialysis.weight_before -
1334
+                            assessmentafter.weight_after
1335
+                          ).toFixed(2)
1336
+                    }}kg
1337
+                  </td>
1338
+                  <td v-if="advice_index === 2" width="145">干体重(DW):</td>
1339
+                  <td v-if="advice_index === 2" width="60">
1340
+                    {{
1341
+                      patientInfo.total_dialysis +
1342
+                        patientInfo.user_sys_before_count >
1343
+                      0
1344
+                        ? predialysis.dry_weight
1345
+                        : "/"
1346
+                    }}kg
1347
+                  </td>
1348
+                  <td v-if="advice_index === 3" width="145">较干体重增加量:</td>
1349
+                  <td v-if="advice_index === 3" width="60">
1350
+                    {{
1351
+                      patientInfo.total_dialysis +
1352
+                        patientInfo.user_sys_before_count >
1353
+                        0 && afterdialysis.weight_after != 0
1354
+                        ? (
1355
+                            afterdialysis.weight_after - predialysis.dry_weight
1356
+                          ).toFixed(2)
1357
+                        : 0
1358
+                    }}kg
1359
+                  </td>
1360
+                  <td v-if="advice_index === 4" width="145">机器显示脱水量:</td>
1361
+                  <td v-if="advice_index === 4" width="60">
1362
+                    {{
1363
+                      patientInfo.total_dialysis +
1364
+                        patientInfo.user_sys_before_count >
1365
+                      0
1366
+                        ? afterdialysis.actual_ultrafiltration
1367
+                        : "/"
1368
+                    }}ml
1369
+                  </td>
1370
+                  <td v-if="advice_index === 5" width="145">透后体重:</td>
1371
+                  <td v-if="advice_index === 5" width="60">
1372
+                    {{
1373
+                      patientInfo.total_dialysis +
1374
+                        patientInfo.user_sys_before_count >
1375
+                      0
1376
+                        ? afterdialysis.weight_after
1377
+                        : "/"
1378
+                    }}kg
1379
+                  </td>
1380
+                  <td v-if="advice_index === 6" width="145">
1381
+                    本次透析体重下降量:
1382
+                  </td>
1383
+                  <td v-if="advice_index === 6" width="60">
1384
+                    {{
1385
+                      afterdialysis.weight_after == 0 ||
1386
+                      predialysis.weight_before == 0
1387
+                        ? 0
1388
+                        : (
1389
+                            predialysis.weight_before -
1390
+                            afterdialysis.weight_after
1391
+                          ).toFixed(2)
1392
+                    }}kg
1393
+                  </td>
1394
+                  <td v-if="advice_index > 6" width="145"></td>
1395
+                  <td v-if="advice_index > 6" width="60"></td>
1396
+                </tr>
1397
+              </table>
1398
+            </td>
1399
+          </tr>
1400
+          </div>
1401
+
1402
+         
1403
+        </tbody>
1404
+      </table>
1405
+    </div>
1406
+     
1407
+
1408
+   
1409
+  </div>
1146
   </div>
1410
   </div>
1147
 </template>
1411
 </template>
1148
 
1412
 

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


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

2862
                       </div>
2862
                       </div>
2863
                     </div>
2863
                     </div>
2864
                     <div class="inline_block" style="flex: 1">
2864
                     <div class="inline_block" style="flex: 1">
2865
-                      下机护士:
2865
+                       下机护士:
2866
                       <div
2866
                       <div
2867
                         class="under_line"
2867
                         class="under_line"
2868
                         style="width: 80px; text-align: center"
2868
                         style="width: 80px; text-align: center"

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

400
                 置换方式:
400
                 置换方式:
401
                 <label-box
401
                 <label-box
402
                   :isChecked="
402
                   :isChecked="
403
-                    prescription.displace_liqui_part == 1 ? true : false
403
+                    prescription.displace_liqui_part == 1 && prescription.mode_id != 2 && prescription.mode_id != 5 && prescription.mode_id != 12? true : false
404
                   "
404
                   "
405
                   showValue="前"
405
                   showValue="前"
406
                 ></label-box
406
                 ></label-box
407
                 >&nbsp;
407
                 >&nbsp;
408
                 <label-box
408
                 <label-box
409
                   :isChecked="
409
                   :isChecked="
410
-                    prescription.displace_liqui_part == 2 ? true : false
410
+                    prescription.displace_liqui_part == 2 && prescription.mode_id != 2 && prescription.mode_id != 5 && prescription.mode_id != 12? true : false
411
                   "
411
                   "
412
                   showValue="后"
412
                   showValue="后"
413
                 ></label-box>
413
                 ></label-box>

+ 3 - 1
src/xt_pages/management/index.vue View File

126
           <template slot-scope="scope">{{ scope.row.machine_status }}</template>
126
           <template slot-scope="scope">{{ scope.row.machine_status }}</template>
127
         </el-table-column>
127
         </el-table-column>
128
 
128
 
129
-        <el-table-column label="使用次数" align="center">
129
+        <el-table-column label="使用次数" align="center" v-if="org_id!=0&&org_id!=10440">
130
           <template slot-scope="scope">{{getTotal(scope.row.bed_id,scope.row.user_total) }}</template>
130
           <template slot-scope="scope">{{getTotal(scope.row.bed_id,scope.row.user_total) }}</template>
131
         </el-table-column>
131
         </el-table-column>
132
 
132
 
214
       },
214
       },
215
       total: 0,
215
       total: 0,
216
       count:[],
216
       count:[],
217
+      org_id:0,
217
     };
218
     };
218
   },
219
   },
219
   methods: {
220
   methods: {
403
     this.getAllSubregion();
404
     this.getAllSubregion();
404
     this.getAllMachineInfo();
405
     this.getAllMachineInfo();
405
     this.getUserMachTotalCount()
406
     this.getUserMachTotalCount()
407
+    this.org_id = this.$store.getters.xt_user.template_info.org_id
406
   }
408
   }
407
 };
409
 };
408
 </script>
410
 </script>

+ 50 - 13
src/xt_pages/user/coursePrint.vue View File

61
               </div>
61
               </div>
62
             </div>
62
             </div>
63
 
63
 
64
-            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right" v-if="org_id ==9671 || org_id == 10440">
65
-             医生签名:{{getName(item.recorder)}}
64
+            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right" v-if="org_id == 0||org_id ==9671 || org_id == 10440">
65
+             医生签名:
66
+             <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
67
+                  {{getName(item.recorder)}}
68
+             </span>
69
+              <span v-else>
70
+                <img style="height:30px;" :src="setAdminUserES(item.recorder?item.recorder:item.recorder)" alt="" srcset="">
71
+              </span>
66
             </div>
72
             </div>
67
           </div>
73
           </div>
68
 
74
 
98
         patient: {},
104
         patient: {},
99
         org_id:0,
105
         org_id:0,
100
         adminUserList:[],
106
         adminUserList:[],
107
+        operators:[],
108
+        operatorMaps: {},
101
       }
109
       }
102
     },
110
     },
103
     created() {
111
     created() {
122
           this.record = resp.data.record
130
           this.record = resp.data.record
123
 
131
 
124
           this.patient = resp.data.patient
132
           this.patient = resp.data.patient
125
-          console.log("GetCoursePrintData",resp.data.adminUser)
133
+         
126
           this.adminUserList = resp.data.adminUser
134
           this.adminUserList = resp.data.adminUser
135
+          this.operators = resp.data.operators
136
+           console.log("GetCoursePrintData",this.operators)
137
+           if (this.operators.length > 0) {
138
+            var operatorsLen = this.operators.length
139
+            for (var index = 0; index < operatorsLen; index++) {
140
+              this.$set(
141
+                this.operatorMaps,
142
+                this.operators[index].creator,
143
+                this.operators[index]
144
+              )
145
+            }
146
+          }
147
+          console.log("operatorMaps",this.operatorMaps)
127
           this.loading = false
148
           this.loading = false
128
         } else {
149
         } else {
129
           this.loading = false
150
           this.loading = false
135
     },
156
     },
136
     methods: {
157
     methods: {
137
       printAction: function() {
158
       printAction: function() {
138
-        const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
139
-        printJS({
140
-          printable: 'print_content',
141
-          type: 'html',
142
-          documentTitle: '  ',
143
-          style: style,
144
-          scanStyles: false
145
-        })
146
-      }, getTime(value, temp) {
159
+      const style = '@media print {.printP div{margin-bottom:5px;} .option_panel { margin: 0 5px 0 0; } .option_panel .check_box_panel { white-space: nowrap; outline: none; display: inline-block; line-height: 1; position: relative; vertical-align: middle; } .dialysis-print-order .order-title{margin:auto;font-weight:600;text-align:center;font-size:22px;padding:10px}.option_panel .check_box_panel .check_box { display: inline-block; position: relative; border: 1px solid #000; box-sizing: border-box; width: 14px; height: 12px; background-color: #fff; } .check_box_panel .did_checked::after { content: "√"; font-size: 15px; } .print_page_main_content {background-color: white;width: 960px;margin: 0 auto 50px;padding: 0 0 0 0; page-break-after: always;}.print_page_main_content .order-yy-name {margin: auto;text-align: center;font-size: 20px;letter-spacing: 5px;}.print_page_main_content .order_title {text-align: center;font-size: 23px; line-height: 50px;font-weight: 500;} .row {font-size: 20px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line_two {display: inline-block;border-bottom: 1px solid #999;text-align: left;white-space: nowrap;width: 50%;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}.flex {display: -webkit-box;display: -moz-box; display: -ms-flexbox; display: -webkit-flex;display: flex;align-items: center;-webkit-align-items: center;box-align: center;-moz-box-align: center;-webkit-box-align: center;text-align: center;-webkit-justify-content: space-between;justify-content: space-between;-moz-box-pack: space-between;-webkit--moz-box-pack: space-between;box-pack: space-between;}.print_page_main_content .proj_table {width: 100%;border: 1px solid;border-collapse: collapse;padding: 2px;}.print_page_main_content .proj_table tbody tr td {border: 1px solid;font-size: 16px;padding: 5px 8px;line-height: 30px;}.print_page_main_content .proj_table .inside_table {width: 100%;border: hidden; border-collapse: collapse;}.print_page_main_content .proj_table .inside_table tr td {border: 1px solid; text-align: center;font-size: 14px;padding: 6px 5px;line-height: 16px;}.print-table-no {width: 100%;text-align: center;border-collapse: collapse;font-size: 14px;}.es-img {height: 30px;}.advice-name {text-align: left !important;line-height: 16px !important;}.advice-children {display: flex;}}.margin-bottom-300 {margin-bottom:450px;}.margin-bottom-600 {margin-bottom:600px;}.margin-bottom-900 {margin-bottom:1000px;}.print-yema{ position: absolute;top: 920px;left: 50%;} .print-yema2{ position: absolute;top: 400px;left: 50%;}.print-yema3{position: absolute;top: 1230px;left: 50%;}.print-yema4{position: absolute;top:1050px;left: 50%;}.print-yema5{position: absolute;top:1370px;left: 50%;}.check_box{width:15px !important;height:15px !important;}.did_checke::after {font-size: 8px;margin-left: 2px;margin-top: 12px !important;position: absolute;}'
160
+      printJS({
161
+        printable: 'print_content',
162
+        type: 'html',
163
+        documentTitle: '  ',
164
+        style: style,
165
+        scanStyles: false
166
+      })
167
+    },
168
+      getTime(value, temp) {
147
         if (value != undefined) {
169
         if (value != undefined) {
148
           return uParseTime(value, temp)
170
           return uParseTime(value, temp)
149
         }
171
         }
157
           }
179
           }
158
         }
180
         }
159
         return name
181
         return name
160
-      }
182
+      },
183
+       setAdminUserES(id) {
184
+        console.log("id2323233232232333322==-",id)
185
+        console.log("operatorMaps----",this.operatorMaps)
186
+        if (id === 0) {
187
+          return ''
188
+        }
189
+        if (id in this.operatorMaps) {
190
+           console.log("----------",this.operatorMaps[id].url)
191
+          return this.operatorMaps[id].url
192
+         
193
+        } else {
194
+          return ''
195
+        }
196
+        
197
+       },
161
     }
198
     }
162
   }
199
   }
163
 </script>
200
 </script>

+ 1 - 1
src/xt_pages/user/firstDiseasePrint.vue View File

3
 
3
 
4
     <div class="position">
4
     <div class="position">
5
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
       <bread-crumb :crumbs='crumbs'></bread-crumb>
6
-      <el-button :loading="loading" size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
6
+      <el-button size="small" icon="el-icon-printer" @click="printAction" type="primary">打印
7
       </el-button>
7
       </el-button>
8
     </div>
8
     </div>
9
     <div class="app-container">
9
     <div class="app-container">