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" />
|
||||
</div>
|
||||
<div class="stumation">
|
||||
<div class="stuname">{{pro.name}}</div>
|
||||
<div class="stugangw">{{pro.deptName?pro.deptName:"" + '-' + pro.jobName?pro.jobName:""}}</div>
|
||||
<div class="stuname">{{pro.userInfoBo.userName}}</div>
|
||||
<div class="stugangw">{{pro.userInfoBo.deptName?pro.userInfoBo.deptName:"" + '-' + pro.userInfoBo.jobName?pro.userInfoBo.jobName:""}}</div>
|
||||
</div>
|
||||
<div class="sortbox">
|
||||
<div class="sortname">进度排名</div>
|
||||
@@ -68,7 +68,7 @@
|
||||
<div><img src="../../assets/images/studentimg/chak.png" /></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"
|
||||
:key="item.chapterId">
|
||||
<div class="rowtitle" @click="changeDown">
|
||||
@@ -99,7 +99,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<div class="mainbox">
|
||||
<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,
|
||||
total: res => res.result.count
|
||||
})
|
||||
console.log(data)
|
||||
console.log(data,222)
|
||||
watch(taskIndex, () => {
|
||||
if (taskIndex.value >= 0) {
|
||||
rowSelectKeys.value = [props.taskList[taskIndex.value].courseId]
|
||||
@@ -194,19 +194,26 @@ function confirm() {
|
||||
}
|
||||
if (taskIndex.value === -1) {
|
||||
let list = props.taskList
|
||||
list.push({
|
||||
console.log(props,222,list);
|
||||
if(list!=undefined){
|
||||
list.push({
|
||||
name: selectsData.value[0].title,
|
||||
type: 3,
|
||||
courseId: selectsData.value[0].id,
|
||||
info: selectsData.value[0]
|
||||
})
|
||||
}
|
||||
|
||||
} else {
|
||||
const data = props.taskList[taskIndex.value]
|
||||
data.name = selectsData.value[0].title
|
||||
data.courseId = selectsData.value[0].id
|
||||
data.info = selectsData.value[0]
|
||||
}
|
||||
emit('update:taskList', [...props.taskList])
|
||||
if(props.taskList!=undefined){
|
||||
emit('update:taskList', [...props.taskList])
|
||||
}
|
||||
|
||||
closeDrawer()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user