Kaynağa Gözat

调整迁移数据问题

yfh 1 hafta önce
ebeveyn
işleme
40f176f17d

+ 2 - 2
src/api/course/courseWatchLog.js

@@ -93,7 +93,7 @@ export function myQwWatchLogAllStatisticsList(query) {
 export function watchLogStatistics(query) {
   return request({
     url: '/course/courseWatchLog/watchLogStatistics',
-    method: 'post',
-    data: query
+    method: 'get',
+    params: query
   })
 }

+ 3 - 3
src/views/course/courseWatchLog/watchLogStatistics.vue

@@ -61,7 +61,7 @@
 import { listCourseWatchLog, getCourseWatchLog, delCourseWatchLog, addCourseWatchLog, updateCourseWatchLog, exportCourseWatchLog,watchLogStatistics,watchLogStatisticsExport } from "@/api/course/courseWatchLog";
 import {allList}from "@/api/company/company";
 import { courseList,videoList } from '@/api/course/courseRedPacketLog'
-import {getUserList} from "@/api/company/companyUser";
+// import {getUserList} from "@/api/company/companyUser";
 export default {
   name: "CourseWatchLog",
   data() {
@@ -131,11 +131,11 @@ export default {
     this.getDicts("sys_course_watch_log_type").then(response => {
       this.logTypeOptions = response.data;
     });
-    getUserList().then(res=>{
+/*    getUserList().then(res=>{
       if(res.code === 200) {
         this.companyUserList = res.data
       }
-    })
+    })*/
   },
   methods: {
     courseChange(row){