创建新仓库

This commit is contained in:
2025-07-03 17:39:09 +08:00
commit c781d38c0c
12944 changed files with 807291 additions and 0 deletions

46
config/app_config.js Normal file
View File

@ -0,0 +1,46 @@
let name = 'dzsp_yingjizhihuibeidou_offline_Y_save'; //dzsp_yingjizhihuibeidou_offline_Y_save //dzsp_shijingjiangjin_offline_Y_save // dzsp_shijinghaidong_offline_Y_save //cc dzsp_yingjizhihuijunyong_offline_Y_save,dzsp_yingjizhihui_offline_Y_save,dzsp_shijing_offline_Y_save,dzsp_mudanyuan_offline_Y_save'dzsp_wujingqinwu_offline_Y_save','dzsp_jilingongan_offline_Y_save'
let productName = '便携式应急指挥电子沙盘系统北斗定位+'; //便携式应急指挥电子沙盘系统北斗定位+ //实景三维无人机智能巡检系统 // 海东市自然灾害风险普查可视化分析平台 //便携式应急指挥电子沙盘系统 //便携式应急指挥电子沙盘系统(军用版) //新版4.0//"实景三维电子沙盘系统";//"作战目标数字孪生仿真系统", "实景三维电子沙盘系统" ’牡丹园智慧景区管理系统‘,"武警勤务指挥电子沙盘系统”,"吉林省公安厅三维模型展示平台"
let productName_tw = '便攜式應急指揮電子沙盤系統北斗定位+';
let productName_en = 'Portable Emergency Command Electronic Sand Table System with Beidou Positioning+';
let obj = {
baseApi: "", // 本地api请求地址,注意:如果你使用了代理,请设置成'/'
PORT: 8099,
head: "henan_head",
name,
version: "v4.0.0",
productName,
productName_tw,
productName_en,
build_productName: productName,
build_win_icon: 'build/icons/81.ico',
// 打包时随安装包一起打包的路径earth
build_extraFiles: [
{
from: "./collada2gltf/",
to: "./collada2gltf",
},
{
from: "./convert/",
to: "./convert",
},
{
from: "./yjearth4_0/",
to: "./yjearth4_0",
},
{
from: "./ffplay/",
to: "./ffplay",
},
{
from: "./build/icons/",
to: "./icons",
},
],
installUrl: "D:\\ProgramFiles\\" + name,
build_appId: "org." + name,
APPSECRET: "",
appVersion: "earth",
build_linux_desktop_Icon: "/opt/" + productName + "/icons/81.png",
// isSetDefaultLayer:false,//软件初始是否加载默认数据
};
module.exports = obj;

16
config/dev.env.js Normal file
View File

@ -0,0 +1,16 @@
module.exports = {
NODE_ENV: '"development"',
BASE_API: '"http://127.0.0.1:8890/yjearth4.0"',
HOST: '"http://127.0.0.1:8890"',
// DOCKAIR: '"http://120.46.149.189:9136"',
// DOCKSOCKETURL: '"ws://120.46.149.189:9136/websocket"',
DOCKAIR: '"http://192.168.110.24:9136"',
DOCKSOCKETURL: '"ws://192.168.110.24:9136/websocket"',
REMOTEAIR: '"http://192.168.110.26:6789"',
REMOTEAIR2: '"http://192.168.110.47:8000"',
REMOTESOCKETURL: '"ws://192.168.110.26:6789/api/v1/ws"',
// REMOTEAIR: '"http://121.37.119.107:6789"',
// REMOTESOCKETURL: '"ws://121.37.119.107:6789/api/v1/ws"',
// AI_URL: '"http://121.37.119.107:8000"',
AI_URL: '"http://121.37.119.107:8000"',
};

11
config/index.js Normal file
View File

@ -0,0 +1,11 @@
module.exports = {
build: {
env: require("./prod.env"),
},
dev: {
removeElectronJunk: true,
env: require("./dev.env"),
},
IsUseSysTitle: true,
AppConfig: require("./app_config"),
};

15
config/prod.env.js Normal file
View File

@ -0,0 +1,15 @@
module.exports = {
NODE_ENV: '"production"',
BASE_API: '"http://127.0.0.1:8890/yjearth4.0"',
HOST: '"http://127.0.0.1:8890"',
// DOCKAIR: '"http://120.46.149.189:9136"',
// DOCKSOCKETURL: '"ws://120.46.149.189:9136/websocket"',
DOCKAIR: '"http://192.168.110.24:9136"',
DOCKSOCKETURL: '"ws://192.168.110.24:9136/websocket"',
// REMOTEAIR: '"http://192.168.110.26:6789"',
// REMOTESOCKETURL: '"ws://192.168.110.26:6789/api/v1/ws"',
// AI_URL: '"http://192.168.110.21:8080"',
REMOTEAIR: '"http://121.37.119.107:6789"',
REMOTESOCKETURL: '"ws://121.37.119.107:6789/api/v1/ws"',
AI_URL: '"http://121.37.119.107:8000"',
};