|
@@ -132,8 +132,23 @@
|
|
|
scope.row.createTime | formatCreateTime
|
|
|
}}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="用户账号" align="center">
|
|
|
- <template slot-scope="scope">{{ scope.row.memberUsername }}</template>
|
|
|
+ <el-table-column label="用户类型" align="center">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <p v-if="scope.row.userType=='STUDENT'">学生</p>
|
|
|
+ <p v-else-if="scope.row.userType=='TEACHER'">老师</p>
|
|
|
+ <p v-else>--</p>
|
|
|
+
|
|
|
+
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="用户编号" align="center">
|
|
|
+ <template slot-scope="scope">{{ scope.row.userId }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="用户名" align="center">
|
|
|
+ <template slot-scope="scope">{{ scope.row.username }}</template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="手机号" align="center">
|
|
|
+ <template slot-scope="scope">{{ scope.row.phone }}</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="订单金额" width="120" align="center">
|
|
|
<template slot-scope="scope">¥{{ scope.row.totalAmount }}</template>
|
|
@@ -407,7 +422,7 @@ export default {
|
|
|
},
|
|
|
handleCloseOrder(index, row) {
|
|
|
this.closeOrder.dialogVisible = true;
|
|
|
- this.closeOrder.content = ''
|
|
|
+ this.closeOrder.content = "";
|
|
|
this.closeOrder.orderIds = [row.id];
|
|
|
},
|
|
|
handleDeliveryOrder(index, row) {
|