Commit aee08197 authored by 黄奎's avatar 黄奎

页面修改

parent b2930663
......@@ -390,7 +390,7 @@
var msg = {
hotelID: ID
};
that.apipost(
that.ApiPost2(
"hotel_post_Remove",
msg,
res => {
......@@ -419,7 +419,7 @@
this.msg.QDistrict = "";
}
if (this.msg.Country !== "") {
this.apipost(
this.ApiPost2(
"dict_post_Destination_GetChildList",
msg,
res => {
......@@ -437,7 +437,7 @@
},
//获取国家
getCountryList() {
this.apipost(
this.ApiPost2(
"dict_post_Destination_GetCountry", {},
res => {
this.countryList = res.data.data;
......@@ -450,7 +450,7 @@
if (this.msg.Status == "") {
this.msg.Status = "-1";
}
this.apipost(
this.ApiPost2(
"hotel_post_GetPageList",
this.msg,
res => {
......@@ -491,7 +491,7 @@
},
//获取酒店类型列表
GetHotelTypeList() {
this.apipost(
this.ApiPost2(
"dmc_post_Get_GetHotelType", {},
res => {
if (res.data.resultCode == 1) {
......@@ -502,7 +502,7 @@
);
},
GetHotelPirceTypeList() {
this.apipost(
this.ApiPost2(
"dmc_post_Get_GetHotelPriceType", {},
res => {
if (res.data.resultCode == 1) {
......
......@@ -357,7 +357,7 @@
if (this.msg.EndDate == null) {
this.msg.EndDate = this.setEdate();
}
this.apipost("dict_post_HotelOffer_GetHotelStatics", this.msg,
this.ApiPost2("dict_post_HotelOffer_GetHotelStatics", this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
......@@ -372,7 +372,7 @@
},
//获取酒店列表
GetHotelList() {
this.apipost(
this.ApiPost2(
"hotel_post_GetHasStockHotelList", {
Country: 651,
IsMoreThanZero: 1
......@@ -445,7 +445,7 @@
},
//获取酒店列表
GetHotelTipList() {
this.apipost(
this.ApiPost2(
"hoteltip_get_GetPageList", this.queryMsg,
res => {
if (res.data.resultCode == 1) {
......@@ -457,7 +457,7 @@
);
},
SaveHotelTip() {
this.apipost(
this.ApiPost2(
"hoteltip_post_SetHotelTip", this.postMsg,
res => {
if (res.data.resultCode == 1) {
......@@ -475,7 +475,7 @@
RemoveHotelTip(Id) {
var that = this;
this.Confirm('是否要删除此数据?', function () {
that.apipost(
that.ApiPost2(
"hoteltip_post_RemoveHotelTip", {
ID: Id
},
......@@ -492,7 +492,7 @@
})
},
GetHotelTip(Id) {
this.apipost(
this.ApiPost2(
"hoteltip_get_GetHotelTip", {
ID: Id
},
......@@ -521,7 +521,7 @@
this.msg.City = 0;
this.cityList = [];
}
this.apipost(
this.ApiPost2(
"dict_post_Destination_GetChildList",
msg,
res => {
......@@ -535,7 +535,7 @@
);
},
getBranchList() {
this.apipost('admin_get_BranchGetList', {
this.ApiPost2('admin_get_BranchGetList', {
RB_Group_Id: '2',
Status: 0,
}, res => {
......
......@@ -362,7 +362,7 @@
},
methods: {
getBranchList() {
this.apipost('admin_get_BranchGetList', {
this.ApiPost2('admin_get_BranchGetList', {
RB_Group_Id: '2',
Status: 0,
}, res => {
......@@ -454,7 +454,7 @@
this.msg.Year = this.currentYear;
this.msg.Month = this.currentMonth;
this.DayData = [];
this.apipost(
this.ApiPost2(
"hotelreport_get_GetHotelPriceMonthStatisticsExt",
this.msg,
res => {
......@@ -488,7 +488,7 @@
},
//获取酒店列表
GetHotelList() {
this.apipost(
this.ApiPost2(
"hotel_post_GetHasStockHotelList", {
Country: 651,
IsMoreThanZero: 1
......@@ -515,7 +515,7 @@
this.msg.City = 0;
this.cityList = [];
}
this.apipost(
this.ApiPost2(
"dict_post_Destination_GetChildList",
msg,
res => {
......@@ -547,7 +547,7 @@
},
// 获取供应商
initSupplier() {
this.apipost("supplier_post_GetAllList", {
this.ApiPost2("supplier_post_GetAllList", {
Type: 1
}, res => {
if (res.data.resultCode === 1) {
......
......@@ -470,7 +470,7 @@
if (this.msg.eDate == null) {
this.msg.eDate = this.setEdate()
}
this.apipost('hotel_post_GetStockPageList', this.msg, res => {
this.ApiPost2('hotel_post_GetStockPageList', this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.msg.total = res.data.data.count;
......@@ -492,7 +492,7 @@
},
//获取酒店列表
GetHotelList() {
this.apipost(
this.ApiPost2(
"hotel_post_GetHasStockHotelList", {
Country: 651,
IsMoreThanZero: 1
......@@ -527,7 +527,7 @@
this.msg.City = 0;
this.cityList = [];
}
this.apipost(
this.ApiPost2(
"dict_post_Destination_GetChildList",
msg,
res => {
......@@ -542,7 +542,7 @@
},
// 获取供应商
initSupplier() {
this.apipost("supplier_post_GetAllList", {
this.ApiPost2("supplier_post_GetAllList", {
Type: 1
}, res => {
if (res.data.resultCode === 1) {
......
......@@ -233,7 +233,7 @@
},
methods: {
getLineList() {
this.apipost("line_post_GetAllList", {}, res => {
this.ApiPost2("line_post_GetAllList", {}, res => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
}
......@@ -242,7 +242,7 @@
//获取系列列表
getLineTeamList(lineId) {
this.LineTeamList = [];
this.apipost(
this.ApiPost2(
"team_post_GetList", {
lineID: 14,
isTOOP: 1
......@@ -299,7 +299,7 @@
},
getList() {
this.loading = true;
this.apipost('dmcstatistics_post_GetUniteCombinationNumService', this.msg, res => {
this.ApiPost2('dmcstatistics_post_GetUniteCombinationNumService', this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.total = res.data.data.count;
......@@ -329,7 +329,7 @@
},
//获取酒店列表
GetHotelList() {
this.apipost(
this.ApiPost2(
"hotel_post_GetHasStockHotelList", {
Country: 651,
IsMoreThanZero: 1
......@@ -362,7 +362,7 @@
let msg = {
lineID: this.msg.LineId,
}
this.apipost('team_post_GetLinePlace', msg, res => {
this.ApiPost2('team_post_GetLinePlace', msg, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.PlaceList = res.data.data
this.queryCommonData.LineTeamList = []
......@@ -377,7 +377,7 @@
placeID: this.msg.PlaceID,
isTOOP: 1
}
this.apipost('team_post_GetList', msg, res => {
this.ApiPost2('team_post_GetList', msg, res => {
if (res.data.resultCode == 1) {
this.queryCommonData.LineTeamList = res.data.data
}
......@@ -385,7 +385,7 @@
},
//获取航空公司
getAirlineList() {
this.apipost(
this.ApiPost2(
'airline_post_GetList', {},
res => {
if (res.data.resultCode == 1) {
......@@ -405,7 +405,7 @@
PostId: '-1',
IsLeave: '0'
}
this.apipost(
this.ApiPost2(
'admin_get_EmployeeGetList', {},
res => {
if (res.data.resultCode == 1) {
......@@ -424,7 +424,7 @@
is_show: 0,
RB_Group_Id: RB_Group_id
}
this.apipost(
this.ApiPost2(
'admin_get_BranchGetList',
msg,
res => {
......
......@@ -50,7 +50,12 @@
</ul>
</div>
</div>
<div class="temDivs">
<!-- :key="key" -->
<router-view></router-view>
</div>
</div>
</template>
<script>
......@@ -99,6 +104,9 @@
methods: {
goUrl(url, id, index) {
console.log("url", url);
console.log("id", id);
console.log("index", index);
this.chosenIndex = id;
if (localStorage.openMode && localStorage.openMode == 1)
this.$router.push({
......
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