Kaynağa Gözat

看课记录不现实红包答题

吴树波 5 gün önce
ebeveyn
işleme
8c7e32079f

+ 3 - 3
src/views/course/courseUserStatistics/qw/index.vue

@@ -31,9 +31,9 @@
         >
           <el-option
             v-for="item in companyUserOptions"
-            :key="item.value"
-            :label="item.label"
-            :value="item.value"
+            :key="item.dictValue"
+            :label="item.dictLabel"
+            :value="item.dictValue"
           >
           </el-option>
         </el-select>

+ 9 - 4
src/views/course/courseWatchLog/index.vue

@@ -483,8 +483,13 @@
 
 <script>
 import { listCourseWatchLog, getCourseWatchLog, delCourseWatchLog, addCourseWatchLog, updateCourseWatchLog, exportCourseWatchLog } from "@/api/course/courseWatchLog";
-import {courseList, myListCourseRedPacketLog, videoList} from '@/api/course/courseRedPacketLog'
-import {myListLogs} from "@/api/course/courseAnswerlogs";
+import {
+  courseList,
+  listCourseRedPacketLog,
+  myListCourseRedPacketLog,
+  videoList
+} from '@/api/course/courseRedPacketLog'
+import { listLogs, myListLogs } from '@/api/course/courseAnswerlogs'
 import {allListTagGroup} from "../../../api/qw/tagGroup";
 import {searchTags} from "../../../api/qw/tag";
 import {addTagByWatch, delTagByWatch} from "../../../api/qw/externalContact";
@@ -986,7 +991,7 @@ export default {
     },
     answerLogList() {
       this.loadingAnswerLog = true;
-      myListLogs(this.answerLogQueryParams).then(e => {
+      listLogs(this.answerLogQueryParams).then(e => {
         this.answerLogsList = e.rows;
         this.answerLogTotal = e.total;
         this.loadingAnswerLog = false;
@@ -1001,7 +1006,7 @@ export default {
     redLogList() {
       this.loadingRedLog = true;
       console.info(this.redLogQueryParams)
-      myListCourseRedPacketLog(this.redLogQueryParams).then(e => {
+      listCourseRedPacketLog(this.redLogQueryParams).then(e => {
         this.redLogsList = e.rows;
         this.redLogTotal = e.total;
         this.loadingRedLog = false;