Commit 7ca0fe7f by zhangzhijie

pageBs相关条件修复

parent 348f79f4
...@@ -950,14 +950,14 @@ export default { ...@@ -950,14 +950,14 @@ export default {
if (unitcode.indexOf("00") == "4" && this.pageBs == "queryAjNM") { if (unitcode.indexOf("00") == "4" && this.pageBs == "queryAjNM") {
unitcode = unitcode.substring(0, 4) + "00000000"; unitcode = unitcode.substring(0, 4) + "00000000";
} }
if (this.pageBs == "queryAjNM") { if (this.pageBs == "queryAjNM" || this.pageBs == "checkAjbzInfo") {
axios.get(`JsonData/CODE_UNITNM.json`).then((res) => { axios.get(`JsonData/CODE_UNITNM.json`).then((res) => {
let arr = []; let arr = [];
this.getCurrentUnit(unitcode, res.data.rows, arr); this.getCurrentUnit(unitcode, res.data.rows, arr);
console.log(arr); console.log(arr);
self.$set(self.propQueryField[1], "codeOptions", arr); self.$set(self.propQueryField[1], "codeOptions", arr);
}); });
} else if (this.pageBs == "queryAjHN") { } else if (this.pageBs == "queryAjHN" || this.pageBs == "checkAjbzInfoHN") {
axios.get(`JsonData/CODE_UNITHN.json`).then((res) => { axios.get(`JsonData/CODE_UNITHN.json`).then((res) => {
let arr = []; let arr = [];
this.getCurrentUnit(unitcode, res.data.rows, arr); this.getCurrentUnit(unitcode, res.data.rows, arr);
......
...@@ -58,8 +58,8 @@ module.exports = { ...@@ -58,8 +58,8 @@ module.exports = {
}, },
proxy: { proxy: {
"/api": { "/api": {
//target: "http://127.0.0.1:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022 海南:http://74.6.54.153:9025 target: "http://127.0.0.1:8762", //西藏: https://155.1.33.10:20010/ 阿里云:http://39.99.155.173:9022 海南:http://74.6.54.153:9025
target: "http://74.6.54.153:9025", //target: "http://74.6.54.153:9025",
// ws: true, // ws: true,
changeOrigin: true, changeOrigin: true,
// secure: false, // secure: false,
......
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