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

页面修改

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