Pārlūkot izejas kodu

Merge remote-tracking branch 'origin/master'

yfh 2 dienas atpakaļ
vecāks
revīzija
68b5ad625b

+ 0 - 8
src/views/course/courseWatchLog/index.vue

@@ -1127,14 +1127,6 @@ export default {
     },
     /** 搜索按钮操作 */
     handleQuery() {
-      // 如果用户没有手动选择是否为会员,则根据 qwUserId 自动判断
-      if (this.queryParams.isVip === null || this.queryParams.isVip === undefined || this.queryParams.isVip === '') {
-        if (this.queryParams.qwUserId) {
-          this.queryParams.isVip = 1; // 有 qwUserId 则为会员
-        } else if (this.queryParams.qwUserId === null || this.queryParams.qwUserId === '') {
-          this.queryParams.isVip = 0; // 没有 qwUserId 则不是会员
-        }
-      }
       this.queryParams.pageNum = 1;
       this.getList();
     },

+ 0 - 9
src/views/course/courseWatchLog/watchLog.vue

@@ -1064,15 +1064,6 @@ export default {
     },
     /** 搜索按钮操作 */
     handleQuery() {
-      // 如果用户没有手动选择是否为会员,则根据 qwUserId 自动判断
-      if (this.queryParams.isVip === null || this.queryParams.isVip === undefined || this.queryParams.isVip === '') {
-        if (this.queryParams.qwUserId) {
-          this.queryParams.isVip = 1; // 有 qwUserId 则为会员
-        } else if (this.queryParams.qwUserId === null || this.queryParams.qwUserId === '') {
-          this.queryParams.isVip = 0; // 没有 qwUserId 则不是会员
-        }
-      }
-
       this.queryParams.pageNum = 1;
       this.getList();
     },