修改ip、修改样本地址、修改配置文件

earthstar-new
Mr.Dong 2025-02-10 17:30:45 +08:00
parent 1d964b0899
commit b258cfe73d
10 changed files with 78 additions and 71 deletions

View File

@ -22,5 +22,6 @@ const DAICHULI_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/DJYO
const YICHULI_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YJYOrder";
const DAISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/DSHOrder";
const YISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YSHOrder";
const DQYSERVER_URL = "https://caplos.aircas.ac.cn/dqweb";
// const DQYSERVER_URL = "https://caplos.aircas.ac.cn/dqweb";
const DQYSERVER_URL = "http://192.168.1.205:8089";
const LXYSERVER_URL = "https://caplos.aircas.ac.cn/lxyweb";

View File

@ -286,7 +286,7 @@
</div>
</div>
<!-- 高级参数模板 -->
<div class="bottom">
<!-- <div class="bottom">
<span class="sp1">高级参数</span
><i
style="cursor: pointer"
@ -296,11 +296,11 @@
}"
@click="open"
></i>
</div>
<div class="bottom1" v-show="isBottom">
</div> -->
<!-- <div class="bottom1" v-show="isBottom">
<el-form :inline="true" :model="orderParam" class="demo-form-inline">
<el-form-item label="抽样方法">
<!-- <el-select
<el-select
v-model="orderParam.sampleFun"
placeholder="选择抽样方法"
@change="funcChange"
@ -311,7 +311,7 @@
:label="item.name"
:value="item.value"
></el-option>
</el-select> -->
</el-select>
<el-cascader
v-model="orderParam.sampleFun"
:options="funcOpt"
@ -357,7 +357,7 @@
</el-select>
</el-form-item>
</el-form>
</div>
</div> -->
<div class="last">
<el-form :inline="true" class="demo-form-inline1">
<el-form-item>

View File

