|
@@ -11,7 +11,7 @@
|
|
ref="searchForm"
|
|
ref="searchForm"
|
|
@submit="search"
|
|
@submit="search"
|
|
@reset="reset"
|
|
@reset="reset"
|
|
- :saveKey="'tenantTradeManager'"
|
|
|
|
|
|
+ :saveKey="'groupRecordManager'"
|
|
:model.sync="searchForm"
|
|
:model.sync="searchForm"
|
|
>
|
|
>
|
|
<el-form-item prop="queryCondition">
|
|
<el-form-item prop="queryCondition">
|
|
@@ -55,18 +55,37 @@
|
|
<el-table-column align="center" label="交易流水号" prop="transNo">
|
|
<el-table-column align="center" label="交易流水号" prop="transNo">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div>
|
|
<div>
|
|
- <copy-text>{{scope.row.transNo}}</copy-text>
|
|
|
|
|
|
+ <copy-text>{{ scope.row.transNo }}</copy-text>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="订单号" prop="orderNo" width="160px">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="center"
|
|
|
|
+ label="订单号"
|
|
|
|
+ prop="orderNo"
|
|
|
|
+ width="160px"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="订单时间" prop="orderTime" width="160px">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="center"
|
|
|
|
+ label="订单时间"
|
|
|
|
+ prop="orderTime"
|
|
|
|
+ width="160px"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="学员编号" prop="studentId" width="80px">
|
|
|
|
-
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="center"
|
|
|
|
+ label="学员编号"
|
|
|
|
+ prop="studentId"
|
|
|
|
+ width="80px"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column align="center" label="学员名称" prop="name" width="120px">
|
|
|
|
|
|
+ <el-table-column
|
|
|
|
+ align="center"
|
|
|
|
+ label="学员名称"
|
|
|
|
+ prop="name"
|
|
|
|
+ width="120px"
|
|
|
|
+ >
|
|
</el-table-column>
|
|
</el-table-column>
|
|
<el-table-column align="center" label="手机号码" prop="phone">
|
|
<el-table-column align="center" label="手机号码" prop="phone">
|
|
</el-table-column>
|
|
</el-table-column>
|
|
@@ -94,7 +113,7 @@
|
|
</el-table-column>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-table>
|
|
<pagination
|
|
<pagination
|
|
- :saveKey="'tenantTradeManager'"
|
|
|
|
|
|
+ :saveKey="'groupRecordManager'"
|
|
sync
|
|
sync
|
|
:total.sync="pageInfo.total"
|
|
:total.sync="pageInfo.total"
|
|
:page.sync="pageInfo.page"
|
|
:page.sync="pageInfo.page"
|
|
@@ -104,7 +123,6 @@
|
|
/>
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
<script>
|
|
<script>
|
|
@@ -115,7 +133,7 @@ import { getTimes } from "@/utils";
|
|
const initSearch = {
|
|
const initSearch = {
|
|
queryCondition: null,
|
|
queryCondition: null,
|
|
orderNo: null,
|
|
orderNo: null,
|
|
- createTimer: [],
|
|
|
|
|
|
+ createTimer: []
|
|
};
|
|
};
|
|
export default {
|
|
export default {
|
|
components: { pagination },
|
|
components: { pagination },
|
|
@@ -128,7 +146,7 @@ export default {
|
|
limit: 10, // 限制显示条数
|
|
limit: 10, // 限制显示条数
|
|
page: 1, // 当前页
|
|
page: 1, // 当前页
|
|
total: 0, // 总条数
|
|
total: 0, // 总条数
|
|
- page_size: [10, 20, 40, 50], // 选择限制显示条数
|
|
|
|
|
|
+ page_size: [10, 20, 40, 50] // 选择限制显示条数
|
|
},
|
|
},
|
|
searchForm: { ...initSearch }
|
|
searchForm: { ...initSearch }
|
|
};
|
|
};
|
|
@@ -142,11 +160,15 @@ export default {
|
|
let { createTimer, ...reset } = this.searchForm;
|
|
let { createTimer, ...reset } = this.searchForm;
|
|
const res = await queryActiveRecord({
|
|
const res = await queryActiveRecord({
|
|
...reset,
|
|
...reset,
|
|
- ...getTimes(createTimer, ["startTime", "endTime"], "YYYY-MM-DD HH:mm:ss"),
|
|
|
|
|
|
+ ...getTimes(
|
|
|
|
+ createTimer,
|
|
|
|
+ ["startTime", "endTime"],
|
|
|
|
+ "YYYY-MM-DD HH:mm:ss"
|
|
|
|
+ ),
|
|
page: this.pageInfo.page,
|
|
page: this.pageInfo.page,
|
|
rows: this.pageInfo.limit
|
|
rows: this.pageInfo.limit
|
|
});
|
|
});
|
|
- console.log(res)
|
|
|
|
|
|
+ console.log(res);
|
|
this.pageInfo.total = res.data.total;
|
|
this.pageInfo.total = res.data.total;
|
|
this.tableList = res.data.rows;
|
|
this.tableList = res.data.rows;
|
|
} catch (e) {}
|
|
} catch (e) {}
|
|
@@ -162,8 +184,8 @@ export default {
|
|
this.search();
|
|
this.search();
|
|
},
|
|
},
|
|
openService(row) {
|
|
openService(row) {
|
|
- this.orderVisible = true
|
|
|
|
- },
|
|
|
|
|
|
+ this.orderVisible = true;
|
|
|
|
+ }
|
|
},
|
|
},
|
|
filters: {
|
|
filters: {
|
|
tenantOrderStatus(val) {
|
|
tenantOrderStatus(val) {
|
|
@@ -171,8 +193,8 @@ export default {
|
|
0: "待支付",
|
|
0: "待支付",
|
|
1: "已支付",
|
|
1: "已支付",
|
|
2: "支付失败"
|
|
2: "支付失败"
|
|
- }
|
|
|
|
- return template[val]
|
|
|
|
|
|
+ };
|
|
|
|
+ return template[val];
|
|
}
|
|
}
|
|
}
|
|
}
|
|
};
|
|
};
|