|
|
@@ -261,7 +261,7 @@
|
|
|
plain
|
|
|
size="mini"
|
|
|
@click="saveComplete(row)"
|
|
|
- :loading="loading"
|
|
|
+ :loading="row.loading"
|
|
|
>收取纸质材料</el-button
|
|
|
>
|
|
|
<!-- <el-button @click="deleteRow(row)" type="danger" size="mini" plain>删除</el-button> -->
|
|
|
@@ -573,6 +573,8 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
saveDismiss() {
|
|
|
+ let row = this.form;
|
|
|
+ this.$set(row, 'loading', true);
|
|
|
this.$http
|
|
|
.post('/rate/audit', {
|
|
|
id: this.form.id,
|
|
|
@@ -581,10 +583,12 @@ export default {
|
|
|
remark: this.reason
|
|
|
})
|
|
|
.then(res => {
|
|
|
+ this.$set(row, 'loading', false);
|
|
|
this.$message.success('退回成功');
|
|
|
this.getData();
|
|
|
})
|
|
|
.catch(e => {
|
|
|
+ this.$set(row, 'loading', false);
|
|
|
console.log(e);
|
|
|
this.$message.error(e.error);
|
|
|
});
|