|
@@ -12,7 +12,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="团队名称" label-width="100px">
|
|
|
<el-input
|
|
|
- v-model="queryParams.memberMobile"
|
|
|
+ v-model="queryParams.teamName"
|
|
|
placeholder="请输入团队名称"
|
|
|
clearable
|
|
|
style="width: 240px;"
|
|
@@ -21,17 +21,17 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="团队类型">
|
|
|
<el-select
|
|
|
- v-model="queryParams.source"
|
|
|
- placeholder="团队类型"
|
|
|
- clearable
|
|
|
- style="width: 100%"
|
|
|
+ v-model="queryParams.teamType"
|
|
|
+ placeholder="团队类型"
|
|
|
+ clearable
|
|
|
+ style="width: 240px"
|
|
|
>
|
|
|
- <el-option
|
|
|
- v-for="dict in sourceMapList"
|
|
|
- :key="dict.value"
|
|
|
- :label="dict.name"
|
|
|
- :value="dict.value"
|
|
|
- />
|
|
|
+ <el-option
|
|
|
+ v-for="dict in dict.type.team_type"
|
|
|
+ :key="dict.value"
|
|
|
+ :label="dict.label"
|
|
|
+ :value="dict.value"
|
|
|
+ />
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="订单状态">
|
|
@@ -72,12 +72,16 @@
|
|
|
<el-table ref="tables" v-loading="loading" :data="dataList" border>
|
|
|
<el-table-column label="序号" align="center" type="index" width="60"></el-table-column>
|
|
|
<el-table-column label="订单号" align="center" prop="id" />
|
|
|
- <el-table-column label="团队名称" align="center" prop="memberMobile" />
|
|
|
- <el-table-column label="团队类型" align="center" prop="performName" />
|
|
|
- <el-table-column label="联系电话" align="center" prop="goodsName" />
|
|
|
- <el-table-column label="负责人" align="center" prop="seatTypeName" />
|
|
|
+ <el-table-column label="团队名称" align="center" prop="teamName" />
|
|
|
+ <el-table-column label="团队类型" align="center" prop="type">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="dict.type.team_type" :value="scope.row.teamType"/>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="联系电话" align="center" prop="teamMobile" />
|
|
|
+ <el-table-column label="负责人" align="center" prop="teamContact" />
|
|
|
<el-table-column label="剧目名称" align="center" prop="goodsName" />
|
|
|
- <el-table-column label="座位类型" align="center" prop="goodsName" />
|
|
|
+ <el-table-column label="座位类型" align="center" prop="seatTypeName" />
|
|
|
<el-table-column label="团购数量" align="center" prop="quantity" />
|
|
|
<el-table-column label="支付总额" align="center" prop="orderPrice">
|
|
|
<template slot-scope="scope">
|
|
@@ -120,19 +124,19 @@
|
|
|
/>
|
|
|
|
|
|
<!-- 详情 -->
|
|
|
- <details-dia ref="detailsDia" @getList="getList"></details-dia>
|
|
|
+ <details-dia ref="detailsDia" :dict="dict" @getList="getList"></details-dia>
|
|
|
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
|
|
|
-import { pageList } from '@/api/order/orderMr'
|
|
|
+import { pageList } from '@/api/order/groupBuyingMr'
|
|
|
import detailsDia from "./dialog/details.vue";
|
|
|
|
|
|
export default {
|
|
|
name: "agreement",
|
|
|
- dicts: ['agreement_type'],
|
|
|
+ dicts: ['agreement_type', 'team_type'],
|
|
|
components: { detailsDia },
|
|
|
data() {
|
|
|
return {
|
|
@@ -195,20 +199,22 @@ export default {
|
|
|
'cahsh': '现金',
|
|
|
'wecaht.applet': '微信小程序支付',
|
|
|
'alipay': '支付宝',
|
|
|
+ 'wecaht.h5': '微信公众号支付',
|
|
|
+ 'meituan': '美团支付',
|
|
|
},
|
|
|
sourceList: {
|
|
|
1: '小程序',
|
|
|
- 2: '美团',
|
|
|
- 3: '携程',
|
|
|
- 4: '公众号',
|
|
|
- 5: '支付宝',
|
|
|
+ 2: '公众号',
|
|
|
+ 3: '美团',
|
|
|
+ 4: '携程',
|
|
|
+ 5: '团购',
|
|
|
},
|
|
|
sourceMapList: [
|
|
|
{id: 1, name: '小程序', value: 1},
|
|
|
- {id: 2, name: '美团', value: 2},
|
|
|
- {id: 3, name: '携程', value: 3},
|
|
|
- {id: 4, name: '公众号', value: 4},
|
|
|
- {id: 5, name: '支付宝', value: 5},
|
|
|
+ {id: 2, name: '公众号', value: 2},
|
|
|
+ {id: 3, name: '美团', value: 3},
|
|
|
+ {id: 4, name: '携程', value: 4},
|
|
|
+ {id: 5, name: '团购', value: 5},
|
|
|
],
|
|
|
visibleStatus: false,
|
|
|
newObj: {},
|
|
@@ -247,8 +253,8 @@ export default {
|
|
|
this.dateRange = [];
|
|
|
this.$set(this.queryParams, 'orderId', '');
|
|
|
this.$set(this.queryParams, 'status', '');
|
|
|
- this.$set(this.queryParams, 'memberMobile', '');
|
|
|
- this.$set(this.queryParams, 'source', '');
|
|
|
+ this.$set(this.queryParams, 'teamType', '');
|
|
|
+ this.$set(this.queryParams, 'teamName', '');
|
|
|
this.$set(this.queryParams, 'performName', '');
|
|
|
this.$set(this.queryParams, 'payBeginTime', '');
|
|
|
this.$set(this.queryParams, 'payEndTime', '');
|