|
@@ -9,8 +9,8 @@
|
|
|
<el-tabs type="border-card">
|
|
|
<el-tab-pane label="服务单次卡后T+30复购汇总">
|
|
|
<el-form :inline="true" size="small" v-model="listQuery1">
|
|
|
- <el-form-item label="服务月份">
|
|
|
- <el-date-picker v-model="listQuery1.month" type="month" value-format="yyyy-MM" :picker-options="{}"></el-date-picker>
|
|
|
+ <el-form-item label="服务日期">
|
|
|
+ <el-date-picker v-model="timeArray1" type="daterange" value-format="yyyy-MM-dd" :picker-options="{}"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="城市">
|
|
|
<el-select v-model="listQuery1.city" clearable placeholder="请选择城市" filterable multiple>
|
|
@@ -42,14 +42,17 @@
|
|
|
|
|
|
<el-tab-pane label="服务单次卡后T+30复购明细">
|
|
|
<el-form :inline="true" size="small" v-model="listQuery2">
|
|
|
- <el-form-item label="服务月份">
|
|
|
- <el-date-picker v-model="listQuery2.month" type="month" value-format="yyyy-MM" :picker-options="{}"></el-date-picker>
|
|
|
+ <el-form-item label="服务日期">
|
|
|
+ <el-date-picker v-model="timeArray2" type="daterange" value-format="yyyy-MM-dd" :picker-options="{}"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="城市">
|
|
|
<el-select v-model="listQuery2.city" clearable placeholder="请选择城市" filterable multiple>
|
|
|
<el-option v-for="(item,index) in cityList" :key="index" :label="item" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="客户手机号">
|
|
|
+ <el-input v-model="listQuery2.mobile" type="number" style="width:150px" placeholder="请输入下单手机号" maxlength="11"></el-input>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch2(false)">查询</el-button>
|
|
|
<el-button type="primary" icon="el-icon-download" @click="querySearch2(true)">导出</el-button>
|
|
@@ -69,6 +72,8 @@
|
|
|
<el-table-column prop="isNew" label="客户类型"></el-table-column>
|
|
|
<el-table-column prop="bookTime" label="服务时间"></el-table-column>
|
|
|
<el-table-column prop="bookTradeNo" label="服务单号"></el-table-column>
|
|
|
+ <el-table-column prop="gmv" label="服务Gmv"></el-table-column>
|
|
|
+ <el-table-column prop="cusPhone" label="客户手机号"></el-table-column>
|
|
|
<el-table-column prop="payTime" label="复购时间"></el-table-column>
|
|
|
<el-table-column prop="goodsName" label="复购商品"></el-table-column>
|
|
|
<el-table-column prop="payFee" label="实付金额"></el-table-column>
|
|
@@ -78,14 +83,18 @@
|
|
|
|
|
|
<el-tab-pane label="服务品类后T+30复购明细">
|
|
|
<el-form :inline="true" size="small" v-model="listQuery3">
|
|
|
- <el-form-item label="服务月份">
|
|
|
- <el-date-picker v-model="listQuery3.month" type="month" value-format="yyyy-MM" :picker-options="{}"></el-date-picker>
|
|
|
+ <el-form-item label="服务日期">
|
|
|
+ <el-date-picker v-model="timeArray3" type="daterange" value-format="yyyy-MM-dd" :picker-options="{}"></el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="城市">
|
|
|
<el-select v-model="listQuery3.city" clearable placeholder="请选择城市" filterable multiple>
|
|
|
<el-option v-for="(item,index) in cityList" :key="index" :label="item" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="客户手机号">
|
|
|
+ <el-input v-model="listQuery3.mobile" type="number" style="width:150px" placeholder="请输入下单手机号" maxlength="11"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch3(false)">查询</el-button>
|
|
|
<el-button type="primary" icon="el-icon-download" @click="querySearch3(true)">导出</el-button>
|
|
@@ -112,14 +121,18 @@
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="周期老客T+30续约明细">
|
|
|
<el-form :inline="true" size="small" v-model="listQuery4">
|
|
|
- <el-form-item label="服务月份">
|
|
|
- <el-date-picker v-model="listQuery4.month" type="month" value-format="yyyy-MM" :picker-options="{}"></el-date-picker>
|
|
|
- </el-form-item>
|
|
|
+ <el-form-item label="服务日期">
|
|
|
+ <el-date-picker v-model="timeArray4" type="daterange" value-format="yyyy-MM-dd" :picker-options="{}"></el-date-picker>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="城市">
|
|
|
<el-select v-model="listQuery4.city" clearable placeholder="请选择城市" filterable multiple>
|
|
|
<el-option v-for="(item,index) in cityList" :key="index" :label="item" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="客户手机号">
|
|
|
+ <el-input v-model="listQuery4.mobile" type="number" style="width:150px" placeholder="请输入下单手机号" maxlength="11"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch4(false)">查询</el-button>
|
|
|
<el-button type="primary" icon="el-icon-download" @click="querySearch4(true)">导出</el-button>
|
|
@@ -159,6 +172,10 @@
|
|
|
<el-option v-for="(item,index) in cityList" :key="index" :label="item" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="客户手机号">
|
|
|
+ <el-input v-model="listQuery5.mobile" type="number" style="width:150px" placeholder="请输入下单手机号" maxlength="11"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
|
|
|
<el-form-item label="分类">
|
|
|
<el-select v-model="listQuery5.type" clearable placeholder="请选择分类">
|
|
@@ -203,7 +220,10 @@
|
|
|
<el-option v-for="(item,index) in cityList" :key="index" :label="item" :value="item"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
-
|
|
|
+ <el-form-item label="客户手机号">
|
|
|
+ <el-input v-model="listQuery6.mobile" type="number" style="width:150px" placeholder="请输入下单手机号" maxlength="11"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+
|
|
|
<el-form-item>
|
|
|
<el-button icon="el-icon-search" type="primary" plan @click="querySearch6(false)">查询</el-button>
|
|
|
<el-button type="primary" icon="el-icon-download" @click="querySearch6(true)">导出</el-button>
|
|
@@ -250,6 +270,7 @@ export default {
|
|
|
return {
|
|
|
etlTime:'',
|
|
|
cityList: [],
|
|
|
+ timeArray1:[],
|
|
|
listData1: [],
|
|
|
listQuery1: {
|
|
|
total: 0,
|
|
@@ -258,7 +279,8 @@ export default {
|
|
|
month: moment().format("YYYY-MM"),
|
|
|
isExport: false,
|
|
|
},
|
|
|
- listData2: [],
|
|
|
+ listData2: [],
|
|
|
+ timeArray2:[],
|
|
|
listQuery2: {
|
|
|
total: 0,
|
|
|
currentPage: 1,
|
|
@@ -266,7 +288,8 @@ export default {
|
|
|
month: moment().format("YYYY-MM"),
|
|
|
isExport: false,
|
|
|
},
|
|
|
- listData3: [],
|
|
|
+ listData3: [],
|
|
|
+ timeArray3:[],
|
|
|
listQuery3: {
|
|
|
total: 0,
|
|
|
currentPage: 1,
|
|
@@ -274,7 +297,8 @@ export default {
|
|
|
month: moment().format("YYYY-MM"),
|
|
|
isExport: false,
|
|
|
},
|
|
|
- listData4: [],
|
|
|
+ listData4: [],
|
|
|
+ timeArray4:[],
|
|
|
listQuery4: {
|
|
|
total: 0,
|
|
|
currentPage: 1,
|
|
@@ -312,10 +336,12 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
querySearch1(value) {
|
|
|
- if (this.listQuery1.month == null || this.listQuery1.month == "") {
|
|
|
+ if (this.timeArray1 == null || this.timeArray1.length==0) {
|
|
|
this.$message.warning("请选择服务日期");
|
|
|
return;
|
|
|
}
|
|
|
+ this.listQuery1.startTime=this.timeArray1[0];
|
|
|
+ this.listQuery1.endTime=this.timeArray1[1];
|
|
|
this.listQuery1.isExport = value;
|
|
|
let params=JSON.parse(JSON.stringify(this.listQuery1));
|
|
|
params.city=params.city.join(",");
|
|
@@ -335,10 +361,12 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
querySearch2(value) {
|
|
|
- if (this.listQuery2.month == null || this.listQuery2.month == "") {
|
|
|
+ if (this.timeArray2 == null || this.timeArray2.length==0) {
|
|
|
this.$message.warning("请选择服务日期");
|
|
|
return;
|
|
|
}
|
|
|
+ this.listQuery2.startTime=this.timeArray2[0];
|
|
|
+ this.listQuery2.endTime=this.timeArray2[1];
|
|
|
this.listQuery2.isExport = value;
|
|
|
|
|
|
let params=JSON.parse(JSON.stringify(this.listQuery2));
|
|
@@ -359,10 +387,13 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
querySearch3(value) {
|
|
|
- if (this.listQuery3.month == null || this.listQuery3.month == "") {
|
|
|
+ if (this.timeArray3 == null || this.timeArray3.length==0) {
|
|
|
this.$message.warning("请选择服务日期");
|
|
|
return;
|
|
|
}
|
|
|
+ this.listQuery3.startTime=this.timeArray3[0];
|
|
|
+ this.listQuery3.endTime=this.timeArray3[1];
|
|
|
+
|
|
|
this.listQuery3.isExport = value;
|
|
|
let params=JSON.parse(JSON.stringify(this.listQuery3));
|
|
|
params.city=params.city.join(",");
|
|
@@ -382,10 +413,14 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
querySearch4(value) {
|
|
|
- if (this.listQuery4.month == null || this.listQuery4.month == "") {
|
|
|
+ if (this.timeArray4 == null || this.timeArray4.length==0) {
|
|
|
this.$message.warning("请选择服务日期");
|
|
|
return;
|
|
|
}
|
|
|
+ this.listQuery4.startTime=this.timeArray4[0];
|
|
|
+ this.listQuery4.endTime=this.timeArray4[1];
|
|
|
+
|
|
|
+
|
|
|
this.listQuery4.isExport = value;
|
|
|
let params=JSON.parse(JSON.stringify(this.listQuery4));
|
|
|
params.city=params.city.join(",");
|