ec72973f by renchao@pashanhoo.com

style:证书预览

1 parent e99f44d5
...@@ -34,7 +34,6 @@ ...@@ -34,7 +34,6 @@
34 34
35 <script> 35 <script>
36 import config from "./tableSelect"; 36 import config from "./tableSelect";
37
38 export default { 37 export default {
39 props: { 38 props: {
40 modelValue: null, 39 modelValue: null,
......
1 <!-- 1 <!--
2 * @Description: 2 * @Description:
3 * @Autor: renchao 3 * @Autor: renchao
4 * @LastEditTime: 2023-06-25 10:33:16 4 * @LastEditTime: 2023-06-29 16:31:57
5 --> 5 -->
6 <template> 6 <template>
7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;"> 7 <div class="from-clues loadingtext" v-Loading="loading" element-loading-text="拼命加载中..." style="height:720px;text-align: center;">
8 <!-- 表单部分 --> 8 <!-- 表单部分 -->
9 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1"> 9 <el-tabs v-model="activeName" @tab-click="handleClick" v-if="headTabBdcqz.length >1">
10 <el-tab-pane :label="item.qlr + '(' + item.bdcqzh + ')'" :name="item.bdcqzlx" 10 <el-tab-pane :label="item.qlr + (item.bdcqzh !== null ? '(' + item.bdcqzh + ')' : '')" :name="item.bsmBdcqz"
11 v-for="(item, index) in headTabBdcqz" :key="index"></el-tab-pane> 11 v-for="(item, index) in headTabBdcqz" :key="index">
12 </el-tab-pane>
12 </el-tabs> 13 </el-tabs>
13 <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> 14 <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div>
14 <canvas ref="zs" width="1000" v-show="activeName=='1'" height="700"></canvas> 15 <canvas ref="zs" width="1000" v-show="activeName=='1'" height="700"></canvas>
...@@ -49,7 +50,7 @@ ...@@ -49,7 +50,7 @@
49 ruleForm: { 50 ruleForm: {
50 bsmBdcqz: '', 51 bsmBdcqz: '',
51 szmc: '不动产权证书', 52 szmc: '不动产权证书',
52 bdcqzlx: '', 53 bsmBdcqz: '',
53 szzh: '', 54 szzh: '',
54 ysxlh: '', 55 ysxlh: '',
55 }, 56 },
...@@ -77,7 +78,7 @@ ...@@ -77,7 +78,7 @@
77 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { 78 getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => {
78 if (res.code == 200) { 79 if (res.code == 200) {
79 if (res.result && res.result.length > 0) { 80 if (res.result && res.result.length > 0) {
80 this.activeName = res.result[0].bdcqzlx 81 this.activeName = res.result[0].bsmBdcqz
81 this.bdcqz = res.result[0] 82 this.bdcqz = res.result[0]
82 this.headTabBdcqz = res.result 83 this.headTabBdcqz = res.result
83 if (this.activeName == 1) { 84 if (this.activeName == 1) {
...@@ -93,7 +94,7 @@ ...@@ -93,7 +94,7 @@
93 //tab表头切换方法 94 //tab表头切换方法
94 handleClick (e) { 95 handleClick (e) {
95 this.bdcqz = this.headTabBdcqz[e.index - 0] 96 this.bdcqz = this.headTabBdcqz[e.index - 0]
96 this.activeName = this.headTabBdcqz.bdcqzlx 97 this.activeName = this.headTabBdcqz.bsmBdcqz
97 if (this.activeName == '1') { 98 if (this.activeName == '1') {
98 this.drawTextOnImage() 99 this.drawTextOnImage()
99 } else { 100 } else {
......