@ -6,12 +6,15 @@ const path = {
yichuli: "/yichuli",
daishenhe: "/daishenhe",
yishenhe: "/yishenhe",
login: "/"
login: "/",
};
const prefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcel";
// const newPrefix = "/home/estar/eStarProject/webProject/microwave-project/microwaveData/sampleData";
const newPrefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcelNew";
//旧版本地址
// const newPrefix = "D:/deveEnvironment/nginx-1.18.0/html/microwaveData/sampleExcelNew";
//新版本地址
const newPrefix = "D:/WorkTools/apache-tomcat-9.0.93/webapps/microwaveData/sampleExcel";
const url = {
otgSamplesPath: `${newPrefix}/otgSamples.xlsx`, //正射1
@ -25,15 +28,15 @@ const url = {
demSamplePath: `${newPrefix}/demSample.xlsx`, // 高程产品2
ssiSamplePath: `${newPrefix}/Soil_Salinity_Inversion_Sample.xlsx`, // 土壤盐碱度8
srSamplePath: `${newPrefix}/Surface_Roughness_Sample.xlsx`, // 地表粗糙度9
vpSamplePath: `${newPrefix}/Vegetation_Phenology_Sample.xlsx` //Vegetation_Phenology_Sample.xlsx,// 植被物候12
vpSamplePath: `${newPrefix}/Vegetation_Phenology_Sample.xlsx`, //Vegetation_Phenology_Sample.xlsx,// 植被物候12
};
const serverUrl = DQYSERVER_URL;
const langServerUrl = LXYSERVER_URL;
const urlprefix = {
pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
geoserverUrl: `${langServerUrl}/geoserver/gwc/service/wmts`,
otgGeoServerUrl: `${langServerUrl}/geoserver/gwc/service/wmts`
geoserverUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
otgGeoServerUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
// otgGeoServerUrl: `${serverUrl}:8087/geoserver/gwc/service/wmts`
};
@ -50,87 +53,87 @@ const subProductName = [
"地表粗糙度", //9
"植被高度", //10
"叶面积指数", //11
"植被物候" //12
"植被物候", //12
];
// 地物类型名称
const groTypeName = [
{
value: "城市",
label: "城市"
label: "城市",
},
{
value: "水体",
label: "水体"
label: "水体",
},
{
value: "森林",
label: "森林"
label: "森林",
},
{
value: "灌木地",
label: "灌木地"
label: "灌木地",
},
{
value: "草地",
label: "草地"
label: "草地",
},
{
value: "水域",
label: "水域"
label: "水域",
},
{
value: "山地",
label: "山地"
}
label: "山地",
},
];
// 植被物候地物类型名称
const vegetationPhenologyGroTypeName = [
{
value: "出芽期",
label: "出芽期"
label: "出芽期",
},
{
value: "分蘖期",
label: "分蘖期"
label: "分蘖期",
},
{
value: "越冬期",
label: "越冬期"
label: "越冬期",
},
{
value: "返青期",
label: "返青期"
label: "返青期",
},
{
value: "起身期",
label: "起身期"
label: "起身期",
},
{
value: "拔节期",
label: "拔节期"
label: "拔节期",
},
{
value: "孕穗期",
label: "孕穗期"
label: "孕穗期",
},
{
value: "抽穗期",
label: "抽穗期"
label: "抽穗期",
},
{
value: "扬花期",
label: "扬花期"
label: "扬花期",
},
{
value: "灌浆期",
label: "灌浆期"
label: "灌浆期",
},
{
value: "成熟期",
label: "成熟期"
}
label: "成熟期",
},
];
// 抽样方法
@ -142,25 +145,25 @@ const funcOpt = [
pixelDealFun: [
{
name: "均值法",
value: "1"
value: "1",
},
{
name: "最邻近法",
value: "6"
value: "6",
},
{
name: "克里格法",
value: "7"
value: "7",
},
{
name: "块克里格法",
value: "9"
value: "9",
},
{
name: "MSN法",
value: "10"
}
]
value: "10",
},
],
},
{
name: "分层抽样",
@ -169,19 +172,19 @@ const funcOpt = [
pixelDealFun: [
{
name: "MSN法",
value: "10"
}
value: "10",
},
],
children: [
{
value: "0",
label: "深度空间分层"
label: "深度空间分层",
},
{
value: "1",
label: "场站网空间分层"
}
]
label: "场站网空间分层",
},
],
},
{
name: "等距抽样",
@ -190,26 +193,26 @@ const funcOpt = [
pixelDealFun: [
{
name: "均值法",
value: "1"
value: "1",
},
{
name: "最邻近法",
value: "6"
value: "6",
},
{
name: "克里格法",
value: "7"
value: "7",
},
{
name: "块克里格法",
value: "9"
value: "9",
},
{
name: "MSN法",
value: "10"
}
]
}
value: "10",
},
],
},
];
export default {
@ -219,5 +222,5 @@ export default {
subProductName,
groTypeName,
vegetationPhenologyGroTypeName,
funcOpt
funcOpt,
};

View File

@ -87,6 +87,7 @@ class CesiumUtils {
}
//添加wms
static addlayer(geoWorkspace, layerName) {
console.log(geoWorkspace, layerName);
let matrixIds = [
"EPSG:4326:0",
"EPSG:4326:1",

View File

@ -3,8 +3,8 @@ import { Message } from "element-ui";
// create an axios instance
const service = axios.create({
// baseURL: process.env.VUE_APP_FILE_API, // url = base url + request url
baseURL: 'https://caplos.aircas.ac.cn/dqserver3/file/', // url = base url + request url
baseURL: process.env.VUE_APP_FILE_API, // url = base url + request url
// baseURL: 'https://caplos.aircas.ac.cn/dqserver3/file/', // url = base url + request url
timeout: 5000000 // request timeout
});

View File

@ -3,8 +3,8 @@ import { Message } from "element-ui";
// create an axios instance
const service = axios.create({
// baseURL: process.env.VUE_APP_MICROWAVE_API, // url = base url + request url
baseURL: 'http://10.0.31.126:8086/macApi/', // url = base url + request url
baseURL: process.env.VUE_APP_MICROWAVE_API, // url = base url + request url
// baseURL: 'http://10.0.31.126:8086/macApi/', // url = base url + request url
timeout: 5000000 // request timeout
});

View File

@ -3,8 +3,8 @@ import { Message } from "element-ui";
// create an axios instance
const service = axios.create({
// baseURL: process.env.VUE_APP_REALITY_API, // url = base url + request url
baseURL: 'https://caplos.aircas.ac.cn/dqserver2/microwave/', // url = base url + request url
baseURL: process.env.VUE_APP_REALITY_API, // url = base url + request url
// baseURL: 'https://caplos.aircas.ac.cn/dqserver2/microwave/', // url = base url + request url
timeout: 5000000 // request timeout
});

View File

@ -1,6 +1,6 @@
<template>
<div class="home">
<div class="header">
<!-- <div class="header">
<img
src="/static/images/header.png"
alt="#"
@ -9,7 +9,7 @@
<i class="el-icon-user-solid userName" >
<span>{{userName}}</span>
</i>
</div>
</div> -->
<div id="cesium_container"></div>
<TestProduct v-show="showRightcard"></TestProduct>
<Parameter v-show="showLeftcard"></Parameter>

View File

@ -79,11 +79,12 @@ export default {
});
}
login({ userName: userAccount, userPwd: userPassword }).then((res) => {
if (res) {
localStorage.setItem("userName", res.userName);
localStorage.setItem("userId", Number(res.id));
localStorage.setItem("userType", res.userClass);
switch (res.userClass) {
if (res.code == 200) {
const rd = res.data;
localStorage.setItem("userName", rd.userName);
localStorage.setItem("userId", Number(rd.id));
localStorage.setItem("userType", rd.userClass);
switch (rd.userClass) {
case "1":
this.$router.push("/home");
break;

View File

@ -29,14 +29,15 @@ module.exports = {
}
},
[process.env.VUE_APP_MICROWAVE_API]: {
target: "http://124.16.188.131:18086/macApi",
// target: "http://124.16.188.131:18086/macApi",
target: "http://192.168.1.205:8086/macApi",
changeOrigin: true,
pathRewrite: {
["^" + process.env.VUE_APP_MICROWAVE_API]: ""
}
},
[process.env.VUE_APP_REALITY_API]: {
target: "http://192.168.88.199:18092/microwave",
target: "http://192.168.1.205:18092/microwave",
// target: "https://124.16.188.131:28092/microwave",
// target: "http://192.168.1.227:18092/microwave",
changeOrigin: true,
@ -45,7 +46,7 @@ module.exports = {
}
},
[process.env.VUE_APP_FILE_API]: {
target: "http://192.168.88.199:18093/file",
target: "http://192.168.1.205:18093/file",
// target: "https://124.16.188.131:28093/file",
// target: "http://192.168.1.227:18093/file",
changeOrigin: true,