mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 19:36:43 +08:00
Compare commits
7 Commits
pingcode-1
...
zcwy_0822_
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1b3064f2ab | ||
|
|
c5f6f5c83e | ||
|
|
45027ca77e | ||
|
|
602a49e292 | ||
|
|
6bf278c148 | ||
|
|
548d891be3 | ||
|
|
0dc3884d46 |
BIN
src/assets/images/hotforum/04.png
Normal file
BIN
src/assets/images/hotforum/04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 220 KiB |
@@ -51,7 +51,8 @@
|
|||||||
<el-dropdown placement="bottom" @command="handleContributor">
|
<el-dropdown placement="bottom" @command="handleContributor">
|
||||||
<span class="el-dropdown-link" style="font-size:16px;cursor: pointer;" :style="{color:textColor}">贡献者大会</span>
|
<span class="el-dropdown-link" style="font-size:16px;cursor: pointer;" :style="{color:textColor}">贡献者大会</span>
|
||||||
<el-dropdown-menu slot="dropdown">
|
<el-dropdown-menu slot="dropdown">
|
||||||
<el-dropdown-item command="one">2023</el-dropdown-item>
|
<el-dropdown-item command="three">2024</el-dropdown-item>
|
||||||
|
<el-dropdown-item command="one" divided>2023</el-dropdown-item>
|
||||||
<el-dropdown-item command="two" divided>2022</el-dropdown-item>
|
<el-dropdown-item command="two" divided>2022</el-dropdown-item>
|
||||||
</el-dropdown-menu>
|
</el-dropdown-menu>
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
@@ -246,6 +247,7 @@ export default {
|
|||||||
let obj = {
|
let obj = {
|
||||||
one: urlPre + "/web/contributornew/index",
|
one: urlPre + "/web/contributornew/index",
|
||||||
two: urlPre + "/web/contributor/index",
|
two: urlPre + "/web/contributor/index",
|
||||||
|
three: urlPre + "/web/contributor_2024/index"
|
||||||
};
|
};
|
||||||
window.open(obj[val]);
|
window.open(obj[val]);
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -266,7 +266,7 @@ export default {
|
|||||||
},
|
},
|
||||||
isDrag:{
|
isDrag:{
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: null,
|
default: true,
|
||||||
},
|
},
|
||||||
isCrowd:{
|
isCrowd:{
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
{img:'01',url:'1265897142383042560'},
|
{img:'01',url:'1265897142383042560'},
|
||||||
{img:'02',url:'1265697724606210048'},
|
{img:'02',url:'1265697724606210048'},
|
||||||
{img:'03',url:''},
|
{img:'03',url:''},
|
||||||
{img:'4',url:''},
|
{img:'04',url:'1321778585966247936'},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -22,14 +22,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getTeacherList() {
|
getTeacherList() {
|
||||||
addTeacher({pageNo:1,pageSize:100,userNo:''}).then(res=>{
|
addTeacher({pageNo:1,pageSize:20,keyword:''}).then(res=>{
|
||||||
this.options = res.data.map(item => {
|
this.options = res.data.map(item => {
|
||||||
return { value: item.realName, label: item.realName };
|
return { value: item.realName, label: item.realName };
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getCoachingTeacher(val){
|
getCoachingTeacher(val){
|
||||||
addTeacher({pageNo:1,pageSize:20,userNo:val}).then(res=>{
|
addTeacher({pageNo:1,pageSize:20,keyword:val}).then(res=>{
|
||||||
this.options = res.data.map(item => {
|
this.options = res.data.map(item => {
|
||||||
return { value: item.realName, label: item.realName };
|
return { value: item.realName, label: item.realName };
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -64,16 +64,17 @@ export default {
|
|||||||
getProgress({teacherId:id}).then(res=>{
|
getProgress({teacherId:id}).then(res=>{
|
||||||
this.progressData=res.data
|
this.progressData=res.data
|
||||||
if ( res.data.length>=1 ){
|
if ( res.data.length>=1 ){
|
||||||
res.data.forEach((item,index)=>{
|
const isAll = true;
|
||||||
if (item.progress==100 && index==res.data.length-1){
|
res.data.some(item => {
|
||||||
this.disabled=false
|
if (item.progress != 100) {
|
||||||
}else if (item.progress==100) {
|
this.disabled = true;
|
||||||
}else {
|
isAll = false;
|
||||||
this.disabled=true
|
return true;
|
||||||
return
|
|
||||||
}
|
}
|
||||||
})
|
});
|
||||||
|
if (isAll) {
|
||||||
|
this.disabled = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -25,14 +25,14 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
getTeacherList() {
|
getTeacherList() {
|
||||||
addTeacher({pageNo:1,pageSize:100,userNo:''}).then(res=>{
|
addTeacher({pageNo:1,pageSize:20,keyword:''}).then(res=>{
|
||||||
this.options = res.data.map(item => {
|
this.options = res.data.map(item => {
|
||||||
return { value: item.realName, label: item.realName };
|
return { value: item.realName, label: item.realName };
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
getCoachingTeacher(val){
|
getCoachingTeacher(val){
|
||||||
addTeacher({pageNo:1,pageSize:20,userNo:val}).then(res=>{
|
addTeacher({pageNo:1,pageSize:20,keyword:val}).then(res=>{
|
||||||
this.options = res.data.map(item => {
|
this.options = res.data.map(item => {
|
||||||
return { value: item.realName, label: item.realName };
|
return { value: item.realName, label: item.realName };
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user