Commit 9ecdb166 authored by 黄奎's avatar 黄奎

页面修改

parent 130d6742
...@@ -232,10 +232,7 @@ ...@@ -232,10 +232,7 @@
<li> <li>
<span> <span>
<em>{{$t('system.quety_area')}}</em> <em>{{$t('system.quety_area')}}</em>
<el-select v-model="msg.QCountry" clearable class="w150" filterable
@change="getProvinceList(msg.QCountry,1)" :placeholder="$t('hotel.hotel_country')">
<el-option v-for="item in countryList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select>
<el-select v-model="msg.QProvince" class="w150" filterable @change="getProvinceList(msg.QProvince,2)" <el-select v-model="msg.QProvince" class="w150" filterable @change="getProvinceList(msg.QProvince,2)"
:placeholder="$t('hotel.hotel_province')"> :placeholder="$t('hotel.hotel_province')">
<el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in provinceList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
...@@ -266,7 +263,7 @@ ...@@ -266,7 +263,7 @@
<el-option v-for="item in HotelTypeList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in HotelTypeList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('Operation.Op_price')}}</em> <em>{{$t('Operation.Op_price')}}</em>
...@@ -277,7 +274,7 @@ ...@@ -277,7 +274,7 @@
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span><em>{{$t('visa.v_czuser')}}</em></span> <span><em>{{$t('visa.v_czuser')}}</em></span>
<el-select class="w150" v-model="msg.UpdateBy" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class="w150" v-model="msg.UpdateBy" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value="0"> <el-option :label="$t('pub.unlimitedSel')" :value="0">
...@@ -348,10 +345,11 @@ ...@@ -348,10 +345,11 @@
<div class="btnList"> <div class="btnList">
<button @click="goSubInfo('GnHotelInfo',item.ID)" class="hotelBtnMan">{{$t('pub.updateMsg')}}</button> <button @click="goSubInfo('GnHotelInfo',item.ID)" class="hotelBtnMan">{{$t('pub.updateMsg')}}</button>
<button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id==QjGroupId()">复制</button> <button @click="CopyHotel(item.ID)" class="hotelBtnMan" v-if="userInfo.RB_Group_id==QjGroupId()">复制</button>
<button @click="goproduct('HotelProductManage',item)" class="hotelBtnMan" v-if="userInfo.RB_Group_id!=QjGroupId()">房型</button> <button @click="goproduct('HotelProductManage',item)" class="hotelBtnMan"
<br/> v-if="userInfo.RB_Group_id!=QjGroupId()">房型</button>
<button v-if="IsHotelPriceStock==1" style="width:80px;margin-top:10px;" @click="goUrl('HotelProductManage2',item)" <br />
class="hotelBtnMan">{{$t('ground.baojiayukucun')}}</button> <button v-if="IsHotelPriceStock==1" style="width:80px;margin-top:10px;"
@click="goUrl('HotelProductManage2',item)" class="hotelBtnMan">{{$t('ground.baojiayukucun')}}</button>
</div> </div>
</div> </div>
</div> </div>
...@@ -363,7 +361,7 @@ ...@@ -363,7 +361,7 @@
export default { export default {
data() { data() {
return { return {
userInfo:{},//登录用户信息 userInfo: {}, //登录用户信息
IsHotelPriceStock: 0, //1-有获取酒店库存与报价添加修改权限 IsHotelPriceStock: 0, //1-有获取酒店库存与报价添加修改权限
countryList: "", countryList: "",
provinceList: "", provinceList: "",
...@@ -390,7 +388,7 @@ ...@@ -390,7 +388,7 @@
pageIndex: 1, pageIndex: 1,
pageSize: 14, pageSize: 14,
Name: "", Name: "",
QCountry: "", QCountry: "2",
QProvince: "", QProvince: "",
QCity: "", QCity: "",
Status: "0", Status: "0",
...@@ -401,7 +399,7 @@ ...@@ -401,7 +399,7 @@
currentPage: 1, currentPage: 1,
ID: 0, ID: 0,
UpdateBy: 0, //操作人 UpdateBy: 0, //操作人
ProductType:2,//国内酒店 ProductType:1,
} }
}; };
}, },
...@@ -486,16 +484,6 @@ ...@@ -486,16 +484,6 @@
); );
} }
}, },
//获取国家
getCountryList() {
this.apipost(
"dict_post_Destination_GetCountry", {},
res => {
this.countryList = res.data.data;
},
err => {}
);
},
selectResource() { selectResource() {
this.loading = true; this.loading = true;
if (this.msg.Status == "") { if (this.msg.Status == "") {
...@@ -537,8 +525,8 @@ ...@@ -537,8 +525,8 @@
path: path, path: path,
query: { query: {
id: item.ID, id: item.ID,
Country:item.Country, Country: item.Country,
IsSelfBook:item.IsSelfBook, IsSelfBook: item.IsSelfBook,
blank: 'y', blank: 'y',
tab: '房型列表' tab: '房型列表'
} }
...@@ -610,10 +598,10 @@ ...@@ -610,10 +598,10 @@
}, },
}, },
mounted() { mounted() {
this.userInfo=this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.getEmployeeList(); this.getEmployeeList();
this.GetHotelPirceStockAuth(); this.GetHotelPirceStockAuth();
this.getCountryList(); this.getProvinceList(this.msg.QCountry, 1);
this.GetHotelTypeList(); this.GetHotelTypeList();
this.GetHotelPirceTypeList(); this.GetHotelPirceTypeList();
}, },
...@@ -623,18 +611,18 @@ ...@@ -623,18 +611,18 @@
this.msg = this.$store.state.pageCondition; this.msg = this.$store.state.pageCondition;
} }
} }
if(this.$route.query.StatisticsSTime){ if (this.$route.query.StatisticsSTime) {
this.msg.StatisticsSTime=this.$route.query.StatisticsSTime this.msg.StatisticsSTime = this.$route.query.StatisticsSTime
} }
if(this.$route.query.StatisticsETime){ if (this.$route.query.StatisticsETime) {
this.msg.StatisticsETime=this.$route.query.StatisticsETime this.msg.StatisticsETime = this.$route.query.StatisticsETime
} }
if(this.$route.query.type){ if (this.$route.query.type) {
if(this.$route.query.type==1){ if (this.$route.query.type == 1) {
this.msg.CreateBy =this.$route.query.EmployeeId; this.msg.CreateBy = this.$route.query.EmployeeId;
} }
if(this.$route.query.type==2){ if (this.$route.query.type == 2) {
this.msg.UpdateBy =this.$route.query.EmployeeId; this.msg.UpdateBy = this.$route.query.EmployeeId;
} }
} }
var id = this.$route.query.ID; var id = this.$route.query.ID;
......
This diff is collapsed.
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