mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-12 12:26:44 +08:00
Merge branch 'master' of codeup.aliyun.com:6265f483e4166464dc2f9c14/boeu/portal
This commit is contained in:
@@ -111,7 +111,7 @@
|
||||
<div v-show="content.contentType==41">
|
||||
<div style="display: flex;justify-content:space-between">
|
||||
<div>
|
||||
<el-input maxlength="50" @change="updateName" v-model="content.contentName" placeholder="内容的名称(限50字以内)"></el-input>
|
||||
<el-input maxlength="50" @change="updateName" v-model="content.contentName" placeholder="内容的名称(限20字以内)"></el-input>
|
||||
</div>
|
||||
<div>
|
||||
<el-button type="primary" @click="saveData()" >保存</el-button>
|
||||
|
||||
@@ -128,6 +128,15 @@
|
||||
return false;
|
||||
}
|
||||
});
|
||||
this.findCourseFile();
|
||||
},
|
||||
watch:{
|
||||
resType(newVal,oldVal){
|
||||
if(newVal!=oldVal){
|
||||
this.findCourseFile();
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
methods:{
|
||||
handleBeforeUpload(file) {
|
||||
|
||||
@@ -606,32 +606,32 @@ export default {
|
||||
}),
|
||||
loadUserGroup(){
|
||||
let $this=this;
|
||||
apiUserGroup.findByName('').then(rs=>{
|
||||
if(rs.status==200){
|
||||
let crowdList=[];
|
||||
rs.result.forEach(item=>{
|
||||
crowdList.push({
|
||||
id:item.key,
|
||||
name:item.value,
|
||||
disabled:false
|
||||
})
|
||||
})
|
||||
this.userGroupList=crowdList;
|
||||
}
|
||||
});
|
||||
// apiUserBasic.getUserCrowds().then(rs=>{
|
||||
// if(rs.status==200){
|
||||
// let crowdList=[];
|
||||
// rs.result.forEach(item=>{
|
||||
// crowdList.push({
|
||||
// id:item.kid,
|
||||
// name:item.audienceName,
|
||||
// apiUserGroup.findByName('').then(rs=>{
|
||||
// if(rs.status==200){
|
||||
// let crowdList=[];
|
||||
// rs.result.forEach(item=>{
|
||||
// crowdList.push({
|
||||
// id:item.key,
|
||||
// name:item.value,
|
||||
// disabled:false
|
||||
// })
|
||||
// });
|
||||
// this.userGroupList=crowdList;
|
||||
// }
|
||||
// })
|
||||
// })
|
||||
// this.userGroupList=crowdList;
|
||||
// }
|
||||
// });
|
||||
apiUserBasic.getUserCrowds().then(rs=>{
|
||||
if(rs.status==200){
|
||||
let crowdList=[];
|
||||
rs.result.forEach(item=>{
|
||||
crowdList.push({
|
||||
id:item.id,
|
||||
name:item.audienceName,
|
||||
disabled:false
|
||||
})
|
||||
});
|
||||
this.userGroupList=crowdList;
|
||||
}
|
||||
})
|
||||
},
|
||||
resOwnerName(code) {
|
||||
if (code == '') {
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="margin-top: 10px;">
|
||||
<div v-if="cware.content.contentType<51 && cware.content.contentType!=41 && !cware.findShow">
|
||||
<div v-if="cware.content.contentType<51 && cware.content.contentType!=41 && !cware.findShow">
|
||||
<div v-if="cware.content.contentRefId==''">
|
||||
<div style="padding-top: 0px;">
|
||||
<!-- <div> -->
|
||||
|
||||
Reference in New Issue
Block a user