Commit 154ff004 authored by 黄奎's avatar 黄奎

页面修改

parent 3e52cfa7
......@@ -262,7 +262,7 @@
<div class="hotelResource clearfix" v-loading="loading">
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
<tr>
<th width="80" >
<th width="80">
编号
</th>
<th width="150">
......@@ -281,7 +281,7 @@
操作
</th>
</tr>
<tr v-for="(item,index) in DataList" :key="index">
<tr v-for="(item,index) in DataList" :key="index">
<td>
{{item.Id}}
</td>
......@@ -418,7 +418,7 @@
},
response => {
if (response.data.resultCode == 1) {
that.Success(that.$$t('tips.shanchuchenggong'));
that.Success(that.$t('tips.shanchuchenggong'));
that.getList();
} else {
that.Error(response.data.message);
......@@ -444,7 +444,6 @@
null
);
},
uploadFileBtn(file) {
//上传
if (file.file.size > 1024 * 1024 * 10) {
......@@ -507,6 +506,10 @@
this.Success(res.data.message);
this.getList();
this.outerVisible = false;
this.addMsg.Id = 0;
this.addMsg.Name = "";
this.addMsg.ImgCover = "";
this.addMsg.Content = "";
} else {
this.Error(res.data.message);
}
......@@ -522,7 +525,10 @@
},
res => {
if (res.data.resultCode == 1) {
this.addMsg = res.data.data;
this.addMsg.Id = res.data.data.Id;
this.addMsg.Name = res.data.data.Name;
this.addMsg.ImgCover = res.data.data.ImgCover;
this.addMsg.Content = res.data.data.Content;
this.outerVisible = true;
}
},
......
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