Commit 8e973c9c authored by 罗超's avatar 罗超

修改

parent b13de825
......@@ -110,7 +110,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="头像" size="small">
<el-form-item label="封面" size="small">
<el-button @click="openChangeDig(1)" size="small">选择文件</el-button>
<div class="app-gallery-item" style="position: relative;width: 100px;margin-top: 10px;border:none;">
<img v-if="!addMsg.ArticlePic || addMsg.ArticlePic==''" src="../../assets/img/default.png"
......@@ -180,15 +180,15 @@
addMsg: {
ID: 0,
ArticleStatus: 1, //资讯状态 1上架 2下架
Sort: '', //排序
Sort: 0, //排序
ShelvesDate: '', //自动上架时间
DownDate: '', //自动下架时间
FictitiousBrowseNum: '', //虚拟浏览数量
FictitiousBrowseNum: 0, //虚拟浏览数量
Name: '', //标题
LableName: '', //标签
IsComment: 0, //是否可以留言,0-否,1-是
Describe: '', //资讯内容
TeacherId: '',
TeacherId: 0,
LableNameList: [], //标签数组
ArticlePic: '', //图片
},
......@@ -275,16 +275,16 @@
clearMsg() {
this.addMsg.ID = 0;
this.addMsg.ArticleStatus = 1;
this.addMsg.Sort = '';
this.addMsg.Sort = 0;
this.addMsg.ShelvesDate = '';
this.addMsg.DownDate = '';
this.addMsg.FictitiousBrowseNum = '';
this.addMsg.FictitiousBrowseNum = 0;
this.addMsg.Name = '';
this.addMsg.LableName = '';
this.addMsg.IsComment = 0;
this.addMsg.Describe = '';
this.addMsg.LableNameList = [];
this.addMsg.TeacherId = '';
this.addMsg.TeacherId = 0;
this.addMsg.ArticlePic = '';
},
submitform(addMsg) {
......
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