11.21前端

This commit is contained in:
@QQNZX 2023-11-21 13:40:12 +08:00
parent 631df5ee81
commit 2d2668b761
5 changed files with 45 additions and 15 deletions

View File

@ -131,6 +131,12 @@
<el-radio label="2">等级会员</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="会员等级" prop="dieselUserLevel" v-if="form.adaptUserType == 2" >
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="会员等级">
<el-option :label="item.name" :value="item.id.toString()" v-for="(item,index) in userGradeList" :key="index" > </el-option>
</el-select>
</el-form-item>
<el-form-item label="赠送类型" prop="activeGift" >
<el-checkbox-group v-model="form.activeGift">
@ -336,11 +342,6 @@
</el-row>
<el-form-item label="会员等级" prop="dieselUserLevel" v-if="form.adaptUserType == 2" >
<el-select v-model="form.dieselUserLevel" multiple clearable placeholder="会员等级">
<el-option :label="item.name" :value="item.id.toString()" v-for="(item,index) in userGradeList" :key="index" > </el-option>
</el-select>
</el-form-item>
<el-form-item label="参与条件" prop="participationCondition">
<el-select v-model="form.participationCondition" clearable placeholder="请选择天参与条件">
@ -988,6 +989,10 @@ export default {
});
},
qiyong(row){
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveConsumption(row.id).then(response => {
// this.form = response.data;
let data = response.data
@ -1001,6 +1006,10 @@ export default {
});
},
jinyong(row){
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveConsumption(row.id).then(response => {
// this.form = response.data;
let data = response.data

View File

@ -405,6 +405,11 @@ export default {
});
},
qiyong(row){
//
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveDiscount(row.id).then(response => {
// this.form = response.data;
let data = response.data
@ -418,6 +423,10 @@ export default {
});
},
jinyong(row){
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveDiscount(row.id).then(response => {
// this.form = response.data;
let data = response.data

View File

@ -405,6 +405,10 @@ export default {
});
},
qiyong(row){
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveFullminus(row.id).then(response => {
// this.form = response.data;
let data = response.data
@ -418,6 +422,10 @@ export default {
});
},
jinyong(row){
if(row.isonline == 1){
this.$message.error("下线不可进行操作")
return
}
getActiveFullminus(row.id).then(response => {
// this.form = response.data;
let data = response.data

View File

@ -1,5 +1,5 @@
<template>
<div class="app-container">
<div class="appconter">
<el-card class="box-card">
<div slot="header" class="clearfix">
@ -521,7 +521,7 @@ export default {
total:0
},
dtotal:0,
imagePath:'http://192.168.0.196:8080/',
imagePath:process.env.VUE_APP_SERVER_URL,
//
uploadAction: process.env.VUE_APP_SERVER_URL + 'backendApi/file/upload',
//
@ -950,4 +950,8 @@ export default {
width: 100%;
height: 100%;
}
.appconter{
box-sizing: border-box;
padding: 15px;
}
</style>

View File

@ -127,14 +127,14 @@
@click="handleXia(scope.row)"
>下线
</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
v-if="scope.row.isonline == 1"
@click="handleShang(scope.row)"
>上线
</el-button>
<!-- <el-button-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- icon="el-icon-delete"-->
<!-- v-if="scope.row.isonline == 1"-->
<!-- @click="handleShang(scope.row)"-->
<!-- >上线-->
<!-- </el-button>-->
</template>
</el-table-column>
</el-table>