mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-07 18:06:44 +08:00
状态添加进行中
This commit is contained in:
@@ -260,8 +260,8 @@
|
||||
</el-table-column>
|
||||
<el-table-column prop="status" label="状态">
|
||||
<template slot-scope="scope">
|
||||
<span v-if="scope.row.contentName.split('--')[1]=='考试'">{{scope.row.status == 9? '已完成':scope.row.status == 2?'进行中':'未开始'}}</span>
|
||||
<span v-else>{{scope.row.status == 9? '已完成':'未开始'}}</span>
|
||||
<!-- <span v-if="scope.row.contentName.split('--')[1]=='考试'">{{scope.row.status == 9? '已完成':scope.row.status == 2?'进行中':'未开始'}}</span> -->
|
||||
<span>{{scope.row.status == 9? '已完成':scope.row.status == 2?'进行中':'未开始'}}</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column prop="duration" label="进度">
|
||||
@@ -286,6 +286,7 @@
|
||||
<el-select v-model="learningSituation.status" clearable placeholder="状态">
|
||||
<el-option label="未开始" :value="1"></el-option>
|
||||
<el-option label="已开始" :value="2"></el-option>
|
||||
<el-option label="进行中" :value="3"></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
|
||||
Reference in New Issue
Block a user