Compare commits

...

82 Commits

Author SHA1 Message Date
89e6ae2a59 bug修复 2025-06-09 18:41:31 +08:00
7b7fa741d2 基建模块 2025-06-09 09:42:34 +08:00
dhp
8be9b201ea 字体文件优化 2025-06-04 09:48:09 +08:00
dhp
9a9ea92796 去除字体 2025-06-04 09:39:43 +08:00
d99436a392 盾构机模块 2025-06-03 18:50:27 +08:00
dhp
5b0a423804 修改大屏baseurl 2025-06-03 16:36:32 +08:00
7b850d3208 修复报错 2025-06-03 14:07:23 +08:00
c2e2b0808c 头部样式、梁大屏相关 2025-06-03 13:45:04 +08:00
03e49946c1 鞍钢需求 2025-05-21 10:59:40 +08:00
02051759ae 版本更新 2025-05-13 15:56:20 +08:00
971f74a4f9 修复安全帽bug 2025-04-16 14:33:28 +08:00
1275fcd343 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev 2025-04-14 10:11:20 +08:00
f503f3eaff 中水北方需求 2025-04-14 10:11:10 +08:00
dc3965d429 flx:修改配置冲突 2025-04-12 10:58:22 +08:00
2b5bdaf3be Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev 2025-04-12 10:57:00 +08:00
f8c187e2d1 flx:提交中新建版配置指挥部大屏 2025-04-12 10:56:21 +08:00
da60872d01 劳务 人员列表样式重构 2025-04-12 09:14:18 +08:00
f6ce55acbc 修复水平位移沉降监测bug 2025-04-08 15:01:10 +08:00
bd499046e8 盾构机模块 2025-04-02 19:05:24 +08:00
11c8b2cd28 盾构机模块 2025-04-02 18:49:37 +08:00
bb97a23e1e 劳务管理添加模块 2025-01-14 19:01:27 +08:00
e12ae0bfed 2025-1-14 车辆超速记录-sn补充 2025-01-14 10:11:59 +08:00
5664161860 2025-1-14 车辆超速记录-sn补充 2025-01-14 09:35:29 +08:00
4cef89a1bf flx:合并 2024-12-30 09:54:18 +08:00
456a256ee4 flx:合并冲突 2024-12-30 09:54:03 +08:00
f4fb5a65f5 添加菜单配置,修复bug 2024-12-30 09:34:23 +08:00
c8796dfd5b 中水北方配置,智能安全帽人员选择更改为树形 2024-12-16 09:21:22 +08:00
db3df202db flx:提交嘉兴王江泾公用码头 2024-12-06 09:12:47 +08:00
c7eefe2ac3 flx:修改国维科技配置 2024-11-23 15:46:22 +08:00
5a47782eb7 flx:修改中新建配置 2024-11-22 10:52:45 +08:00
d519a97342 flx:提交中新建电力集团配置 2024-11-20 11:10:57 +08:00
d16a7c77a8 2024-11-15 去除中铁十一局相同路由-新分支 2024-11-15 17:07:33 +08:00
792baf0429 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev 2024-11-15 16:03:12 +08:00
8886d8308b 2024-11-15 汽车吊-履带吊 2024-11-15 16:03:04 +08:00
f9417f5e85 flx:修改鄱湖美湾滚动加载 2024-11-15 13:53:37 +08:00
23de1bfb89 flx:提交国维科技配置 2024-11-14 14:34:18 +08:00
3e10f6e04c 2024-11-13 补充路由 2024-11-13 17:06:39 +08:00
0194f5b983 2024-11-13 中铁十一局修改 2024-11-13 16:12:08 +08:00
7c65b49bdd 2024-11-13 履带吊 汽车吊 2024-11-13 14:57:42 +08:00
2894b1187e Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev 2024-11-09 15:41:08 +08:00
49cadcc3bb 塔吊、起重机 视频配置通过接口获取;质量安全添加已撤销状态 2024-11-09 15:39:04 +08:00
0816714f75 2024-11-6 车辆测试-文案修改 2024-11-06 17:17:34 +08:00
db65a9f458 2024-11-6 车辆测速-文案修改 2024-11-06 17:10:25 +08:00
57055359f4 flx:提交现场大屏 2024-10-31 19:08:20 +08:00
39f060abfb 2024-10-31 安全教育-api补齐调用 2024-10-31 10:53:51 +08:00
05b94e1b85 2024-10-31 安立路项目大屏配置 2024-10-31 10:27:38 +08:00
7704980132 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into shenzhen-dev 2024-10-30 17:22:38 +08:00
83cd1c2025 2024-10-30 双碳管理 2024-10-30 17:22:25 +08:00
6016927937 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into bjxz-rain 2024-10-26 10:45:18 +08:00
a94e8b526c flx:提交新能源智慧基建管理平台配置 2024-10-26 10:44:43 +08:00
535627dc7f 智能安全帽 报警消息模块添加分页功能 2024-10-26 09:26:00 +08:00
f20414829f flx: 删除压缩包 2024-10-25 10:47:30 +08:00
5a0e953334 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into bjxz-rain 2024-10-24 17:54:22 +08:00
d013d17725 flx:提交鄱湖美湾userId登录 2024-10-24 17:48:37 +08:00
fd6a573639 中铁十一局 水位 安全帽-分页 2024-10-22 18:43:58 +08:00
5b269fd1f7 2024-10-22 鄱湖美湾医疗、医美产业-添加二级菜单 2024-10-22 16:46:14 +08:00
49e0981a5b 对齐铁十一局 2024-10-21 11:25:07 +08:00
2287a9c867 flx:提交中铁配置 2024-10-18 17:51:30 +08:00
b5c5af6cd7 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into bjxz-rain 2024-10-18 17:33:38 +08:00
6693852ee3 2024-10-17 对其shenzhen-dev环境 2024-10-17 17:30:15 +08:00
0056ca5464 2024-10-17 第二版本 2024-10-17 17:28:00 +08:00
5c5022edb9 测度 中铁 大屏mars-3d 2024-10-15 15:36:21 +08:00
237c8c0277 flx:修改样式问题 2024-10-11 15:32:42 +08:00
86a75980d1 优化 智能安全帽 获取人员最新位置接口更换 2024-10-09 14:51:10 +08:00
cd9680389a 中水北方 配置更改 2024-10-09 14:34:44 +08:00
b203e6c415 Merge branch 'shenzhen-dev' of http://139.9.66.234:18023/yjlHub/zhgdlarge into bjxz-rain 2024-10-09 11:01:28 +08:00
aae818d9c8 userId免登录 sn存储 2024-09-30 09:12:09 +08:00
829d3f1ad2 flx: 提交视频监控 默认播放不了 2024-09-26 16:48:18 +08:00
625db9ed3f flx:提交 2024-09-26 14:42:33 +08:00
49828737eb flex:解决冲突 2024-09-24 14:49:13 +08:00
3622786c31 修复bug 2024-09-24 14:21:51 +08:00
ef050b8a9f flx:提交武汉中铁配置 2024-09-23 15:15:35 +08:00
d3e0c333ca 智能设备页面 接口添加type 2024-09-20 15:35:13 +08:00
e9053b0d2f 木垒配置 2024-09-20 09:06:40 +08:00
cca26d9cc8 智能设备 报警信息 添加围栏名称 2024-09-19 17:32:55 +08:00
316ba663be 更新人员定位图标 2024-09-11 16:16:24 +08:00
379e9a7634 Merge branch 'bjxz-rain' of http://139.9.66.234:18023/yjlHub/zhgdlarge into bjxz-rain 2024-09-10 17:36:42 +08:00
1f1e4a48fe flx:提交网城配置 2024-09-10 17:36:35 +08:00
3e833dd735 Merge branch 'jiayu-dev' into shenzhen-dev 2024-09-06 15:01:01 +08:00
77d6dd501d flx:修改配置 2024-09-06 09:25:25 +08:00
aef467286f flx:提交大屏水波球 总包柱状图自动滚动 2024-08-22 14:27:54 +08:00
2d6868a3e9 flx:提交大连金笔配置 2024-08-20 14:51:14 +08:00
368 changed files with 51302 additions and 3986 deletions

