|
@@ -164,6 +164,16 @@ export default {
|
|
|
})
|
|
|
.catch();
|
|
|
},
|
|
|
+ messageTips(title, res) {
|
|
|
+ if (res.code == 200) {
|
|
|
+ this.$message.success(title + "成功");
|
|
|
+ this.chargeStatus = false;
|
|
|
+ this.close()
|
|
|
+ this.getList();
|
|
|
+ } else {
|
|
|
+ this.$message.error(res.msg);
|
|
|
+ }
|
|
|
+ },
|
|
|
onFormClose(formName) {
|
|
|
this.chargeStatus = false
|
|
|
// this.$refs[formName].resetFields();
|