style:证书预览
Showing
1 changed file
with
4 additions
and
2 deletions
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-07-05 16:57:08 | 4 | * @LastEditTime: 2023-07-07 13:12:58 |
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;"> |
... | @@ -11,7 +11,7 @@ | ... | @@ -11,7 +11,7 @@ |
11 | v-for="(item, index) in headTabBdcqz" :key="index"> | 11 | v-for="(item, index) in headTabBdcqz" :key="index"> |
12 | </el-tab-pane> | 12 | </el-tab-pane> |
13 | </el-tabs> | 13 | </el-tabs> |
14 | <div class="no-data" v-if="headTabBdcqz.length == 0">暂无数据</div> | 14 | <el-empty description="暂无数据" v-if="headTabBdcqz.length == 0 && noData"></el-empty> |
15 | <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas> | 15 | <canvas ref="zs" width="1000" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx==1" height="700"></canvas> |
16 | <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas> | 16 | <canvas ref="zm" width="1180" v-show="headTabBdcqz[0]&&headTabBdcqz[0].bdcqzlx!=1" height="780"></canvas> |
17 | </div> | 17 | </div> |
... | @@ -30,6 +30,7 @@ | ... | @@ -30,6 +30,7 @@ |
30 | }, | 30 | }, |
31 | data () { | 31 | data () { |
32 | return { | 32 | return { |
33 | noData: false, | ||
33 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), | 34 | imgSrc: require('@/image/bdcqz/bdcqzs2.jpg'), |
34 | bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), | 35 | bdczmSrc: require('@/image/bdcqz/bdczm.jpg'), |
35 | loading: false, | 36 | loading: false, |
... | @@ -77,6 +78,7 @@ | ... | @@ -77,6 +78,7 @@ |
77 | this.loading = true | 78 | this.loading = true |
78 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { | 79 | getSlsqBdcqzList({ bsmSlsq: this.formData.bsmSlsq }).then(res => { |
79 | if (res.code == 200) { | 80 | if (res.code == 200) { |
81 | this.noData = true | ||
80 | if (res.result && res.result.length > 0) { | 82 | if (res.result && res.result.length > 0) { |
81 | this.activeName = res.result[0].bsmBdcqz | 83 | this.activeName = res.result[0].bsmBdcqz |
82 | this.bdcqz = res.result[0] | 84 | this.bdcqz = res.result[0] | ... | ... |
-
Please register or sign in to post a comment