View File

@ -3,8 +3,11 @@ NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
# 后端本地
# VITE_API_URL = 'http://192.168.34.155:19111'
VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# VITE_API_URL = 'http://192.168.34.155:28890' #彭杰鞍钢本地
VITE_API_URL = 'http://192.168.34.155:19111'
# VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# VITE_API_URL = 'http://192.168.34.221:19112' #雄哥本地
# VITE_API_URL = 'http://192.168.34.221:28890' #雄哥本地
# VITE_API_URL = 'http://182.90.224.237:51234' #雄哥远程
# VITE_API_URL = 'http://192.168.34.221:28889'
# VITE_API_URL = 'http://121.196.214.246/api'
@ -39,12 +42,16 @@ VITE_API_URL = 'http://192.168.34.221:9111' #雄哥本地
# 九柱
# VITE_API_URL = 'http://jxjzw.zhgdyun.com:11111'
# 四川网诚
VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:34568'
# 新能源智慧基建管理平台|中新建电力集团(外网)
# VITE_API_URL = 'http://117.146.73.156:9820'
# 九柱集团
# VITE_API_URL = 'http://218.95.151.122:31004'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -5,7 +5,8 @@ NODE_ENV = "production"
# 注切换部署环境时需更改src\routers\modules\staticRouter里的路径 改src\config\config.ts里的项目标识
# VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://jxj.zhgdyun.com:6688"
VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:33981'
# 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022"
# 嘉兴王江泾公用码头
@ -41,6 +42,18 @@ VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://218.95.151.122:31004'
# 包头化工
# VITE_API_URL = 'http://jxj.zhgdyun.com:18000'
# 大连金笔
# VITE_API_URL = 'http://101.43.164.214:11126'
# 新能源智慧基建管理平台|中新建电力集团(内网)
# VITE_API_URL = 'http://10.30.102.4:9820'
# 新能源智慧基建管理平台|中新建电力集团(外网)
# VITE_API_URL = 'http://117.146.73.156:9820'
# 国维科技
# VITE_API_URL = 'http://10.216.103.99:9820'
# 新能源智慧基建管理平台
# VITE_API_URL = 'http://121.37.106.37:9820'
# VITE_API_URL = 'http://121.37.106.37:9809'
# 打包
VITE_API_URL =''
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -42,3 +42,6 @@ export const COMPANY: string = "agjtCommand"; //鞍钢集团指挥部大屏
// export const COMPANY: string = "xjnb"; // 新建宁波项目
// export const COMPANY: string = "ahsa"; // 安徽水安项目
// export const COMPANY: string = "zkax"; // 中科安信项目
// export const COMPANY: string = "ztsyj"; // 中铁十一局
// export const COMPANY: string = "allxm"; // 安立路项目

View File

