Commit d88236d6 by 吕明尚

修改后台管理系统页面

parent 6f0eed9c
...@@ -114,7 +114,7 @@ ...@@ -114,7 +114,7 @@
<el-table v-loading="loading" :data="equityMembersOrderList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="equityMembersOrderList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/> <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="equityOrderNo"/> <el-table-column align="center" label="权益订单编号" prop="equityOrderNo" width="190"/>
<el-table-column align="center" label="会员昵称" prop="nickName"/> <el-table-column align="center" label="会员昵称" prop="nickName"/>
<el-table-column align="center" label="会员头像" prop="avatar" width="100"> <el-table-column align="center" label="会员头像" prop="avatar" width="100">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -129,18 +129,22 @@ ...@@ -129,18 +129,22 @@
<dict-tag :options="dict.type.store_pay_ways" :value="scope.row.payType"/> <dict-tag :options="dict.type.store_pay_ways" :value="scope.row.payType"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="商户订单号" prop="outTradeNo"/> <!-- <el-table-column align="center" label="商户订单号" prop="outTradeNo"/>-->
<el-table-column align="center" label="终端流水号" prop="terminalTrace"/> <el-table-column align="center" label="终端流水号" prop="terminalTrace" width="210"/>
<el-table-column align="center" label="支付状态" prop="payStatus"> <el-table-column align="center" label="支付状态" prop="payStatus">
<template slot-scope="scope"> <template slot-scope="scope">
<dict-tag :options="dict.type.order_pay_status" :value="scope.row.payStatus"/> <dict-tag :options="dict.type.order_pay_status" :value="scope.row.payStatus"/>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="支付时间" prop="payTime" width="180"> <el-table-column align="center" label="支付时间" prop="payTime" width="180">
<!-- <template slot-scope="scope">-->
<!-- <span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>-->
<!-- </template>-->
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="备注" prop="remark"/> <el-table-column align="center" label="备注" prop="remark"/>
<!-- <el-table-column align="center" class-name="small-padding fixed-width" label="操作">--> <!-- <el-table-column align="center" class-name="small-padding fixed-width" label="操作">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
......
...@@ -41,6 +41,13 @@ ...@@ -41,6 +41,13 @@
<!-- @keyup.enter.native="handleQuery"--> <!-- @keyup.enter.native="handleQuery"-->
<!-- />--> <!-- />-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="会员昵称" prop="nickName">
<el-input
v-model="queryParams.nickName"
clearable
placeholder="请输入会员昵称"
/>
</el-form-item>
<el-form-item label="用户手机号" prop="phone"> <el-form-item label="用户手机号" prop="phone">
<el-input <el-input
v-model="queryParams.phone" v-model="queryParams.phone"
...@@ -146,20 +153,34 @@ ...@@ -146,20 +153,34 @@
</el-row> </el-row>
<el-table v-loading="loading" :data="rechargeList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="rechargeList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55px"/> <el-table-column align="center" type="selection"/>
<!-- <el-table-column align="center" label="主键" prop="id"/>--> <!-- <el-table-column align="center" label="主键" prop="id"/>-->
<el-table-column align="center" label="商户平台唯一订单号" prop="outTradeNo"/> <!-- <el-table-column align="center" label="商户平台唯一订单号" prop="outTradeNo"/>-->
<el-table-column align="center" label="终端流水号" prop="terminalTrace"/> <el-table-column align="center" label="用户昵称" prop="nickName"/>
<el-table-column align="center" label="充值记录编号" prop="rechargeNo"/> <el-table-column align="center" label="用户头像" prop="avatar" width="100">
<template slot-scope="scope">
<image-preview :height="50" :src="scope.row.avatar" :width="50"/>
</template>
</el-table-column>
<el-table-column align="center" label="用户手机号" prop="phone" width="160"/>
<el-table-column align="center" label="充值记录编号" prop="rechargeNo" width="180"/>
<el-table-column align="center" label="终端流水号" prop="terminalTrace" width="210"/>
<el-table-column align="center" label="充值金额" prop="rechargeAmount"/> <el-table-column align="center" label="充值金额" prop="rechargeAmount"/>
<el-table-column align="center" label="支付方式" prop="payType"/> <el-table-column align="center" label="支付方式" prop="payType">
<el-table-column align="center" label="充值满送金额" prop="giveAmount"/> <template slot-scope="scope">
<el-table-column align="center" label="充值赠送方式" prop="giveType"/> <dict-tag :options="dict.type.order_pay_type" :value="scope.row.payType"/>
<el-table-column align="center" label="状态" prop="status"/> </template>
<el-table-column align="center" label="充值赠送优惠券ID" prop="consumerCouponIds"/> </el-table-column>
<el-table-column align="center" label="充值配置表id" prop="rechargeConfId"/>
<el-table-column align="center" label="充值用户ID" prop="consumerId"/> <el-table-column align="center" label="充值满送金额" prop="giveAmount" width="180"/>
<el-table-column align="center" label="充值用户手机号" prop="phone"/> <!-- <el-table-column align="center" label="充值赠送方式" prop="giveType" width="180"/>-->
<el-table-column align="center" label="状态" prop="status">
<template slot-scope="scope">
<dict-tag :options="dict.type.order_pay_status" :value="scope.row.status"/>
</template>
</el-table-column>
<!-- <el-table-column align="center" label="充值赠送优惠券ID" prop="consumerCouponIds"/>-->
<!-- <el-table-column align="center" label="充值配置表id" prop="rechargeConfId"/>-->
<el-table-column align="center" label="充值时间" prop="rechargeDate" width="180"> <el-table-column align="center" label="充值时间" prop="rechargeDate" width="180">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ parseTime(scope.row.rechargeDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span> <span>{{ parseTime(scope.row.rechargeDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
...@@ -268,6 +289,7 @@ import {listRecharge, getRecharge, delRecharge, addRecharge, updateRecharge} fro ...@@ -268,6 +289,7 @@ import {listRecharge, getRecharge, delRecharge, addRecharge, updateRecharge} fro
export default { export default {
name: "Recharge", name: "Recharge",
dicts: ['order_pay_type', 'order_pay_status'],
data() { data() {
return { return {
// 遮罩层 // 遮罩层
...@@ -306,7 +328,8 @@ export default { ...@@ -306,7 +328,8 @@ export default {
isDelete: null, isDelete: null,
outTradeNo: null, outTradeNo: null,
terminalTrace: null, terminalTrace: null,
payTime: null payTime: null,
nickName: null,
}, },
// 表单参数 // 表单参数
form: {}, form: {},
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
<el-input-number v-model="form.giveAmount" :max="100" :min="0"/> <el-input-number v-model="form.giveAmount" :max="100" :min="0"/>
</el-form-item> </el-form-item>
<el-form-item label="充值赠送时长" prop="giveDuration"> <el-form-item label="充值赠送时长" prop="giveDuration">
<el-input-number v-model="form.giveDuration" :max="100" :min="0.5" :step="0.5" value="1"/> <el-input-number v-model="form.giveDuration" :max="100" :min="0.5" :step="0.5"/>
</el-form-item> </el-form-item>
<el-form-item label="积分赠送比例" prop="giveRatio"> <el-form-item label="积分赠送比例" prop="giveRatio">
<el-input-number v-model="form.giveRatio" :max="100" :min="0"/> <el-input-number v-model="form.giveRatio" :max="100" :min="0"/>
......
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