From 64c05063a787166e7e01da0170f1bd27e27b88a5 Mon Sep 17 00:00:00 2001
From: zhangxiaoxu123 <819527061@qq.com>
Date: 星期二, 03 一月 2023 21:11:16 +0800
Subject: [PATCH] 图片
---
src/components/page/whiteList/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/components/page/whiteList/index.vue b/src/components/page/whiteList/index.vue
index 3299801..b108f5e 100644
--- a/src/components/page/whiteList/index.vue
+++ b/src/components/page/whiteList/index.vue
@@ -89,7 +89,7 @@
mounted() {
this.loadData();
this.$byutil.postData(this, this.$systemconfig.basePath+'/park/findAll', this.formData, res => {
- this.table1 = res.obj;
+ this.table1 = res.data;
})
},
methods: {
@@ -106,7 +106,7 @@
this.$byutil.postData(this, this.urlPath+'save', this.formData, res => {
this.$refs['formData'].resetFields();
this.flag=false;
- this.$message({message: res.message, type: 'success'});
+ this.$message({message:'淇濆瓨鎴愬姛', type: 'success'});
this.loadData();
})
} else {
@@ -123,6 +123,7 @@
},
onAdd() {
this.flag=true;
+ this.flag2=false;
this.$refs['formData'].resetFields();
this.formData = {
carNo: '',
@@ -141,7 +142,7 @@
},
onDelete(row) {
this.$byutil.deleteData(this,this.urlPath+"delete",{id:row.id}, res => {
- this.$message({message: res.message, type: 'success'});
+ this.$message({message: '鍒犻櫎鎴愬姛', type: 'success'});
this.loadData();
})
},
@@ -159,4 +160,4 @@
<style scoped>
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.1