@ -8,6 +8,7 @@
<title>
<%- title %>
</title>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
</head>
<body>
@ -117,7 +118,8 @@
}
</script>
<script type="module" src="/src/main.ts"></script>
<script src="https://webapi.amap.com/maps?v=2.0&key=8d7b8cd643454bec7737b3423647be21&plugin=AMap.Autocomplete,AMap.PlaceSearch,AMap.MouseTool,AMap.Geocoder,AMap.Driving" defer="defer"></script>
<!-- <script src="https://webapi.amap.com/maps?v=2.0&key=8d7b8cd643454bec7737b3423647be21&plugin=AMap.Autocomplete,AMap.PlaceSearch,AMap.MouseTool,AMap.Geocoder,AMap.Driving" defer="defer"></script> -->
<script src="/maps.js"></script>
<script src="/jquery-1.12.4.min.js"></script>
<!-- 用于前端与插件交互 -->
<script src="/jsencrypt.min.js"></script>
@ -130,7 +132,8 @@
libpath="<%= BASE_URL %>lib/"
include="jquery,jquery.range,bootstrap,bootstrap-checkbox,font-awesome,web-icons,layer,haoutil,nprogress,toastr,admui,turf,cesium,mars3d,mars3d-widget"
></script> -->
<script src="https://static.bimface.com/api/BimfaceSDKLoader/BimfaceSDKLoader@latest-release.js" charset="utf-8"></script>
<script src="/BimfaceSDKLoader@latest-release.js" charset="utf-8"></script>
<!-- <script src="https://static.bimface.com/api/BimfaceSDKLoader/BimfaceSDKLoader@latest-release.js" charset="utf-8"></script> -->
<script>
// 禁用鼠标滚动事件
document.addEventListener(

4821
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -45,8 +45,8 @@
"jquery-ui-dist": "^1.13.2",
"js-base64": "^3.7.5",
"js-md5": "^0.7.3",
"mars3d": "^3.5.6",
"mars3d-cesium": "^1.105.0",
"mars3d": "^3.9.10",
"mars3d-cesium": "^1.129.0",
"mitt": "^3.0.0",
"moment": "^2.29.4",
"mqtt": "^4.2.6",

View File

@ -0,0 +1,162 @@
! function() { "use strict"; var e = window.hostConfig || { APIHost: "https://api.bimface.com", resourceHost: "https://m.bimface.com", staticHost: "https://static.bimface.com", dataEnvType: "BIMFACE", securityApi: !0 };
void 0 === Object.assign && (Object.assign = function(e) { if (null == e) throw new TypeError("Cannot convert undefined or null to object"); for (var t = Object(e), o = 1; o < arguments.length; o++) { var n = arguments[o]; if (null != n)
for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]) } return t }); let t = Object.freeze({ Release: "Release", Debug: "Debug" }),
o = Object.freeze({ Normal: "Normal", DrawingView: "drawingView" }),
n = Object.freeze({ BIMFACE: "BIMFACE", Local: "Local" }),
r = Object.freeze({ zh_CN: "zh_CN", en_GB: "en_GB", sv_SE: "sv_SE", zh_TW: "zh_TW" }),
a = Object.freeze({ Normal: "Normal", Bake: "Bake" });
window.BimfaceSDKLoaderConfig = function() { if (window.hostConfig) { for (let t in window.hostConfig) e[t] = window.hostConfig[t];
e.securityApi = window.hostConfig.securityApi } return { staticHost: `${e.staticHost}/api`, APIHost: e.APIHost, language: "zh_CN", viewToken: null, configuration: t.Release, dataEnvType: e.dataEnvType || "BIMFACE", viewType: o.Normal, visualStyle: a.Bake, version: "", securityApi: e.securityApi } }, window.BimfaceEnvOption = n, window.BimfaceLanguageOption = r, window.BimfaceConfigrationOption = t, window.BimfaceViewTypeOption = o; let i = function(e) { let t = e.split("/"); return t.pop(), t.join("/") + "/" }; var s = function(e, t) { for (var o = 0; o < t.length; o++) t[o] = e + t[o] },
c = function(e) { var t = e.sdkVersion,
n = e.options,
r = n.configuration,
a = [],
i = [`/${t}/${n.language}.js`, `/${t}/Application${r}.js`]; return a = function(e, t) { return "drawingView" == e.renderType || t.viewType == o.DrawingView }(e.metadata, e.options) ? [...a, ...i, `/${t}/Drawing.css`, `/${t}/bimface.bufferfly.js`, `/${t}/Drawing${r}.js`] : [...a, ...i, `/${t}/Bimface.css`, `/${t}/thirdparty.js`, `/${t}/lib/loaders/BimTilesLoader.js`, `/${t}/Bimface${r}.js`], a };
window.postProcessing = function(e) { var o = e.metadata,
n = e.options,
r = e.successCb,
a = c(e);
s(n.staticHost, a), o.databagId = `${o.databagId}`, n.path ? (o.path = n.path, o.dataPath = "./") : n.resourcePath && (o.path = n.resourcePath.replace("viewToken", "")), o.sdkPath = n.sdkPath, 0 == a.length ? r(o) : d(a, (function() { if (n.build === t.Debug && n.dataPath) { let e = n.dataPath.split("/");
r({ databagId: e.pop(), path: e.join("/") }) }
r(o) })) }; var d = function(e, o, n) { var r = e.length,
a = 0,
i = function(l) { if (l && "error" == l.message && l.element.indexOf("bimface.index") > -1) { a = 0; var f = n.options;
f.build, t.Release; var h = c(n); return s(f.staticHost, h), void d(h, o) }++a == r ? o() : u(e[a], i) };
u(e[a], i) },
l = [],
u = function(e, t) { if (!(l.indexOf(e.split("/").pop()) > -1)) { var o, n = document.getElementsByTagName("head")[0]; return e.indexOf(".css") > -1 ? ((o = document.createElement("link")).setAttribute("href", e), o.setAttribute("rel", "stylesheet")) : (o = document.createElement("script")).setAttribute("src", e), o.url = e, n.appendChild(o), o.addEventListener("load", (function() { l.push(this.url.split("/").pop()), t && t({ message: "success" }) })), o.addEventListener("error", (function() { t && t({ element: e, message: "error" }) })), o }
t() };
window.loadResource = d;
class f extends class { constructor(e) { this.indexedDB = window.indexedDB || window.webkitIndexedDB || window.mozIndexedDB || window.msIndexedDB, this.indexedDB || console.log("IndexedDB not supported"), this._db = null, this._opt = e }
open(e, t) { const o = e || this._opt.name,
n = t || this._opt.version || 1,
r = this.indexedDB.open(o, n); return new Promise(((e, t) => { r.onsuccess = t => { this._db = r.result, e(this._db) }, r.onupgradeneeded = e => { let t = this._db = e.target.result;
(this._opt.storeList || []).forEach((e => !t.objectStoreNames.contains(e) && t.createObjectStore(e))) }, r.onerror = e => { t(e) } })) }
getDB() { return new Promise(((e, t) => { this._db ? e(this._db) : this.open().then(e).catch(t) })) }
addObject(e, t, o) { return new Promise(((n, r) => { this.getDB().then((a => { const i = a.transaction(e, "readwrite");
i.objectStore(e).put(t, o).onsuccess = e => { n(e.target.result) }, i.onerror = e => { r(e) } })).catch(r) })) }
getObject(e, t) { return new Promise(((o, n) => { this.getDB().then((r => { const a = r.transaction(e, "readonly");
a.objectStore(e).get(t).onsuccess = e => { let t = e.target.result;
t ? o(t) : n(e) }, a.onerror = e => { n(e) } })).catch(n) })) }
deleteObject(e, t) { return new Promise(((o, n) => { this.getDB().then((r => { const a = r.transaction(e, "readwrite");
a.objectStore(e).delete(t).onsuccess = e => { o(e.target.result) }, a.onerror = e => { n(e) } })).catch(n) })) }
clearStore(e) { return new Promise(((t, o) => { this.getDB().then((n => { const r = n.transaction(e, "readwrite");
r.objectStore(e).clear().onsuccess = e => { t(e.target.result) }, r.onerror = e => { o(e) } })).catch(o) })) }
deleteDB(e) { return new Promise((t => { this.indexedDB.deleteDatabase(e), t() })) }
getAllKeys(e) { return new Promise(((t, o) => { this.getDB().then((n => { const r = n.transaction(e, "readonly");
r.objectStore(e).getAllKeys().onsuccess = e => t(e.target.result), r.onerror = o })).catch(o) })) }
getAll(e) { return new Promise(((t, o) => { this.getDB().then((n => { const r = n.transaction(e, "readonly");
r.objectStore(e).getAll().onsuccess = e => t(e.target.result), r.onerror = o })).catch(o) })) } } { constructor() { super({ name: "Bf_Loader", version: 1, storeList: ["d", "t"] }) }
getDatabagInfo(e, t) { return new Promise(((o, n) => { t ? this.getObject("d", e).then((e => this.addTemp(e, t).then((() => o(e))).catch(n))).catch(n) : this.getObject("d", e).then(o).catch(n) })) }
addDatabagInfo(e, t) { return new Promise(((o, n) => { const r = e.modelId,
a = () => Promise.all([this.addObject("d", e, r), this.addTemp(e, t)]).then(o).catch(n);
this.getDatabagInfo(r).then((t => { t.databagId !== e.databagId && this.deleteDB(`Bf_${data.databagId}`), a() })).catch((() => { a() })) })) }
deleteDatabagInfo(e) { return new Promise(((t, o) => { this.deleteObject("d", e).then(t).catch(o) })) }
addTemp(e, t) { return new Promise(((o, n) => { this.clearStore("t").then((() => { this.addObject("t", e, t).then(o).catch(n) })).catch(n) })) }
getTemp(e) { return new Promise(((t, o) => { this.getObject("t", e).then(t).catch(o) })) }
deleteStorageByModelId(e) { return new Promise((t => { this.getDatabagInfo(e).then((o => { let n = "gisView" === o.renderType ? `Bg_${o.modelId}` : `Bf_${o.databagId}`;
Promise.allSettled([this.deleteDB(n), this.deleteDatabagInfo(e)]).then(t) })).catch(t) })) }
getStoredModelIds() { return this.getAllKeys("d") }
getStoredModelInfo() { return new Promise(((e, t) => { this.getAll("d").then((t => { let o = t.map((e => { let { modelId: t, name: o, renderType: n } = e; return { modelId: t, name: o, type: n } }));
e(o) })).catch(t) })) } } var h = function(e, t, o) { if (e.metadata) return o(e.metadata); const r = n => { if (e.enableStorage && e.modelId) {
(new f).getDatabagInfo(e.modelId, e.viewToken).then((e => o && o(e))).catch((() => { console.error("[BIMFACE ERROR]: failed get model info from storage"), t && t(n) })) } else t && t(n) }; if (!e.viewToken && "Local" !== e.dataEnvType) return void r(); const a = e.dataEnvType !== n.Local,
i = a && e.securityApi;! function(e) { var t, o = Object.assign({ type: "get", data: null, success: null, failure: null }, e);
(t = window.XMLHttpRequest ? new XMLHttpRequest : new ActiveXObject("Microsoft.XMLHTTP")).onreadystatechange = function() { if (4 == t.readyState) { var e = t.status;
e >= 200 && e < 300 || 304 == e || 0 === e && "file:" === window.location.protocol ? o.success && o.success(t.responseText, t.responseXML) : o.failure && o.failure(e) } }, t.open(o.type, o.url, o.async), t.send(o.data) }({ type: i ? "post" : "get", url: a && !i ? `${e.url}?viewToken=${e.viewToken}` : e.url, async: !0, data: i ? e.data : void 0, requestHeader: e.requestHeader, success: function(t) { var n = JSON.parse(t); if ("Local" !== e.dataEnvType && "success" !== n.code) return n.message && console.error(`[BIMFACE ERROR]: ${n.message}`), void r(t); if (n = n.data || n, e.enableStorage) {
(new f).addDatabagInfo(n, e.viewToken).then((() => o && o(n))).catch((() => o && o(n))) } else o && o(n) }, failure: r }) },
p = function(e, t, n) { h(e, n, (function(n) { var r = function(e, t) { let n, r = t.version; if (e.renderVersion, /\d+?\.\d+?\.\d+/.test(r) && r.split(".")[0] >= 3) { window.bimfaceSdkVersion = r; const [e, t, o] = r.split("."); "6" === t && Number(o) < 143 && (r = `Bimface@${r}`) } else if ("Debug" == t.build) r = "Bimface", n = "Application";
else if (t.sdkPath) r = n = "bimface";
else if (t.viewType == o.DrawingView && "drawingView" != e.renderType) { var a = e.subRenders; if (a && 0 != a.length)
for (var i = 0; i < a.length; i++) a[i].renderType == o.DrawingView && (r = a[i].jsSDKVersion, n = a[i].jsSDKVersion) } else r = e.jsSDKVersion, n = e.jsSDKVersion; return { ui: n, sdk: r } }(n, e);
window.BimfaceLoaderConfig.fullStaticHost = "Local" == BimfaceLoaderConfig.dataEnvType ? e.staticHost + "/bimface" : e.staticHost + "/" + r.sdk; var a = { metadata: n, options: e, successCb: t, sdkVersion: r.sdk, uiVersion: r.ui },
i = window.BimfaceLoaderConfig.fullStaticHost + "/bimface.index.js";
d([i], (function() { postProcessing(a) }), a) })) },
g = function(e, t) { var o = "bimView" == e.renderType ? "3DView" : e.renderType,
n = (e.subRenders, { dataEnvType: t.dataEnvType, viewToken: t.viewToken, staticHost: t.staticHost, APIHost: t.APIHost, viewType: o }); return Object.assign(n, e) },
w = { getStorage() { return this.storage = this.storage || new f, this.storage }, deleteStorageByModelId(e) { return this.getStorage().deleteStorageByModelId(e) }, getStoredModelIds() { return this.getStorage().getStoredModelIds() }, getStoredModelInfo() { return this.getStorage().getStoredModelInfo() }, store(e) { let { url: t, viewToken: o, storeMaterialOverride: n, successCallback: r, progressCallback: a, errorCallback: i, conditions: s, storeByQueue: c } = e; const d = c && c.enable,
l = d && (c.delay || 2e3); if (!o) return;
t = t || [], r = r || function() {}, a = a || function() {}, i = i || function() {}; const u = new BimfaceSDKLoaderConfig;
u.enableStorage = !0, u.viewToken = o, BimfaceSDKLoader.load(u).then((e => { if ("3DView" == e.viewType) { const c = document.createElement("div");
c.style.width = "1px", c.style.height = "1px", c.style.opacity = "0", c.style.position = "absolute", c.style.zIndex = "-1", c.style.top = "0px", c.style.left = "0px", document.body.appendChild(c); const u = new Glodon.Bimface.Viewer.Viewer3DConfig;
u.domElement = c, u.enableStorage = !0, u.enableViewHouse = !1, u.enableCSMShadow = !1, u.enableSSAO = !1, u.enableLogarithmicDepthBuffer = !1; const f = new Glodon.Bimface.Viewer.Viewer3D(u),
h = new Promise((t => { const r = () => { requestAnimationFrame((() => { f.destroy(), document.body.removeChild(c), t() })) }; if ("true" == e.config.toBimtiles) return f.addModel(e, null, { forceLoadBIMTiles: !0 }), f.getViewer().registerEventListener(CLOUD.EVENTS.ON_LOAD_PROGRESS, (function(e) { var t = e.progress,
o = t.loaded / t.total * 100;
a(o) })), void f.getViewer().registerEventListener(CLOUD.EVENTS.ON_MODEL_CACHE_COMPLETE, (function(e) { r() }));
f.addModel(e), d || f.addEventListener(Glodon.Bimface.Viewer.Viewer3DEvent.ViewLoading, (e => a(e.progress))); let i = !1;
f.addEventListener(Glodon.Bimface.Viewer.Viewer3DEvent.ViewAdded, (() => { if (i) return; const e = () => { i = !0; const e = f.getDefaultModel(),
t = e.getCloudViewer().getModelManager().getModel(e.modelId),
n = [...t._handler.layerProvider.getAllLayerIdxData().layerKeys],
s = [...t._handler.layerProvider.getLayerKeyAttributes()]; let c = 0; const d = {},
u = () => { if (a(Math.floor(100 * (c + 1) / n.length)), c === n.length) return void r();
n[c].split("-").forEach(((e, t) => d[s[t]] = e)); const e = f.getDefaultModel();
e && e.destroy(); const t = isNaN(l) ? 2e3 : Number(l);
setTimeout((() => { f.addView(o) }), t), c++ };
f.addEventListener(Glodon.Bimface.Viewer.Viewer3DEvent.ModelAdded, (() => { f.showExclusiveComponentsByObjectData([d], null, u) })), u() };
n ? f.loadMaterialOverrideSet(f.getModel().modelId, o, (function() { s ? f.showExclusiveComponentsByObjectData(s, null, r) : d ? e() : (f.showAllComponents(), f.addEventListener(Glodon.Bimface.Viewer.Viewer3DEvent.DemandLoaded, r)) })) : s ? f.showExclusiveComponentsByObjectData(s, null, r) : d ? e() : r() })) }));
Promise.all([h, f._storeData(t)]).then(r).catch(i) } })).catch() } },
m = function() { return m = Object.assign || function(e) { for (var t, o = 1, n = arguments.length; o < n; o++)
for (var r in t = arguments[o]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]); return e }, m.apply(this, arguments) };
function b(e, t, o, n) { return new(o || (o = Promise))((function(r, a) {
function i(e) { try { c(n.next(e)) } catch (e) { a(e) } }
function s(e) { try { c(n.throw(e)) } catch (e) { a(e) } }
function c(e) { var t;
e.done ? r(e.value) : (t = e.value, t instanceof o ? t : new o((function(e) { e(t) }))).then(i, s) }
c((n = n.apply(e, t || [])).next()) })) }
function v(e, t) { var o, n, r, a, i = { label: 0, sent: function() { if (1 & r[0]) throw r[1]; return r[1] }, trys: [], ops: [] }; return a = { next: s(0), throw: s(1), return: s(2) }, "function" == typeof Symbol && (a[Symbol.iterator] = function() { return this }), a;
function s(a) { return function(s) { return function(a) { if (o) throw new TypeError("Generator is already executing."); for (; i;) try { if (o = 1, n && (r = 2 & a[0] ? n.return : a[0] ? n.throw || ((r = n.return) && r.call(n), 0) : n.next) && !(r = r.call(n, a[1])).done) return r; switch (n = 0, r && (a = [2 & a[0], r.value]), a[0]) {
case 0:
case 1:
r = a; break;
case 4:
return i.label++, { value: a[1], done: !1 };
case 5:
i.label++, n = a[1], a = [0]; continue;
case 7:
a = i.ops.pop(), i.trys.pop(); continue;
default:
if (!(r = i.trys, (r = r.length > 0 && r[r.length - 1]) || 6 !== a[0] && 2 !== a[0])) { i = 0; continue } if (3 === a[0] && (!r || a[1] > r[0] && a[1] < r[3])) { i.label = a[1]; break } if (6 === a[0] && i.label < r[1]) { i.label = r[1], r = a; break } if (r && i.label < r[2]) { i.label = r[2], i.ops.push(a); break }
r[2] && i.ops.pop(), i.trys.pop(); continue }
a = t.call(e, i) } catch (e) { a = [6, e], n = 0 } finally { o = r = 0 }
if (5 & a[0]) throw a[1]; return { value: a[0] ? a[1] : void 0, done: !0 } }([a, s]) } } }
window.hostConfig = window.hostConfig || { APIHost: "https://api.bimface.com", resourceHost: "https://m.bimface.com", staticHost: "https://static.bimface.com", dataEnvType: "BIMFACE", securityApi: !0 }; var y = function() { window.hostConfig = window.hostConfig || { APIHost: "https://api.bimface.com", resourceHost: "https://m.bimface.com", staticHost: "https://static.bimface.com", dataEnvType: "BIMFACE", securityApi: !0 }; var e = m({}, window.hostConfig); return e.staticHost = window.hostConfig.staticHost + "/api", e },
D = function() {
function e(e) { this._config = e } return e.prototype.getModuleData = function(e) { var t = this; return new Promise((function(o, n) { var r;
(r = { type: "post", data: e, url: t._config.APIHost + "/inside/databag" }, new Promise((function(e, t) { var o = m(m({}, { type: "get", data: null }), r),
n = new XMLHttpRequest;
n.onreadystatechange = function() { if (4 == n.readyState) { var o = n.status; if (o >= 200 && o < 300 || 304 == o || 0 === o && "file:" === window.location.protocol) { var r = void 0; try { r = JSON.parse(n.responseText) } catch (e) { throw e }
e({ json: r, responseText: n.responseText, responseXML: n.responseXML }) } else t(o) } }, n.open(o.type, o.url, o.async), n.send(o.data) }))).then((function(e) { e.json.data ? o(e.json.data) : n(e.json) })) })) }, e.prototype.loadScript = function(e) { return new Promise((function(t, o) { var n = document.createElement("script");
n.setAttribute("src", e), n.onload = function() { t(!0) }, n.onerror = function(e) { o(e), console.error(e) }, document.getElementsByTagName("head")[0].append(n) })) }, e.prototype.loadCss = function(e) { return new Promise((function(t, o) { var n = document.createElement("link");
n.setAttribute("href", e), n.setAttribute("rel", "stylesheet"), n.onload = function() { t(!0) }, n.onerror = function(e) { o(e), console.error(e) }, document.getElementsByTagName("head")[0].append(n) })) }, e.prototype.getStaticMainSrc = function(e) { return this._config.staticHost + "/Glodon/" + ("Debug" === this._config.build ? "Bimface" : e) }, e.prototype.loadSDKLoader = function() { var e = this; return new Promise((function(t, o) { if (window.BimfaceSDKLoader) t(!0);
else { var n = e._config.staticHost + "/BimfaceSDKLoader/BimfaceSDKLoader@latest-release.js";
e.loadScript(n).then((function() { return t(!0) })).catch((function() { return o() })) } })) }, e.prototype.loadUIComponents = function(e) { var t = this; return new Promise((function(o, n) { var r, a, i; if (null === (i = null === (a = null === (r = window.Glodon) || void 0 === r ? void 0 : r.Bimface) || void 0 === a ? void 0 : a.Tiles) || void 0 === i ? void 0 : i.UI) return o(!0); var s = t.getStaticMainSrc(e) + "/bimface.ui.css";
t.loadCss(s).then((function() { return o(!0) })).catch((function() { return n() })) })) }, e }(),
B = window.Glodon || {};
window.Glodon = B; var T = B.Bimface = B.Bimface || {},
S = T.Module = T.Module || {},
E = function() {
function e(e) { this._loadedModule = {}, this._config = e, this._helper = new D(e) } return e.prototype.loadModule = function(e) { return b(this, void 0, void 0, (function() { var t, o, n, r, a; return v(this, (function(i) { switch (i.label) {
case 0:
return t = new window.BimfaceSDKLoaderConfig, (t = m(m({}, t), this._config)).viewToken = e.viewToken, [4, window.BimfaceSDKLoader.load(t).catch((function(e) { return console.log(e) }))];
case 1:
return i.sent(), [4, this._helper.loadSDKLoader()];
case 2:
return i.sent(), [4, this._helper.getModuleData(e.viewToken)];
case 3:
return "moduleData" != (o = i.sent()).modelType && "clashDetective" != o.modelType ? [2, Promise.reject("[BIMFACE ERROR]: Invalid ViewToken, viewToken: [" + e.viewToken + "]")] : (o.viewToken = e.viewToken, n = o.jsSDKVersion, [4, this._helper.loadUIComponents(n)]);
case 4:
return i.sent(), this._loadedModule[e.moduleType] ? [3, 6] : (this._helper.loadCss(this._helper.getStaticMainSrc(n) + "/modules/" + e.moduleType + ".css"), [4,
import (this._helper.getStaticMainSrc(n) + "/modules/" + e.moduleType + ".js")
]);
case 5:
r = i.sent(), this._loadedModule[e.moduleType] = r.default, i.label = 6;
case 6:
for (a in this._loadedModule[e.moduleType]) this._loadedModule[e.moduleType][a].setCurrentModuleData && this._loadedModule[e.moduleType][a].setCurrentModuleData(o); return [2, o] } })) })) }, e }();
S.ModuleManager = E, S.ModuleManagerConfig = y; var P = { Version: "2024-7-31-17-15", load: function(e, o, r) { window.BimfaceLoaderConfig = e, null == e.build && (e.build = t.Release); var a = function(e) { let o = Object.assign({}, e),
r = "/Glodon"; return e.path ? (o.dataEnvType = n.Local, o.url = o.path, o.staticHost = o.sdkPath || i(o.path), o.resourcePath = i(o.path), o.path = i(o.path), r = o.sdkPath ? "" : "/jssdk") : e.resourcePath ? (o.dataEnvType = n.Local, o.url = o.resourcePath, o.resourcePath = i(o.resourcePath)) : (o.sdkPath && (r = "", o.staticHost = o.sdkPath), o.data = e.viewToken, o.url = `${e.APIHost}/inside/databag`), o.staticHost += r, e.build != t.Debug && o.configuration != t.Release || (o.configuration = ""), o.configuration = o.configuration ? `-${o.configuration.toLowerCase()}` : "", o }(e); if (!o && !r) return new Promise(((t, o) => { p(a, (function(o) { t(g(o, e)) }), o) }));
p(a, (function(t) { o && o(g(t, e)) }), (function(e) { r && r() })) }, Storage: w };
window.BimfaceSDKLoader = P }();

