Commit a6644d90 authored by 黄奎's avatar 黄奎

页面修改

parent 3345f1d6
...@@ -15,9 +15,8 @@ ...@@ -15,9 +15,8 @@
tipText="课程分类" @getChild="getChild"></selectTree> tipText="课程分类" @getChild="getChild"></selectTree>
</div> </div>
<div class="col-6 q-pb-lg upload-assiatant-box"> <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> :factory="uploadFile" auto-upload>
<q-img v-if="objOption.CoverImg" :src="objOption.CoverImg" />
</q-uploader> </q-uploader>
</div> </div>
</div> </div>
...@@ -115,6 +114,7 @@ ...@@ -115,6 +114,7 @@
this.objOption.CourseName = res.Data.CourseName; this.objOption.CourseName = res.Data.CourseName;
this.objOption.CourseIntro = res.Data.CourseIntro; this.objOption.CourseIntro = res.Data.CourseIntro;
this.objOption.CateId = res.Data.CateId; this.objOption.CateId = res.Data.CateId;
this.returnString=res.Data.CateId;
}) })
this.optionTitle = "修改课程信息" this.optionTitle = "修改课程信息"
} else { } else {
......
...@@ -201,15 +201,8 @@ ...@@ -201,15 +201,8 @@
}, },
//刷新页面 //刷新页面
refreshPage() { refreshPage() {
if (!this.menuObjOption) { this.isShowMenuForm = false;
this.msg.pageIndex = 1; this.getcourselist();
this.msg.MenuName = "";
this.msg.MenuUrl = "";
this.msg.MenuLevel = -1;
this.msg.MenuType = -1;
this.msg.Status = "-1";
}
this.getmenulist()
}, },
//新增修改菜单 //新增修改菜单
EditCourse(obj) { 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