mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-16 06:16:46 +08:00
BUG 学习路径下 学员列表 查看页面数据 没出来(之前是好的)
This commit is contained in:
@@ -22,8 +22,8 @@
|
|||||||
<img src="../../assets/images/studentimg/character.png" />
|
<img src="../../assets/images/studentimg/character.png" />
|
||||||
</div>
|
</div>
|
||||||
<div class="stumation">
|
<div class="stumation">
|
||||||
<div class="stuname">{{pro.name}}</div>
|
<div class="stuname">{{pro.userInfoBo.userName}}</div>
|
||||||
<div class="stugangw">{{pro.deptName?pro.deptName:"" + '-' + pro.jobName?pro.jobName:""}}</div>
|
<div class="stugangw">{{pro.userInfoBo.deptName?pro.userInfoBo.deptName:"" + '-' + pro.userInfoBo.jobName?pro.userInfoBo.jobName:""}}</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sortbox">
|
<div class="sortbox">
|
||||||
<div class="sortname">进度排名</div>
|
<div class="sortname">进度排名</div>
|
||||||
@@ -68,7 +68,7 @@
|
|||||||
<div><img src="../../assets/images/studentimg/chak.png" /></div>
|
<div><img src="../../assets/images/studentimg/chak.png" /></div>
|
||||||
</div> -->
|
</div> -->
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-for="(item) in pro.chapterProcessList" class="mainbox"
|
<div v-for="(item) in pro.chapterProcessList" class="mainbox"
|
||||||
style="margin-top: 15px; height: 56px"
|
style="margin-top: 15px; height: 56px"
|
||||||
:key="item.chapterId">
|
:key="item.chapterId">
|
||||||
<div class="rowtitle" @click="changeDown">
|
<div class="rowtitle" @click="changeDown">
|
||||||
@@ -99,7 +99,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div>
|
||||||
|
|
||||||
<div class="mainbox">
|
<div class="mainbox">
|
||||||
<a-collapse v-model:activeKey="stageListActive">
|
<a-collapse v-model:activeKey="stageListActive">
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ const {data, loading, total, fetch} = useBoeApiPage(TEST_PAGE, params.value, {
|
|||||||
totalPage: res => res.result.total_page_num,
|
totalPage: res => res.result.total_page_num,
|
||||||
total: res => res.result.count
|
total: res => res.result.count
|
||||||
})
|
})
|
||||||
console.log(data)
|
console.log(data,222)
|
||||||
watch(taskIndex, () => {
|
watch(taskIndex, () => {
|
||||||
if (taskIndex.value >= 0) {
|
if (taskIndex.value >= 0) {
|
||||||
rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
|
rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
|
||||||
@@ -194,19 +194,26 @@ function confirm() {
|
|||||||
}
|
}
|
||||||
if (taskIndex.value === -1) {
|
if (taskIndex.value === -1) {
|
||||||
let list = props.taskList
|
let list = props.taskList
|
||||||
list.push({
|
console.log(props,222,list);
|
||||||
|
if(list!=undefined){
|
||||||
|
list.push({
|
||||||
name: selectsData.value[0].title,
|
name: selectsData.value[0].title,
|
||||||
type: 3,
|
type: 3,
|
||||||
courseId: selectsData.value[0].id,
|
courseId: selectsData.value[0].id,
|
||||||
info: selectsData.value[0]
|
info: selectsData.value[0]
|
||||||
})
|
})
|
||||||
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
const data = props.taskList[taskIndex.value]
|
const data = props.taskList[taskIndex.value]
|
||||||
data.name = selectsData.value[0].title
|
data.name = selectsData.value[0].title
|
||||||
data.courseId = selectsData.value[0].id
|
data.courseId = selectsData.value[0].id
|
||||||
data.info = selectsData.value[0]
|
data.info = selectsData.value[0]
|
||||||
}
|
}
|
||||||
emit('update:taskList', [...props.taskList])
|
if(props.taskList!=undefined){
|
||||||
|
emit('update:taskList', [...props.taskList])
|
||||||
|
}
|
||||||
|
|
||||||
closeDrawer()
|
closeDrawer()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user