8449
public/maps.js Normal file

File diff suppressed because one or more lines are too long

View File

@ -17,6 +17,11 @@ export const getAlarmList = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectAiAnalyseHardWareAlarmList`, params, { headers: { noLoading: true } });
};
// 4.分页查询设备报警记录列表
export const getAlarmPageList = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectPageList`, params, { headers: { noLoading: true } });
};
// 查询当前实时数据
export const getRealTimeTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/countAiAnalyseHardWareAlarmTotal`, params, { headers: { noLoading: true } });

View File

@ -0,0 +1,65 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 汽车吊
// 列表查询
export const gettrucklist = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCrane/list`, params);
};
// 列表查询单条
export const gettruckqueryById = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCrane/queryById`, params);
};
// 查询最新状态
export const gettruckdata = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCraneCurrentData/getNewData`, params);
};
// 设备情况汇总
export const gettruckstat = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCrane/onlineStat`, params);
};
// 设备报警分析
export const gettruckAlam = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCraneAlarm/alarmStat`, params);
};
// 图表分析
export const gettruckend = (params: {}) => {
return http.post(BASEURL + `/xmgl/truckCraneCurrentData/windSpeedTrend`, params);
};
// 履带吊
// 列表查询
export const getcrawlist = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCrane/list`, params);
};
// 列表查询单条
export const getcrawqueryById = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCrane/queryById`, params);
};
// 查询最新状态
export const getcrawdata = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCraneCurrentData/getNewData`, params);
};
// 设备情况汇总
export const getcrawstat = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCrane/onlineStat`, params);
};
// 设备报警分析
export const getcrawAlam = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCraneAlarm/alarmStat`, params);
};
// 图表分析
export const getcrawend = (params: {}) => {
return http.post(BASEURL + `/xmgl/crawlerCraneCurrentData/windSpeedTrend`, params);
};

17
src/api/modules/config.ts Normal file
View File

@ -0,0 +1,17 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 今日大屏自定义配置
export const addLargeScreenConfig = (params: {}) => {
return http.post(BASEURL + `/xmgl/largeScreenConfig/add`, params);
};
// 查询大屏自定义配置
export const queryByProject = (params: {}) => {
return http.post(BASEURL + `/xmgl/largeScreenConfig/queryByProject`, params);
};
// 更新大屏自定义配置
export const updateLargeScreenConfig = (params: {}) => {
return http.post(BASEURL + `/xmgl/largeScreenConfig/edit`, params);
};

View File

@ -25,7 +25,9 @@ export const getAlarmTypeApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/lifterAlarm/queryAlarmsDistinguishedNumberByAlarmType`, params);
};
export const getSelectLifterBySnApi = (params: {}) => {
return http.post(BASEURL + `xmgl/lifter/selectLifterBySn`, params);
};
// 右中下数据
export const getNewestLifterApi = (params: {}) => {

View File

@ -63,3 +63,8 @@ export const getworkerAttendanceTrendApi = (params: {}) => {
export const getComapnyWorkTotalListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerInfo/selectProjectComapnyWorkTotalList`, params, { headers: { noLoading: true } });
};
// 获取闸机列表
export const getUfaceDevListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/ufaceDev/list`, params, { headers: { noLoading: true } });
};

