Commit 4b77b98e authored by 黄奎's avatar 黄奎

页面修改

parent 47e29978
......@@ -106,10 +106,12 @@
.w300 {
width: 300px !important;
}
.HotelInfo .ql-editor{
min-height:200px;
.HotelInfo .ql-editor {
min-height: 200px;
}
</style><template>
<div class="flexOne changInfo HotelInfo">
<div class="resource-content clearfix">
......@@ -125,14 +127,14 @@
<el-option v-for="item in countryList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</el-form-item>
<el-form-item label="">
<el-form-item label="都道府县">
<el-select size="small" v-model="addMsg.SProvinceId" class="w300" placeholder="省"
@change="getProvinceList(addMsg.SProvinceId,2,1)" filterable>
<el-option label="すべて" :value='0'></el-option>
<el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</el-form-item>
<el-form-item label="市">
<el-form-item label="市" style="display:none;">
<el-select size="small" v-model="addMsg.SCityId" class="w300" placeholder="市" filterable>
<el-option label="すべて" :value='0'></el-option>
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
......@@ -147,20 +149,22 @@
<el-option v-for="item in starslevel" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</el-form-item>
<el-form-item label="公共施設サービス">
<el-select multiple placeholder="選んでください" class='multiple_input w300' v-model="publicServiceArray">
<el-option v-for="item in PublicFacilities" :key="item.HConfigId" :label="item.HName" :value="item.HConfigId">
<el-option v-for="item in PublicFacilities" :key="item.HConfigId" :label="item.HName"
:value="item.HConfigId">
</el-option>
</el-select>
</el-form-item>
<el-form-item label="客室施設サービス" title="客房设施服务">
<el-select multiple placeholder="選んでください" class='multiple_input w300' v-model="roomServiceArray">
<el-option v-for="item in RoomFacilities" :key="item.HConfigId" :label="item.HName" :value="item.HConfigId">
<el-option v-for="item in RoomFacilities" :key="item.HConfigId" :label="item.HName"
:value="item.HConfigId">
</el-option>
</el-select>
</el-form-item>
</div>
<div class="HotelRight" style="display:inline-block;width:510px;margin-top:30px;">
<el-form-item label="活動施設サービス" title="活动设施服务">
......@@ -172,12 +176,13 @@
</el-form-item>
<el-form-item label="ホテル施設サービス" title="酒店服务">
<el-select multiple placeholder="選んでください" class='multiple_input w300' v-model="hotelServiceArray">
<el-option v-for="item in SHotelService" :key="item.HConfigId" :label="item.HName" :value="item.HConfigId">
<el-option v-for="item in SHotelService" :key="item.HConfigId" :label="item.HName"
:value="item.HConfigId">
</el-option>
</el-select>
</el-form-item>
<!--早到入住时间-->
<el-form-item label="チェックインの時間が早い" title="早到入住时间">
<el-form-item label="チェックインの時間" title="早到入住时间">
<el-time-select class='w300' v-model='addMsg.CheckInTime'
:picker-options="{start: '08:00',step: '00:05',end: '22:00'}">
</el-time-select>
......@@ -208,16 +213,16 @@
<div style="position:relative;margin-bottom:15px;">
<span style="top:0;position: absolute;left:75px;color:#606266">ホテル案内</span>
<div style="display:inline-block;margin-left:173px;background:#fff;width:800px;">
<quill-editor :options="editorOption" v-model="addMsg.SHotelInfo"></quill-editor>
<quill-editor :options="editorOption" v-model="addMsg.SHotelInfo"></quill-editor>
</div>
</div>
<div style="position:relative">
<span style="top:0;position:absolute;left:75px;color:#606266">ホテル政策</span>
<div style="display:inline-block;margin-left:173px;background:#fff;width:800px;">
<quill-editor :options="editorOption" v-model="addMsg.SHotelPolicy"></quill-editor>
<quill-editor :options="editorOption" v-model="addMsg.SHotelPolicy"></quill-editor>
</div>
</div>
</el-form>
</div>
......@@ -242,25 +247,40 @@
</div>
</template>
<script>
export default {
data() {
return {
editorOption: {
modules:{
toolbar:[
['bold', 'italic', 'underline', 'strike', 'image'], // toggled buttons
[{ 'header': [1, 2, 3, 4, 5, 6, false] }],
[{ 'color': [] }, {'background': [] }],
[{ 'font': [] }],
[{ 'align': [] }],
[{ 'size': ['small', false, 'large', 'huge'] }],
[{ 'list': 'ordered'}, { 'list': 'bullet' }]
]
}
},
arr:[],
modules: {
toolbar: [
['bold', 'italic', 'underline', 'strike', 'image'], // toggled buttons
[{
'header': [1, 2, 3, 4, 5, 6, false]
}],
[{
'color': []
}, {
'background': []
}],
[{
'font': []
}],
[{
'align': []
}],
[{
'size': ['small', false, 'large', 'huge']
}],
[{
'list': 'ordered'
}, {
'list': 'bullet'
}]
]
}
},
arr: [],
addMsg: {
SID: 0, //酒店编号
SHotelName: '', //酒店名称
......@@ -320,7 +340,7 @@
}
};
},
methods: {
//上传酒店图片
UploadImage(file) {
......@@ -368,7 +388,9 @@
this.isSubmit = true;
if (response.data.resultCode == 1) {
this.Success(response.data.message);
this.$router.push({path: 'HotelList'})
this.$router.push({
path: 'HotelList'
})
} else {
this.Error(response.data.message);
}
......@@ -513,7 +535,14 @@
this.apipost("scm_get_GetSCMHotelStarService", {},
response => {
if (response.data.resultCode == 1) {
this.starslevel = response.data.data;
var array = response.data.data;
if (array && array.length > 0) {
array.forEach((item,index) => {
if (index < 5) {
this.starslevel.push(item);
}
});
}
}
}, null);
},
......
......@@ -32,7 +32,7 @@
<el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</li>
<li>
<li style="display:none;">
<el-select size="small" v-model="msg.SCityId" placeholder="市" filterable>
<el-option label="すべて" :value='0'></el-option>
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
......@@ -55,7 +55,9 @@
</vxe-table-column>
<vxe-table-column field="Name" title="地域" width="120" align="center">
<template v-slot="{ row }">
<span>{{row.SCountryName}}-{{row.SProvinceName}}-{{row.SCityName}}</span>
<span>{{row.SCountryName}}-{{row.SProvinceName}}
<!---{{row.SCityName}}-->
</span>
</template>
</vxe-table-column>
<vxe-table-column field="SHotelStar" title="ホテル星" width="100" align="center"></vxe-table-column>
......
......@@ -32,8 +32,8 @@ export default {
//常用提交数据URL
PostUrl: domainUrl + "/api/common/post",
javaUrl: "http://property.oytour.com",
ViittoFileUrl: locationName.indexOf('zcyx') !== -1 || locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://staticfile.oytour.com" : 'http://192.168.2.214:8130',
UploadUrl: locationName.indexOf('zcyx') !== -1 || locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://uploadfile.oytour.com" : "http://192.168.2.214:8120",
ViittoFileUrl: locationName.indexOf('zcyx') !== -1 || locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://staticfile.oytour.com" : 'http://imgfile.oytour.com',
UploadUrl: locationName.indexOf('zcyx') !== -1 || locationName.indexOf('zcyx.oytour.com') !== -1 ? "http://uploadfile.oytour.com" : "http://upload.oytour.com",
LocalFileStreamDownLoadUrl: domainUrl + "/api/file/GetFileFromWebApi",
JavaLocalFileStreamDownLoadUrl: javaUrldo,
};
......@@ -89,8 +89,8 @@ export default {
//Confirm
Vue.prototype.Confirm = function (msg, callback) {
this.$confirm(msg, "提示", {
confirmButtonText: "定",
cancelButtonText: "取消",
confirmButtonText: "定",
cancelButtonText: "キャンセル",
type: "warning"
})
.then(() => {
......@@ -99,7 +99,7 @@ export default {
}
})
.catch(() => {
this.Info("已取消操作");
this.Info("取り消し操作");
});
},
......
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