mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-student.git
synced 2025-12-07 01:46:46 +08:00
项目课程显示
This commit is contained in:
@@ -49,7 +49,6 @@ export default createStore({
|
||||
return;
|
||||
}
|
||||
state.projectInfo.stageProcessList.filter(i => i.id != 0).forEach((item,i)=>{
|
||||
console.log(item,i,'item')
|
||||
if(item.studyModel == 0){
|
||||
if(i == 0){
|
||||
item.statusName = "进行中";
|
||||
@@ -71,7 +70,7 @@ export default createStore({
|
||||
const stageState = t.taskProcessList?.some((s) => {
|
||||
s.unlock = true;
|
||||
s.statusName = "已完成";
|
||||
s.status !== 1 && (s.statusName = TASK_TYPES.toName[s.type])
|
||||
s.status !== 1 && (s.statusName = s.status==2? '进行中' : TASK_TYPES.toName[s.type])
|
||||
return state.projectInfo.unlockMode === 2 ? s.status !== 1 : (s.status !== 1 && s.flag)
|
||||
});
|
||||
stageState && (t.statusName = "进行中");
|
||||
|
||||
Reference in New Issue
Block a user