View File

@ -58,3 +58,7 @@ export const jumpLargeByUserIdApi = (params?: any) => {
export const getAllModule = (params?: any) => {
return http.post(BASEURL + `/xmgl/baseModule/getModuleAndMenuList`, params);
};
export const getScreenAuthModuleAndMenuApi = (params?: any) => {
return http.get(BASEURL + "/xmgl/screenAuth/getModuleAndMenu", params);
};

View File

@ -0,0 +1,72 @@
// 项目展示
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查询系统配置
export const getSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/queryByKey`, params);
};
// 新增系统配置
export const addSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/add`, params);
};
// 修改系统配置
export const updateSystemConfig = (params: any) => {
return http.post(BASEURL + `/xmgl/systemConfig/edit`, params);
};
// 底图图层列表
export const baseMapList = (params: any) => {
return http.post(BASEURL + `/xmgl/baseMap/list`, params);
};
// 模型gltr列表
export const gltfModelList = (params: any) => {
return http.post(BASEURL + `/xmgl/gltfModel/list`, params);
};
export const getDevList = (params: any) => {
return http.post(BASEURL + `/xmgl/monitorDev/getDevList`, params);
};
export const getStationStat = (params: any) => {
return http.post(BASEURL + `/xmgl/monitorDev/getStationStat`, params);
};
export const getTopStat = (params: any) => {
return http.post(BASEURL + `/xmgl/reviewIndex/topStat`, params);
};
export const getWorkerStat = (params: any) => {
return http.post(BASEURL + `/xmgl/reviewIndex/workerStat`, params);
};
export const getAlarmList = (params: any) => {
return http.post(BASEURL + `/xmgl/reviewIndex/alarmList`, params);
};
export const getAlarmNumStat = (params: any) => {
return http.post(BASEURL + `/xmgl/reviewIndex/alarmNumStat`, params);
};
// 车辆类型统计
export const getVehicleStat = (params: any) => {
return http.post(BASEURL + `/xmgl/vehiclePositionDev/countVehiclePositionDevCarType`, params);
};
// 车辆列表
export const getVehicleList = (params: any) => {
return http.get(BASEURL + `/xmgl/vehiclePositionDev/list`, params);
};
// 机械设备统计
export const getMachineryStat = (params: any) => {
return http.post(BASEURL + `/xmgl/reviewIndex/machineryStat`, params);
};
// 获取视频设备信息
export const getVideoItemInfo = (params: any) => {
return http.post(BASEURL + `/xmgl/videoItem/getVideoItemInfo`, params);
};

