diff --git a/src/views/Daichuli/Feedback/Inspection/index.vue b/src/views/Daichuli/Feedback/Inspection/index.vue index 042a417..a2d76b7 100644 --- a/src/views/Daichuli/Feedback/Inspection/index.vue +++ b/src/views/Daichuli/Feedback/Inspection/index.vue @@ -280,10 +280,10 @@ export default { const pm = (self.productMsg = am.productMsg); self.geoWorkSpace = pm.geoWorkspace; self.geoLayerName = pm.geoLayerName; - self.tifPath = pm.ftpPath; + // self.tifPath = pm.ftpPath; //由于空天院内网服务无法拉取外网资源,先改成内网资源访问 - // let rt = pm.ftpPath.split('/'); - // self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; + let rt = pm.ftpPath.split('/'); + self.tifPath = 'http://10.0.31.125:18030/inspection/files/' + rt[rt.length - 1]; self.projection = pm.projection; // 赋值真实性检验方法 diff --git a/vue.config.js b/vue.config.js index 529d14f..00e84bb 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,16 +35,16 @@ module.exports = { } }, [process.env.VUE_APP_REALITY_API]: { - // target: "https://124.16.188.131:28092/microwave", - target: "http://192.168.1.227:18092/microwave", + target: "https://124.16.188.131:28092/microwave", + // target: "http://192.168.1.227:18092/microwave", changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_REALITY_API]: "" } }, [process.env.VUE_APP_FILE_API]: { - // target: "https://124.16.188.131:28093/file", - target: "http://192.168.1.227:18093/file", + target: "https://124.16.188.131:28093/file", + // target: "http://192.168.1.227:18093/file", changeOrigin: true, pathRewrite: { ["^" + process.env.VUE_APP_FILE_API]: ""