microwave-project-unite/src/config/config.js

228 lines
5.6 KiB
JavaScript
Raw Normal View History

2023-01-09 01:55:54 +00:00
const path = {
daichuli: "/daichuli", //待处理订单列表
orderUnprocessed: "/orderUnprocessed", //订单反馈
inspection: "/inspection", //检验处理
report: "/report", //报告生成
yichuli: "/yichuli",
daishenhe: "/daishenhe",
yishenhe: "/yishenhe",
login: "/",
2023-01-09 01:55:54 +00:00
};
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:/WorkTools/apache-tomcat-9.0.93/webapps/microwaveData/sampleExcel";
2023-01-09 01:55:54 +00:00
const url = {
otgSamplesPath: `${newPrefix}/otgSamples.xlsx`, //正射1
lcSamplesPath: `${newPrefix}/lcSamples.xlsx`, //地表覆盖6
solSamplesPath: `${newPrefix}/solSamples.xlsx`, //土壤水分7
adcSamplePath: `${newPrefix}/Atmospheric_Delay_Correction_Sample.xlsx`, //干涉测量大气延迟校正4
bscSamplePath: `${newPrefix}/Back_Scattering_Coefficient_Sample.xlsx`, // 后向散射系数3
dSamplePath: `${newPrefix}/Deformation_Sample.xlsx`, // 干涉测量形变5
glaiSamplePath: `${newPrefix}/Ground_Leaf_Area_Index_Sample.xlsx`, // 叶面积指数11
gvhSamplePath: `${newPrefix}/Ground_Vegetation_Height_Sample.xlsx`, // 植被高度10
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
2023-01-09 01:55:54 +00:00
};
2023-10-09 06:33:11 +00:00
const serverUrl = DQYSERVER_URL;
const langServerUrl = LXYSERVER_URL;
2023-01-09 01:55:54 +00:00
const urlprefix = {
2025-02-13 08:39:11 +00:00
// pdfUrlPrefix: `${serverUrl}/microwaveData/pdf/`,
pdfUrlPrefix: `http://192.168.1.205:8081/microwaveData/pdf/`,
samePoiImgsUrl: `${serverUrl}/microwaveData/samePoiImgs/`,
geoserverUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
otgGeoServerUrl: `${serverUrl}/geoserver/gwc/service/wmts`,
2023-01-11 01:15:17 +00:00
// otgGeoServerUrl: `${serverUrl}:8087/geoserver/gwc/service/wmts`
2023-01-09 01:55:54 +00:00
};
const subProductName = [
"", //0
"正射校正", //1
"高程产品", //2
"后向散射系数", //3
"大气延迟校正", //4
"干涉测量形变", //5
"地表覆盖类型", //6
"土壤水分", //7
"土壤盐碱度", //8
"地表粗糙度", //9
"植被高度", //10
"叶面积指数", //11
"植被物候", //12
2023-01-09 01:55:54 +00:00
];
// 地物类型名称
const groTypeName = [
{
value: "城市",
label: "城市",
2023-01-09 01:55:54 +00:00
},
{
value: "水体",
label: "水体",
2023-01-09 01:55:54 +00:00
},
{
value: "森林",
label: "森林",
2023-01-09 01:55:54 +00:00
},
{
value: "灌木地",
label: "灌木地",
2023-01-09 01:55:54 +00:00
},
{
value: "草地",
label: "草地",
2023-01-09 01:55:54 +00:00
},
{
value: "水域",
label: "水域",
2023-01-09 01:55:54 +00:00
},
{
value: "山地",
label: "山地",
},
2023-01-09 01:55:54 +00:00
];
// 植被物候地物类型名称
const vegetationPhenologyGroTypeName = [
{
value: "出芽期",
label: "出芽期",
2023-01-09 01:55:54 +00:00
},
{
value: "分蘖期",
label: "分蘖期",
2023-01-09 01:55:54 +00:00
},
{
value: "越冬期",
label: "越冬期",
2023-01-09 01:55:54 +00:00
},
{
value: "返青期",
label: "返青期",
2023-01-09 01:55:54 +00:00
},
{
value: "起身期",
label: "起身期",
2023-01-09 01:55:54 +00:00
},
{
value: "拔节期",
label: "拔节期",
2023-01-09 01:55:54 +00:00
},
{
value: "孕穗期",
label: "孕穗期",
2023-01-09 01:55:54 +00:00
},
{
value: "抽穗期",
label: "抽穗期",
2023-01-09 01:55:54 +00:00
},
{
value: "扬花期",
label: "扬花期",
2023-01-09 01:55:54 +00:00
},
{
value: "灌浆期",
label: "灌浆期",
2023-01-09 01:55:54 +00:00
},
{
value: "成熟期",
label: "成熟期",
},
2023-01-09 01:55:54 +00:00
];
// 抽样方法
const funcOpt = [
{
name: "随机抽样",
label: "随机抽样",
2023-01-11 01:15:17 +00:00
value: "1",
2023-01-09 01:55:54 +00:00
pixelDealFun: [
{
name: "均值法",
value: "1",
2023-01-09 01:55:54 +00:00
},
{
name: "最邻近法",
value: "6",
2023-01-09 01:55:54 +00:00
},
{
name: "克里格法",
value: "7",
2023-01-09 01:55:54 +00:00
},
{
name: "块克里格法",
value: "9",
2023-01-09 01:55:54 +00:00
},
{
name: "MSN法",
value: "10",
},
],
2023-01-09 01:55:54 +00:00
},
{
name: "分层抽样",
label: "分层抽样",
2023-01-11 01:15:17 +00:00
value: "2",
2023-01-09 01:55:54 +00:00
pixelDealFun: [
{
name: "MSN法",
value: "10",
},
2023-01-09 01:55:54 +00:00
],
children: [
{
value: "0",
label: "深度空间分层",
2023-01-09 01:55:54 +00:00
},
{
value: "1",
label: "场站网空间分层",
},
],
2023-01-09 01:55:54 +00:00
},
{
name: "等距抽样",
label: "等距抽样",
2023-01-11 01:15:17 +00:00
value: "3",
2023-01-09 01:55:54 +00:00
pixelDealFun: [
{
name: "均值法",
value: "1",
2023-01-09 01:55:54 +00:00
},
{
name: "最邻近法",
value: "6",
2023-01-09 01:55:54 +00:00
},
{
name: "克里格法",
value: "7",
2023-01-09 01:55:54 +00:00
},
{
name: "块克里格法",
value: "9",
2023-01-09 01:55:54 +00:00
},
{
name: "MSN法",
value: "10",
},
],
},
2023-01-09 01:55:54 +00:00
];
export default {
path,
url,
urlprefix,
subProductName,
groTypeName,
vegetationPhenologyGroTypeName,
funcOpt,
2023-01-09 01:55:54 +00:00
};