View File

@ -0,0 +1,57 @@
// 项目展示
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 区域管理-树形结构
export const arealistmap = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityRegion/list`, params, { headers: { noLoading: true } });
};
// 工作票
export const workpage = (params: {}) => {
return http.get(BASEURL + `/xmgl/mlHoist/page`, params, { headers: { noLoading: true } });
};
// 工作票-新增
export const workpageadd = (params: {}) => {
return http.post(BASEURL + `/xmgl/mlHoist/add`, params, { headers: { noLoading: true } });
};
// 人员信息-劳务管理
export const selectWorkerpeop = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerInfo/selectWorkerInfoList`, params, { headers: { noLoading: true } });
};
// 安全隐患-质量管理-全部整改记录
export const InspectRecord = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/list?lang=zh_CN`, params, { headers: { noLoading: true } });
};
// 所有摄像头
export const selectEnableVideoItemList = (params: {}) => {
return http.post(BASEURL + `/xmgl/videoItem/selectEnableVideoItemList?lang=zh_CN`, params, { headers: { noLoading: true } });
};
// 人员信息-查询企业
export const companylist = (params: {}) => {
return http.post(BASEURL + `/xmgl/enterpriseInfo/list`, params, { headers: { noLoading: true } });
};
// 人员信息-查询部门
export const TeamInfoList = (params: {}) => {
return http.post(BASEURL + `/xmgl/teamInfo/getTeamInfoList`, params, { headers: { noLoading: true } });
};
// 弹窗查询-区域人数
export const areasafetyHatFence = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatFence/list`, params, { headers: { noLoading: true } });
};
export const areasaWorker = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityRegion/queryRegionWorker`, params, { headers: { noLoading: true } });
};

View File

@ -0,0 +1,27 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 培训概况
export const safecationOverview = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationOverview`, params);
};
// 班前教育人数统计(近七日)
export const safecationByWeek = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByWeek`, params);
};
// 教育类型分析
export const safecationByType = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByType`, params);
};
// 近七日人员培训记录
export const safeWorkerPage = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectSafeEducationWorkerPage`, params);
};
// 培训统计(近一个月内) 培训人员班组统计(近一个月内)
export const safecationByMonth = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerSafeEducationWorker/selectWorkerEducationByMonth`, params);
};

