From 4c6c8b57b828158c1e52a743df01cbca96cf24c3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BD=90=E5=A4=A9=E5=A4=A7=E5=9C=A3?= <17615834396@163.com>
Date: Fri, 3 Nov 2023 15:45:54 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B2=B9=E5=8D=A1bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../views/EventMarketing/SaveBlock/index.vue | 72 +++++++++----------
.../views/EventMarketing/giftBlock/index.vue | 15 ++--
.../EventMarketing/storeOilBlock/index.vue | 30 ++++++--
3 files changed, 64 insertions(+), 53 deletions(-)
diff --git a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
index eb208a4d9..c92a0cb9b 100644
--- a/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/SaveBlock/index.vue
@@ -27,7 +27,7 @@
+ width="140">
普通群体
等级会员
@@ -55,11 +55,7 @@
label="赠送成长值"
width="120">
-
-
+
挂失 -->
+ width="110">
不限制次数
{{scope.row.participationNo}} 次
@@ -122,17 +118,17 @@
+ width="110">
+ width="150">
+ width="150">
修改
- 下线
+
+
+ 下线
+
+
@@ -313,7 +318,9 @@
@@ -464,7 +471,7 @@
},
posteid(data){
eitList(data).then(res=>{
- if (res.code == 200){
+ if (res.code === 200){
this.$message({
message: '修改成功',
type: 'success'
@@ -476,13 +483,12 @@
})
},
handleDelete(data){
-
- data.isonline = "1"
-
- eitList(data).then(res=>{
- if (res.code == 200){
+ let resData = JSON.parse(JSON.stringify(data))
+ resData.isonline = "1"
+ eitList(resData).then(res=>{
+ if (res.code === 200){
this.$message({
- message: '修改成功',
+ message: '下线成功',
type: 'success'
});
this.getlist()
@@ -490,19 +496,7 @@
this.$message.error('修改失败');
}
})
- // 删除 改下线
- // deleteList(id).then(res=>{
- //
- // if (res.code == 200){
- // this.$message({
- // message: '删除成功',
- // type: 'success'
- // });
- // this.getlist()
- // }else {
- // this.$message.error('删除失败');
- // }
- // })
+
},
submitForm(){
if(this.form.id){
diff --git a/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue b/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue
index 0d32187f0..6c8cf7c46 100644
--- a/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/giftBlock/index.vue
@@ -100,7 +100,7 @@
元
-
-
+
+
启用
禁用
@@ -229,14 +229,14 @@
address: '上海市普陀区金沙江路 1516 弄'
}],
ruleForm: {
- activateStatus:'1',
+ status:'1',
quantity:'1',
cardAmount:'1',
remark:''
},
rules: {
- activateStatus: [
+ status: [
{ required: true, message: '此为必填项', trigger: 'blur' },
],
quantity: [
@@ -258,7 +258,8 @@
methods:{
getlist(){
- this.tableData = []
+ this.queryParams.pageNo=this.pageNo
+ this.queryParams.pageSize=this.pageSize
getList(this.queryParams).then(res=>{
this.tableData = res.data.records
this.total = res.data.total;
@@ -281,7 +282,7 @@
daking(){
this.centerDialogVisible = true
this.ruleForm = {
- activateStatus:'1',
+ activateStatus:'0',
quantity:'1',
cardAmount:'1',
remark:''
diff --git a/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue b/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue
index fa5be863d..a7f9526f5 100644
--- a/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue
+++ b/fuintAdmin/src/views/EventMarketing/storeOilBlock/index.vue
@@ -116,8 +116,8 @@
自定义时间
+
+
+
+
+ -
+
+
+
+
启用
@@ -260,9 +275,9 @@
rechargeBalance:'',
incomeLitres:'',
points:'',
- status:'1',
+ status:'0',
activeTime:'1',
- activeStatus:'1'
+ activeStatus:'0'
},
queryParams:{
type:'柴油',
@@ -280,7 +295,8 @@
},
methods:{
getlist(){
- this.tableData = []
+ this.queryParams.pageNo=this.pageNo
+ this.queryParams.pageSize=this.pageSize
getList(this.queryParams).then(res=>{
if(res.code == 200){
this.tableData = res.data.records
@@ -299,12 +315,12 @@
incomeLitres:'',
points:'',
activeTime:'1',
- activeStatus:'1'
+ activeStatus:'1',
+ tatus:'1'
},
this.centerDialogVisible = true
},
posteid(data){
- // data.status =! data.status
eitList(data).then(res=>{
if (res.code == 200){
this.$message.success('修改成功')