|
@@ -58,44 +58,69 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <!-- 营期时间 -->
|
|
|
<el-form-item label="营期时间" prop="scheduleTime">
|
|
|
- <el-date-picker
|
|
|
+ <el-input
|
|
|
+ v-model="scheduleTimeText"
|
|
|
+ placeholder="请选择营期时间"
|
|
|
+ readonly
|
|
|
+ @click.native="showScheduleCalendar = true"
|
|
|
+ />
|
|
|
+ <calendar
|
|
|
v-model="scheduleTime"
|
|
|
- type="daterange"
|
|
|
- size="small"
|
|
|
- style="width: 240px"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- range-separator="-"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- @change="handleScheduleTimeChange">
|
|
|
- </el-date-picker>
|
|
|
+ mode="during"
|
|
|
+ :show.sync="showScheduleCalendar"
|
|
|
+ @change="handleScheduleTimeChange"
|
|
|
+ :key="scheduleCalendarKey"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
+ <!-- 创建时间 -->
|
|
|
<el-form-item label="创建时间" prop="createTime">
|
|
|
- <el-date-picker v-model="createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange"
|
|
|
- range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="createChange"></el-date-picker>
|
|
|
+ <el-input
|
|
|
+ v-model="createTimeText"
|
|
|
+ placeholder="请选择创建时间"
|
|
|
+ readonly
|
|
|
+ @click.native="showCreateCalendar = true"
|
|
|
+ />
|
|
|
+ <calendar
|
|
|
+ v-model="createTime"
|
|
|
+ mode="during"
|
|
|
+ :show.sync="showCreateCalendar"
|
|
|
+ @change="createChange"
|
|
|
+ :key="createCalendarKey"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
+ <!-- 最新更新时间 -->
|
|
|
<el-form-item label="最新更新时间" prop="updateTime">
|
|
|
- <el-date-picker v-model="updateTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange"
|
|
|
- range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="updateChange"></el-date-picker>
|
|
|
+ <el-input
|
|
|
+ v-model="updateTimeText"
|
|
|
+ placeholder="请选择更新时间"
|
|
|
+ readonly
|
|
|
+ @click.native="showUpdateCalendar = true"
|
|
|
+ />
|
|
|
+ <calendar
|
|
|
+ v-model="updateTime"
|
|
|
+ mode="during"
|
|
|
+ :show.sync="showUpdateCalendar"
|
|
|
+ @change="updateChange"
|
|
|
+ :key="updateCalendarKey"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
-<!-- <el-form-item label="进线时间" prop="updateTime">-->
|
|
|
-<!-- <el-date-picker v-model="qecCreateTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange"-->
|
|
|
-<!-- range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期" @change="qecCreateTimeChange"></el-date-picker>-->
|
|
|
-<!-- </el-form-item>-->
|
|
|
- <el-form-item label="进线时间" prop="updateTime">
|
|
|
- <el-date-picker
|
|
|
+ <!-- 进线时间 -->
|
|
|
+ <el-form-item label="进线时间" prop="qecCreateTime">
|
|
|
+ <el-input
|
|
|
+ v-model="qecCreateTimeText"
|
|
|
+ placeholder="请选择进线时间"
|
|
|
+ readonly
|
|
|
+ @click.native="showQecCalendar = true"
|
|
|
+ />
|
|
|
+ <calendar
|
|
|
v-model="qecCreateTime"
|
|
|
- size="small"
|
|
|
- style="width: 220px"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- type="daterange"
|
|
|
- range-separator="-"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
+ mode="during"
|
|
|
+ :show.sync="showQecCalendar"
|
|
|
@change="qecCreateTimeChange"
|
|
|
- :picker-options="pickerOptions"
|
|
|
- ></el-date-picker>
|
|
|
+ :key="qecCalendarKey"
|
|
|
+ />
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item>
|
|
@@ -189,6 +214,15 @@
|
|
|
<el-table-column label="完课时间" align="center" prop="finishTime" />
|
|
|
<el-table-column label="营期时间" align="center" prop="campPeriodTime" />
|
|
|
<el-table-column label="进线时间" align="center" prop="qecCreateTime" />
|
|
|
+ <el-table-column
|
|
|
+ fixed="right"
|
|
|
+ label="操作"
|
|
|
+ width="100">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-button @click="openAnswerLogFun(scope.row)" type="text" size="small">答题记录</el-button>
|
|
|
+ <el-button @click="openRedLogFun(scope.row)" type="text" size="small">红包记录</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
|
|
|
<pagination
|
|
@@ -199,6 +233,102 @@
|
|
|
@pagination="getList"
|
|
|
/>
|
|
|
|
|
|
+ <el-drawer title="答题记录" :visible.sync="openAnswerLog" size="70%" append-to-body>
|
|
|
+ <el-table border v-loading="" :data="answerLogsList">
|
|
|
+ <el-table-column label="会员用户" align="center" prop="userName">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="display: flex;white-space: nowrap">
|
|
|
+ <div style="margin: auto">
|
|
|
+ {{ scope.row.userName }}
|
|
|
+ </div>
|
|
|
+ <el-popover
|
|
|
+ placement="right"
|
|
|
+ title=""
|
|
|
+ trigger="hover">
|
|
|
+ <img slot="reference" :src="scope.row.fsAvatar" style="width: 30px;height: 30px">
|
|
|
+ <img :src="scope.row.fsAvatar" style="max-width: 200px;max-height: 200px">
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="课程名称" align="center" prop="courseName"/>
|
|
|
+ <el-table-column label="小节名称" align="center" prop="videoName"/>
|
|
|
+ <el-table-column label="是否全部正确" align="center" prop="isRight">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag :options="sysCompanyOr" :value="scope.row.isRight"></dict-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="销售名称" align="center" prop="companyUserName"/>
|
|
|
+ <el-table-column label="企微员工名称" align="center" prop="qwUserName"/>
|
|
|
+ <el-table-column label="公司名称" align="center" prop="companyName"/>
|
|
|
+ <el-table-column label="创建时间" align="center" prop="createTime"/>
|
|
|
+ </el-table>
|
|
|
+
|
|
|
+ <pagination
|
|
|
+ v-show="answerLogTotal>0"
|
|
|
+ :total="answerLogTotal"
|
|
|
+ :page.sync="answerLogQueryParams.pageNum"
|
|
|
+ :limit.sync="answerLogQueryParams.pageSize"
|
|
|
+ @pagination="answerLogList"
|
|
|
+ />
|
|
|
+ </el-drawer>
|
|
|
+
|
|
|
+ <el-drawer title="红包记录" :visible.sync="openRedLog" size="70%" append-to-body>
|
|
|
+ <el-table border v-loading="" :data="redLogsList">
|
|
|
+ <el-table-column type="selection" width="55" align="center" />
|
|
|
+ <el-table-column label="记录编号" align="center" prop="logId" />
|
|
|
+ <el-table-column label="批次单号" align="center" prop="outBatchNo" />
|
|
|
+ <el-table-column label="课程名称" align="center" prop="courseId" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span prop="status" v-for="(item, index) in courseLists" v-if="scope.row.courseId==item.dictValue">{{item.dictLabel}}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="小节名称" align="center" prop="title" />
|
|
|
+<!-- <el-table-column label="会员id" align="center" prop="userId" />-->
|
|
|
+ <el-table-column label="会员用户" align="center" prop="fsNickName">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div style="display: flex;white-space: nowrap">
|
|
|
+ <div style="margin: auto">
|
|
|
+ {{scope.row.fsNickName}}
|
|
|
+ </div>
|
|
|
+ <el-popover
|
|
|
+ placement="right"
|
|
|
+ title=""
|
|
|
+ trigger="hover">
|
|
|
+ <img slot="reference" :src="scope.row.fsAvatar" style="width: 30px;height: 30px">
|
|
|
+ <img :src="scope.row.fsAvatar" style="max-width: 200px;max-height: 200px">
|
|
|
+ </el-popover>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+<!-- <el-table-column label="会员电话" align="center" prop="phone" />-->
|
|
|
+<!-- <el-table-column label="所属销售" align="center" prop="companyUserName" />-->
|
|
|
+<!-- <el-table-column label="所属公司" align="center" prop="companyName" />-->
|
|
|
+ <el-table-column label="转帐金额" align="center" prop="amount" />
|
|
|
+ <el-table-column label="状态" align="center" prop="status" >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <el-tag>
|
|
|
+ {{
|
|
|
+ scope.row.status === 0 ? "发送中" :
|
|
|
+ scope.row.status === 2 ? "待补发" :
|
|
|
+ "已完成"
|
|
|
+ }}
|
|
|
+ </el-tag>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="所属企微" align="center" prop="qwUserName" />
|
|
|
+ <el-table-column label="创建时间" align="center" prop="createTime" />
|
|
|
+ </el-table>
|
|
|
+
|
|
|
+ <pagination
|
|
|
+ v-show="redLogTotal>0"
|
|
|
+ :total="redLogTotal"
|
|
|
+ :page.sync="redLogQueryParams.pageNum"
|
|
|
+ :limit.sync="redLogQueryParams.pageSize"
|
|
|
+ @pagination="redLogList"
|
|
|
+ />
|
|
|
+ </el-drawer>
|
|
|
+
|
|
|
<el-dialog title="批量添加标签" :visible.sync="tagOpen" width="800px" append-to-body>
|
|
|
<div>搜索标签:
|
|
|
<el-input v-model="tagChange.tagName" placeholder="请输入标签名称" clearable size="small" style="width: 200px;margin-right: 10px" />
|
|
@@ -305,23 +435,46 @@
|
|
|
|
|
|
<script>
|
|
|
import { listCourseWatchLog, getCourseWatchLog, delCourseWatchLog, addCourseWatchLog, updateCourseWatchLog, exportCourseWatchLog } from "@/api/course/courseWatchLog";
|
|
|
-import { courseList,videoList } from '@/api/course/courseRedPacketLog'
|
|
|
+import {courseList, myListCourseRedPacketLog, videoList} from '@/api/course/courseRedPacketLog'
|
|
|
+import {myListLogs} from "@/api/course/courseAnswerlogs";
|
|
|
import {allListTagGroup} from "../../../api/qw/tagGroup";
|
|
|
import {searchTags} from "../../../api/qw/tag";
|
|
|
import {addTagByWatch, delTagByWatch} from "../../../api/qw/externalContact";
|
|
|
+import Vue from 'vue'
|
|
|
+import Calendar from 'vue-mobile-calendar'
|
|
|
+Vue.use(Calendar)
|
|
|
+
|
|
|
export default {
|
|
|
name: "CourseWatchLog",
|
|
|
data() {
|
|
|
return {
|
|
|
+ // 日历 key 控制刷新
|
|
|
+ scheduleCalendarKey: 0,
|
|
|
+ createCalendarKey: 0,
|
|
|
+ updateCalendarKey: 0,
|
|
|
+ qecCalendarKey: 0,
|
|
|
+
|
|
|
+ createTimeText: '',
|
|
|
+ scheduleTimeText: '', // 新增
|
|
|
+ updateTimeText: '', // 新增
|
|
|
+ qecCreateTimeText: '', // 新增
|
|
|
+
|
|
|
+ scheduleTime: [], // 改为数组
|
|
|
+ createTime: [], // 改为数组
|
|
|
+ updateTime: [], // 改为数组
|
|
|
+ qecCreateTime: [], // 改为数组
|
|
|
+
|
|
|
+ // 控制日历显隐
|
|
|
+ showScheduleCalendar: false,
|
|
|
+ showCreateCalendar: false,
|
|
|
+ showUpdateCalendar: false,
|
|
|
+ showQecCalendar: false,
|
|
|
|
|
|
resultDialogVisible: false,
|
|
|
resultMessage: '',
|
|
|
resultTitle:'',
|
|
|
|
|
|
activeName:"2",
|
|
|
- createTime:null,
|
|
|
- updateTime:null,
|
|
|
- qecCreateTime:null,
|
|
|
pickerOptions: {
|
|
|
disabledDate(time) {
|
|
|
// 获取6天前的日期(加上今天就是7天)
|
|
@@ -392,6 +545,25 @@ export default {
|
|
|
},
|
|
|
|
|
|
|
|
|
+ //答题记录
|
|
|
+ openAnswerLog: false,
|
|
|
+ loadingAnswerLog: true,
|
|
|
+ answerLogsList: [],
|
|
|
+ answerLogTotal: 0,
|
|
|
+ answerLogQueryParams: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ },
|
|
|
+
|
|
|
+ //红包记录
|
|
|
+ openRedLog: false,
|
|
|
+ loadingRedLog: true,
|
|
|
+ redLogsList: [],
|
|
|
+ redLogTotal: 0,
|
|
|
+ redLogQueryParams: {
|
|
|
+ pageNum: 1,
|
|
|
+ pageSize: 10,
|
|
|
+ },
|
|
|
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
@@ -423,7 +595,6 @@ export default {
|
|
|
// 表单校验
|
|
|
rules: {
|
|
|
},
|
|
|
- scheduleTime: null,
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
@@ -436,6 +607,28 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 重置日历组件
|
|
|
+ resetCalendars() {
|
|
|
+ this.scheduleTime = [];
|
|
|
+ this.createTime = [];
|
|
|
+ this.updateTime = [];
|
|
|
+ this.qecCreateTime = [];
|
|
|
+
|
|
|
+ this.scheduleTimeText = '';
|
|
|
+ this.createTimeText = '';
|
|
|
+ this.updateTimeText = '';
|
|
|
+ this.qecCreateTimeText = '';
|
|
|
+
|
|
|
+ // 强制刷新日历组件
|
|
|
+ this.scheduleCalendarKey++;
|
|
|
+ this.createCalendarKey++;
|
|
|
+ this.updateCalendarKey++;
|
|
|
+ this.qecCalendarKey++;
|
|
|
+ },
|
|
|
+ formatDateRange(dates) {
|
|
|
+ if (!dates || dates.length < 2) return '';
|
|
|
+ return dates.map(date => date.format('YYYY-MM-DD')).join(' ~ ');
|
|
|
+ },
|
|
|
courseChange(row){
|
|
|
this.queryParams.videoId=null;
|
|
|
if(row === ''){
|
|
@@ -446,31 +639,78 @@ export default {
|
|
|
this.videoList=response.list
|
|
|
});
|
|
|
},
|
|
|
- createChange() {
|
|
|
- if (this.createTime != null) {
|
|
|
- this.queryParams.sTime = this.createTime[0];
|
|
|
- this.queryParams.eTime = this.createTime[1];
|
|
|
+
|
|
|
+ // 营期时间
|
|
|
+ handleScheduleTimeChange(scheduleTime) {
|
|
|
+ if (scheduleTime && scheduleTime.length >= 2) {
|
|
|
+ this.scheduleTimeText = this.formatDateRange(scheduleTime);
|
|
|
+ this.queryParams.scheduleStartTime = scheduleTime.map(date => date.format('YYYY-MM-DD'))[0] || null;
|
|
|
+ this.queryParams.scheduleEndTime = scheduleTime.map(date => date.format('YYYY-MM-DD'))[1] || null;
|
|
|
+ console.log(this.queryParams.scheduleStartTime)
|
|
|
+ console.log(this.queryParams.scheduleEndTime)
|
|
|
+ } else {
|
|
|
+ this.scheduleTimeText = '';
|
|
|
+ this.queryParams.scheduleStartTime = null;
|
|
|
+ this.queryParams.scheduleEndTime = null;
|
|
|
+ }
|
|
|
+ },
|
|
|
+ // 创建时间
|
|
|
+ createChange(createTime) {
|
|
|
+ if (createTime && createTime.length >= 2) {
|
|
|
+ this.createTimeText = this.formatDateRange(createTime);
|
|
|
+ this.queryParams.sTime = createTime.map(date => date.format('YYYY-MM-DD'))[0] || null;
|
|
|
+ this.queryParams.eTime = createTime.map(date => date.format('YYYY-MM-DD'))[1] || null;
|
|
|
} else {
|
|
|
+ this.createTimeText = '';
|
|
|
this.queryParams.sTime = null;
|
|
|
this.queryParams.eTime = null;
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- updateChange(){
|
|
|
- if (this.updateTime != null) {
|
|
|
- this.queryParams.upSTime = this.updateTime[0];
|
|
|
- this.queryParams.upETime = this.updateTime[1];
|
|
|
+ // 更新时间
|
|
|
+ updateChange(updateTime) {
|
|
|
+ if (updateTime && updateTime.length >= 2) {
|
|
|
+ this.updateTimeText = this.formatDateRange(updateTime);
|
|
|
+ this.queryParams.upSTime = updateTime.map(date => date.format('YYYY-MM-DD'))[0] || null;
|
|
|
+ this.queryParams.upETime = updateTime.map(date => date.format('YYYY-MM-DD'))[1] || null;
|
|
|
} else {
|
|
|
+ this.updateTimeText = '';
|
|
|
this.queryParams.upSTime = null;
|
|
|
this.queryParams.upETime = null;
|
|
|
}
|
|
|
},
|
|
|
|
|
|
- qecCreateTimeChange(){
|
|
|
- if (this.qecCreateTime != null) {
|
|
|
- this.queryParams.qecSTime = this.qecCreateTime[0];
|
|
|
- this.queryParams.qecETime = this.qecCreateTime[1];
|
|
|
+ // 进线时间
|
|
|
+ qecCreateTimeChange(qecCreateTime) {
|
|
|
+ if (qecCreateTime && qecCreateTime.length >= 2) {
|
|
|
+ // 检查选择的日期范围是否超过7天(包括起始和结束日期)
|
|
|
+ const startDate = new Date(qecCreateTime[0]);
|
|
|
+ const endDate = new Date(qecCreateTime[1]);
|
|
|
+
|
|
|
+ // 设置时间为当天开始,避免时间部分影响计算
|
|
|
+ startDate.setHours(0, 0, 0, 0);
|
|
|
+ endDate.setHours(0, 0, 0, 0);
|
|
|
+
|
|
|
+ const timeDiff = Math.abs(endDate - startDate);
|
|
|
+ const diffDays = Math.ceil(timeDiff / (1000 * 60 * 60 * 24));
|
|
|
+
|
|
|
+ // 如果超过6天的范围(总共7天,包括起始日)
|
|
|
+ if (diffDays > 6) {
|
|
|
+ this.$message.error('进线时间选择范围不能超过7天');
|
|
|
+ // 清空选择
|
|
|
+ this.qecCreateTime = [];
|
|
|
+ this.qecCreateTimeText = '';
|
|
|
+ this.queryParams.qecSTime = null;
|
|
|
+ this.queryParams.qecETime = null;
|
|
|
+ this.qecCalendarKey++;
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ this.qecCreateTimeText = this.formatDateRange(qecCreateTime);
|
|
|
+ this.queryParams.qecSTime = qecCreateTime.map(date => date.format('YYYY-MM-DD'))[0] || null;
|
|
|
+ this.queryParams.qecETime = qecCreateTime.map(date => date.format('YYYY-MM-DD'))[1] || null;
|
|
|
} else {
|
|
|
+ this.qecCreateTimeText = '';
|
|
|
this.queryParams.qecSTime = null;
|
|
|
this.queryParams.qecETime = null;
|
|
|
}
|
|
@@ -521,10 +761,17 @@ export default {
|
|
|
companyUserId: null,
|
|
|
companyId: null,
|
|
|
courseId: null,
|
|
|
+ sTime:null,
|
|
|
+ eTime:null,
|
|
|
+ upSTime:null,
|
|
|
+ upETime:null,
|
|
|
+ qecSTime:null,
|
|
|
+ qecETime:null,
|
|
|
scheduleStartTime: null,
|
|
|
scheduleEndTime: null,
|
|
|
};
|
|
|
- this.scheduleTime=null;
|
|
|
+ // 统一重置日历组件
|
|
|
+ this.resetCalendars();
|
|
|
this.resetForm("form");
|
|
|
},
|
|
|
/** 搜索按钮操作 */
|
|
@@ -535,8 +782,6 @@ export default {
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
- this.createTime = null;
|
|
|
- this.qecCreateTime=null;
|
|
|
this.queryParams.sTime = null;
|
|
|
this.queryParams.eTime = null;
|
|
|
this.queryParams.upSTime = null;
|
|
@@ -545,8 +790,10 @@ export default {
|
|
|
this.queryParams.qecETime = null;
|
|
|
this.queryParams.scheduleStartTime = null;
|
|
|
this.queryParams.scheduleEndTime = null;
|
|
|
- this.scheduleTime=null;
|
|
|
- this.updateTime=null;
|
|
|
+
|
|
|
+ // 统一重置日历组件
|
|
|
+ this.resetCalendars();
|
|
|
+
|
|
|
this.handleQuery();
|
|
|
},
|
|
|
// 多选框选中数据
|
|
@@ -620,15 +867,36 @@ export default {
|
|
|
this.exportLoading = false;
|
|
|
}).catch(() => {});
|
|
|
},
|
|
|
- handleScheduleTimeChange(val) {
|
|
|
- if (val) {
|
|
|
- this.queryParams.scheduleStartTime = val[0];
|
|
|
- this.queryParams.scheduleEndTime = val[1];
|
|
|
- } else {
|
|
|
- this.queryParams.scheduleStartTime = null;
|
|
|
- this.queryParams.scheduleEndTime = null;
|
|
|
- }
|
|
|
+
|
|
|
+ openAnswerLogFun(row) {
|
|
|
+ this.openAnswerLog = true;
|
|
|
+ this.answerLogQueryParams.watchLogId = row.logId;
|
|
|
+ this.answerLogList();
|
|
|
},
|
|
|
+ answerLogList() {
|
|
|
+ this.loadingAnswerLog = true;
|
|
|
+ myListLogs(this.answerLogQueryParams).then(e => {
|
|
|
+ this.answerLogsList = e.rows;
|
|
|
+ this.answerLogTotal = e.total;
|
|
|
+ this.loadingAnswerLog = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
+ openRedLogFun(row) {
|
|
|
+ this.openRedLog = true;
|
|
|
+ this.redLogQueryParams.watchLogId = row.logId;
|
|
|
+ this.redLogList();
|
|
|
+ },
|
|
|
+ redLogList() {
|
|
|
+ this.loadingRedLog = true;
|
|
|
+ console.info(this.redLogQueryParams)
|
|
|
+ myListCourseRedPacketLog(this.redLogQueryParams).then(e => {
|
|
|
+ this.redLogsList = e.rows;
|
|
|
+ this.redLogTotal = e.total;
|
|
|
+ this.loadingRedLog = false;
|
|
|
+ })
|
|
|
+ },
|
|
|
+
|
|
|
handleSendTypeChange() {
|
|
|
this.handleQuery(); // 重新查询列表
|
|
|
},
|