Commit 4657fc91 by 吕明尚

修改会员管理的页面

parent 84b206ff
......@@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询积分日志列表
export function listIntegralLog(query) {
return request({
url: '/system/IntegralLog/list',
url: '/system/integralLog/list',
method: 'get',
params: query
})
......@@ -12,7 +12,7 @@ export function listIntegralLog(query) {
// 查询积分日志详细
export function getIntegralLog(id) {
return request({
url: '/system/IntegralLog/' + id,
url: '/system/integralLog/' + id,
method: 'get'
})
}
......@@ -20,7 +20,7 @@ export function getIntegralLog(id) {
// 新增积分日志
export function addIntegralLog(data) {
return request({
url: '/system/IntegralLog',
url: '/system/integralLog',
method: 'post',
data: data
})
......@@ -29,7 +29,7 @@ export function addIntegralLog(data) {
// 修改积分日志
export function updateIntegralLog(data) {
return request({
url: '/system/IntegralLog',
url: '/system/integralLog',
method: 'put',
data: data
})
......@@ -38,7 +38,7 @@ export function updateIntegralLog(data) {
// 删除积分日志
export function delIntegralLog(id) {
return request({
url: '/system/IntegralLog/' + id,
url: '/system/integralLog/' + id,
method: 'delete'
})
}
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="用户id" prop="consumerId">
<el-input
v-model="queryParams.consumerId"
clearable
placeholder="请输入用户id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="用户id" prop="consumerId">-->
<!-- <el-input-->
<!-- v-model="queryParams.consumerId"-->
<!-- clearable-->
<!-- placeholder="请输入用户id"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="变动金额" prop="variableAmount">
<el-input
v-model="queryParams.variableAmount"
......@@ -33,14 +33,14 @@
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input
v-model="queryParams.isDelete"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="是否删除" prop="isDelete">-->
<!-- <el-input-->
<!-- v-model="queryParams.isDelete"-->
<!-- clearable-->
<!-- placeholder="请输入是否删除"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -48,41 +48,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:balanceLog:add']"
icon="el-icon-plus"
plain
size="mini"
type="primary"
@click="handleAdd"
>新增
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:balanceLog:edit']"
:disabled="single"
icon="el-icon-edit"
plain
size="mini"
type="success"
@click="handleUpdate"
>修改
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:balanceLog:remove']"
:disabled="multiple"
icon="el-icon-delete"
plain
size="mini"
type="danger"
@click="handleDelete"
>删除
</el-button>
</el-col>
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:balanceLog:add']"-->
<!-- icon="el-icon-plus"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="primary"-->
<!-- @click="handleAdd"-->
<!-- >新增-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:balanceLog:edit']"-->
<!-- :disabled="single"-->
<!-- icon="el-icon-edit"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="success"-->
<!-- @click="handleUpdate"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:balanceLog:remove']"-->
<!-- :disabled="multiple"-->
<!-- icon="el-icon-delete"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="danger"-->
<!-- @click="handleDelete"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </el-col>-->
<el-col :span="1.5">
<el-button
v-hasPermi="['system:balanceLog:export']"
......@@ -99,7 +99,7 @@
<el-table v-loading="loading" :data="balanceLogList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<el-table-column align="center" label="用户id" prop="consumerId"/>
<el-table-column align="center" label="变动金额" prop="variableAmount"/>
<el-table-column align="center" label="当前余额" prop="currentBalance"/>
......
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="用户id" prop="consumerId">
<el-input
v-model="queryParams.consumerId"
clearable
placeholder="请输入用户id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="用户id" prop="consumerId">-->
<!-- <el-input-->
<!-- v-model="queryParams.consumerId"-->
<!-- clearable-->
<!-- placeholder="请输入用户id"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="变动时长" prop="variableDuration">
<el-input
v-model="queryParams.variableDuration"
......@@ -33,14 +33,14 @@
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input
v-model="queryParams.isDelete"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="是否删除" prop="isDelete">-->
<!-- <el-input-->
<!-- v-model="queryParams.isDelete"-->
<!-- clearable-->
<!-- placeholder="请输入是否删除"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -48,41 +48,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:durationLog:add']"
icon="el-icon-plus"
plain
size="mini"
type="primary"
@click="handleAdd"
>新增
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:durationLog:edit']"
:disabled="single"
icon="el-icon-edit"
plain
size="mini"
type="success"
@click="handleUpdate"
>修改
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:durationLog:remove']"
:disabled="multiple"
icon="el-icon-delete"
plain
size="mini"
type="danger"
@click="handleDelete"
>删除
</el-button>
</el-col>
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:durationLog:add']"-->
<!-- icon="el-icon-plus"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="primary"-->
<!-- @click="handleAdd"-->
<!-- >新增-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:durationLog:edit']"-->
<!-- :disabled="single"-->
<!-- icon="el-icon-edit"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="success"-->
<!-- @click="handleUpdate"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:durationLog:remove']"-->
<!-- :disabled="multiple"-->
<!-- icon="el-icon-delete"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="danger"-->
<!-- @click="handleDelete"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </el-col>-->
<el-col :span="1.5">
<el-button
v-hasPermi="['system:durationLog:export']"
......@@ -99,7 +99,7 @@
<el-table v-loading="loading" :data="durationLogList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<el-table-column align="center" label="用户id" prop="consumerId"/>
<el-table-column align="center" label="变动时长" prop="variableDuration"/>
<el-table-column align="center" label="当前时长" prop="currentDuration"/>
......
......@@ -9,14 +9,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员配置id" prop="memberConfigId">
<el-input
v-model="queryParams.memberConfigId"
clearable
placeholder="请输入会员配置id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="会员配置id" prop="memberConfigId">-->
<!-- <el-input-->
<!-- v-model="queryParams.memberConfigId"-->
<!-- clearable-->
<!-- placeholder="请输入会员配置id"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="所需金额" prop="requiredAmount">
<el-input
v-model="queryParams.requiredAmount"
......@@ -99,9 +99,9 @@
<el-table v-loading="loading" :data="equityMembersOrderConfigList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<el-table-column align="center" label="默认会员等级" prop="defaultLevel"/>
<el-table-column align="center" label="会员配置id" prop="memberConfigId"/>
<!-- <el-table-column align="center" label="会员配置id" prop="memberConfigId"/>-->
<el-table-column align="center" label="所需金额" prop="requiredAmount"/>
<el-table-column align="center" label="会员有效期" prop="validityPeriod"/>
<el-table-column align="center" label="是否删除" prop="isDelete"/>
......
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="用户id" prop="consumerId">
<el-input
v-model="queryParams.consumerId"
clearable
placeholder="请输入用户id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员等级" prop="membershipLevel">
<el-input
v-model="queryParams.membershipLevel"
......@@ -17,14 +10,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员配置id" prop="memberConfigId">
<el-input
v-model="queryParams.memberConfigId"
clearable
placeholder="请输入会员配置id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员有效期" prop="expirationDate">
<el-date-picker v-model="queryParams.expirationDate"
clearable
......@@ -41,14 +27,6 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input
v-model="queryParams.isDelete"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -107,10 +85,15 @@
<el-table v-loading="loading" :data="memberList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<el-table-column align="center" label="用户id" prop="consumerId"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<!-- <el-table-column align="center" label="用户id" prop="consumerId"/>-->
<el-table-column align="center" label="会员等级" prop="membershipLevel"/>
<el-table-column align="center" label="会员类型" prop="memberType"/>
<!-- <el-table-column align="center" label="会员类型" prop="memberType"/>-->
<el-table-column align="center" label="会员类型" prop="memberType" width="100px">
<template slot-scope="scope">
<dict-tag :options="dict.type.member_type" :value="scope.row.memberType"/>
</template>
</el-table-column>
<el-table-column align="center" label="会员配置id" prop="memberConfigId"/>
<el-table-column align="center" label="会员有效期" prop="expirationDate" width="180">
<template slot-scope="scope">
......@@ -156,6 +139,16 @@
<el-form-item label="用户id" prop="consumerId">
<el-input v-model="form.consumerId" placeholder="请输入用户id"/>
</el-form-item>
<el-form-item label="会员类型" prop="memberType">
<el-select v-model="form.memberType" placeholder="请选择会员类型">
<el-option
v-for="dict in dict.type.member_type"
:key="dict.value"
:label="dict.label"
:value="parseInt(dict.value)"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="会员等级" prop="membershipLevel">
<el-input v-model="form.membershipLevel" placeholder="请输入会员等级"/>
</el-form-item>
......@@ -193,6 +186,7 @@ import {listMember, getMember, delMember, addMember, updateMember} from "@/api/s
export default {
name: "Member",
dicts: ['store_is_use_coupon', 'member_type'],
data() {
return {
// 遮罩层
......
......@@ -33,30 +33,30 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员有效期" prop="validityPeriod">
<el-input
v-model="queryParams.validityPeriod"
clearable
placeholder="请输入会员有效期"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="会员进度" prop="membershipProgress">
<el-input
v-model="queryParams.membershipProgress"
clearable
placeholder="请输入会员进度"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input
v-model="queryParams.isDelete"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="会员有效期" prop="validityPeriod">-->
<!-- <el-input-->
<!-- v-model="queryParams.validityPeriod"-->
<!-- clearable-->
<!-- placeholder="请输入会员有效期"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="会员进度" prop="membershipProgress">-->
<!-- <el-input-->
<!-- v-model="queryParams.membershipProgress"-->
<!-- clearable-->
<!-- placeholder="请输入会员进度"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="是否删除" prop="isDelete">-->
<!-- <el-input-->
<!-- v-model="queryParams.isDelete"-->
<!-- clearable-->
<!-- placeholder="请输入是否删除"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -115,15 +115,20 @@
<el-table v-loading="loading" :data="memberConfigList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<el-table-column align="center" label="会员等级" prop="membershipLevel"/>
<el-table-column align="center" label="会员类型" prop="memberType"/>
<!-- <el-table-column align="center" label="会员类型" prop="memberType"/>-->
<el-table-column align="center" label="会员类型" prop="memberType" width="100px">
<template slot-scope="scope">
<dict-tag :options="dict.type.member_type" :value="scope.row.memberType"/>
</template>
</el-table-column>
<el-table-column align="center" label="等级名称" prop="levelName"/>
<el-table-column align="center" label="额度要求" prop="limitRequirements"/>
<el-table-column align="center" label="折扣比例" prop="discountRatio"/>
<el-table-column align="center" label="会员有效期" prop="validityPeriod"/>
<el-table-column align="center" label="会员进度" prop="membershipProgress"/>
<el-table-column align="center" label="是否删除" prop="isDelete"/>
<el-table-column align="center" label="会员有效期(年)" prop="validityPeriod"/>
<!-- <el-table-column align="center" label="会员进度" prop="membershipProgress"/>-->
<!-- <el-table-column align="center" label="是否删除" prop="isDelete"/>-->
<el-table-column align="center" label="备注" prop="remark"/>
<el-table-column align="center" class-name="small-padding fixed-width" label="操作">
<template slot-scope="scope">
......@@ -164,6 +169,16 @@
<el-form-item label="等级名称" prop="levelName">
<el-input v-model="form.levelName" placeholder="请输入等级名称"/>
</el-form-item>
<el-form-item label="会员类型" prop="memberType">
<el-select v-model="form.memberType" placeholder="请选择会员类型">
<el-option
v-for="dict in dict.type.member_type"
:key="dict.value"
:label="dict.label"
:value="parseInt(dict.value)"
></el-option>
</el-select>
</el-form-item>
<el-form-item label="额度要求" prop="limitRequirements">
<el-input v-model="form.limitRequirements" placeholder="请输入额度要求"/>
</el-form-item>
......@@ -173,12 +188,12 @@
<el-form-item label="会员有效期" prop="validityPeriod">
<el-input v-model="form.validityPeriod" placeholder="请输入会员有效期"/>
</el-form-item>
<el-form-item label="会员进度" prop="membershipProgress">
<el-input v-model="form.membershipProgress" placeholder="请输入会员进度"/>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input v-model="form.isDelete" placeholder="请输入是否删除"/>
</el-form-item>
<!-- <el-form-item label="会员进度" prop="membershipProgress">-->
<!-- <el-input v-model="form.membershipProgress" placeholder="请输入会员进度"/>-->
<!-- </el-form-item>-->
<!-- <el-form-item label="是否删除" prop="isDelete">-->
<!-- <el-input v-model="form.isDelete" placeholder="请输入是否删除"/>-->
<!-- </el-form-item>-->
<el-form-item label="备注" prop="remark">
<el-input v-model="form.remark" placeholder="请输入内容" type="textarea"/>
</el-form-item>
......@@ -202,6 +217,7 @@ import {
export default {
name: "MemberConfig",
dicts: ['store_is_use_coupon', 'member_type'],
data() {
return {
// 遮罩层
......
......@@ -25,22 +25,32 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="启用禁用:1-启用,0-禁用" prop="enable">
<el-input
v-model="queryParams.enable"
clearable
placeholder="请输入启用禁用:1-启用,0-禁用"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="充值适用门店id" prop="storeIds">
<el-input
v-model="queryParams.storeIds"
clearable
placeholder="请输入充值适用门店id"
@keyup.enter.native="handleQuery"
<!-- <el-form-item label="启用禁用:1-启用,0-禁用" prop="enable">-->
<!-- <el-input-->
<!-- v-model="queryParams.enable"-->
<!-- clearable-->
<!-- placeholder="请输入启用禁用:1-启用,0-禁用"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="启用禁用" prop="enable">
<el-select v-model="queryParams.enable" clearable placeholder="请选择是否开启">
<el-option
v-for="dict in dict.type.store_is_use_coupon"
:key="dict.value"
:label="dict.label"
:value="dict.value"
/>
</el-select>
</el-form-item>
<!-- <el-form-item label="充值适用门店id" prop="storeIds">-->
<!-- <el-input-->
<!-- v-model="queryParams.storeIds"-->
<!-- clearable-->
<!-- placeholder="请输入充值适用门店id"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -99,12 +109,18 @@
<el-table v-loading="loading" :data="rechargeConfList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="主键" prop="id"/>
<!-- <el-table-column align="center" label="主键" prop="id"/>-->
<el-table-column align="center" label="配置名称" prop="name"/>
<el-table-column align="center" label="充值金额" prop="rechargeAmount"/>
<el-table-column align="center" label="充值赠送方式;1-不送,2-送金额,3-送优惠券,4-送金额及优惠券" prop="giveType"/>
<!-- <el-table-column align="center" label="充值赠送方式;1-不送,2-送金额,3-送优惠券,4-送金额及优惠券" prop="giveType"/>-->
<el-table-column align="center" label="充值赠送方式" prop="giveType"/>
<el-table-column align="center" label="充值满送金额" prop="giveAmount"/>
<el-table-column align="center" label="启用禁用:1-启用,0-禁用" prop="enable"/>
<!-- <el-table-column align="center" label="启用禁用:1-启用,0-禁用" prop="enable"/>-->
<el-table-column align="center" label="启用禁用" prop="enable">
<template slot-scope="scope">
<dict-tag :options="dict.type.store_is_use_coupon" :value="scope.row.enable"/>
</template>
</el-table-column>
<el-table-column align="center" label="充值适用类型:1-平台通用,2-单门店" prop="suitType"/>
<el-table-column align="center" label="充值适用门店id" prop="storeIds"/>
<el-table-column align="center" label="备注" prop="remark"/>
......@@ -182,6 +198,7 @@ import {
export default {
name: "RechargeConf",
dicts: ['store_is_use_coupon'],
data() {
return {
// 遮罩层
......
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="充值配置表id" prop="rechargeConfId">
<el-input
v-model="queryParams.rechargeConfId"
clearable
placeholder="请输入充值配置表id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="充值赠送优惠券配置ID" prop="couponId">
<el-input
v-model="queryParams.couponId"
clearable
placeholder="请输入充值赠送优惠券配置ID"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="赠送券数量" prop="couponNum">
<el-input
v-model="queryParams.couponNum"
clearable
placeholder="请输入赠送券数量"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="送券价值金额:元/每张" prop="couponAmount">
<el-input
v-model="queryParams.couponAmount"
clearable
placeholder="请输入送券价值金额:元/每张"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="充值配置表id" prop="rechargeConfId">-->
<!-- <el-input-->
<!-- v-model="queryParams.rechargeConfId"-->
<!-- clearable-->
<!-- placeholder="请输入充值配置表id"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="充值赠送优惠券配置ID" prop="couponId">-->
<!-- <el-input-->
<!-- v-model="queryParams.couponId"-->
<!-- clearable-->
<!-- placeholder="请输入充值赠送优惠券配置ID"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="赠送券数量" prop="couponNum">-->
<!-- <el-input-->
<!-- v-model="queryParams.couponNum"-->
<!-- clearable-->
<!-- placeholder="请输入赠送券数量"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="送券价值金额:元/每张" prop="couponAmount">-->
<!-- <el-input-->
<!-- v-model="queryParams.couponAmount"-->
<!-- clearable-->
<!-- placeholder="请输入送券价值金额:元/每张"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -91,7 +91,7 @@
<el-table v-loading="loading" :data="rechargeCouponConfList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="主键" prop="id"/>
<!-- <el-table-column align="center" label="主键" prop="id"/>-->
<el-table-column align="center" label="充值配置表id" prop="rechargeConfId"/>
<el-table-column align="center" label="充值赠送优惠券配置ID" prop="couponId"/>
<el-table-column align="center" label="赠送券数量" prop="couponNum"/>
......
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="充值记录表ID" prop="rechargeId">
<el-input
v-model="queryParams.rechargeId"
clearable
placeholder="请输入充值记录表ID"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="充值记录表ID" prop="rechargeId">-->
<!-- <el-input-->
<!-- v-model="queryParams.rechargeId"-->
<!-- clearable-->
<!-- placeholder="请输入充值记录表ID"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="系统计算退款金额" prop="refundAmount">
<el-input
v-model="queryParams.refundAmount"
......@@ -17,22 +17,22 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="已使用优惠券ID" prop="usedCouponIds">
<el-input
v-model="queryParams.usedCouponIds"
clearable
placeholder="请输入已使用优惠券ID"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="未使用优惠券ID" prop="notusedCouponIds">
<el-input
v-model="queryParams.notusedCouponIds"
clearable
placeholder="请输入未使用优惠券ID"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="已使用优惠券ID" prop="usedCouponIds">-->
<!-- <el-input-->
<!-- v-model="queryParams.usedCouponIds"-->
<!-- clearable-->
<!-- placeholder="请输入已使用优惠券ID"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="未使用优惠券ID" prop="notusedCouponIds">-->
<!-- <el-input-->
<!-- v-model="queryParams.notusedCouponIds"-->
<!-- clearable-->
<!-- placeholder="请输入未使用优惠券ID"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="实际退款金额" prop="actualRefundAmount">
<el-input
v-model="queryParams.actualRefundAmount"
......@@ -65,14 +65,14 @@
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知" prop="isSendSms">
<el-input
v-model="queryParams.isSendSms"
clearable
placeholder="请输入退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知" prop="isSendSms">-->
<!-- <el-input-->
<!-- v-model="queryParams.isSendSms"-->
<!-- clearable-->
<!-- placeholder="请输入退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -80,41 +80,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:rechargeRefund:add']"
icon="el-icon-plus"
plain
size="mini"
type="primary"
@click="handleAdd"
>新增
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:rechargeRefund:edit']"
:disabled="single"
icon="el-icon-edit"
plain
size="mini"
type="success"
@click="handleUpdate"
>修改
</el-button>
</el-col>
<el-col :span="1.5">
<el-button
v-hasPermi="['system:rechargeRefund:remove']"
:disabled="multiple"
icon="el-icon-delete"
plain
size="mini"
type="danger"
@click="handleDelete"
>删除
</el-button>
</el-col>
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:rechargeRefund:add']"-->
<!-- icon="el-icon-plus"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="primary"-->
<!-- @click="handleAdd"-->
<!-- >新增-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:rechargeRefund:edit']"-->
<!-- :disabled="single"-->
<!-- icon="el-icon-edit"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="success"-->
<!-- @click="handleUpdate"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- </el-col>-->
<!-- <el-col :span="1.5">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:rechargeRefund:remove']"-->
<!-- :disabled="multiple"-->
<!-- icon="el-icon-delete"-->
<!-- plain-->
<!-- size="mini"-->
<!-- type="danger"-->
<!-- @click="handleDelete"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </el-col>-->
<el-col :span="1.5">
<el-button
v-hasPermi="['system:rechargeRefund:export']"
......@@ -131,13 +131,15 @@
<el-table v-loading="loading" :data="rechargeRefundList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="主键" prop="id"/>
<!-- <el-table-column align="center" label="主键" prop="id"/>-->
<el-table-column align="center" label="充值记录表ID" prop="rechargeId"/>
<el-table-column align="center" label="系统计算退款金额" prop="refundAmount"/>
<el-table-column align="center" label="已使用优惠券ID" prop="usedCouponIds"/>
<el-table-column align="center" label="未使用优惠券ID" prop="notusedCouponIds"/>
<el-table-column align="center" label="实际退款金额" prop="actualRefundAmount"/>
<el-table-column align="center" label="审核状态:0-待审核,2-审核通过,3-审核不通过" prop="status"/>
<!-- <el-table-column align="center" label="审核状态:0-待审核,2-审核通过,3-审核不通过" prop="status"/>-->
<el-table-column align="center" label="审核状态" prop="status"/>
<el-table-column align="center" label="退款审核说明" prop="description"/>
<el-table-column align="center" label="退款原因" prop="reason"/>
<el-table-column align="center" label="申请时间" prop="applyForDate" width="180">
......@@ -145,28 +147,29 @@
<span>{{ parseTime(scope.row.applyForDate, '{y}-{m}-{d}') }}</span>
</template>
</el-table-column>
<el-table-column align="center" label="退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知" prop="isSendSms"/>
<!-- <el-table-column align="center" label="退款短信通知运维人员:1-已发送短信通知,0-未发送短信通知" prop="isSendSms"/>-->
<el-table-column align="center" label="退款短信通知运维人员" prop="isSendSms"/>
<el-table-column align="center" label="备注" prop="remark"/>
<el-table-column align="center" class-name="small-padding fixed-width" label="操作">
<template slot-scope="scope">
<el-button
v-hasPermi="['system:rechargeRefund:edit']"
icon="el-icon-edit"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
>修改
</el-button>
<el-button
v-hasPermi="['system:rechargeRefund:remove']"
icon="el-icon-delete"
size="mini"
type="text"
@click="handleDelete(scope.row)"
>删除
</el-button>
</template>
</el-table-column>
<!-- <el-table-column align="center" class-name="small-padding fixed-width" label="操作">-->
<!-- <template slot-scope="scope">-->
<!-- <el-button-->
<!-- v-hasPermi="['system:rechargeRefund:edit']"-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- v-hasPermi="['system:rechargeRefund:remove']"-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
<pagination
......
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form-item label="用户id" prop="consumerId">
<el-input
v-model="queryParams.consumerId"
clearable
placeholder="请输入用户id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="余额" prop="balance">
<el-input
v-model="queryParams.balance"
......@@ -33,14 +25,7 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-input
v-model="queryParams.isDelete"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item>
<el-button icon="el-icon-search" size="mini" type="primary" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
......@@ -99,8 +84,8 @@
<el-table v-loading="loading" :data="walletList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" label="ID" prop="id"/>
<el-table-column align="center" label="用户id" prop="consumerId"/>
<!-- <el-table-column align="center" label="ID" prop="id"/>-->
<!-- <el-table-column align="center" label="用户id" prop="consumerId"/>-->
<el-table-column align="center" label="余额" prop="balance"/>
<el-table-column align="center" label="时长" prop="remainingDuration"/>
<el-table-column align="center" label="积分" prop="remainingIntegral"/>
......@@ -139,9 +124,9 @@
<!-- 添加或修改会员钱包对话框 -->
<el-dialog :title="title" :visible.sync="open" append-to-body width="500px">
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
<el-form-item label="用户id" prop="consumerId">
<el-input v-model="form.consumerId" placeholder="请输入用户id"/>
</el-form-item>
<!-- <el-form-item label="用户id" prop="consumerId">-->
<!-- <el-input v-model="form.consumerId" placeholder="请输入用户id"/>-->
<!-- </el-form-item>-->
<el-form-item label="余额" prop="balance">
<el-input v-model="form.balance" placeholder="请输入余额"/>
</el-form-item>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment