|
@@ -24,13 +24,13 @@
|
|
|
@keyup.enter.native="handleQuery" />
|
|
|
</el-form-item>
|
|
|
<el-form-item label="是否合作" prop="isShare">
|
|
|
- <el-select v-model="queryParams.isShare">
|
|
|
+ <el-select v-model="queryParams.isShare">
|
|
|
<el-option value="1" key="1" label="是"></el-option>
|
|
|
<el-option value="0" key="2" label="否"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="支付状态" prop="tradeType">
|
|
|
- <el-select v-model="queryParams.tradeType">
|
|
|
+ <el-select v-model="queryParams.tradeType">
|
|
|
<el-option value="1" key="1" label="支付成功">支付成功</el-option>
|
|
|
<el-option value="2" key="2" label="支付失败">支付失败</el-option>
|
|
|
<el-option value="3" key="3" label="已退款"></el-option>
|
|
@@ -85,9 +85,9 @@
|
|
|
<template slot-scope="scope">
|
|
|
|
|
|
|
|
|
-
|
|
|
- {{ scope.row.schoolName }}
|
|
|
-
|
|
|
+
|
|
|
+ {{ scope.row.schoolName }}
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
@@ -96,13 +96,19 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="商品名" align="center" prop="goodsName"></el-table-column>
|
|
|
+ <el-table-column label="手机类型" align="center" prop="goodsName">
|
|
|
+ <template slot-scope="scope">{{ scope.row.phoneType == 1 ? '苹果' : '安卓' }}</template>
|
|
|
+ </el-table-column>
|
|
|
+
|
|
|
<el-table-column label="支付时间" align="center" prop="successTime"></el-table-column>
|
|
|
<el-table-column label="订单总额" align="center" prop="orderTotal">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.total / 100 }}元
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
-
|
|
|
+ <el-table-column label="是否分成" align="center" prop="isShare">
|
|
|
+ <template slot-scope="scope">{{ scope.row.isShare == 1 ? '是' : '否' }}</template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="驾校提成" align="center" prop="schoolCommission">
|
|
|
<template slot-scope="scope">
|
|
|
{{ scope.row.schoolCommission / 100 }}元
|
|
@@ -140,7 +146,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
-import { getList} from "@/api/tool/reportDetail";
|
|
|
+import { getList } from "@/api/tool/reportDetail";
|
|
|
|
|
|
export default {
|
|
|
name: "Error",
|
|
@@ -166,14 +172,14 @@ export default {
|
|
|
open: false,
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
- schoolName:'',
|
|
|
- startTime:null,
|
|
|
- endTime:null,
|
|
|
-
|
|
|
+ schoolName: '',
|
|
|
+ startTime: null,
|
|
|
+ endTime: null,
|
|
|
+
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
- tradeType:null,
|
|
|
- isShare:null
|
|
|
+ tradeType: null,
|
|
|
+ isShare: null
|
|
|
// id: null,
|
|
|
// outRefundNo: null,
|
|
|
// payType: 1,
|
|
@@ -192,9 +198,9 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.queryParams.schoolName = this.$route.query.schoolName||''
|
|
|
- this.queryParams.startTime = this.$route.query.startTime||null
|
|
|
- this.queryParams.endTime = this.$route.query.endTime||null
|
|
|
+ this.queryParams.schoolName = this.$route.query.schoolName || ''
|
|
|
+ this.queryParams.startTime = this.$route.query.startTime || null
|
|
|
+ this.queryParams.endTime = this.$route.query.endTime || null
|
|
|
this.getList();
|
|
|
},
|
|
|
methods: {
|
|
@@ -220,8 +226,8 @@ export default {
|
|
|
endTime: null,
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
- tradeType:null,
|
|
|
- isShare:null
|
|
|
+ tradeType: null,
|
|
|
+ isShare: null
|
|
|
// id: null,
|
|
|
// outRefundNo: null,
|
|
|
// payType: 1,
|