style:预览
Showing
3 changed files
with
22 additions
and
11 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-18 16:08:26 | 4 | * @LastEditTime: 2023-12-19 09:40:39 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules"> | 7 | <el-form ref="ruleForm" :model="ruleForm" label-width="100px" :rules="rules"> |
... | @@ -169,7 +169,7 @@ | ... | @@ -169,7 +169,7 @@ |
169 | that.loadStatus = '1'; | 169 | that.loadStatus = '1'; |
170 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); | 170 | let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM')); |
171 | if (['zsdy', 'zmdy', 'zsdy1'].includes(that.ruleForm.tmpno)) { | 171 | if (['zsdy', 'zmdy', 'zsdy1'].includes(that.ruleForm.tmpno)) { |
172 | LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4 IS) 旋转"); // 设置纸张大小为 B4 | 172 | // LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4 (JIS) 旋转"); // 设置纸张大小为 B4 |
173 | LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 | 173 | LODOP.SET_PRINT_MODE("RESELECT_ORIENT", true); // 手动设置方向 |
174 | } else { | 174 | } else { |
175 | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); // 设置纸张大小为 A4 | 175 | LODOP.SET_PRINT_PAGESIZE(1, 0, 0, "A4"); // 设置纸张大小为 A4 | ... | ... |
... | @@ -28,7 +28,7 @@ | ... | @@ -28,7 +28,7 @@ |
28 | <el-tab-pane label="第二页" name="title2"></el-tab-pane> | 28 | <el-tab-pane label="第二页" name="title2"></el-tab-pane> |
29 | </el-tabs> | 29 | </el-tabs> |
30 | </el-col> | 30 | </el-col> |
31 | <el-col :span="2" v-if="this.formData.ysxlh"> | 31 | <el-col :span="2" v-if="this.formData.ysxlh" style="float:right"> |
32 | <el-button type="primary" @click="handleZF" v-if="disabled">作废</el-button> | 32 | <el-button type="primary" @click="handleZF" v-if="disabled">作废</el-button> |
33 | </el-col> | 33 | </el-col> |
34 | </el-row> | 34 | </el-row> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-12-19 08:54:37 | 4 | * @LastEditTime: 2023-12-19 09:17:03 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> | 7 | <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="text-align: center;"> |
8 | <!-- 表单部分 --> | 8 | <!-- 表单部分 --> |
9 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1" style="margin-top:-23px"> | 9 | <div style="margin-top:-20px"> |
10 | <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1"> | ||
10 | <el-tab-pane :label="item.qlr + (item.bdcqzh !== null ? '(' + item.bdcqzh + ')' : '')" :name="item.bsmBdcqz" | 11 | <el-tab-pane :label="item.qlr + (item.bdcqzh !== null ? '(' + item.bdcqzh + ')' : '')" :name="item.bsmBdcqz" |
11 | v-for="(item, index) in headTabBdcqz" :key="index"> | 12 | v-for="(item, index) in headTabBdcqz" :key="index"> |
12 | </el-tab-pane> | 13 | </el-tab-pane> |
13 | </el-tabs> | 14 | </el-tabs> |
14 | <el-tabs v-model="activeTitle" style="margin-top:-20px"> | 15 | </div> |
16 | <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty> | ||
17 | <div style="height:85vh"> | ||
18 | <div v-show="this.bdcqz.bdcqzlx==1"> | ||
19 | <el-tabs v-model="activeTitle"> | ||
15 | <el-tab-pane label="第一页" name="title1"></el-tab-pane> | 20 | <el-tab-pane label="第一页" name="title1"></el-tab-pane> |
16 | <el-tab-pane label="第二页" name="title2"></el-tab-pane> | 21 | <el-tab-pane label="第二页" name="title2"></el-tab-pane> |
17 | </el-tabs> | 22 | </el-tabs> |
18 | <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty> | 23 | <div :style="{'width':'1185px','overflow-y': 'auto','height': '670px',}"> |
19 | <div :style="{'width':'1180px','overflow-y': 'auto'}"> | 24 | <canvas ref="zs1" width="1000" v-show="activeTitle=='title1'" height="700"></canvas> |
20 | <canvas ref="zs1" width="1000" v-show="this.bdcqz.bdcqzlx==1 && activeTitle=='title1'" height="700"></canvas> | 25 | <canvas ref="zs" width="1000" v-show="activeTitle=='title2'" height="700"></canvas> |
21 | <canvas ref="zs" width="1000" v-show="this.bdcqz.bdcqzlx==1 && activeTitle=='title2'" height="700"></canvas> | 26 | </div> |
22 | <canvas ref="zm" width="1180" v-show="this.bdcqz.bdcqzlx==2" height="780"></canvas> | 27 | </div> |
28 | <div style="width:1185px;overflow-x: hidden;height: 700px;overflow-y:auto" v-show="this.bdcqz.bdcqzlx==2"> | ||
29 | <canvas ref="zm" width="1180" height="780"></canvas> | ||
30 | </div> | ||
23 | </div> | 31 | </div> |
24 | </div> | 32 | </div> |
25 | </template> | 33 | </template> |
... | @@ -573,6 +581,9 @@ | ... | @@ -573,6 +581,9 @@ |
573 | /deep/.el-form-item--small.el-form-item { | 581 | /deep/.el-form-item--small.el-form-item { |
574 | margin-bottom: 0; | 582 | margin-bottom: 0; |
575 | } | 583 | } |
584 | /deep/.mask-content { | ||
585 | padding-top: 10px !important; | ||
586 | } | ||
576 | .imgClass { | 587 | .imgClass { |
577 | display: inline-block; | 588 | display: inline-block; |
578 | height: auto; | 589 | height: auto; | ... | ... |
-
Please register or sign in to post a comment