watchLog.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627
  1. <template>
  2. <div class="app-container">
  3. <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="100px">
  4. <el-form-item label="看课方式" prop="sendType">
  5. <el-select v-model="queryParams.sendType" placeholder="选择看课方式" clearable size="small" @change="handleSendTypeChange">
  6. <el-option
  7. v-for="dict in sendTypeOptions"
  8. :key="dict.dictValue"
  9. :label="dict.dictLabel"
  10. :value="dict.dictValue"
  11. />
  12. </el-select>
  13. </el-form-item>
  14. <el-form-item label="企微账号" prop="qwUserId">
  15. <el-select v-model="queryParams.qwUserId" placeholder="企微账号" clearable size="small"
  16. @change="updateQwuser()">
  17. <el-option
  18. v-for="dict in myQwUserList"
  19. :key="dict.dictValue"
  20. :label="dict.dictLabel + '('+dict.corpName+')'"
  21. :value="dict.dictValue"
  22. />
  23. </el-select>
  24. </el-form-item>
  25. <el-form-item label="客户ID" prop="qwExternalContactId">
  26. <el-input
  27. v-model="queryParams.qwExternalContactId"
  28. placeholder="请输入会员ID"
  29. clearable
  30. size="small"
  31. @keyup.enter.native="handleQuery"
  32. />
  33. </el-form-item>
  34. <!-- <el-form-item label="会员ID" prop="userId">-->
  35. <!-- <el-input-->
  36. <!-- v-model="queryParams.userId"-->
  37. <!-- placeholder="请输入会员ID"-->
  38. <!-- clearable-->
  39. <!-- size="small"-->
  40. <!-- @keyup.enter.native="handleQuery"-->
  41. <!-- />-->
  42. <!-- </el-form-item>-->
  43. <!-- <el-form-item label="会员昵称" prop="nickName">-->
  44. <!-- <el-input-->
  45. <!-- v-model="queryParams.nickName"-->
  46. <!-- placeholder="请输入会员昵称"-->
  47. <!-- clearable-->
  48. <!-- size="small"-->
  49. <!-- @keyup.enter.native="handleQuery"-->
  50. <!-- />-->
  51. <!-- </el-form-item>-->
  52. <el-form-item label="企微客户昵称" prop="nickName">
  53. <el-input
  54. v-model="queryParams.externalUserName"
  55. placeholder="请输入企微客户昵称"
  56. clearable
  57. size="small"
  58. @keyup.enter.native="handleQuery"
  59. />
  60. </el-form-item>
  61. <el-form-item label="课程" prop="courseId">
  62. <el-select filterable v-model="queryParams.courseId" placeholder="请选择课程" clearable size="small"
  63. @change="courseChange(queryParams.courseId)">
  64. <el-option
  65. v-for="dict in courseLists"
  66. :key="dict.dictValue"
  67. :label="dict.dictLabel"
  68. :value="dict.dictValue"
  69. />
  70. </el-select>
  71. </el-form-item>
  72. <el-form-item label="小节" prop="videoId">
  73. <el-select filterable v-model="queryParams.videoId" placeholder="请选择小节" clearable size="small">
  74. <el-option
  75. v-for="dict in videoList"
  76. :key="dict.dictValue"
  77. :label="dict.dictLabel"
  78. :value="dict.dictValue"
  79. />
  80. </el-select>
  81. </el-form-item>
  82. <el-form-item label="营期时间" prop="scheduleTime">
  83. <el-date-picker
  84. v-model="scheduleTime"
  85. type="daterange"
  86. size="small"
  87. style="width: 240px"
  88. value-format="yyyy-MM-dd"
  89. range-separator="-"
  90. start-placeholder="开始日期"
  91. end-placeholder="结束日期"
  92. @change="handleScheduleTimeChange">
  93. </el-date-picker>
  94. </el-form-item>
  95. <el-form-item label="创建时间" prop="createTime">
  96. <el-date-picker v-model="createTime" size="small" style="width: 220px" value-format="yyyy-MM-dd"
  97. type="daterange" range-separator="-" start-placeholder="开始日期" end-placeholder="结束日期"
  98. @change="createChange"></el-date-picker>
  99. </el-form-item>
  100. <el-form-item label="最新更新时间" prop="updateTime">
  101. <el-date-picker v-model="updateTime" size="small" style="width: 220px" value-format="yyyy-MM-dd" type="daterange"
  102. range-separator="-" start-placeholder="开始日期"
  103. end-placeholder="结束日期" @change="updateChange"></el-date-picker>
  104. </el-form-item>
  105. <el-form-item>
  106. <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
  107. <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
  108. </el-form-item>
  109. </el-form>
  110. <el-row :gutter="10" class="mb8">
  111. <el-col :span="1.5">
  112. <el-button
  113. type="warning"
  114. plain
  115. icon="el-icon-download"
  116. size="mini"
  117. :loading="exportLoading"
  118. @click="handleExport"
  119. v-hasPermi="['course:courseWatchLog:myExport']"
  120. >导出
  121. </el-button>
  122. </el-col>
  123. <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
  124. </el-row>
  125. <el-tabs type="card" v-model="activeName" @tab-click="handleClickX">
  126. <el-tab-pane label="全部" name="00"></el-tab-pane>
  127. <el-tab-pane v-for="(item,index) in logTypeOptions" :label="item.dictLabel" :name="item.dictValue"></el-tab-pane>
  128. </el-tabs>
  129. <el-table border v-loading="loading" :data="courseWatchLogList" @selection-change="handleSelectionChange">
  130. <el-table-column type="selection" width="55" align="center"/>
  131. <el-table-column label="记录编号" align="center" prop="logId"/>
  132. <!-- <el-table-column label="客户昵称" align="center" prop="externalUserName"/>-->
  133. <!--&lt;!&ndash; <el-table-column label="会员ID" align="center" prop="userId"/>&ndash;&gt;-->
  134. <!-- <el-table-column label="客户头像" align="center" prop="externalUserAvatar">-->
  135. <!-- <template slot-scope="scope">-->
  136. <!-- <el-popover-->
  137. <!-- placement="right"-->
  138. <!-- title=""-->
  139. <!-- trigger="hover">-->
  140. <!-- <img slot="reference" :src="scope.row.externalUserAvatar" style="width: 50px;height: 50px">-->
  141. <!-- <img :src="scope.row.externalUserAvatar" style="max-width: 200px;max-height: 200px">-->
  142. <!-- </el-popover>-->
  143. <!-- </template>-->
  144. <!-- </el-table-column>-->
  145. <el-table-column label="用户昵称" align="center">
  146. <template slot-scope="scope">
  147. {{ queryParams.sendType=='1' ? scope.row.fsNickName : scope.row.externalUserName }}
  148. </template>
  149. </el-table-column>
  150. <el-table-column label="头像" align="center">
  151. <template slot-scope="scope">
  152. <img v-if="queryParams.sendType=='1'" :src="scope.row.fsAvatar" style="width:50px;height:50px" />
  153. <img v-else :src="scope.row.externalUserAvatar" style="width:50px;height:50px" />
  154. </template>
  155. </el-table-column>
  156. <el-table-column label="课程名称" align="center" prop="courseName"/>
  157. <el-table-column label="小节名称" align="center" prop="videoName"/>
  158. <el-table-column label="记录类型" align="center" prop="logType">
  159. <template slot-scope="scope">
  160. <dict-tag :options="logTypeOptions" :value="scope.row.logType"/>
  161. </template>
  162. </el-table-column>
  163. <el-table-column label="播放时长" align="center" prop="duration"/>
  164. <!-- <el-table-column label="所属销售" align="center" prop="companyUserName"/>-->
  165. <!-- <el-table-column label="所属公司" align="center" prop="companyName"/>-->
  166. <!-- <el-table-column label="企微员工名称" align="center" prop="qwUserName"/>-->
  167. <el-table-column label="所属企微" align="center" prop="qwUserName" v-if="queryParams.sendType==2" />
  168. <!-- <el-table-column label="所属发送方式" align="center" prop="sendType"/>-->
  169. <el-table-column label="创建时间" align="center" prop="createTime" width="100px"/>
  170. <el-table-column label="更新时间" align="center" prop="updateTime" width="100px" />
  171. <el-table-column label="完课时间" align="center" prop="finishTime" width="100px" />
  172. <el-table-column label="营期时间" align="center" prop="campPeriodTime" />
  173. <el-table-column
  174. fixed="right"
  175. label="操作"
  176. width="100">
  177. <template slot-scope="scope">
  178. <el-button @click="openAnswerLogFun(scope.row)" type="text" size="small">答题记录</el-button>
  179. <el-button @click="openRedLogFun(scope.row)" type="text" size="small">红包记录</el-button>
  180. </template>
  181. </el-table-column>
  182. </el-table>
  183. <pagination
  184. v-show="total>0"
  185. :total="total"
  186. :page.sync="queryParams.pageNum"
  187. :limit.sync="queryParams.pageSize"
  188. @pagination="getList"
  189. />
  190. <el-drawer title="答题记录" :visible.sync="openAnswerLog" size="70%" append-to-body>
  191. <el-table border v-loading="" :data="answerLogsList">
  192. <el-table-column label="会员用户" align="center" prop="userName">
  193. <template slot-scope="scope">
  194. <div style="display: flex;white-space: nowrap">
  195. <div style="margin: auto">
  196. {{ scope.row.userName }}
  197. </div>
  198. <el-popover
  199. placement="right"
  200. title=""
  201. trigger="hover">
  202. <img slot="reference" :src="scope.row.fsAvatar" style="width: 30px;height: 30px">
  203. <img :src="scope.row.fsAvatar" style="max-width: 200px;max-height: 200px">
  204. </el-popover>
  205. </div>
  206. </template>
  207. </el-table-column>
  208. <el-table-column label="课程名称" align="center" prop="courseName"/>
  209. <el-table-column label="小节名称" align="center" prop="videoName"/>
  210. <el-table-column label="是否全部正确" align="center" prop="isRight">
  211. <template slot-scope="scope">
  212. <dict-tag :options="sysCompanyOr" :value="scope.row.isRight"></dict-tag>
  213. </template>
  214. </el-table-column>
  215. <el-table-column label="销售名称" align="center" prop="companyUserName"/>
  216. <el-table-column label="企微员工名称" align="center" prop="qwUserName"/>
  217. <el-table-column label="公司名称" align="center" prop="companyName"/>
  218. <el-table-column label="创建时间" align="center" prop="createTime"/>
  219. </el-table>
  220. <pagination
  221. v-show="answerLogTotal>0"
  222. :total="answerLogTotal"
  223. :page.sync="answerLogQueryParams.pageNum"
  224. :limit.sync="answerLogQueryParams.pageSize"
  225. @pagination="answerLogList"
  226. />
  227. </el-drawer>
  228. <el-drawer title="红包记录" :visible.sync="openRedLog" size="70%" append-to-body>
  229. <el-table border v-loading="" :data="redLogsList">
  230. <el-table-column type="selection" width="55" align="center" />
  231. <el-table-column label="记录编号" align="center" prop="logId" />
  232. <el-table-column label="批次单号" align="center" prop="outBatchNo" />
  233. <el-table-column label="课程名称" align="center" prop="courseId" >
  234. <template slot-scope="scope">
  235. <span prop="status" v-for="(item, index) in courseLists" v-if="scope.row.courseId==item.dictValue">{{item.dictLabel}}</span>
  236. </template>
  237. </el-table-column>
  238. <el-table-column label="小节名称" align="center" prop="title" />
  239. <!-- <el-table-column label="会员id" align="center" prop="userId" />-->
  240. <el-table-column label="会员用户" align="center" prop="fsNickName">
  241. <template slot-scope="scope">
  242. <div style="display: flex;white-space: nowrap">
  243. <div style="margin: auto">
  244. {{scope.row.fsNickName}}
  245. </div>
  246. <el-popover
  247. placement="right"
  248. title=""
  249. trigger="hover">
  250. <img slot="reference" :src="scope.row.fsAvatar" style="width: 30px;height: 30px">
  251. <img :src="scope.row.fsAvatar" style="max-width: 200px;max-height: 200px">
  252. </el-popover>
  253. </div>
  254. </template>
  255. </el-table-column>
  256. <!-- <el-table-column label="会员电话" align="center" prop="phone" />-->
  257. <!-- <el-table-column label="所属销售" align="center" prop="companyUserName" />-->
  258. <!-- <el-table-column label="所属公司" align="center" prop="companyName" />-->
  259. <el-table-column label="转帐金额" align="center" prop="amount" />
  260. <el-table-column label="状态" align="center" prop="status" >
  261. <template slot-scope="scope">
  262. <el-tag>{{ scope.row.status === 0 ? "发送中" : "已完成" }}</el-tag>
  263. </template>
  264. </el-table-column>
  265. <el-table-column label="所属企微" align="center" prop="qwUserName" />
  266. <el-table-column label="创建时间" align="center" prop="createTime" />
  267. </el-table>
  268. <pagination
  269. v-show="redLogTotal>0"
  270. :total="redLogTotal"
  271. :page.sync="redLogQueryParams.pageNum"
  272. :limit.sync="redLogQueryParams.pageSize"
  273. @pagination="redLogList"
  274. />
  275. </el-drawer>
  276. </div>
  277. </template>
  278. <script>
  279. import {
  280. addCourseWatchLog,
  281. delCourseWatchLog,
  282. exportCourseWatchLog,
  283. getCourseWatchLog,
  284. myListCourseWatchLog,
  285. updateCourseWatchLog
  286. } from "@/api/course/courseWatchLog";
  287. import {courseList, myListCourseRedPacketLog, videoList} from '@/api/course/courseRedPacketLog'
  288. import {myListLogs} from "@/api/course/courseAnswerlogs";
  289. import {getMyQwUserList} from "@/api/qw/user";
  290. export default {
  291. name: "CourseWatchLog",
  292. data() {
  293. return {
  294. activeName:"2",
  295. createTime: null,
  296. updateTime:null,
  297. courseLists: [],
  298. videoList: [],
  299. myQwUserList: [],
  300. logTypeOptions: [],
  301. // 遮罩层
  302. loading: true,
  303. // 导出遮罩层
  304. exportLoading: false,
  305. // 选中数组
  306. ids: [],
  307. // 非单个禁用
  308. single: true,
  309. scheduleTime: null,
  310. // 非多个禁用
  311. multiple: true,
  312. // 显示搜索条件
  313. showSearch: true,
  314. sysCompanyOr: [],
  315. // 总条数
  316. total: 0,
  317. // 短链课程看课记录表格数据
  318. courseWatchLogList: [],
  319. openAnswerLog: false,
  320. loadingAnswerLog: true,
  321. answerLogsList: [],
  322. answerLogTotal: 0,
  323. answerLogQueryParams: {
  324. pageNum: 1,
  325. pageSize: 10,
  326. },
  327. sendTypeOptions:[{
  328. dictLabel:"会员",dictValue:'1'
  329. },
  330. {
  331. dictLabel:"企微",dictValue:'2'
  332. }
  333. ],
  334. openRedLog: false,
  335. loadingRedLog: true,
  336. redLogsList: [],
  337. redLogTotal: 0,
  338. redLogQueryParams: {
  339. pageNum: 1,
  340. pageSize: 10,
  341. },
  342. // 弹出层标题
  343. title: "",
  344. // 是否显示弹出层
  345. open: false,
  346. // 查询参数
  347. queryParams: {
  348. pageNum: 1,
  349. pageSize: 10,
  350. userId: null,
  351. videoId: null,
  352. nickName: null,
  353. logType: 2,
  354. qwExternalContactId: null,
  355. externalUserName:null,
  356. duration: null,
  357. qwUserId: null,
  358. companyUserId: null,
  359. companyId: null,
  360. courseId: null,
  361. sTime: null,
  362. eTime: null,
  363. upSTime:null,
  364. upETime:null,
  365. scheduleStartTime: null,
  366. scheduleEndTime: null,
  367. sendType:'1',
  368. },
  369. // 表单参数
  370. form: {},
  371. // 表单校验
  372. rules: {}
  373. };
  374. },
  375. created() {
  376. courseList().then(response => {
  377. this.courseLists = response.list;
  378. });
  379. this.getList();
  380. this.getDicts("sys_course_watch_log_type").then(response => {
  381. this.logTypeOptions = response.data;
  382. });
  383. this.getDicts("sys_company_or").then(response => {
  384. this.sysCompanyOr = response.data;
  385. });
  386. getMyQwUserList().then(response => {
  387. this.myQwUserList = response.data;
  388. });
  389. },
  390. methods: {
  391. courseChange(row) {
  392. this.queryParams.videoId = null;
  393. if (row === '') {
  394. this.videoList = [];
  395. return
  396. }
  397. videoList(row).then(response => {
  398. this.videoList = response.list
  399. });
  400. },
  401. updateQwuser() {
  402. for (const user of this.myQwUserList) {
  403. if (user.dictValue == this.queryParams.qwUserId) {
  404. this.queryParams.corpId = user.corpId;
  405. break;
  406. }
  407. }
  408. this.getList();
  409. },
  410. createChange() {
  411. if (this.createTime != null) {
  412. this.queryParams.sTime = this.createTime[0];
  413. this.queryParams.eTime = this.createTime[1];
  414. } else {
  415. this.queryParams.sTime = null;
  416. this.queryParams.eTime = null;
  417. }
  418. },
  419. updateChange(){
  420. if (this.updateTime != null) {
  421. this.queryParams.upSTime = this.updateTime[0];
  422. this.queryParams.upETime = this.updateTime[1];
  423. } else {
  424. this.queryParams.upSTime = null;
  425. this.queryParams.upETime = null;
  426. }
  427. },
  428. handleClickX(tab) {
  429. this.activeName=tab.name;
  430. if(tab.name=="00"){
  431. this.queryParams.logType=null;
  432. }else{
  433. this.queryParams.logType=tab.name;
  434. }
  435. this.getList()
  436. },
  437. handleScheduleTimeChange(val) {
  438. if (val) {
  439. this.queryParams.scheduleStartTime = val[0];
  440. this.queryParams.scheduleEndTime = val[1];
  441. } else {
  442. this.queryParams.scheduleStartTime = null;
  443. this.queryParams.scheduleEndTime = null;
  444. }
  445. },
  446. /** 查询短链课程看课记录列表 */
  447. getList() {
  448. this.loading = true;
  449. let param = JSON.parse(JSON.stringify(this.queryParams));
  450. if (param.logType == "10") {
  451. param.logType = null;
  452. }
  453. myListCourseWatchLog(param).then(response => {
  454. this.courseWatchLogList = response.rows;
  455. this.total = response.total;
  456. this.loading = false;
  457. });
  458. },
  459. // 取消按钮
  460. cancel() {
  461. this.open = false;
  462. this.reset();
  463. },
  464. // 表单重置
  465. reset() {
  466. this.form = {
  467. logId: null,
  468. userId: null,
  469. videoId: null,
  470. logType: null,
  471. createTime: null,
  472. updateTime: null,
  473. qwExternalContactId: null,
  474. externalUserName:null,
  475. duration: null,
  476. qwUserId: null,
  477. companyUserId: null,
  478. companyId: null,
  479. courseId: null,
  480. scheduleStartTime: null,
  481. scheduleEndTime: null,
  482. };
  483. this.scheduleTime=null;
  484. this.resetForm("form");
  485. },
  486. /** 搜索按钮操作 */
  487. handleQuery() {
  488. this.queryParams.pageNum = 1;
  489. this.getList();
  490. },
  491. /** 重置按钮操作 */
  492. resetQuery() {
  493. this.resetForm("queryForm");
  494. this.createTime = null;
  495. this.queryParams.sTime = null;
  496. this.queryParams.eTime = null;
  497. this.queryParams.upSTime = null;
  498. this.queryParams.upETime = null;
  499. this.queryParams.scheduleStartTime = null;
  500. this.queryParams.scheduleEndTime = null;
  501. this.scheduleTime=null;
  502. this.updateTime=null;
  503. this.handleQuery();
  504. },
  505. // 多选框选中数据
  506. handleSelectionChange(selection) {
  507. this.ids = selection.map(item => item.logId)
  508. this.single = selection.length !== 1
  509. this.multiple = !selection.length
  510. },
  511. /** 新增按钮操作 */
  512. handleAdd() {
  513. this.reset();
  514. this.open = true;
  515. this.title = "添加短链课程看课记录";
  516. },
  517. /** 修改按钮操作 */
  518. handleUpdate(row) {
  519. this.reset();
  520. const logId = row.logId || this.ids
  521. getCourseWatchLog(logId).then(response => {
  522. this.form = response.data;
  523. this.open = true;
  524. this.title = "修改短链课程看课记录";
  525. });
  526. },
  527. /** 提交按钮 */
  528. submitForm() {
  529. this.$refs["form"].validate(valid => {
  530. if (valid) {
  531. if (this.form.logId != null) {
  532. updateCourseWatchLog(this.form).then(response => {
  533. this.msgSuccess("修改成功");
  534. this.open = false;
  535. this.getList();
  536. });
  537. } else {
  538. addCourseWatchLog(this.form).then(response => {
  539. this.msgSuccess("新增成功");
  540. this.open = false;
  541. this.getList();
  542. });
  543. }
  544. }
  545. });
  546. },
  547. /** 删除按钮操作 */
  548. handleDelete(row) {
  549. const logIds = row.logId || this.ids;
  550. this.$confirm('是否确认删除短链课程看课记录编号为"' + logIds + '"的数据项?', "警告", {
  551. confirmButtonText: "确定",
  552. cancelButtonText: "取消",
  553. type: "warning"
  554. }).then(function () {
  555. return delCourseWatchLog(logIds);
  556. }).then(() => {
  557. this.getList();
  558. this.msgSuccess("删除成功");
  559. }).catch(() => {
  560. });
  561. },
  562. /** 导出按钮操作 */
  563. handleExport() {
  564. const queryParams = this.queryParams;
  565. this.$confirm('是否确认导出所有短链课程看课记录数据项?', "警告", {
  566. confirmButtonText: "确定",
  567. cancelButtonText: "取消",
  568. type: "warning"
  569. }).then(() => {
  570. this.exportLoading = true;
  571. return exportCourseWatchLog(queryParams);
  572. }).then(response => {
  573. this.download(response.msg);
  574. this.exportLoading = false;
  575. }).catch(() => {
  576. });
  577. },
  578. openAnswerLogFun(row) {
  579. this.openAnswerLog = true;
  580. this.answerLogQueryParams.watchLogId = row.logId;
  581. this.answerLogList();
  582. },
  583. answerLogList() {
  584. this.loadingAnswerLog = true;
  585. myListLogs(this.answerLogQueryParams).then(e => {
  586. this.answerLogsList = e.rows;
  587. this.answerLogTotal = e.total;
  588. this.loadingAnswerLog = false;
  589. })
  590. },
  591. openRedLogFun(row) {
  592. this.openRedLog = true;
  593. this.redLogQueryParams.watchLogId = row.logId;
  594. this.redLogList();
  595. },
  596. redLogList() {
  597. this.loadingRedLog = true;
  598. console.info(this.redLogQueryParams)
  599. myListCourseRedPacketLog(this.redLogQueryParams).then(e => {
  600. this.redLogsList = e.rows;
  601. this.redLogTotal = e.total;
  602. this.loadingRedLog = false;
  603. })
  604. },
  605. }
  606. };
  607. </script>