From eadd5784244d98dca21e5788440004432af8e803 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期二, 12 九月 2023 15:45:20 +0800
Subject: [PATCH] 修改前端页面

---
 src/components/page/user/index.vue |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/src/components/page/user/index.vue b/src/components/page/user/index.vue
index 55bbea8..882343d 100644
--- a/src/components/page/user/index.vue
+++ b/src/components/page/user/index.vue
@@ -38,6 +38,9 @@
                 <el-form-item label="鐧诲綍鍚�"  prop="loginName" :rules="[{required: true, message: '璇疯緭鍏ョ櫥褰曞悕', trigger: 'blur'}]">
                     <el-input v-model="formData.loginName" auto-complete="off"></el-input>
                 </el-form-item>
+              <el-form-item label="瀵嗙爜"  prop="password" :rules="[{required: true, message: '璇疯緭鍏ュ瘑鐮�', trigger: 'blur'}]">
+                <el-input v-model="formData.password" auto-complete="off"></el-input>
+              </el-form-item>
                 <el-form-item label="濮撳悕" prop="name" :rules="[{required: true, message: '璇疯緭鍏ュ鍚�', trigger: 'blur'}]">
                     <el-input v-model="formData.name" auto-complete="off"></el-input>
                 </el-form-item>
@@ -99,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'});
@@ -111,11 +114,11 @@
                 });
             },
             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.parkList = res.data.data
+              this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/park/findAll',null,res => {
+                this.parkList = res.data
               });
             },
             onSearch() {
@@ -151,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