mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-06 17:36:44 +08:00
Merge branch 'zcwy-zsx0223' into dev0223
This commit is contained in:
@@ -542,7 +542,7 @@
|
||||
<div
|
||||
class="operation"
|
||||
style="cursor: pointer"
|
||||
@click="openCourse(item,key)"
|
||||
@click="openCourse(item,key,index)"
|
||||
v-if="item.type == 2"
|
||||
>
|
||||
开课
|
||||
@@ -1568,9 +1568,9 @@ export default {
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/assessment/manage/export?type=${2}&pid=${item.id}&courseId=${item.courseId}`)
|
||||
};
|
||||
const coursePlanRef = ref();
|
||||
const openCourse = async (item,index) => {
|
||||
const openCourse = async (item,key,index) => {
|
||||
await GetRouterDraftDetail(state.routerId).then((item)=>{
|
||||
coursePlanRef.value.openDrawer(item.data.data.chapterList[0].draftTaskList[index]);
|
||||
coursePlanRef.value.openDrawer(item.data.data.chapterList[index].draftTaskList[key]);
|
||||
})
|
||||
}
|
||||
const qrCodeItems = ref([]);
|
||||
|
||||
@@ -676,7 +676,7 @@
|
||||
<div
|
||||
class="operation"
|
||||
style="cursor: pointer"
|
||||
@click="openCourse(item,key)"
|
||||
@click="openCourse(item,key,index)"
|
||||
v-if="item.type == 2"
|
||||
>
|
||||
开课
|
||||
@@ -2450,9 +2450,9 @@ export default {
|
||||
window.open(`${process.env.VUE_APP_BASE_API}/admin/assessment/manage/export?type=${1}&pid=${item.id}&courseId=${item.courseId}`)
|
||||
};
|
||||
const coursePlanRef = ref();
|
||||
const openCourse = async (item,index) => {
|
||||
const openCourse = async (item,key,index) => {
|
||||
await apitl.getDraftTask({projectId: item.projectId}).then((item)=>{
|
||||
coursePlanRef.value.openDrawer(item.data.data.stageList[0].taskDraftDtoList[index]);
|
||||
coursePlanRef.value.openDrawer(item.data.data.stageList[index].taskDraftDtoList[key]);
|
||||
})
|
||||
}
|
||||
const qrCodeItems = ref([]);
|
||||
|
||||
Reference in New Issue
Block a user