修改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 YICHULI_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/YJYOrder";
const DAISHENHE_URL = "https://caplos.aircas.ac.cn/lxyweb/kjwebAdmin/#/Order/DSHOrder"; 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 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"; const LXYSERVER_URL = "https://caplos.aircas.ac.cn/lxyweb";

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -29,14 +29,15 @@ module.exports = {
} }
}, },
[process.env.VUE_APP_MICROWAVE_API]: { [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, changeOrigin: true,
pathRewrite: { pathRewrite: {
["^" + process.env.VUE_APP_MICROWAVE_API]: "" ["^" + process.env.VUE_APP_MICROWAVE_API]: ""
} }
}, },
[process.env.VUE_APP_REALITY_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: "https://124.16.188.131:28092/microwave",
// target: "http://192.168.1.227:18092/microwave", // target: "http://192.168.1.227:18092/microwave",
changeOrigin: true, changeOrigin: true,
@ -45,7 +46,7 @@ module.exports = {
} }
}, },
[process.env.VUE_APP_FILE_API]: { [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: "https://124.16.188.131:28093/file",
// target: "http://192.168.1.227:18093/file", // target: "http://192.168.1.227:18093/file",
changeOrigin: true, changeOrigin: true,