Commit 4ab12142 authored by zhengke's avatar zhengke

修改

parent f10a08ce
......@@ -248,7 +248,8 @@
</el-dialog>
<div class="btn-list">
<span class="common-lefttit"></span>
<button class="save-Btn" @click="submitForm('addMsg')">{{$t('pub.saveBtn')}}</button>
<button @click="submitForm('addMsg')" style="width:80px;" :class="{'comDisableBtn':isDisable==true,'normalBtn':isDisable==false}"
:disabled='isDisable'>{{comBtnText}}</button>
<button class="cancel-Btn" @click="goUrl('GnHotelManagement')">{{$t('pub.cancelBtn')}}</button>
</div>
<viewer :images="images" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
......@@ -380,6 +381,8 @@
},
AddressDes: '' //地址说明
},
isDisable: false,
comBtnText:'保存',
//酒店图片
HotelImgArr: [],
//酒店标签列表
......@@ -502,12 +505,16 @@
this.addMsg.Tags = this.TagsList.toString();
this.addMsg.HotelImageList = this.HotelImageArray;
this.addMsg.DeleteImageList = this.DeleteImageArray;
this.isDisable = true;
this.comBtnText = '正在提交'
this.apipost("hotel_post_SetInternalHotel", this.addMsg, res => {
if (res.data.resultCode == 1) {
this.Success(this.$t('tips.saveYes'));
this.goUrl("GnHotelManagement");
} else {
this.Error(res.data.message);
this.isDisable = false;
this.comBtnText = '保存'
}
});
},
......
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