Quellcode durchsuchen

Merge branch 'master' of http://git.shengws.com/csx/Vue_New

XMLWAN vor 4 Jahren
Ursprung
Commit
19faf5a6ad

+ 25 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Datei anzeigen

@@ -150,6 +150,16 @@
150 150
           >打印</el-button
151 151
         >
152 152
       </template>
153
+      <template v-if="org_template_info.template_id == 13">
154
+        <el-button
155
+          :loading="loading"
156
+          size="small"
157
+          icon="el-icon-printer"
158
+          @click="printThisPage"
159
+          type="primary"
160
+          >打印</el-button
161
+        >
162
+      </template>
153 163
     </div>
154 164
     <div class="app-container ">
155 165
       <!--<div class="order-print-btn"-->
@@ -231,6 +241,10 @@
231 241
         v-bind:childResponse="childResponse"
232 242
         v-if="org_template_info.template_id == 12"
233 243
       ></DialysisPrintOrderTwelve>
244
+      <DialysisPrintOrderThirteen
245
+        v-bind:childResponse="childResponse"
246
+        v-if="org_template_info.template_id == 13"
247
+      ></DialysisPrintOrderThirteen>
234 248
     </div>
235 249
   </div>
236 250
 </template>
@@ -254,10 +268,12 @@ import print from "print-js";
254 268
 import DialysisPrintOrderTen from "./template/DialysisPrintOrderTen";
255 269
 import DialysisPrintOrderEleven from "./template/DialysisPrintOrderEleven";
256 270
 import DialysisPrintOrderTwelve from "./template/DialysisPrintOrderTwelve";
271
+import DialysisPrintOrderThirteen from "./template/DialysisPrintOrderThirteen";
257 272
 
258 273
 export default {
259 274
   name: "dialysisPrintOrder",
260 275
   components: {
276
+    DialysisPrintOrderThirteen,
261 277
     DialysisPrintOrderTwelve,
262 278
     DialysisPrintOrderEleven,
263 279
     DialysisPrintOrderTen,
@@ -399,7 +415,8 @@ export default {
399 415
         '@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;}';
400 416
       const style2 =
401 417
         '@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: 1050px;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;}.table-box1 {border: 1px solid #000;width: 100%;line-height: 30px;font-size: 14px;border-collapse: collapse;}.table-box1 tr {border-bottom: 1px solid #000;}';
402
-
418
+      const style3 =
419
+        '@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;}.row {font-size: 14px;line-height: 20px;padding: 5px 0;}.inline_block { display: inline-block;}.under_line {display: inline-block;border-bottom: 1px solid #999;text-align: center;white-space: nowrap; width: 50%;}';
403 420
       // const style3 =
404 421
       //   '@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: 16px;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: 16px;padding: 5px 5px;line-height: 18px;}.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:950px;}.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;}';
405 422
       //
@@ -484,6 +501,13 @@ export default {
484 501
           style: style,
485 502
           scanStyles: false
486 503
         });
504
+      } else if (this.org_template_info.template_id == 13) {
505
+        printJS({
506
+          printable: "dialysis-print-box-1",
507
+          type: "html",
508
+          style: style3,
509
+          scanStyles: false
510
+        });
487 511
       }
488 512
     },
