From 3342e77756618c7b6ee47dbb309401696d4d72d1 Mon Sep 17 00:00:00 2001 From: kongdeqiang <123456> Date: 星期一, 05 六月 2023 18:07:53 +0800 Subject: [PATCH] 修改前端页面 --- src/components/page/user/index.vue | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/page/user/index.vue b/src/components/page/user/index.vue index bda0419..882343d 100644 --- a/src/components/page/user/index.vue +++ b/src/components/page/user/index.vue @@ -102,7 +102,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 +114,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 +154,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