diff --git a/config/index.js b/config/index.js index ec75eda..68765b2 100644 --- a/config/index.js +++ b/config/index.js @@ -18,7 +18,7 @@ } }, "/nfQuery": { - target: "http://192.168.30.199:7099", //陆展接口 + target: "http://192.168.16.100:8864", //陈迁接口 changeOrigin: true, //是否跨域 pathRewrite: { "^/nfQuery": "" //需要rewrite重写的, @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "0.0.0.0", // can be overwritten by process.env.HOST + host: "192.168.30.113", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/config/index.js b/config/index.js index ec75eda..68765b2 100644 --- a/config/index.js +++ b/config/index.js @@ -18,7 +18,7 @@ } }, "/nfQuery": { - target: "http://192.168.30.199:7099", //陆展接口 + target: "http://192.168.16.100:8864", //陈迁接口 changeOrigin: true, //是否跨域 pathRewrite: { "^/nfQuery": "" //需要rewrite重写的, @@ -87,7 +87,7 @@ }, // Various Dev Server settings - host: "0.0.0.0", // can be overwritten by process.env.HOST + host: "192.168.30.113", // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: true, errorOverlay: true, diff --git a/src/components/ConfigManager/SiteManagement.vue b/src/components/ConfigManager/SiteManagement.vue index eb85612..56bd035 100644 --- a/src/components/ConfigManager/SiteManagement.vue +++ b/src/components/ConfigManager/SiteManagement.vue @@ -135,11 +135,13 @@ > - - - 坐标拾取 + + + 坐标拾取 - + - + @@ -316,12 +321,12 @@ import { mapGetters } from "vuex"; import markMap from "./markMap.vue"; export default { - components: { - markMap - }, + components: { + markMap + }, data() { return { - dialogFormVisible:false, + dialogFormVisible: false, //站点搜索相关 siteFilterInfo: { query: { @@ -436,12 +441,11 @@ lon: "", //经度 isPush: "", createTime: "", - coordinateSystem: "", status: "", offlineTime: "", stationType: "", //站点类型 // stationTypeName: "", //站点名称 - coordinateSystem: "", //坐标系(经纬度所对应的的坐标系) + coordinateSystem: "WGS84坐标系", //坐标系(经纬度所对应的的坐标系) address: "", //站点安装位置 person: "", //安装负责人 fileList: [] //现场安装图片 @@ -637,20 +641,19 @@ } }, methods: { - //响应地图组件的确定,拾取坐标 + //响应地图组件的确定,拾取坐标 SendLngLat(lonlat) { - this.dialogFormVisible=false; - this.ruleForm.lon=lonlat[0] - this.ruleForm.lat=lonlat[1] - + this.dialogFormVisible = false; + this.ruleForm.lon = lonlat[0]; + this.ruleForm.lat = lonlat[1]; }, //坐标拾取地图控件打开 - pickLngLat(){ - this.dialogFormVisible=true + pickLngLat() { + this.dialogFormVisible = true; }, //监听面板直接叉叉掉事件 handleDialogClose() { - this.dialogFormVisible = false; + this.dialogFormVisible = false; }, //上传头像 fileChange(file) { @@ -971,12 +974,11 @@ lon: "", //经度 isPush: "", createTime: "", - coordinateSystem: "", status: "", offlineTime: "", stationType: "", //站点类型 // stationTypeName: "", - coordinateSystem: "", //坐标系(经纬度所对应的的坐标系) + coordinateSystem: "WGS84", //坐标系(经纬度所对应的的坐标系) address: "", //站点安装位置 person: "", //安装负责人 fileList: [] //现场安装图片 @@ -1008,7 +1010,7 @@