三七 hace 5 días
padre
commit
3369746c67
Se han modificado 1 ficheros con 6 adiciones y 16 borrados
  1. 6 16
      src/views/course/courseWatchLog/indexApp.vue

+ 6 - 16
src/views/course/courseWatchLog/indexApp.vue

@@ -32,24 +32,14 @@
           </el-option>
         </el-select>
       </el-form-item>
-      <el-form-item label="科普" prop="courseId">
-        <el-select filterable  v-model="queryParams.courseId" placeholder="请选择科普"  clearable size="small" @change="courseChange(queryParams.courseId)">
+      <el-form-item label="课程" prop="courseId">
+        <el-select filterable  v-model="queryParams.courseId" placeholder="请选择课程"  clearable size="small" @change="courseChange(queryParams.courseId)">
           <el-option
             v-for="dict in courseLists"
             :key="dict.dictValue"
-            :label="dict.remark"
+            :label="(dict.remark || dict.dictLabel) + '(' + dict.dictValue + ')'"
             :value="dict.dictValue"
           >
-          <!-- <el-tooltip
-        v-if="dict.remark"
-        :content="dict.remark"
-        placement="right"
-        effect="dark"
-        :disabled="!dict.remark"
-      >
-        <span>{{ dict.dictLabel }}</span>
-      </el-tooltip>
-      <span v-else>{{ dict.dictLabel }}</span> -->
         </el-option>
         </el-select>
       </el-form-item>
@@ -203,7 +193,7 @@
           </div>
         </template>
       </el-table-column>
-      <el-table-column label="科普名称" align="center" prop="courseName" />
+      <el-table-column label="课程名称" align="center" prop="courseName" />
       <el-table-column label="小节名称" align="center" prop="videoName" />
       <el-table-column label="记录类型" align="center" prop="logType">
         <template slot-scope="scope">
@@ -741,7 +731,7 @@ export default {
     handleAdd() {
       this.reset();
       this.open = true;
-      this.title = "添加短链科普学习记录";
+      this.title = "添加短链课程学习记录";
     },
    
     /** 提交按钮 */
@@ -769,7 +759,7 @@ export default {
     handleExport() {
       const that = this
       const queryParams = this.queryParams;
-      this.$confirm('是否确认导出所有短链科普学习记录数据项?', "警告", {
+      this.$confirm('是否确认导出所有短链课程学习记录数据项?', "警告", {
           confirmButtonText: "确定",
           cancelButtonText: "取消",
           type: "warning"