Bladeren bron

4月6日杨青

杨青 2 jaren geleden
bovenliggende
commit
d5112582da

+ 3 - 2
src/xt_pages/device/main.vue Bestand weergeven

@@ -7,11 +7,12 @@
7 7
                  @click="add_device_action">新增
8 8
       </el-button>
9 9
 
10
-
11 10
     </div>
12 11
     <div class="app-container">
13 12
       <device-list ref="device_list" :zones="zones" :groups="groups" :device_numbers="device_numbers"
14
-                   @did_select_device="did_select_device"></device-list>
13
+                   @did_select_device="did_select_device">
14
+                  
15
+      </device-list>
15 16
       <!--<el-col :span="17">-->
16 17
       <!--<device-detail ref="device_detail" :device_numbers="device_numbers" @did_update_device="did_update_device"></device-detail>-->
17 18
       <!--</el-col>-->

+ 1 - 1
src/xt_pages/management/components/UserForm.vue Bestand weergeven

@@ -106,7 +106,7 @@
106 106
         <el-table-column label="运行" align="center" min-width="110px">
107 107
           <template slot-scope="scope">{{ scope.row.move }}</template>
108 108
         </el-table-column>
109
-        <el-table-column label="机表消毒" align="center" min-width="110px">
109
+        <el-table-column label="机表(床单元、床旁桌)消毒" align="center" min-width="110px">
110 110
           <el-table-column label="消毒方式" align="center" min-width="110px">
