|
@@ -132,65 +132,75 @@
|
|
|
:max-height="tableHeight"
|
|
|
v-loading="tableLoading">
|
|
|
<el-table-column
|
|
|
- prop="user_name"
|
|
|
- label="用户名"
|
|
|
+ type="index"
|
|
|
+ label="#"
|
|
|
+ sortable
|
|
|
+ width="64"
|
|
|
+ :index="(pageNumber-1)*pageSize+1">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="sn"
|
|
|
+ label="交易单号"
|
|
|
sortable="custom"
|
|
|
width="200"
|
|
|
class-name="user-info">
|
|
|
- <template slot-scope="scope">
|
|
|
- <el-image
|
|
|
- class="touxiang"
|
|
|
- :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')"
|
|
|
- fit="cover" style="width:24px;height:24px;margin-right:8px">
|
|
|
- </el-image>
|
|
|
- <!-- <img class="touxiang" :src="scope.row.image_url?scope.row.image_url:require('../../assets/avatar.png')" /> -->
|
|
|
- <span class="name">{{scope.row.user_name}}</span>
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="real_name"
|
|
|
- label="真实姓名"
|
|
|
+ prop="order_time"
|
|
|
+ label="交易时间"
|
|
|
width="112">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="sex_name"
|
|
|
- label="性别"
|
|
|
+ prop="name"
|
|
|
+ label="购买商品"
|
|
|
width="56">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="account_type_name"
|
|
|
- label="账户类型"
|
|
|
+ prop="goods_type"
|
|
|
+ label="商品类型"
|
|
|
width="120" >
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="email"
|
|
|
- label="邮箱"
|
|
|
+ prop="goods_study_phase_name"
|
|
|
+ label="学段"
|
|
|
min-width="200">
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="phone"
|
|
|
- label="手机号"
|
|
|
+ prop="goods_price"
|
|
|
+ label="价格"
|
|
|
width="144">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span class="currectPrice">¥{{scope.row.goods_price_discount | cutMoneyFiter}}</span>
|
|
|
+ <span class="oldPrice" v-if="scope.row.goods_price!==scope.row.goods_price_discount">(¥{{scope.row.goods_price | cutMoneyFiter}})</span>
|
|
|
+ </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="status"
|
|
|
- label="状态"
|
|
|
+ prop="discount_code"
|
|
|
+ label="兑换码"
|
|
|
width="96" >
|
|
|
- <template slot-scope="scope">
|
|
|
- <div class="status-box">
|
|
|
- <span :style="{background:statusList[scope.row.status].bg}"></span>
|
|
|
- <b :style="{color:statusList[scope.row.status].color}">{{statusList[scope.row.status].text}}</b>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- prop="create_time"
|
|
|
- label="创建时间"
|
|
|
+ prop="order_amount"
|
|
|
+ label="支付金额"
|
|
|
+ sortable="custom"
|
|
|
+ width="160">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="pay_type_name"
|
|
|
+ label="支付渠道"
|
|
|
+ width="96" >
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="order_amount"
|
|
|
+ label="支付流水"
|
|
|
+ sortable="custom"
|
|
|
+ width="160">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="order_status"
|
|
|
+ label="交易状态"
|
|
|
sortable="custom"
|
|
|
width="160">
|
|
|
- <template slot-scope="scope">
|
|
|
- {{scope.row.create_time?scope.row.create_time.substring(0,16):'-'}}
|
|
|
- </template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
fixed="right"
|
|
@@ -202,7 +212,7 @@
|
|
|
type="text"
|
|
|
size="small"
|
|
|
class="primary-btn">
|
|
|
- 编辑
|
|
|
+ 退款
|
|
|
</el-button>
|
|
|
<el-button
|
|
|
@click.native.prevent="handleUp(scope.row, scope.$index)"
|
|
@@ -210,15 +220,7 @@
|
|
|
size="small"
|
|
|
class="primary-btn"
|
|
|
v-if="scope.row.status===0">
|
|
|
- 开启
|
|
|
- </el-button>
|
|
|
- <el-button
|
|
|
- @click.native.prevent="handleUp(scope.row, scope.$index)"
|
|
|
- type="text"
|
|
|
- size="small"
|
|
|
- class="red-btn"
|
|
|
- v-else-if="scope.row.status===1">
|
|
|
- 停用
|
|
|
+ 撤回
|
|
|
</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
@@ -439,8 +441,7 @@ export default {
|
|
|
if(page){
|
|
|
this.pageNumber = page
|
|
|
}
|
|
|
- // searchArea需要取[1]
|
|
|
- let MethodName = "/OrgServer/Manager/PageQuery/PageQuerySysUserList";
|
|
|
+ let MethodName = "/ShopServer/Manager/FinanceManager/PageQueryOrderList";
|
|
|
let order_column_list = []
|
|
|
if(this.dataSort != {}){
|
|
|
if(this.dataSort.order=='descending'){
|
|
@@ -466,7 +467,7 @@ export default {
|
|
|
.then((res) => {
|
|
|
this.tableLoading = false
|
|
|
if(res.status===1){
|
|
|
- this.tableData = res.sys_user_list
|
|
|
+ this.tableData = res.order_list
|
|
|
this.total_count = res.total_count
|
|
|
}
|
|
|
})
|