|
|
@@ -338,7 +338,7 @@
|
|
|
@click="Auditshow = false">取 消</el-button>
|
|
|
<el-button type="primary"
|
|
|
size="small"
|
|
|
- @click="makeSure()">确 定</el-button>
|
|
|
+ @click="makeSure()" :loading="btnLoading">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
@@ -357,6 +357,7 @@ export default {
|
|
|
name: 'companyaudit',
|
|
|
data () {
|
|
|
return {
|
|
|
+ btnLoading: false,
|
|
|
btntitle: '查看',
|
|
|
auditBtn: false,
|
|
|
Auditshow: false,
|
|
|
@@ -538,6 +539,7 @@ export default {
|
|
|
checkstatus () {
|
|
|
let _this = this
|
|
|
const params = _this.shenheForm
|
|
|
+ this.btnLoading = true
|
|
|
_this.$axios.post('/register/comaudit/', _this.formData, { params })
|
|
|
.then(res => {
|
|
|
if (res.data.code === 0) {
|
|
|
@@ -548,7 +550,7 @@ export default {
|
|
|
// 关闭dialog
|
|
|
_this.Auditshow = false
|
|
|
_this.dialogVisible = false
|
|
|
- this.shenheForm.AuditorRemark = '',
|
|
|
+ this.shenheForm.AuditorRemark = ''
|
|
|
this.shenheForm.SuccessStatus = 1
|
|
|
// 更新列表
|
|
|
_this.initData()
|
|
|
@@ -558,6 +560,7 @@ export default {
|
|
|
message: res.data.message
|
|
|
})
|
|
|
}
|
|
|
+ this.btnLoading = false
|
|
|
})
|
|
|
.catch(err => {
|
|
|
console.error(err)
|