|
|
@@ -69,7 +69,8 @@
|
|
|
:span-method="objectSpanMethod"
|
|
|
border
|
|
|
size="mini"
|
|
|
- style="width: 100%; margin-top:20px">
|
|
|
+ style="width: 100%; margin-top:20px"
|
|
|
+ v-loading="loading2">
|
|
|
<el-table-column
|
|
|
prop="Code"
|
|
|
label="准入编码">
|
|
|
@@ -170,6 +171,7 @@
|
|
|
size: 10,
|
|
|
currentItemCount: 0,
|
|
|
lostTableData: [],
|
|
|
+ loading2: false,
|
|
|
flagId: 0 // 标记是否第一次点击
|
|
|
}
|
|
|
},
|
|
|
@@ -237,6 +239,7 @@
|
|
|
checkLostCertTimeOut () {
|
|
|
let _this = this
|
|
|
this.loading = true
|
|
|
+ this.loading2 = true
|
|
|
setTimeout(function () {
|
|
|
_this.$nextTick(() => {
|
|
|
_this.checkLostCert()
|
|
|
@@ -268,14 +271,17 @@
|
|
|
} else {
|
|
|
_this.lostTableData = []
|
|
|
this.loading = false
|
|
|
+ this.loading2 = false
|
|
|
return
|
|
|
}
|
|
|
console.log(params, 'params')
|
|
|
_this.$axios.post('/suppliercertsub/tech-cert-lost', params).then(res => {
|
|
|
_this.lostTableData = _this.mergeTableRow(res.data, ['Code'])
|
|
|
this.loading = false
|
|
|
+ this.loading2 = false
|
|
|
}).catch(err => {
|
|
|
this.loading = false
|
|
|
+ this.loading2 = false
|
|
|
console.error(err)
|
|
|
})
|
|
|
},
|