|
@@ -1314,8 +1314,7 @@
|
|
if (code === 200) {
|
|
if (code === 200) {
|
|
this.$modal.notifySuccess("提交成功");
|
|
this.$modal.notifySuccess("提交成功");
|
|
this.$modal.closeLoading();
|
|
this.$modal.closeLoading();
|
|
- row.status = '1'
|
|
|
|
- // this.getList(this.queryParams)
|
|
|
|
|
|
+ row.status = '1';
|
|
}
|
|
}
|
|
} catch (err) {
|
|
} catch (err) {
|
|
console.error(err);
|
|
console.error(err);
|
|
@@ -1333,8 +1332,6 @@
|
|
if (code === 200) {
|
|
if (code === 200) {
|
|
this.$modal.notifySuccess("提交成功");
|
|
this.$modal.notifySuccess("提交成功");
|
|
this.$modal.closeLoading();
|
|
this.$modal.closeLoading();
|
|
- row.status = '1'
|
|
|
|
- // this.getList(this.queryParams)
|
|
|
|
}
|
|
}
|
|
} catch (err) {
|
|
} catch (err) {
|
|
console.error(err);
|
|
console.error(err);
|
|
@@ -1360,6 +1357,7 @@
|
|
this.getList(this.queryParams)
|
|
this.getList(this.queryParams)
|
|
}
|
|
}
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
|
+ this.$message.error(err);
|
|
this.$modal.closeLoading();
|
|
this.$modal.closeLoading();
|
|
})
|
|
})
|
|
},
|
|
},
|