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

11

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