This commit is contained in:
parent
3bf971dca1
commit
2acce82e3f
|
@ -30,6 +30,7 @@
|
|||
align="center"
|
||||
>
|
||||
<el-table-column label="id" min-width="130" prop="id"></el-table-column>
|
||||
<el-table-column label="时间" min-width="130" prop="date"></el-table-column>
|
||||
<el-table-column label="新增用户(人)" min-width="130" prop="reg_count"></el-table-column>
|
||||
<el-table-column label="累计用户(人)" min-width="130" prop="user_count"></el-table-column>
|
||||
<el-table-column label="支付人数(人)" min-width="130" prop="pay_count"></el-table-column>
|
||||
|
|
|
@ -42,6 +42,20 @@
|
|||
@change="onchangeTime"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="完成时间:">
|
||||
<el-date-picker
|
||||
v-model="finishTime"
|
||||
value-format="yyyy/MM/dd HH:mm:ss"
|
||||
format="yyyy/MM/dd HH:mm:ss"
|
||||
size="small"
|
||||
type="datetimerange"
|
||||
placement="bottom-end"
|
||||
placeholder="自定义时间"
|
||||
style="width: 280px;"
|
||||
:picker-options="pickerOptions"
|
||||
@change="onchangeFinishTime"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="活动类型:" prop="activity_type">
|
||||
<el-select
|
||||
v-model="tableFrom.activity_type"
|
||||
|
@ -434,6 +448,7 @@ export default {
|
|||
], //商品类型
|
||||
orderChartType: {},
|
||||
timeVal: [],
|
||||
finishTime: [],
|
||||
fromList: fromList,
|
||||
selectionList: [],
|
||||
ids: "",
|
||||
|
@ -483,7 +498,9 @@ export default {
|
|||
/**重置 */
|
||||
searchReset(){
|
||||
this.timeVal = []
|
||||
this.finishTime = []
|
||||
this.tableFrom.date = ""
|
||||
this.tableFrom.finish_time = ""
|
||||
this.$refs.searchForm.resetFields()
|
||||
this.getList(1)
|
||||
},
|
||||
|
@ -699,14 +716,6 @@ export default {
|
|||
this.tableFromLog.limit = val;
|
||||
this.getList('');
|
||||
},
|
||||
// 选择时间
|
||||
selectChange(tab) {
|
||||
this.tableFrom.date = tab;
|
||||
this.tableFrom.page = 1;
|
||||
this.timeVal = [];
|
||||
this.getCardList()
|
||||
this.getList(1);
|
||||
},
|
||||
// 具体日期
|
||||
onchangeTime(e) {
|
||||
this.timeVal = e;
|
||||
|
@ -716,6 +725,14 @@ export default {
|
|||
this.getCardList()
|
||||
this.getList(1);
|
||||
},
|
||||
// 具体日期
|
||||
onchangeFinishTime(e) {
|
||||
this.finishTime = e;
|
||||
this.tableFrom.finish_time = e ? this.finishTime.join("-") : "";
|
||||
this.tableFrom.page = 1;
|
||||
this.getCardList()
|
||||
this.getList(1);
|
||||
},
|
||||
// 列表
|
||||
getList(num) {
|
||||
this.listLoading = true;
|
||||
|
|
Loading…
Reference in New Issue