Commit a6644d90 authored by 黄奎's avatar 黄奎

页面修改

parent 3345f1d6
......@@ -15,9 +15,8 @@
tipText="课程分类" @getChild="getChild"></selectTree>
</div>
<div class="col-6 q-pb-lg upload-assiatant-box">
<q-uploader flat hide-upload-btn max-files="1" label="课程封面" :max-file-size="512*1024" accept=".jpg, image/*"
<q-uploader :style="{backgroundImage:'url(' + objOption.CoverImg + ')'}" flat hide-upload-btn max-files="1" label="课程封面" :max-file-size="512*1024" accept=".jpg, image/*"
:factory="uploadFile" auto-upload>
<q-img v-if="objOption.CoverImg" :src="objOption.CoverImg" />
</q-uploader>
</div>
</div>
......@@ -115,6 +114,7 @@
this.objOption.CourseName = res.Data.CourseName;
this.objOption.CourseIntro = res.Data.CourseIntro;
this.objOption.CateId = res.Data.CateId;
this.returnString=res.Data.CateId;
})
this.optionTitle = "修改课程信息"
} else {
......
......@@ -201,15 +201,8 @@
},
//刷新页面
refreshPage() {
if (!this.menuObjOption) {
this.msg.pageIndex = 1;
this.msg.MenuName = "";
this.msg.MenuUrl = "";
this.msg.MenuLevel = -1;
this.msg.MenuType = -1;
this.msg.Status = "-1";
}
this.getmenulist()
this.isShowMenuForm = false;
this.getcourselist();
},
//新增修改菜单
EditCourse(obj) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment