|
|
@@ -47,7 +47,7 @@
|
|
|
border
|
|
|
:stripe="true"
|
|
|
style="width: 100%"
|
|
|
- highlight-current-row>
|
|
|
+ highlight-current-row v-loading="loading">
|
|
|
|
|
|
<!--<el-table-column type="index" label="序号"></el-table-column>-->
|
|
|
|
|
|
@@ -136,7 +136,7 @@
|
|
|
border
|
|
|
:stripe="true"
|
|
|
style="width: 100%"
|
|
|
- highlight-current-row>
|
|
|
+ highlight-current-row v-loading="loading">
|
|
|
|
|
|
<el-table-column label="已办类型" prop="Type" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -370,7 +370,7 @@
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer" style="margin-top: -25px">
|
|
|
<el-button size="small" @click="Auditshow = false">取 消</el-button>
|
|
|
- <el-button type="primary" size="small" @click="makeSure()">确 定</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="makeSure()" :loading="btnLoading">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -404,6 +404,7 @@
|
|
|
bigUrl: '',
|
|
|
invoicetitle: '待开发票',
|
|
|
Auditshow: false,
|
|
|
+ btnLoading: false,
|
|
|
dialogVisible: false,
|
|
|
invoiceVisible: false,
|
|
|
legalPersonImgVisible: false,
|
|
|
@@ -522,7 +523,8 @@
|
|
|
paymentinfoList: [],
|
|
|
entityListtode: [],
|
|
|
entityListdone: [],
|
|
|
- invoiceLoading: false
|
|
|
+ invoiceLoading: false,
|
|
|
+ loading: false
|
|
|
}
|
|
|
},
|
|
|
created () {
|
|
|
@@ -558,6 +560,7 @@
|
|
|
})
|
|
|
},
|
|
|
initDatas () {
|
|
|
+ this.loading = true
|
|
|
// 分页及列表条件
|
|
|
let myCreateOn = []
|
|
|
// 解析时间
|
|
|
@@ -581,6 +584,7 @@
|
|
|
api.getTodoList(params, this.$axios).then(res => {
|
|
|
this.entityListtode = res.data.items
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
+ this.loading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|
|
|
@@ -880,6 +884,7 @@
|
|
|
// 审核未通过
|
|
|
checkstatus () {
|
|
|
let _this = this
|
|
|
+ _this.btnLoading = true
|
|
|
const params = _this.shenheForm
|
|
|
_this.$axios.post('/register/comaudit/', _this.formData, {params})
|
|
|
.then(res => {
|
|
|
@@ -899,6 +904,7 @@
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
+ this.btnLoading = false
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err)
|
|
|
@@ -930,6 +936,7 @@
|
|
|
},
|
|
|
|
|
|
finishedData () {
|
|
|
+ this.loading = true
|
|
|
let myCreateOn = []
|
|
|
// 解析时间
|
|
|
if (this.CreateOn != null && this.CreateOn.length === 2) {
|
|
|
@@ -952,6 +959,7 @@
|
|
|
api.getMyTaskFinished(params, this.$axios).then(res => {
|
|
|
this.entityListdone = res.data.items
|
|
|
this.currentItemCountFinished = res.data.currentItemCount
|
|
|
+ this.loading = false
|
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
|
})
|