Prechádzať zdrojové kódy

头像重复,以及创建时间不固定

xw 18 hodín pred
rodič
commit
5697297c56
1 zmenil súbory, kde vykonal 2 pridanie a 17 odobranie
  1. 2 17
      src/views/course/courseWatchLog/watchLog.vue

+ 2 - 17
src/views/course/courseWatchLog/watchLog.vue

@@ -378,12 +378,6 @@
           {{ queryParams.sendType=='1' ? scope.row.fsNickName : scope.row.externalUserName }}
         </template>
       </el-table-column>
-      <el-table-column label="头像" align="center" v-if="queryParams.sendType == 1">
-        <template slot-scope="scope">
-          <img v-if="queryParams.sendType=='1'" :src="scope.row.fsAvatar" style="width:50px;height:50px" />
-          <img v-else :src="scope.row.externalUserAvatar" style="width:50px;height:50px" />
-        </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="logType">
@@ -1252,11 +1246,6 @@ export default {
 
     /** 查询短链课程看课记录列表 */
     getList() {
-      // xgb 看课数据量太大必须限制时间
-      if (!this.createTimeText) {
-        this.$message.warning('请选择创建时间');
-        return;
-      }
       this.loading = true;
       let param = JSON.parse(JSON.stringify(this.queryParams));
       if (param.logType == "10") {
@@ -1338,9 +1327,9 @@ export default {
       // 统一重置日历组件
       this.resetCalendars();
 
-      this.setToday();
+      // this.setToday(); // 注释掉重置时自动设置时间
 
-      this.handleQuery();
+      // this.handleQuery(); // 注释掉重置后自动查询
     },
     // 多选框选中数据
     handleSelectionChange(selection) {
@@ -1401,10 +1390,6 @@ export default {
     },
     /** 导出按钮操作 */
     handleExport() {
-      if (!this.createTimeText) {
-        this.$message.warning('请选择创建时间');
-        return;
-      }
       const queryParams = this.queryParams;
       this.$confirm('是否确认导出所有短链课程看课记录数据项?', "警告", {
         confirmButtonText: "确定",