View File

@ -0,0 +1,23 @@
// 盾构机接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 大屏数据统计
export const getShieldMachineData = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachineCurrentData/getStatData`, params, { headers: { noLoading: true } });
};
// 盾构机报警信息
export const getShieldMachineAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachineAlarm/getNewAlarm`, params, { headers: { noLoading: true } });
};
// 盾构机详情
export const getShieldMachineDetail = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachine/queryById`, params, { headers: { noLoading: true } });
};
// 盾构机列表
export const getShieldMachineList = (params: {}) => {
return http.post(BASEURL + `/xmgl/tunnelBoringMachine/list`, params, { headers: { noLoading: true } });
};

View File

@ -49,7 +49,15 @@ export const getVehiclePositionDayRecord = (params: {}) => {
// 智能安全帽--分类查询设备列表
export const getHatDevOptionApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatDev/list`, params);
return http.get(BASEURL + `/xmgl/safetyHatDev/list`, params, { headers: { noLoading: true } });
};
// 智能安全帽--分类查询设备列表-分页
export const getHatDevOptionPageApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatDev/page`, params);
};
// 智能安全帽--分类查询设备树
export const getEnterpriseTreeApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatDev/enterprise/tree/list`, params);
};
// 智能安全帽--查询设备状态总数
export const getSafeHatTypeTotalApi = (params: {}) => {
@ -57,16 +65,21 @@ export const getSafeHatTypeTotalApi = (params: {}) => {
};
// 智能安全帽--查询周报警数据
export const getWeekAlarmDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatAlarm/getRecentWeekAlarm`, params);
return http.post(BASEURL + `/xmgl/safetyHatAlarm/getRecentWeekAlarm`, params, { headers: { noLoading: true } });
};
// 智能安全帽--查询围栏信息
export const getSuroundInfoApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatFence/list`, params);
return http.get(BASEURL + `/xmgl/safetyHatFence/list`, params, { headers: { noLoading: true } });
};
// 智能安全帽--查询报警信息
export const getAlarmRecordInfoApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatAlarm/list`, params);
};
// 智能安全帽--查询报警信息-分页
export const getAlarmRecordInfoApiPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatAlarm/page`, params, { headers: { noLoading: true } });
};
// 智能安全帽--查询实时数据信息
export const getRealtimeDataApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatData/list`, params);
@ -75,6 +88,10 @@ export const getRealtimeDataApi = (params: {}) => {
export const getSafeHatDayRecordApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatData/list`, params);
};
// 获取每个设备最新一条实时数据信息
export const getSafetyHatNewestApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatData/getNewestList`, params);
};
// 智能安全帽--删除围栏
export const deleteSafehatFence = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatFence/deleteBatch`, params);
@ -82,4 +99,41 @@ export const deleteSafehatFence = (params: {}) => {
// 智能安全帽--添加围栏
export const addSafeHatPositionFence = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatFence/add`, params);
};
};
// 智能安全帽--查询围栏绑定人员
export const getHatFenceByIdApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/safetyHatFence/queryById`, params);
};
// 智能安全帽--绑定人员
export const bindWorkerApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatDev/bind`, params);
};
// 智能安全帽--解绑人员
export const unBindWorkerApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatDev/unBind`, params);
};
// 智能安全帽--查询报警配置
export const getAlarmConfigApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatAlarmConfig/list`, params, { headers: { noLoading: true } });
};
// 智能安全帽--查询围栏绑定人员
export const getWorkerListByRegionApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatData/getWorkerListByRegion`, params);
};
// 智能安全帽--查询围栏绑定人员
export const getWorkerListByRegionApi1 = (params: {}) => {
return http.post(BASEURL + `/xmgl/safetyHatData/getWorkerListByRegion1`, params);
};
// 智能安全帽--查询围栏绑定车辆
export const getVehicleListByRegionApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionData/getVehicleListByRegion`, params);
};
// 智能安全帽--查询围栏绑定车辆
export const getVehicleListByRegionApi1 = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionData/getVehicleListByRegion1`, params);
};