111 111
             <template slot-scope="scope">{{
112 112
               scope.row.disinfect_type

+ 4 - 3
src/xt_pages/management/home.vue Bestand weergeven

@@ -1108,7 +1108,7 @@
1108 1108
                                 </el-row>
1109 1109
                                 <el-row>
1110 1110
                                   <el-col :span="3">
1111
-                                      <el-form-item label="①机表"></el-form-item>
1111
+                                      <el-form-item label="①机表(床单位、床旁桌)"></el-form-item>
1112 1112
                                   </el-col>
1113 1113
                                   <el-col :span="10">
1114 1114
                                      <el-form-item label="消毒方式:" required prop="disinfect_type">
@@ -1347,7 +1347,7 @@
1347 1347
                                   </div>
1348 1348
                                 </el-row>
1349 1349
                              </el-form>
1350
-
1350
+                           
1351 1351
                           </el-tab-pane>
1352 1352
                            <el-tab-pane label="使用登记列表" name="second">
1353 1353
                              <user-form ref="userForm" :userdata="userdata"></user-form>
@@ -2655,6 +2655,7 @@
2655 2655
   import {saveOxygenates,saveHardWater,saveWater,saveDevicePH} from '@/api/device'
2656 2656
 const cityOptions = ['HD', 'HDF', 'HD+HP', 'HP', 'HF', 'SCUF', 'IUF', 'HFHD', 'HFHD+HP', 'PHF', 'HFR', 'HDF+HP', 'CRRT', '腹水回输']
2657 2657
 const moment = require('moment')
2658
+
2658 2659
 export default {
2659 2660
     name: 'home',
2660 2661
     components: {
@@ -2665,7 +2666,7 @@ export default {
2665 2666
       UserForm,
2666 2667
       QualityForm,
2667 2668
       RepairForm,
2668
-      RemanderForm
2669
+      RemanderForm,
2669 2670
     },
2670 2671
     data() {
2671 2672
       return {

+ 9 - 14
src/xt_pages/user/firstDiseasePrint.vue Bestand weergeven

@@ -8,10 +8,8 @@
8 8
     </div>
9 9
     <div class="app-container">
10 10
       <div id="print_content">
11
-        <div class="print_page_main_content">
11
+        <div class="print_page_main_content" style="height: 100%;">
12 12
            <div class="order-yy-name"></div>
13
-          <!-- <div class="order_title" style="padding-top:12px;text-align:center;">首次病程记录</div>
14
-        -->
15 13
           <h1 style="text-align:center;">首次病程记录</h1>
16 14
           <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;">
17 15
             <div class="inline_block;">
@@ -45,29 +43,25 @@
45 43
 
46 44
              <div class="inline_block" style="width:100%;">
47 45
               <span style="font-size:20px">初步诊断:</span>
48
-              <div v-html="hosDetail.tentative_diagnosis" class="printP" style="text-indent:20px">
49
-
46
+              <div v-html="hosDetail.tentative_diagnosis" class="printP" style="text-indent:20px;">
50 47
               </div>
51 48
              </div>
52 49
 
53 50
              <div class="inline_block" style="width:100%;">
54 51
               <span style="font-size:20px"> 诊断依据:</span>
55
-              <div v-html="hosDetail.diagnostic_basis" class="printP" style="text-indent:20px">
56
-
52
+              <div v-html="hosDetail.diagnostic_basis" class="printP" style="text-indent:20px; margin-bottom: 0px;">
57 53
               </div>
58 54
              </div>
59 55
 
60 56
              <div class="inline_block" style="width:100%;">
61 57
                 <span  style="font-size:20px">鉴别诊断:</span> 
62 58
                 <div v-html="hosDetail.differential_diagnosis" class="printP" style="text-indent:20px">
63
-
64 59
                 </div>
65 60
               </div>
66 61
 
67 62
               <div class="inline_block" style="width:100%;">
68 63
                  <span style="font-size:20px">诊疗计划:</span>
69 64
                 <div v-html="hosDetail.treatment_plan" class="printP" style="text-indent:20px">
70
-
71 65
                 </div>
72 66
               </div>
73 67
 
@@ -98,6 +92,7 @@ import BreadCrumb from '@/xt_pages/components/bread-crumb'
98 92
 import {getFirstDetail,getPatientInfo} from "@/api/patient"
99 93
 import { getAllDoctorList } from "@/api/device"
100 94
 import { getDataConfig } from "@/utils/data";
95
+import print from "print-js";
101 96
 export default {
102 97
   name: 'dialysisPrintOrderOne',
103 98
   components: {
@@ -135,7 +130,7 @@ export default {
135 130
     printThisPage() {
136 131
         var ptime = Math.round(new Date().getTime() / 1000)
137 132
         this.print_time = uParseTime(ptime, '{y}-{m}-{d} {h}:{i}')
138
-        const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto;letter-spacing:5px} .dialysis-print-order p{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;font-weight: bold;margin: 10px 0;}'
133
+        // const style ='@media print {.dialysis-print-order{width:960px;margin:0 auto;letter-spacing:5px} .dialysis-print-order p{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;font-weight: bold;margin: 10px 0;}'
139 134
         printJS({
140 135
             printable: 'dialysis-print-box',
141 136
             type: 'html',
@@ -233,12 +228,12 @@ export default {
233 228
       return count + 1
234 229
     },
235 230
     printAction: function() {
236
-      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;}'
231
+      // 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;}'
237 232
       printJS({
238 233
         printable: 'print_content',
239 234
         type: 'html',
240 235
         documentTitle: '  ',
241
-        style: style,
236
+        // style: style,
242 237
         scanStyles: false
243 238
       })
244 239
     },
@@ -301,7 +296,7 @@ export default {
301 296
 <style>
302 297
 .borderBox  p{
303 298
   font-weight: bold;
304
-  margin: 10px 0;
299
+  /* margin: 10px 0; */
305 300
 }
306 301
 .dialysis-print-order {
307 302
   width: 960px;
@@ -320,7 +315,7 @@ export default {
320 315
   font-weight: 600;
321 316
   text-align: center;
322 317
   font-size: 22px;
323
-  padding: 10px 20px 20px 20px;
318
+  /* padding: 10px 20px 20px 20px; */
324 319
 }
325 320
 
326 321
 .dialysis-print-order .table-box {

+ 1 - 1
src/xt_pages/workforce/components/editTableData.vue Bestand weergeven

@@ -1691,7 +1691,7 @@
1691 1691
 
1692 1692
 <script>
1693 1693
 import { uParseTime } from "@/utils/tools";
1694
-// import print from "print-js";
1694
+import print from "print-js";
1695 1695
 import draggable from "vuedraggable";
1696 1696
 const moment = require("moment");
1697 1697
 import {

+ 2 - 0
src/xt_pages/workforce/components/scheduleUploadExcel/index.vue Bestand weergeven

@@ -3,6 +3,8 @@
3 3
     <el-dialog
4 4
       :visible.sync="msgTipVisible"
5 5
       width="40%"
6
+      :modal-append-to-body='false'
7
+      :close-on-click-modal="false"
6 8
     >
7 9
       <span>若执行排班导入,系统将会清除当前已有临时排班数据,是否继续导入?</span>
8 10
       <span slot="footer" class="dialog-footer">