Commit 7ca0fe7f by zhangzhijie

pageBs相关条件修复

parent 348f79f4
......@@ -950,14 +950,14 @@ export default {
if (unitcode.indexOf("00") == "4" && this.pageBs == "queryAjNM") {
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) => {
let arr = [];
this.getCurrentUnit(unitcode, res.data.rows, arr);
console.log(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) => {
let arr = [];
this.getCurrentUnit(unitcode, res.data.rows, arr);
......
......@@ -58,8 +58,8 @@ module.exports = {
},
proxy: {
"/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://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",
// ws: true,
changeOrigin: true,
// 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