View File

@ -30,6 +30,9 @@ export const getRelatedInfoApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/tower/getRelatedInfo`, params);
};
export const getSelectTowerBySnApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/tower/selectTowerBySn`, params);
};
// 右下-实时数据
export const getNewestDataApi = (params: {}) => {

View File

@ -17,3 +17,35 @@ export const getEntryAndExitCountApi = (params: {}) => {
export const getEntryAndExitListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/carPassRecord/page`, params, { headers: { noLoading: true } });
};
// 测速-历史记录
export const carMeasureSpeedData = (params: {}) => {
return http.get(BASEURL + `/xmgl/carMeasureSpeedData/page`, params, { headers: { noLoading: true } });
};
// 测速-摄像头数据
export const carMeasureItemList = (params: {}) => {
return http.post(BASEURL + `/xmgl/carMeasureSpeedBigScreen/selectEnableVideoItemList`, params, { headers: { noLoading: true } });
};
// 测速
export const statSpeedBigScreen = (params: {}) => {
return http.get(BASEURL + `/xmgl/carMeasureSpeedBigScreen/countDev`, params, { headers: { noLoading: true } });
};
// 测速-设备
export const statBigScreeneq = (params: {}) => {
return http.get(BASEURL + `/xmgl/carMeasureSpeedDev/page`, params, { headers: { noLoading: true } });
};
//测速度- 每日车辆数
export const getCarDaily = (params: {}) => {
return http.post(BASEURL + `/xmgl/carMeasureSpeedBigScreen/getCarDaily`, params, { headers: { noLoading: true } });
};
// 测速-一周趋势
export const getExceedSpeedTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/carMeasureSpeedBigScreen/getExceedSpeedTrend`, params, { headers: { noLoading: true } });
};

View File

@ -64,3 +64,13 @@
font-family: YouSheBiaoTiHei;
src: url("./screenFonts/YouSheBiaoTiHei-2.ttf");
}
@font-face {
font-family: AlimamaShuHeiTi;
src: url("./screenFonts/AlimamaShuHeiTi.ttf");
}
@font-face {
font-family: AlibabaPuHuiTi;
src: url("./screenFonts/AlibabaPuHuiTi.ttf");
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 MiB

View File

Before

Width:  |  Height:  |  Size: 5.7 MiB

After

Width:  |  Height:  |  Size: 5.7 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 726 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Some files were not shown because too many files have changed in this diff Show More