489 513
     printThisOnePage() {

Datei-Diff unterdrückt, da er zu groß ist
+ 1397 - 0
src/xt_pages/dialysis/template/DialysisPrintOrderThirteen.vue


+ 0 - 26
src/xt_pages/qcd/indicatorControlAnalysis/bloodPressure.vue Datei anzeigen

@@ -13,19 +13,6 @@
13 13
               <el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
14 14
             </el-form-item>
15 15
           </el-form>
16
-          <el-select
17
-            v-model="value"
18
-            placeholder="请选择"
19
-            @change="chooseType"
20
-            style="width:110px;margin-right:10px"
21
-          >
22
-            <el-option
23
-              v-for="item in options"
24
-              :key="item.value"
25
-              :label="item.label"
26
-              :value="item.value"
27
-            ></el-option>
28
-          </el-select>
29 16
           <el-select v-model="value" placeholder="请选择" style="width:110px;margin-right:10px">
30 17
             <el-option
31 18
               v-for="item in options"
@@ -34,19 +21,6 @@
34 21
               :value="item.value"
35 22
             ></el-option>
36 23
           </el-select>
37
-          <el-select
38
-            v-model="value"
39
-            placeholder="请选择"
40
-            @change="chooseType"
41
-            style="width:110px;margin-right:10px"
42
-          >
43
-            <el-option
44
-              v-for="item in options"
45
-              :key="item.value"
46
-              :label="item.label"
47
-              :value="item.value"
48
-            ></el-option>
49
-          </el-select>
50 24
           <label class="title">
51 25
             <span class="name">日期查询</span> :
52 26
           </label>

+ 0 - 34
src/xt_pages/qcd/indicatorControlAnalysis/monitor.vue Datei anzeigen

@@ -21,40 +21,6 @@
21 21
               :value="item.value"
22 22
             ></el-option>
23 23
           </el-select>
24
-          <el-select
25
-            v-model="value"
26
-            placeholder="请选择"
27
-            @change="chooseType"
28
-            style="width:110px;margin-right:10px"
29
-          >
30
-            <el-option
31
-              v-for="item in options"
32
-              :key="item.value"
33
-              :label="item.label"
34
-              :value="item.value"
35
-            ></el-option>
36
-          </el-select>
37
-          <el-select v-model="value" placeholder="请选择" style="width:110px;margin-right:10px">
38
-            <el-option
39
-              v-for="item in options"
40
-              :key="item.value"
41
-              :label="item.label"
42
-              :value="item.value"
43
-            ></el-option>
44
-          </el-select>
45
-          <el-select
46
-            v-model="value"
47
-            placeholder="请选择"
48
-            @change="chooseType"
49
-            style="width:110px;margin-right:10px"
50
-          >
51
-            <el-option
52
-              v-for="item in options"
53
-              :key="item.value"
54
-              :label="item.label"
55
-              :value="item.value"
56
-            ></el-option>
57
-          </el-select>
58 24
           <label class="title">
59 25
             <span class="name">日期查询</span> :
60 26
           </label>

+ 0 - 34
src/xt_pages/qcd/indicatorControlAnalysis/process.vue Datei anzeigen

@@ -21,40 +21,6 @@
21 21
               :value="item.value"
22 22
             ></el-option>
23 23
           </el-select>
24
-          <el-select
25
-            v-model="value"
26
-            placeholder="请选择"
27
-            @change="chooseType"
28
-            style="width:110px;margin-right:10px"
29
-          >
30
-            <el-option
31
-              v-for="item in options"
32
-              :key="item.value"
33
-              :label="item.label"
34
-              :value="item.value"
35
-            ></el-option>
36
-          </el-select>
37
-          <el-select v-model="value" placeholder="请选择" style="width:110px;margin-right:10px">
38
-            <el-option
39
-              v-for="item in options"
40
-              :key="item.value"
41
-              :label="item.label"
42
-              :value="item.value"
43
-            ></el-option>
44
-          </el-select>
45
-          <el-select
46
-            v-model="value"
47
-            placeholder="请选择"
48
-            @change="chooseType"
49
-            style="width:110px;margin-right:10px"
50
-          >
51
-            <el-option
52
-              v-for="item in options"
53
-              :key="item.value"
54
-              :label="item.label"
55
-              :value="item.value"
56
-            ></el-option>
57
-          </el-select>
58 24
           <label class="title">
59 25
             <span class="name">日期查询</span> :
60 26
           </label>

+ 0 - 26
src/xt_pages/qcd/indicatorControlAnalysis/weight.vue Datei anzeigen

@@ -13,19 +13,6 @@
13 13
               <el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
14 14
             </el-form-item>
15 15
           </el-form>
16
-          <el-select
17
-            v-model="value"
18
-            placeholder="请选择"
19
-            @change="chooseType"
20
-            style="width:110px;margin-right:10px"
21
-          >
22
-            <el-option
23
-              v-for="item in options"
24
-              :key="item.value"
25
-              :label="item.label"
26
-              :value="item.value"
27
-            ></el-option>
28
-          </el-select>
29 16
           <el-select v-model="value" placeholder="请选择" style="width:110px;margin-right:10px">
30 17
             <el-option
31 18
               v-for="item in options"
@@ -34,19 +21,6 @@
34 21
               :value="item.value"
35 22
             ></el-option>
36 23
           </el-select>
37
-          <el-select
38
-            v-model="value"
39
-            placeholder="请选择"
40
-            @change="chooseType"
41
-            style="width:110px;margin-right:10px"
42
-          >
43
-            <el-option
44
-              v-for="item in options"
45
-              :key="item.value"
46
-              :label="item.label"
47
-              :value="item.value"
48
-            ></el-option>
49
-          </el-select>
50 24
           <label class="title">
51 25
             <span class="name">日期查询</span> :
52 26
           </label>

+ 0 - 8
src/xt_pages/qcd/patientControlAnalysis.vue Datei anzeigen

@@ -20,14 +20,6 @@
20 20
               :value="item.value"
21 21
             ></el-option>
22 22
           </el-select>
23
-          <el-select v-model="value" placeholder="请选择" style="margin-right:20px;width:100px">
24
-            <el-option
25
-              v-for="item in options"
26
-              :key="item.value"
27
-              :label="item.label"
28
-              :value="item.value"
29
-            ></el-option>
30
-          </el-select>
31 23
           <label class="title">
32 24
             <span class="name">日期查询</span> :
33 25
           </label>

+ 0 - 13
src/xt_pages/qcd/treatmentControlAnalysis/components/CheckAll.vue Datei anzeigen

@@ -15,19 +15,6 @@
15 15
           :value="item.value"
16 16
         ></el-option>
17 17
       </el-select>
18
-      <el-select
19
-        v-model="value"
20
-        placeholder="请选择"
21
-        @change="chooseType"
22
-        style="width:120px;margin-right:20px"
23
-      >
24
-        <el-option
25
-          v-for="item in options"
26
-          :key="item.value"
27
-          :label="item.label"
28
-          :value="item.value"
29
-        ></el-option>
30
-      </el-select>
31 18
       <label class="title">
32 19
         <span class="name">日期查询</span> :
33 20
       </label>

+ 0 - 13
src/xt_pages/qcd/treatmentControlAnalysis/components/CheckPersonal.vue Datei anzeigen

@@ -15,19 +15,6 @@
15 15
           :value="item.value"
16 16
         ></el-option>
17 17
       </el-select>
18
-      <el-select
19
-        v-model="value"
20
-        placeholder="请选择"
21
-        @change="chooseType"
22
-        style="width:120px;margin-right:20px"
23
-      >
24
-        <el-option
25
-          v-for="item in options"
26
-          :key="item.value"
27
-          :label="item.label"
28
-          :value="item.value"
29
-        ></el-option>
30
-      </el-select>
31 18
       <label class="title">
32 19
         <span class="name">日期查询</span> :
33 20
       </label>

+ 0 - 8
src/xt_pages/qcd/treatmentControlAnalysis/components/TimeAll.vue Datei anzeigen

@@ -1,14 +1,6 @@
1 1
 <template>
2 2
   <div class="page_timeAll">
3 3
     <div class="cell clearfix">
4
-      <el-select v-model="value" placeholder="请选择" style="width:120px;margin-right:20px">
5
-        <el-option
6
-          v-for="item in options"
7
-          :key="item.value"
8
-          :label="item.label"
9
-          :value="item.value"
10
-        ></el-option>
11
-      </el-select>
12 4
       <el-select
13 5
         v-model="value"
14 6
         placeholder="请选择"

+ 0 - 13
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue Datei anzeigen

@@ -15,19 +15,6 @@
15 15
           :value="item.value"
16 16
         ></el-option>
17 17
       </el-select>
18
-      <el-select
19
-        v-model="value"
20
-        placeholder="请选择"
21
-        @change="chooseType"
22
-        style="width:120px;margin-right:20px"
23
-      >
24
-        <el-option
25
-          v-for="item in options"
26
-          :key="item.value"
27
-          :label="item.label"
28
-          :value="item.value"
29
-        ></el-option>
30
-      </el-select>
31 18
       <label class="title">
32 19
         <span class="name">日期查询</span> :
33 20
       </label>