Commit 14469441 authored by 黄奎's avatar 黄奎

1111

parent dc4b98a6
...@@ -1154,7 +1154,6 @@ ...@@ -1154,7 +1154,6 @@
} }
} }
} }
this.queryStr = query this.queryStr = query
this.loading2 = true; this.loading2 = true;
this.apiJavaPost( this.apiJavaPost(
...@@ -1248,14 +1247,12 @@ ...@@ -1248,14 +1247,12 @@
}, },
//获取国家 城市 //获取国家 城市
getCCList() { getCCList() {
//http://efficient.oytour.com/api/kkday/searchCity
this.apiJavaPost( this.apiJavaPost(
"/api/kkday/searchCity", {}, "/api/kkday/searchCity", {},
res => { res => {
if (res.data.resultCode === 1) { if (res.data.resultCode === 1) {
let data = res.data.data.Countries let data = res.data.data.Countries
let deleteIdiot = [] let deleteIdiot = []
if (data && data.length > 0) { if (data && data.length > 0) {
data.map(x => { data.map(x => {
if (x.Country_Name !== "台湾" && x.Country_Name !== "香港" && x.Country_Name !== "澳门" && x if (x.Country_Name !== "台湾" && x.Country_Name !== "香港" && x.Country_Name !== "澳门" && x
...@@ -1264,7 +1261,6 @@ ...@@ -1264,7 +1261,6 @@
} }
}) })
} }
this.CCList = deleteIdiot this.CCList = deleteIdiot
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
...@@ -1277,10 +1273,8 @@ ...@@ -1277,10 +1273,8 @@
let dom = document.querySelector("#blankLink") let dom = document.querySelector("#blankLink")
let fullPath = `/FreeDetail?id=${type ? obj.pkg_no : obj.prod_no}`; let fullPath = `/FreeDetail?id=${type ? obj.pkg_no : obj.prod_no}`;
dom.href = `http://${window.location.host}/#${fullPath}` dom.href = `http://${window.location.host}/#${fullPath}`
dom.click() dom.click()
return return
this.$router.push({ this.$router.push({
name: "FreeDetail", name: "FreeDetail",
query: { query: {
......
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