浏览代码

沉睡学员修改

1
mo 3 年之前
父节点
当前提交
187027fe38
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2 1
      src/constant/index.js
  2. 1 1
      src/views/smallStudentManager/components/tableList.vue

+ 2 - 1
src/constant/index.js

@@ -292,7 +292,8 @@ export const downListType = {
   3: 'VIP网管课耗导出',
   4: '网管课学员课程',
   5: 'VIP课学员课程',
-  6: 'VIP学员课程管理'
+  6: 'VIP学员课程管理',
+  7: '学员小课数据统计'
 }
 
 export const withdrawalStatus = {

+ 1 - 1
src/views/smallStudentManager/components/tableList.vue

@@ -288,7 +288,7 @@
                <template slot-scope="scope">
                  <div>
                    <p v-if="(scope.row.noScheduleNum || scope.row.subCourseNum)&&(scope.row.latelyYearCourseConsumer || !scope.row.overCourseNum)">在读</p>
-                   <p v-if="(scope.row.overCourseNum && scope.row.subCourseNum&&!scope.row.latelyYearCourseConsumer)">沉睡</p>
+                   <p v-if="(scope.row.overCourseNum && (scope.row.subCourseNum || scope.row.noScheduleNum)&&!scope.row.latelyYearCourseConsumer)">沉睡</p>
                     <p v-if="(!scope.row.latelyYearCourseConsumer && scope.row.overCourseNum&&!scope.row.noScheduleNum&&!scope.row.subCourseNum)">流失</p>
                  </div>