From 3b528b0ff28b5f5119d8749c09da8545cd253b77 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期三, 16 十月 2024 18:33:26 +0800
Subject: [PATCH] fix: 小bug
---
src/components/page/user/index.vue | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/src/components/page/user/index.vue b/src/components/page/user/index.vue
index bda0419..a89c1d4 100644
--- a/src/components/page/user/index.vue
+++ b/src/components/page/user/index.vue
@@ -51,6 +51,7 @@
<el-select v-model="formData.type">
<el-option label="鍋滆溅鍦虹鐞嗗憳" :value=0></el-option>
<el-option label="鎵ф硶浜哄憳" :value=1></el-option>
+ <el-option label="绯荤粺绠$悊鍛�" :value=2></el-option>
</el-select>
</el-form-item>
<el-form-item label="绠$悊鍋滆溅鍦�" prop="parkIds">
@@ -102,7 +103,7 @@
this.formData.parkIds = this.parkIds.toString()
this.$refs['formData'].validate((valid) => {
if (valid) {
- this.$byutil.postData(this, this.$systemconfig.basePath + '/user/save', this.formData, res => {
+ this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/user/save', this.formData, res => {
this.$refs['formData'].resetFields();
this.flag=false;
this.$message({message: '淇濆瓨鎴愬姛', type: 'success'});
@@ -114,10 +115,10 @@
});
},
loadData() {
- this.$byutil.loadPageData(this, this.$systemconfig.basePath + '/user/findPage', this.searchForm);
+ this.$byutil.loadPageData(this, this.$systemconfig.basePath + '/ffzf/user/findPage', this.searchForm);
},
getParkList(){
- this.$byutil.postData(this, this.$systemconfig.basePath + '/park/findAll',null,res => {
+ this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/park/findAll',null,res => {
this.parkList = res.data
});
},
@@ -154,7 +155,7 @@
console.log(this.parkIds)
},
onDelete(index, row) {
- this.$byutil.deleteData(this,this.$systemconfig.basePath+"/user/delete",{id:row.id}, res => {
+ this.$byutil.deleteData(this,this.$systemconfig.basePath+"/ffzf/user/delete",{id:row.id}, res => {
this.$message({message: '鍒犻櫎鎴愬姛', type: 'success'});
this.loadData();
})
--
Gitblit v1.9.1