Commit 5638508a authored by zhengke's avatar zhengke

修改

parent 82941e2d
...@@ -63,6 +63,12 @@ ...@@ -63,6 +63,12 @@
<q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增班级" @click="EditCourse(null)" /> <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="新增班级" @click="EditCourse(null)" />
</div> </div>
</template> </template>
<template v-slot:body-cell-CourseId="props">
<q-td auto-width :props="props">
<span style="color:blue;cursor:pointer;" @click="goChapter(props.row.CouseId)">详情</span>
</q-td>
</template>
<template v-slot:body-cell-ClassName="props"> <template v-slot:body-cell-ClassName="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
<div style="display: flex;align-items: center;"> <div style="display: flex;align-items: center;">
...@@ -262,6 +268,12 @@ ...@@ -262,6 +268,12 @@
field: 'OtherCourseName', field: 'OtherCourseName',
align: 'left' align: 'left'
}, },
{
name: 'CourseId',
label: '课程大纲',
field: 'CourseId',
align: 'left'
},
{ {
name: 'TeacherName', name: 'TeacherName',
label: '带班老师', label: '带班老师',
...@@ -280,6 +292,12 @@ ...@@ -280,6 +292,12 @@
field: 'OpenTime', field: 'OpenTime',
align: 'left' align: 'left'
}, },
{
name: 'FinishTimeStr',
label: '预计结束时间',
field: 'FinishTimeStr',
align: 'left'
},
{ {
name: 'CompleteProgress', name: 'CompleteProgress',
label: '课程进度', label: '课程进度',
...@@ -522,6 +540,12 @@ ...@@ -522,6 +540,12 @@
ClassId: row.ClassId, ClassId: row.ClassId,
ClassName: ClassName, ClassName: ClassName,
}); });
},
//跳转到课程大纲
goChapter(CouseId){
this.OpenNewUrl('/course/chapter' , {
CourseId: CouseId
});
} }
} }
} }
......
...@@ -68,7 +68,6 @@ ...@@ -68,7 +68,6 @@
</div> </div>
</div> </div>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-OtherCourseName="props"> <template v-slot:body-cell-OtherCourseName="props">
...@@ -108,6 +107,11 @@ ...@@ -108,6 +107,11 @@
<span style="color:#3FC4FF;">{{props.row.TeacherName}}</span> <span style="color:#3FC4FF;">{{props.row.TeacherName}}</span>
</q-td> </q-td>
</template> </template>
<template v-slot:body-cell-CourseId="props">
<q-td auto-width :props="props">
<span style="color:blue;cursor:pointer;" @click="goChapter(props.row.CouseId)">详情</span>
</q-td>
</template>
<template v-slot:body-cell-CompleteProgress="props"> <template v-slot:body-cell-CompleteProgress="props">
<q-td auto-width :props="props"> <q-td auto-width :props="props">
{{props.row.UsePlanNum}}/{{props.row.TotalPlanNum}} {{props.row.UsePlanNum}}/{{props.row.TotalPlanNum}}
...@@ -233,6 +237,12 @@ ...@@ -233,6 +237,12 @@
field: 'OtherCourseName', field: 'OtherCourseName',
align: 'left' align: 'left'
}, },
{
name: 'CourseId',
label: '课程大纲',
field: 'CourseId',
align: 'left'
},
{ {
name: 'TeacherName', name: 'TeacherName',
label: '带班老师', label: '带班老师',
...@@ -245,6 +255,12 @@ ...@@ -245,6 +255,12 @@
field: 'OpenTime', field: 'OpenTime',
align: 'left' align: 'left'
}, },
{
name: 'FinishTimeStr',
label: '预计结束时间',
field: 'FinishTimeStr',
align: 'left'
},
{ {
name: 'CompleteProgress', name: 'CompleteProgress',
label: '课程进度', label: '课程进度',
...@@ -490,6 +506,12 @@ ...@@ -490,6 +506,12 @@
ClassId: row.ClassId, ClassId: row.ClassId,
ClassName: ClassName, ClassName: ClassName,
}); });
},
//跳转到课程大纲
goChapter(CouseId){
this.OpenNewUrl('/course/chapter' , {
CourseId: CouseId
});
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment