Commit aee08197 authored by 黄奎's avatar 黄奎

页面修改

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