Commit eb8e00c4 by 吕明尚

修改后台管理页面

parent 598aca72
<template>
<div class="app-container">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" label-width="68px" size="small">
<el-form v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" size="small">
<el-form-item label="权益订单编号" prop="equityOrderNo">
<el-input
v-model="queryParams.equityOrderNo"
......@@ -9,22 +9,14 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="订单金额" prop="payPrice">
<el-input
v-model="queryParams.payPrice"
clearable
placeholder="请输入订单金额"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="权益会员订单配置id" prop="equityMembersConfigId">
<el-input
v-model="queryParams.equityMembersConfigId"
clearable
placeholder="请输入权益会员订单配置id"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<!-- <el-form-item label="订单金额" prop="payPrice">-->
<!-- <el-input-->
<!-- v-model="queryParams.payPrice"-->
<!-- clearable-->
<!-- placeholder="请输入订单金额"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="商户订单号" prop="outTradeNo">
<el-input
v-model="queryParams.outTradeNo"
......@@ -33,11 +25,11 @@
@keyup.enter.native="handleQuery"
/>
</el-form-item>
<el-form-item label="商户订单号" prop="terminalTrace">
<el-form-item label="终端流水号" prop="terminalTrace">
<el-input
v-model="queryParams.terminalTrace"
clearable
placeholder="请输入商户订单号"
placeholder="请输入终端流水号"
@keyup.enter.native="handleQuery"
/>
</el-form-item>
......@@ -49,12 +41,18 @@
value-format="yyyy-MM-dd">
</el-date-picker>
</el-form-item>
<el-form-item label="是否删除" prop="isDelete">
<el-form-item label="会员昵称" prop="nickName">
<el-input
v-model="queryParams.isDelete"
v-model="queryParams.nickName"
clearable
placeholder="请输入是否删除"
@keyup.enter.native="handleQuery"
placeholder="请输入会员昵称"
/>
</el-form-item>
<el-form-item label="会员手机号" prop="phone">
<el-input
v-model="queryParams.phone"
clearable
placeholder="请输入会员手机号"
/>
</el-form-item>
<el-form-item>
......@@ -64,41 +62,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:equityMembersOrder: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:equityMembersOrder: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:equityMembersOrder: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:equityMembersOrder: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:equityMembersOrder: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:equityMembersOrder: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:equityMembersOrder:export']"
......@@ -115,41 +113,55 @@
<el-table v-loading="loading" :data="equityMembersOrderList" @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="equityOrderNo"/>
<el-table-column align="center" label="会员昵称" prop="nickName"/>
<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"/>
<el-table-column align="center" label="订单金额" prop="payPrice"/>
<el-table-column align="center" label="权益会员订单配置id" prop="equityMembersConfigId"/>
<el-table-column align="center" label="支付类型" prop="payType"/>
<!-- <el-table-column align="center" label="权益会员订单配置id" prop="equityMembersConfigId"/>-->
<el-table-column align="center" label="支付类型" prop="payType">
<template slot-scope="scope">
<dict-tag :options="dict.type.store_pay_ways" :value="scope.row.payType"/>
</template>
</el-table-column>
<el-table-column align="center" label="商户订单号" prop="outTradeNo"/>
<el-table-column align="center" label="商户订单号" prop="terminalTrace"/>
<el-table-column align="center" label="支付状态(0:未支付,1:已支付)" prop="payStatus"/>
<el-table-column align="center" label="支付时间" prop="payTime" width="180">
<el-table-column align="center" label="终端流水号" prop="terminalTrace"/>
<el-table-column align="center" label="支付状态" prop="payStatus">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d}') }}</span>
<dict-tag :options="dict.type.order_pay_status" :value="scope.row.payStatus"/>
</template>
</el-table-column>
<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="操作">
<el-table-column align="center" label="支付时间" prop="payTime" width="180">
<template slot-scope="scope">
<el-button
v-hasPermi="['system:equityMembersOrder:edit']"
icon="el-icon-edit"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
>修改
</el-button>
<el-button
v-hasPermi="['system:equityMembersOrder:remove']"
icon="el-icon-delete"
size="mini"
type="text"
@click="handleDelete(scope.row)"
>删除
</el-button>
<span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template>
</el-table-column>
<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:equityMembersOrder:edit']"-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- v-hasPermi="['system:equityMembersOrder:remove']"-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
<pagination
......@@ -212,6 +224,7 @@ import {
export default {
name: "EquityMembersOrder",
dicts: ['store_is_use_coupon', 'store_pay_ways', 'order_pay_status'],
data() {
return {
// 遮罩层
......@@ -245,6 +258,8 @@ export default {
payStatus: null,
payTime: null,
isDelete: null,
nickName: null,
phone: null,
},
// 表单参数
form: {},
......
......@@ -46,41 +46,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:member: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:member: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:member: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:member: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:member: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:member: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:member:export']"
......@@ -127,26 +127,26 @@
<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">
<el-button
v-hasPermi="['system:member:edit']"
icon="el-icon-edit"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
>修改
</el-button>
<el-button
v-hasPermi="['system:member: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:member:edit']"-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- v-hasPermi="['system:member: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 v-show="showSearch" ref="queryForm" :inline="true" :model="queryParams" size="small">
<el-form-item label="充值记录编号" prop="rechargeNo">
<el-input
v-model="queryParams.rechargeNo"
......@@ -146,8 +146,10 @@
</el-row>
<el-table v-loading="loading" :data="rechargeList" @selection-change="handleSelectionChange">
<el-table-column align="center" type="selection" width="55"/>
<el-table-column align="center" type="selection" width="55px"/>
<!-- <el-table-column align="center" label="主键" prop="id"/>-->
<el-table-column align="center" label="商户平台唯一订单号" prop="outTradeNo"/>
<el-table-column align="center" label="终端流水号" prop="terminalTrace"/>
<el-table-column align="center" label="充值记录编号" prop="rechargeNo"/>
<el-table-column align="center" label="充值金额" prop="rechargeAmount"/>
<el-table-column align="center" label="支付方式" prop="payType"/>
......@@ -160,18 +162,16 @@
<el-table-column align="center" label="充值用户手机号" prop="phone"/>
<el-table-column align="center" label="充值时间" prop="rechargeDate" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.rechargeDate, '{y}-{m}-{d}') }}</span>
<span>{{ parseTime(scope.row.rechargeDate, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template>
</el-table-column>
<!-- <el-table-column align="center" label="删除标记:1-删除,0-正常" prop="isDelete"/>-->
<el-table-column align="center" label="备注" prop="remark"/>
<el-table-column align="center" label="商户平台唯一订单号" prop="outTradeNo"/>
<el-table-column align="center" label="终端流水号" prop="terminalTrace"/>
<el-table-column align="center" label="支付时间" prop="payTime" width="180">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d}') }}</span>
<span>{{ parseTime(scope.row.payTime, '{y}-{m}-{d} {h}:{i}:{s}') }}</span>
</template>
</el-table-column>
<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-->
......
<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="余额" prop="balance">
<!-- <el-form-item label="余额" prop="balance">-->
<!-- <el-input-->
<!-- v-model="queryParams.balance"-->
<!-- clearable-->
<!-- placeholder="请输入余额"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="时长" prop="remainingDuration">-->
<!-- <el-input-->
<!-- v-model="queryParams.remainingDuration"-->
<!-- clearable-->
<!-- placeholder="请输入时长"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<!-- <el-form-item label="积分" prop="remainingIntegral">-->
<!-- <el-input-->
<!-- v-model="queryParams.remainingIntegral"-->
<!-- clearable-->
<!-- placeholder="请输入积分"-->
<!-- @keyup.enter.native="handleQuery"-->
<!-- />-->
<!-- </el-form-item>-->
<el-form-item label="会员昵称" prop="nickName">
<el-input
v-model="queryParams.balance"
v-model="queryParams.nickName"
clearable
placeholder="请输入余额"
@keyup.enter.native="handleQuery"
placeholder="请输入会员昵称"
/>
</el-form-item>
<el-form-item label="时长" prop="remainingDuration">
<el-form-item label="会员手机号" prop="phone">
<el-input
v-model="queryParams.remainingDuration"
v-model="queryParams.phone"
clearable
placeholder="请输入时长"
@keyup.enter.native="handleQuery"
placeholder="请输入会员手机号"
/>
</el-form-item>
<el-form-item label="积分" prop="remainingIntegral">
<el-input
v-model="queryParams.remainingIntegral"
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>
......@@ -33,41 +46,41 @@
</el-form>
<el-row :gutter="10" class="mb8">
<el-col :span="1.5">
<el-button
v-hasPermi="['system:wallet: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:wallet: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:wallet: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:wallet: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:wallet: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:wallet: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:wallet:export']"
......@@ -86,31 +99,38 @@
<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="会员昵称" prop="nickName"/>
<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"/>
<el-table-column align="center" label="余额" prop="balance"/>
<el-table-column align="center" label="时长" prop="remainingDuration"/>
<el-table-column align="center" label="积分" prop="remainingIntegral"/>
<el-table-column align="center" label="是否删除" prop="isDelete"/>
<!-- <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">
<el-button
v-hasPermi="['system:wallet:edit']"
icon="el-icon-edit"
size="mini"
type="text"
@click="handleUpdate(scope.row)"
>修改
</el-button>
<el-button
v-hasPermi="['system:wallet: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:wallet:edit']"-->
<!-- icon="el-icon-edit"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleUpdate(scope.row)"-->
<!-- >修改-->
<!-- </el-button>-->
<!-- <el-button-->
<!-- v-hasPermi="['system:wallet:remove']"-->
<!-- icon="el-icon-delete"-->
<!-- size="mini"-->
<!-- type="text"-->
<!-- @click="handleDelete(scope.row)"-->
<!-- >删除-->
<!-- </el-button>-->
<!-- </template>-->
<!-- </el-table-column>-->
</el-table>
<pagination
......@@ -185,6 +205,8 @@ export default {
remainingDuration: null,
remainingIntegral: null,
isDelete: null,
nickName: null,
phone: null,
},
// 表单参数
form: {},
......
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