csx 6 年前
父节点
当前提交
881a625a62
共有 1 个文件被更改,包括 3 次插入21 次删除
  1. 3 21
      src/pages/main/Print.vue

+ 3 - 21
src/pages/main/Print.vue 查看文件

@@ -9,23 +9,7 @@
9 9
 
10 10
     <!--<el-button  style="margin-top: 10px;margin-right:100px;float: right" type="primary" icon="el-icon-printer" @click="printThisPage">打印</el-button>-->
11 11
 
12
-    <side-bar :active_index="0" v-if="isShow == true"></side-bar>
13
-    <div class="mainContent">
14 12
 
15
-      <div class="navigation" v-if="isShow == true">
16
-        <div class="goBack">
17
-          <span class="back" @click="backAction()"><span class="iconfont">&#xe720;</span>返回</span>
18
-
19
-        </div>
20
-
21
-        <div class="print" style="float: right">
22
-          <el-button size="mini" type="primary" icon="el-icon-printer" @click="printThisPage">打印</el-button>
23
-        </div>
24
-
25
-      </div>
26
-
27
-
28
-      <div ref='cvs' id="dialysis-print-box" style="padding-top: 60px">
29 13
         <div class="dialysis-print-order">
30 14
           <div class="order-yy-name">{{orgname}}</div>
31 15
           <div class="order-title">血液净化治疗记录单</div>
@@ -1756,11 +1740,8 @@
1756 1740
           </table>
1757 1741
         </div>
1758 1742
 
1759
-
1760 1743
       </div>
1761 1744
 
1762
-    </div>
1763
-  </div>
1764 1745
 </template>
1765 1746
 
1766 1747
 
@@ -1863,6 +1844,7 @@
1863 1844
       };
1864 1845
     },
1865 1846
     methods: {
1847
+      jumpPrint:function(){window.control.gologin("print")},
1866 1848
       getUser() {
1867 1849
         fetchAllAdminUsers().then(response => {
1868 1850
           if (response.data.state == 1) {
@@ -2137,7 +2119,7 @@
2137 2119
             return false;
2138 2120
           }
2139 2121
 
2140
-          console.log(this.advices);
2122
+          this.jumpPrint()
2141 2123
         });
2142 2124
       },
2143 2125
 
@@ -2265,7 +2247,7 @@
2265 2247
 
2266 2248
 <style style="stylesheet/scss" lang="scss" scoped>
2267 2249
   .dialysis-print-order {
2268
-  width: 960px;
2250
+  width: 100%;
2269 2251
   margin: 0 auto;
2270 2252
   .order-yy-name {
2271 2253
   margin:10px auto 0 auto;