From 105128d7780861f699a3261fdad68804fe5b7c80 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期四, 20 二月 2025 11:43:35 +0800
Subject: [PATCH] feat: 出场增加缴费状态查询
---
src/components/page/user/index.vue | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/src/components/page/user/index.vue b/src/components/page/user/index.vue
index bda0419..459ee48 100644
--- a/src/components/page/user/index.vue
+++ b/src/components/page/user/index.vue
@@ -21,6 +21,8 @@
<template slot-scope="scope">
<p v-if="scope.row.type==0">鍋滆溅鍦虹鐞嗗憳</p>
<p v-if="scope.row.type==1">鎵ф硶浜哄憳</p>
+ <p v-if="scope.row.type==2">绯荤粺绠$悊鍛�</p>
+ <p v-if="scope.row.type==3">鎵嬫寔缁堢绠$悊鍛�</p>
</template>
</el-table-column>
<el-table-column label="鎿嶄綔" fixed="right" width="150" align="center">
@@ -49,8 +51,10 @@
</el-form-item>
<el-form-item label="浜哄憳绫诲瀷" prop="type" :rules="[{required: true, message: '璇烽�夋嫨浜哄憳绫诲瀷', trigger: 'change'}]">
<el-select v-model="formData.type">
- <el-option label="鍋滆溅鍦虹鐞嗗憳" :value=0></el-option>
+ <el-option label="鍋滆溅鍦哄悗鍙扮鐞嗗憳" :value=0></el-option>
<el-option label="鎵ф硶浜哄憳" :value=1></el-option>
+ <el-option label="绯荤粺绠$悊鍛�" :value=2></el-option>
+ <el-option label="鎵嬫寔缁堢绠$悊鍛�" :value=3></el-option>
</el-select>
</el-form-item>
<el-form-item label="绠$悊鍋滆溅鍦�" prop="parkIds">
@@ -102,7 +106,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 +118,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 +158,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