Commit 0b36aed1 authored by 黄奎's avatar 黄奎

11

parent 98378203
......@@ -245,7 +245,6 @@
</el-select>
</span>
</li>
<li>
<span>
<em>{{$t('active.cl_syriqi')}}</em>
......@@ -258,7 +257,8 @@
<li>
<span>
<em>{{$t('objFill.tuanduilx')}}</em>
<el-select class="multiple_input" v-model="msg.TeamType" filterable :placeholder="$t('objFill.v101.FinancialModule.qingxztdlx')">
<el-select class="multiple_input" v-model="msg.TeamType" filterable
:placeholder="$t('objFill.v101.FinancialModule.qingxztdlx')">
<el-option :label="$t('pub.unlimitedSel')" :value="-1"> </el-option>
<el-option v-for='item in teamList' :key="item.ID" :label="item.Name" :value="item.ID">
</el-option>
......@@ -274,6 +274,15 @@
</el-select>
</span>
</li>
<li>
<span>
<em>酒店</em>
<el-select class=" multiple_input" placeholder="请选择酒店" v-model="msg.HotelList" filterable multiple>
<el-option :label="$t('pub.unlimitedSel')" :value="-1"> </el-option>
<el-option v-for="item in hotelDataList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
</span>
</li>
<li>
<button class="hollowFixedBtn" type="button"
@click="resetPageIndex(),selectResource()">{{$t('pub.searchBtn')}}</button>
......@@ -284,8 +293,8 @@
<el-table-column prop="NewHotelName" :label="$t('hotel.hotel_name')">
<template slot-scope="scope">
<template v-if="scope.row.URL&&scope.row.URL.length>5">
<a style="text-decoration:underline;cursor:pointer;" :href="scope.row.URL" target="_blank"
>{{scope.row.NewHotelName}}</a>
<a style="text-decoration:underline;cursor:pointer;" :href="scope.row.URL"
target="_blank">{{scope.row.NewHotelName}}</a>
</template>
<template v-else>
{{scope.row.NewHotelName}}
......@@ -293,11 +302,11 @@
</template>
</el-table-column>
<el-table-column prop="NewHotelRealName" :label="$t('objFill.v101.FinancialModule.jiudianzsmc')">
<el-table-column prop="NewHotelRealName" :label="$t('objFill.v101.hote.jiudianzsmc')">
<template slot-scope="scope">
<template v-if="scope.row.URL&&scope.row.URL.length>5">
<a style="text-decoration:underline;cursor:pointer;"
:href="scope.row.URL" target="_blank">{{scope.row.NewHotelRealName}}</a>
<a style="text-decoration:underline;cursor:pointer;" :href="scope.row.URL"
target="_blank">{{scope.row.NewHotelRealName}}</a>
</template>
<template v-else>
{{scope.row.NewHotelRealName}}
......@@ -373,7 +382,9 @@
DiningId: 0,
currentPage: 1,
total: 0,
HotelList: [],
},
hotelDataList: [],
pickerBeginDateBefore: {
disabledDate: time => {
if (this.msg.QEndDate == null) {
......@@ -486,7 +497,7 @@
});
},
goToGuWangUrl(url){
goToGuWangUrl(url) {
this.$router.push({
path: url,
});
......@@ -503,6 +514,22 @@
err => {}
);
},
//获取酒店列表
GetHotelList() {
var postMsg = {
QCountry: "651",
IsMoreThanZero: 0
}
this.apipost(
"hotel_post_GetList", postMsg,
res => {
if (res.data.resultCode == 1) {
this.hotelDataList = res.data.data;
}
},
err => {}
);
},
},
created() {
var myDate = new Date();
......@@ -510,6 +537,7 @@
var nowEDate = myDate.getFullYear() + "-" + parseInt(myDate.getMonth() + 1) + "-" + myDate.getDate();
this.msg.QStartDate = nowDate;
this.msg.QEndDate = nowEDate;
this.GetHotelList();
},
mounted() {
this.getProvinceList(651, 1);
......
......@@ -11,7 +11,7 @@
<el-form-item :label="$t('hotel.hotel_name')" prop="Name">
<el-input type="text" v-model="addMsg.Name" maxlength="100" class="w300"></el-input>
</el-form-item>
<el-form-item :label="$t('objFill.v101.FinancialModule.jiudianzsmc')">
<el-form-item :label="$t('objFill.v101.hote.jiudianzsmc')">
<el-input type="text" v-model="addMsg.HotelRealName" maxlength="100" class="w300"></el-input>
</el-form-item>
<el-form-item :label="$t('hotel.hotel_describle')" prop="Descriptions">
......
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