|
|
@@ -148,7 +148,7 @@
|
|
|
<el-table-column label="批次单号" align="center" prop="outBatchNo" />
|
|
|
<el-table-column label="营期名称" align="center" prop="periodName" />
|
|
|
<el-table-column label="课程名称" align="center" prop="courseName" />
|
|
|
- <el-table-column label="小节名称" align="center" prop="title" />
|
|
|
+ <el-table-column label="小节名称" align="center" prop="videoName" />
|
|
|
<el-table-column label="会员id" align="center" prop="userId" />
|
|
|
<el-table-column label="会员昵称" align="center" prop="fsNickName">
|
|
|
<template slot-scope="scope">
|
|
|
@@ -302,6 +302,18 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
+ // 默认查询最近30天的数据
|
|
|
+ const now = new Date();
|
|
|
+ const thirtyDaysAgo = new Date();
|
|
|
+ thirtyDaysAgo.setDate(thirtyDaysAgo.getDate() - 30);
|
|
|
+ const pad = (n) => String(n).padStart(2, '0');
|
|
|
+ this.createTime = [
|
|
|
+ `${thirtyDaysAgo.getFullYear()}-${pad(thirtyDaysAgo.getMonth() + 1)}-${pad(thirtyDaysAgo.getDate())} 00:00:00`,
|
|
|
+ `${now.getFullYear()}-${pad(now.getMonth() + 1)}-${pad(now.getDate())} 23:59:59`
|
|
|
+ ];
|
|
|
+ this.queryParams.sTime = this.createTime[0];
|
|
|
+ this.queryParams.eTime = this.createTime[1];
|
|
|
+
|
|
|
this.getList();
|
|
|
getCompanyList().then(response => {
|
|
|
this.companys = response.data;
|
|
|
@@ -312,9 +324,9 @@ export default {
|
|
|
getDeptData().then(response => {
|
|
|
this.deptList = response.data;
|
|
|
})
|
|
|
- periodList(this.queryPeriod).then(response => {
|
|
|
- this.periodLists = response.data;
|
|
|
- });
|
|
|
+ // periodList(this.queryPeriod).then(response => {
|
|
|
+ // this.periodLists = response.data;
|
|
|
+ // });
|
|
|
},
|
|
|
methods: {
|
|
|
|