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