Merge remote-tracking branch 'origin/shenzhen-dev' into cjw-dev

This commit is contained in:
vce 2024-03-18 10:50:27 +08:00
commit c61da352d8
467 changed files with 68833 additions and 2089 deletions

View File

@ -2,11 +2,20 @@
NODE_ENV = 'development'
# 本地环境接口地址(/api/index.ts文件中使用)
# 后端本地
# VITE_API_URL = 'http://192.168.34.221:9111'
# VITE_API_URL = 'http://192.168.34.221:28888'
# VITE_API_URL = 'http://121.196.214.246/api'
# VITE_API_URL = 'http://182.90.224.147:100'
# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# VITE_API_URL = 'http://192.168.34.221:12360'
VITE_API_URL = 'http://192.168.34.221:30002'
# 嘉兴王江泾公用码头
# VITE_API_URL = "http://183.249.224.118:9003"
# 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022"
# 演示平台
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
# 百色七参数线上地址
VITE_API_URL = 'http://101.43.164.214:11111'
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='

View File

@ -2,11 +2,22 @@
NODE_ENV = "production"
# 线上环境接口地址(easymock)
# 注切换部署环境时需更改src\routers\modules\staticRouter里的路径 改src\config\config.ts里的项目标识
# VITE_API_URL = "http://139.9.66.234:6688"
# VITE_API_URL = "http://182.90.224.147:6688"
# VITE_API_URL = "http://182.90.224.147:6688"
VITE_API_URL = 'http://182.90.224.147:100'
# VITE_API_URL = "http://jxj.zhgdyun.com:6688"
# 沈阳合盈线上
# VITE_API_URL = "http://101.43.164.214:45022"
# 嘉兴王江泾公用码头
# VITE_API_URL = "http://183.249.224.118:9003"
# 百色 新项目通用地址
VITE_API_URL = 'http://101.43.164.214:11111'
# 七参数标准版(演示平台)
# VITE_API_URL = 'http://jxj.zhgdyun.com:9809'
# 七参数标准版(测试平台)
# VITE_API_URL = 'http://jxj.zhgdyun.com:15551'
# 打包
VITE_ULD_API_URL = 'http://182.90.224.147:8012/onlinePreview?url='
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='

View File

@ -103,18 +103,21 @@
}
</script>
<script type="module" src="/src/main.ts"></script>
<script
src="https://webapi.amap.com/maps?v=1.4.14&key=8d7b8cd643454bec7737b3423647be21&plugin=AMap.Autocomplete,AMap.PlaceSearch,AMap.MouseTool,AMap.Geocoder,AMap.Driving"
defer="defer"></script>
<script src="/jquery-1.12.4.min.js"></script>
<!-- 用于前端与插件交互 -->
<script src="/jsencrypt.min.js"></script>
<!-- 用于RSA加密 -->
<script src="/jsWebControl-1.0.0.min.js"></script>
<!-- 用于RSA加密 -->
<script
<!-- <script
type="text/javascript"
src="<%= BASE_URL %>lib/include-lib.js?time=20210329"
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> -->
<script src="https://static.bimface.com/api/BimfaceSDKLoader/BimfaceSDKLoader@latest-release.js" charset="utf-8"></script>
<script>
// 禁用鼠标滚动事件

78
package-lock.json generated
View File

@ -20,12 +20,17 @@
"axios": "^1.2.1",
"base-64": "^1.0.0",
"date-fns": "^2.29.3",
"dhtmlx-gantt": "^8.0.6",
"driver.js": "^0.9.8",
"echarts": "^5.3.0",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"element-china-area-data": "^5.0.2",
"element-plus": "^2.2.30",
"ezuikit-js": "^7.7.8",
"jquery": "^3.7.1",
"jquery-ui": "^1.13.2",
"jquery-ui-dist": "^1.13.2",
"js-base64": "^3.7.5",
"js-md5": "^0.7.3",
"mars3d": "^3.5.6",
@ -42,6 +47,7 @@
"vue": "^3.2.47",
"vue-i18n": "^9.1.9",
"vue-router": "^4.1.6",
"vue3-scale-box": "^0.1.9",
"vue3-seamless-scroll": "^1.2.0",
"vuedraggable": "^4.1.0"
},
@ -6196,6 +6202,11 @@
"node": ">=8"
}
},
"node_modules/dhtmlx-gantt": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/dhtmlx-gantt/-/dhtmlx-gantt-8.0.6.tgz",
"integrity": "sha512-GrEQ40/vgV1wDWkv/IvjJEM27Z4lDv76XvE5nlvMtFQTqUuo5VnL1XNDv/uFSJVMRnaN9StYaPxP1ebGamDLFg=="
},
"node_modules/diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
@ -7541,6 +7552,11 @@
"node": ">=0.10.0"
}
},
"node_modules/ezuikit-js": {
"version": "7.7.8",
"resolved": "https://registry.npmjs.org/ezuikit-js/-/ezuikit-js-7.7.8.tgz",
"integrity": "sha512-DfcPxUhLgchkQU5+0WllD3QghAJYG9mCybCCs0znLoSnMupup6WB1+wjrxPtpt49praQDuMrGoBVe0Mtl1z9/w=="
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@ -9152,6 +9168,27 @@
"node": ">=10"
}
},
"node_modules/jquery": {
"version": "3.7.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
"integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
},
"node_modules/jquery-ui": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.2.tgz",
"integrity": "sha512-wBZPnqWs5GaYJmo1Jj0k/mrSkzdQzKDwhXNtHKcBdAcKVxMM3KNYFq+iJ2i1rwiG53Z8M4mTn3Qxrm17uH1D4Q==",
"dependencies": {
"jquery": ">=1.8.0 <4.0.0"
}
},
"node_modules/jquery-ui-dist": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.13.2.tgz",
"integrity": "sha512-oVDRd1NLtTbBwpRKAYdIRgpWVDzeBhfy7Gu0RmY6JEaZtmBq6kDn1pm5SgDiAotrnDS+RoTRXO6xvcNTxA9tOA==",
"dependencies": {
"jquery": ">=1.8.0 <4.0.0"
}
},
"node_modules/js-base64": {
"version": "3.7.5",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.5.tgz",
@ -15679,6 +15716,11 @@
"typescript": "*"
}
},
"node_modules/vue3-scale-box": {
"version": "0.1.9",
"resolved": "https://registry.npmmirror.com/vue3-scale-box/-/vue3-scale-box-0.1.9.tgz",
"integrity": "sha512-URKBWivTHglmwoqQTs9UBA+lWg7pMuyYusxI5ghU1ks3qZHcM+jCF5uoSiwlKpSd9XP47R3sO12oS+Sc5lW9ig=="
},
"node_modules/vue3-seamless-scroll": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/vue3-seamless-scroll/-/vue3-seamless-scroll-1.2.0.tgz",
@ -20585,6 +20627,11 @@
"integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==",
"dev": true
},
"dhtmlx-gantt": {
"version": "8.0.6",
"resolved": "https://registry.npmjs.org/dhtmlx-gantt/-/dhtmlx-gantt-8.0.6.tgz",
"integrity": "sha512-GrEQ40/vgV1wDWkv/IvjJEM27Z4lDv76XvE5nlvMtFQTqUuo5VnL1XNDv/uFSJVMRnaN9StYaPxP1ebGamDLFg=="
},
"diff": {
"version": "4.0.2",
"resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz",
@ -21515,6 +21562,11 @@
"to-regex": "^3.0.1"
}
},
"ezuikit-js": {
"version": "7.7.8",
"resolved": "https://registry.npmjs.org/ezuikit-js/-/ezuikit-js-7.7.8.tgz",
"integrity": "sha512-DfcPxUhLgchkQU5+0WllD3QghAJYG9mCybCCs0znLoSnMupup6WB1+wjrxPtpt49praQDuMrGoBVe0Mtl1z9/w=="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
@ -22722,6 +22774,27 @@
"minimatch": "^3.1.2"
}
},
"jquery": {
"version": "3.7.1",
"resolved": "https://registry.npmjs.org/jquery/-/jquery-3.7.1.tgz",
"integrity": "sha512-m4avr8yL8kmFN8psrbFFFmB/If14iN5o9nw/NgnnM+kybDJpRsAynV2BsfpTYrTRysYUdADVD7CkUUizgkpLfg=="
},
"jquery-ui": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/jquery-ui/-/jquery-ui-1.13.2.tgz",
"integrity": "sha512-wBZPnqWs5GaYJmo1Jj0k/mrSkzdQzKDwhXNtHKcBdAcKVxMM3KNYFq+iJ2i1rwiG53Z8M4mTn3Qxrm17uH1D4Q==",
"requires": {
"jquery": ">=1.8.0 <4.0.0"
}
},
"jquery-ui-dist": {
"version": "1.13.2",
"resolved": "https://registry.npmjs.org/jquery-ui-dist/-/jquery-ui-dist-1.13.2.tgz",
"integrity": "sha512-oVDRd1NLtTbBwpRKAYdIRgpWVDzeBhfy7Gu0RmY6JEaZtmBq6kDn1pm5SgDiAotrnDS+RoTRXO6xvcNTxA9tOA==",
"requires": {
"jquery": ">=1.8.0 <4.0.0"
}
},
"js-base64": {
"version": "3.7.5",
"resolved": "https://registry.npmjs.org/js-base64/-/js-base64-3.7.5.tgz",
@ -27439,6 +27512,11 @@
"semver": "^7.3.8"
}
},
"vue3-scale-box": {
"version": "0.1.9",
"resolved": "https://registry.npmmirror.com/vue3-scale-box/-/vue3-scale-box-0.1.9.tgz",
"integrity": "sha512-URKBWivTHglmwoqQTs9UBA+lWg7pMuyYusxI5ghU1ks3qZHcM+jCF5uoSiwlKpSd9XP47R3sO12oS+Sc5lW9ig=="
},
"vue3-seamless-scroll": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/vue3-seamless-scroll/-/vue3-seamless-scroll-1.2.0.tgz",

View File

@ -32,12 +32,17 @@
"axios": "^1.2.1",
"base-64": "^1.0.0",
"date-fns": "^2.29.3",
"dhtmlx-gantt": "^8.0.6",
"driver.js": "^0.9.8",
"echarts": "^5.3.0",
"echarts-gl": "^2.0.9",
"echarts-liquidfill": "^3.1.0",
"element-china-area-data": "^5.0.2",
"element-plus": "^2.2.30",
"ezuikit-js": "^7.7.8",
"jquery": "^3.7.1",
"jquery-ui": "^1.13.2",
"jquery-ui-dist": "^1.13.2",
"js-base64": "^3.7.5",
"js-md5": "^0.7.3",
"mars3d": "^3.5.6",
@ -54,6 +59,7 @@
"vue": "^3.2.47",
"vue-i18n": "^9.1.9",
"vue-router": "^4.1.6",
"vue3-scale-box": "^0.1.9",
"vue3-seamless-scroll": "^1.2.0",
"vuedraggable": "^4.1.0"
},

View File

@ -18,7 +18,7 @@
// console.log('取到的token',token);
let viewer3D;
let app;
let viewToken = "f8b70c0a02244f89be38229da2302f09";
let viewToken = "6a7c39a4b2324880b98680f5e804f896";
console.log('viewToken',viewToken);
let loaderConfig = new BimfaceSDKLoaderConfig();
loaderConfig.viewToken = viewToken;

View File

@ -5,7 +5,7 @@
</template>
<script setup lang="ts">
import { ref, reactive, computed, nextTick, provide } from "vue";
import { ref, reactive, computed, nextTick, provide, onMounted } from "vue";
import { GlobalStore } from "@/stores";
import { getBrowserLang } from "@/utils/util";
import { ElConfigProvider } from "element-plus";
@ -37,6 +37,34 @@ const i18nLocale = computed(() => {
//
const assemblySize = computed(() => globalStore.assemblySize);
onMounted(() => {
// window.onload = function () {
// if (!window.sessionStorage["login"]) {
// //
// //window.localStorage.removeItem("userInfo");
// //window.localStorage.removeItem("token");
// console.log("");
// return
// globalStore.setToken("");
// globalStore.setUserInfo("");
// }
// };
// window.onunload = function () {
// window.sessionStorage["login"] = true;
// };
// window.onbeforeunload = function () {
// window.sessionStorage["login"] = true;
// };
// beforeunload
window.addEventListener("beforeunload", function () {
if (window.performance.navigation.type === window.performance.navigation.TYPE_RELOAD) {
// token
return;
}
globalStore.setToken("");
globalStore.setUserInfo("");
});
});
</script>
<style lang="scss">
// scope

View File

@ -0,0 +1,28 @@
// AI预警接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查询近七天或近30天或今日或24小时报警趋势
export const getAlarmTrendList = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectAiAnalyseHardWareAlarmTrendList`, params);
};
// 查询所有各预警类型预警数
export const getAlarmTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/getAiAnalyseHardWareAlarmTotal`, params);
};
// 3.查询设备报警记录列表
export const getAlarmList = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/selectAiAnalyseHardWareAlarmList`, params);
};
// 查询当前实时数据
export const getRealTimeTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/aiAnalyseHardWareAlarmRecord/countAiAnalyseHardWareAlarmTotal`, params);
};
// 查询当前实时数据
export const getAlarmTypeOption = (params: {}) => {
return http.get(BASEURL + `/xmgl/dictionaryItem/list?dictionaryEncoding=ai_analyse_hard_ware_alarm_record_type`, params);
};

View File

@ -0,0 +1,59 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 分页列表查询车辆(人员)定位- 报警记录信息
export const getAlarmRecordInfo = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionAlarm/list`, params);
};
// 分页列表查询车辆(人员)定位- 实时数据信息
export const getRealtimeRecordInfo = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionData/page`, params);
};
// 列表查询车辆(人员)定位- 实时数据信息
export const getRealtimeRecordList = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionData/list`, params);
};
// 车辆定位-设备中台
export const getstandardDevListApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionDev/page`, params);
};
export const addstandardDevApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionDev/add`, params);
};
export const editstandardDevApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionDev/edit`, params);
};
export const deletestandardDevApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionDev/delete`, params);
};
export const getVehiclePositionFence = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionFence/list`, params);
};
export const addVehiclePositionFence = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionFence/add`, params);
};
export const editVehiclePositionFence = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionFence/edit`, params);
};
export const deleteVehiclePositionFence = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionFence/delete`, params);
};
// 获取设备中台所有数据
export const getCarDevOption = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionDev/list`, params);
};
// 查询设备状态总数
export const getFenceTypeTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/vehiclePositionDev/countVehiclePositionDev`, params);
};
// 查询车辆日行数据
export const getVehiclePositionDayRecord = (params: {}) => {
return http.get(BASEURL + `/xmgl/vehiclePositionDayRecord/list`, params);
};

View File

@ -0,0 +1,40 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查设备列表
export const selectConcreteMonitorDevList = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorDev/selectConcreteMonitorDevList`, params);
};
// 查设备下的点位
export const selectPointPositionList = (params: {}) => {
return http.get(BASEURL + `/xmgl/concreteMonitorDevPointPosition/list`, params);
};
// 查设备下的图
export const concreteMonitorPlaneFigureList = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorPlaneFigure/selectList`, params);
};
// 查图下的点
export const concreteMonitorDevToPlaneFigureList = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorDevToPlaneFigure/selectList`, params);
};
// 查监测曲线
export const countTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorCurrentData/countTrend`, params);
};
// 混凝土统计
export const countConcreteMonitorDevPointPosition = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorDevPointPosition/countConcreteMonitorDevPointPosition`, params);
};
// 实时告警
// 上面数字
// 下面列表
export const countConcreteMonitorAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorDevPointPosition/countConcreteMonitorDevPointPosition`, params);
};
export const concreteMonitorAlarmList = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMonitorAlarm/list`, params);
};

View File

@ -0,0 +1,70 @@
// 龙门吊接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查询作业统计 (左上)
export const getGantryWorkTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCraneWorkCycle/countGantryCraneWorkCycle`, params);
};
// 获取龙门吊列表 (下拉框)
export const getGantryDevList = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCrane/list`, params);
};
// 获取龙门吊 实时数据
export const getGantryCraneCurrentData = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCraneCurrentData/getNewestGantryCraneCurrentData`, params);
};
// 获取龙门吊 报警数据
export const getGantryCraneAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCraneAlarm/getNewestOne`, params);
};
// 获取工作时长分析
export const getWorkTimeAnalysis = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCraneWorkCycle/workTimeAnalysis`, params);
};
// 获取 统计风速报警次数
export const getAlarmWindSpeed = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCraneAlarm/countGantryCraneAlarmWindSpeed`, params);
};
// 获取 龙门吊设备视频地址
export const getGantryVideoList = (params: {}) => {
return http.post(BASEURL + `/xmgl/gantryCrane/selectGantryCraneBySn`, params);
};
// 架桥机
// 实时数据
export const getGantryCraneCurrentData2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/bridgeErectMachineData/selectNewestData`, params);
};
// 报警数据
// export const getGantryCraneAlarm = (params: {}) => {
// return http.post(BASEURL + `/xmgl/gantryCraneAlarm/getNewestOne`, params);
// };
// 列表查询架桥机设备信息
export const bridgeErectMachineDevList = (params: {}) => {
return http.get(BASEURL + `/xmgl/bridgeErectMachineDev/list`, params);
};
// 查询作业统计 (左上)
export const getGantryWorkTotal2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/bridgeErectMachineData/countToday`, params);
};
// 工作时长分析
export const getWorkTimeAnalysis2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/bridgeErectMachineData/countBridgeErectMachineData`, params);
};
// 环境风速(右下)
export const countWindSpeed = (params: {}) => {
return http.post(BASEURL + `/xmgl/bridgeErectMachineData/countWindSpeed`, params);
};
// 获取视频
export const videoItemById = (params: {}) => {
return http.get(BASEURL + `/xmgl/videoItem/queryById`, params);
};
// 获取司机
export const selectWorkerInfoList = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerInfo/selectWorkerInfoList`, params);
};
// 获取报警
export const bridgeErectMachineAlarmList = (params: {}) => {
return http.get(BASEURL + `/xmgl/bridgeErectMachineAlarm/page`, params);
};

View File

@ -0,0 +1,73 @@
// 绿色施工模块接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// ------- 用电监测 -------
// 电表列表
export const getElectricityList = (params: {}) => {
return http.post(BASEURL + `/xmgl/ammeterRecordDetail/queryNewestRecord`, params);
};
// 统计电表读数
export const getElectricityTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/ammeterRecordDetail/countAmmeterRecordDetail`, params);
};
// 列表查询电表用电量 type = 1:昨日用电量
export const getElectricityUseRecord = (params: {}) => {
return http.post(BASEURL + `/xmgl/ammeterRecordDetail/queryUseRecord`, params);
};
// 查询用电趋势 type 1近7天 2本月 3近半年 4近一年
export const getElectricityUseTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/ammeterRecordDetail/queryUseRecordTrend`, params);
};
// ------- 用水监测 -------
// 水表列表
export const getWaterList = (params: {}) => {
return http.post(BASEURL + `/xmgl/waterMeter/list`, params);
};
// 统计水表读数
export const getWaterTotal = (params: {}) => {
return http.post(BASEURL + `/xmgl/waterMeterRecordDetail/countWaterMeterRecordDetail`, params);
};
// 列表查询水表用水量 type = 1:昨日用水量
export const getWaterUseRecord = (params: {}) => {
return http.post(BASEURL + `/xmgl/waterMeterRecordDetail/queryUseRecord`, params);
};
// 查询用水趋势 type 1近7天 2本月 3近半年 4近一年
export const getWaterUseTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/waterMeterRecordDetail/queryUseRecordTrend`, params);
};
// ------- 污水监测 -------
//列表查询污水设备信息
export const getSewageDevList = (params: {}) => {
return http.get(BASEURL + `/xmgl/sewageDev/list`, params);
};
// 实时监测 /xmgl/sewageData/newestData
export const getSewageNewestData = (params: {}) => {
return http.get(BASEURL + `/xmgl/sewageData/newestData`, params);
};
// 告警数据对比
export const getWaringDataContrast = (params: {}) => {
return http.post(BASEURL + `/xmgl/sewageAlarm/waringDataContrast`, params);
};
// 查询污水预警阈值信息 传devSn
export const sewageWarnThresholdList = (params: {}) => {
return http.get(BASEURL + `/xmgl/sewageWarnThreshold/list`, params);
};
// 监测曲线趋势
export const countSewageDataTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/sewageData/countSewageDataTrend`, params);
};
// 4.实时告警
// 统计数量xmgl/sewageAlarm/countSewageAlarm传type=1
// 列表xmgl/sewageAlarm/page传type=1
export const countSewageAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/sewageAlarm/countSewageAlarm`, params);
};
export const sewageAlarmPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/sewageAlarm/page`, params);
};
export const getSewageTypeEnum = (params: {}) => {
return http.get(BASEURL + `/xmgl/sewageData/getSewageTypeEnum`, params);
};

View File

@ -0,0 +1,234 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 梁张拉合格率统计趋势
export const countQualifiedTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartTensionData/countQualifiedTrend`, params);
};
// 统计智能张拉-数据(实时监测)
export const countSmartTensionDataRealTime = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartTensionData/countSmartTensionDataRealTime`, params);
};
// 统计各梁型张拉情况
export const countBeamType = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartTensionData/countBeamType`, params);
};
// 统计钢束张拉合格率
export const countStatusTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartTensionSteelBeamData/countStatusTrend`, params);
};
// 张拉记录
export const countWeighInfoTrend = (params: {}) => {
return http.get(BASEURL + `/xmgl/smartTensionData/page`, params);
};
// 梁压浆合格率统计趋势
export const countQualifiedTrend2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartGroutData/countQualifiedTrend`, params);
};
// 统计智能压浆-数据(实时监测)
export const countSmartTensionDataRealTime2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartGroutData/countSmartGroutDataRealTime`, params);
};
// 统计各梁型压浆情况
export const countBeamType2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartGroutData/countBeamType`, params);
};
// 统计钢束压浆合格率
export const countStatusTrend2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/smartGroutSteelBeamData/countStatusTrend`, params);
};
// 压浆记录
export const countWeighInfoTrend2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/smartGroutData/page`, params);
};
// 混凝土拌合站
// 1.各设备产量
export const countConcreteMixStationDataTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMixStationData/countConcreteMixStationDataTrend`, params);
};
// 2.实时监测
export const countConcreteMixStationData = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMixStationData/countConcreteMixStationData`, params);
};
// 3.原材用量统计
export const countMaterialName = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMixStationMaterialData/countMaterialName`, params);
};
// 4.各配比产量
export const countPowerLevel = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMixStationData/countPowerLevel`, params);
};
//
export const concreteMixStationPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/concreteMixStationData/page`, params);
};
export const concreteMaterialDataList = (params: {}) => {
return http.get(BASEURL + `/xmgl/concreteMixStationMaterialData/list`, params);
};
// 生产质量统计
export const countUseStatus = (params: {}) => {
return http.post(BASEURL + `/xmgl/concreteMixStationData/countUseStatus`, params);
};
// 沥青拌合站
// 1.各设备产量
export const countConcreteMixStationDataTrend2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/pitchMixStationProdData/countConcreteMixStationDataTrend`, params);
};
// 2.实时监测
export const countConcreteMixStationData2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/pitchMixStationProdData/countConcreteMixStationData`, params);
};
// 3.原材用量统计
export const countMaterialName2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/pitchMixStationMaterialData/countMaterialName`, params);
};
// 4.各配比产量
export const countPowerLevel2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/pitchMixStationProdData/countPowerLevel`, params);
};
//
export const concreteMixStationPage2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/pitchMixStationProdData/page`, params);
};
export const concreteMaterialDataList2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/pitchMixStationMaterialData/list`, params);
};
// 生产质量统计
export const countUseStatus2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/pitchMixStationProdData/countUseStatus`, params);
};
// 水稳拌合站
// 1.各设备产量
export const countConcreteMixStationDataTrend3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/stableWaterMixStationData/countConcreteMixStationDataTrend`, params);
};
// 3.实时监测
export const countConcreteMixStationData3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/stableWaterMixStationData/countConcreteMixStationData`, params);
};
// 3.原材用量统计
export const countMaterialName3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/stableWaterMixStationRawMaterialData/countMaterialName`, params);
};
// 4.各配比产量
export const countPowerLevel3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/stableWaterMixStationData/countPowerLevel`, params);
};
export const concreteMixStationPage3 = (params: {}) => {
return http.get(BASEURL + `/xmgl/stableWaterMixStationData/page`, params);
};
export const concreteMaterialDataList3 = (params: {}) => {
return http.get(BASEURL + `/xmgl/stableWaterMixStationSetData/list`, params);
};
// 生产质量统计
export const countUseStatus3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/stableWaterMixStationData/countUseStatus`, params);
};
// 压力试验机
// 统计试验合格率 试验次数统计
export const countStatus = (params: {}) => {
return http.post(BASEURL + `/xmgl/pressureTestMachineManage/countStatus`, params);
};
// 实时监测
export const countPressureTestMachineManage = (params: {}) => {
return http.post(BASEURL + `/xmgl/pressureTestMachineManage/countPressureTestMachineManage`, params);
};
// 今日试验类型
export const countTestType = (params: {}) => {
return http.post(BASEURL + `/xmgl/pressureTestMachineManage/countTestType`, params);
};
// 实时数据
export const pressureTestPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/pressureTestMachineManage/page`, params);
};
// 查询压力试验机-试块信息
export const pressureBlockNumberList = (params: {}) => {
return http.get(BASEURL + `/xmgl/pressureTestMachineManageBlockNumber/list`, params);
};
// 查询压力试验机-试块数值曲线
export const pressureBlockDataList = (params: {}) => {
return http.get(BASEURL + `/xmgl/pressureTestMachineManageBlockData/list`, params);
};
// 抗压抗折一体机
// 统计试验合格率 试验次数统计
export const countStatus2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/antiPressureFoldManage/countStatus`, params);
};
// 实时监测
export const countPressureTestMachineManage2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/antiPressureFoldManage/countAntiPressureFoldManage`, params);
};
// 今日试验类型
export const countTestType2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/antiPressureFoldManage/countTestType`, params);
};
// 实时数据
export const pressureTestPage2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/antiPressureFoldManage/page`, params);
};
// 查询压力试验机-试块信息
export const pressureBlockNumberList2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/antiPressureFoldManageBlockNumber/list`, params);
};
// 查询压力试验机-试块数值曲线
export const pressureBlockDataList2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/antiPressureFoldManageBlockData/list`, params);
};
// 万能
// 万能机设备统计
export const countUniversalTestDev = (params: {}) => {
return http.post(BASEURL + `/xmgl/universalTestDev/countUniversalTestDev`, params);
};
// 统计试验次数(累计试验次数)
export const countTestNum = (params: {}) => {
return http.post(BASEURL + `/xmgl/universalTestManage/countTestNum`, params);
};
// 统计万能试验机管理(实时监测)
export const countUniversalTestManage = (params: {}) => {
return http.post(BASEURL + `/xmgl/universalTestManage/countUniversalTestManage`, params);
};
// 统计试验类型(各类型试验次数)
export const countTestType3 = (params: {}) => {
return http.post(BASEURL + `/xmgl/universalTestManage/countTestType`, params);
};
// 实时数据
export const pressureTestPage3 = (params: {}) => {
return http.get(BASEURL + `/xmgl/universalTestManage/page`, params);
};
// 查询压力试验机-试块信息
export const pressureBlockNumberList3 = (params: {}) => {
return http.get(BASEURL + `/xmgl/universalTestManageBlockNumber/list`, params);
};
// 查询压力试验机-试块数值曲线
export const pressureBlockDataList3 = (params: {}) => {
return http.get(BASEURL + `/xmgl/universalTestManageBlockData/list`, params);
};
// 挂篮监测
export const hangBasketDevList = (params: {}) => {
return http.get(BASEURL + `/xmgl/hangBasketDev/list`, params);
};
// 监测数据
export const hangNewestData = (params: {}) => {
return http.post(BASEURL + `/xmgl/hangBasketDetectData/newestData`, params);
};
// 告警列表
export const hangBasketAlarmDataPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/hangBasketAlarmData/page`, params);
};
// 分页列表查询挂篮检测数据信息
export const hangBasketDetectDataPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/hangBasketDetectData/page`, params);
};

View File

@ -0,0 +1,27 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 统计发货单位(供应商排行)
export const countForwardingUnit = (params: {}) => {
return http.post(BASEURL + `/xmgl/weight/weighInfo/countForwardingUnit`, params);
};
// 统计称重记录(实时过磅)
export const countWeighInfo = (params: {}) => {
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfo`, params);
};
// 统计货名(物料统计)
export const countWeighInfoGoodsName = (params: {}) => {
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfoGoodsName`, params);
};
//获取 预约趋势
export const countWeighBookVehicleInfoTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/weight/weighBookVehicleInfo/countWeighBookVehicleInfoTrend`, params);
};
//过磅统计趋势
export const countWeighInfoTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/weight/weighInfo/countWeighInfoTrend`, params);
};
// 分页列表查询称重记录表信息
export const getWeighInfoList = (params: {}) => {
return http.get(BASEURL + `/xmgl/weight/weighInfo/list`, params);
};

View File

@ -40,3 +40,13 @@ export const getAuthMenuListApi = (params?: any) => {
export const logoutApi = () => {
return http.post(BASEURL + `/xmgl/systemUser/logout`);
};
// * 页面跳转免登录
// export const jumpLoginApi = () => {
// return http.post(BASEURL + ``);
// };
// * 免登录用户信息
export const jumpLargeUserInfoApi = (params?: any) => {
return http.post(BASEURL + `/xmgl/base/getLoginInfoByToken`, params, { headers: { "Content-Type": "application/json" } });
};

View File

@ -0,0 +1,53 @@
// 综合管理——工程概览 接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 项目信息
export const getProjectDetail = (params: {}) => {
return http.post(BASEURL + `/xmgl/project/getProjectInfoBySn`, params);
};
// 统计企业下项目各人员统计
export const getWorkerStatisticsCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/workerInfo/getWorkerStatisticsCount`, params);
};
// 安全管理
export const getProjectInspectRecordCountApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params);
};
// 质量管理
export const selectQualityStatisticsApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/selectQualityStatistics`, params);
};
//环境监测
export const getCurrentDayAirQualityApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/airQualityAnalysis/getCurrentDayAirQuality`, params);
};
//编辑项目信息 (此模块用来编辑更换项目宣传视频)
export const editProjectInfo = (params: {}) => {
return http.post(BASEURL + `/xmgl/project/edit`, params);
};
// 保存效果图
export const eidtProjectShowConfig = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectShowConfig/eidtProjectShowConfig`, params);
};
// 查询效果图
export const queryBySnData = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectShowConfig/queryBySn`, params);
};
// 里程碑字典
export const getStageOption = (params: {}) => {
return http.get(BASEURL + `/xmgl/dictionaryItem/list`, params);
};
//甘特图-列表查询任务进度
export const getParentChildTaskListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/taskProgress/getParentChildList`, params);
};

View File

@ -0,0 +1,24 @@
// 质量管理 接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 责任单位分析(统计分包单位)
export const getDutyUnitAnalysis = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/countQualityInspectionRecordEnterprise`, params);
};
// 质量检查统计
export const getQualityStatistics = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/selectQualityStatistics`, params);
};
// 质量管理记录
export const getQualityManageList = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/list`, params);
};
// 质量 隐患等级分析
export const getQualityInspectionGrade = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/countQualityInspectionRecordUrgentLevel`, params);
};
// 质量 责任区域分析
export const getCountHiddenDangerInspectRegion = (params: {}) => {
return http.post(BASEURL + `/xmgl/qualityInspectionRecord/countQualityInspectionRecordRegion`, params);
};

View File

@ -0,0 +1,20 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 查下面列表
export const paveDevList = (params: {}) => {
return http.get(BASEURL + `/xmgl/paveDev/list`, params);
};
// 查上面数字
export const countPaveDev = (params: {}) => {
return http.post(BASEURL + `/xmgl/paveDev/countPaveDev`, params);
};
// 查下面列表
export const paveDevList2 = (params: {}) => {
return http.get(BASEURL + `/xmgl/paveCompactionDev/list`, params);
};
// 查上面数字
export const countPaveDev2 = (params: {}) => {
return http.post(BASEURL + `/xmgl/paveCompactionDev/countPaveCompactionDev`, params);
};

View File

@ -0,0 +1,43 @@
// 进度大屏接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 列表查询任务进度甘特图-内容信息
export const getTaskProgress = (params: {}) => {
return http.get(BASEURL + `/xmgl/taskProgressContent/list`, params);
};
// 倒计时(和右上角的时间)
export const getTaskTimeDetail = (params: {}) => {
return http.post(BASEURL + `/xmgl/project/getProjectInfoBySn`, params);
};
// 工作一览(统计数量)
export const getCountTaskProgress = (params: {}) => {
return http.post(BASEURL + `/xmgl/taskProgress/countTaskProgress`, params);
};
// 分页列表查询任务进度甘特图信息
export const getTaskProgressPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/taskProgress/page`, params);
};
// 列表查询任务进度甘特图信息
export const getTaskProgressList = (params: {}) => {
return http.get(BASEURL + `/xmgl/taskProgress/list`, params);
};
// 状态统计
export const getCountMppStatus = (params: {}) => {
return http.post(BASEURL + `/xmgl/taskProgress/countMppStatus`, params);
};
// 进度预警(按人员)
export const countDutyUserName = (params: {}) => {
return http.post(BASEURL + `/xmgl/taskProgressAlarm/countDutyUserName`, params);
};
// 分页列表查询任务进度甘特图-报警信息信息
export const getTaskAlarmPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/taskProgressAlarm/list`, params);
};

View File

@ -0,0 +1,103 @@
// 安全管理模块接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// -------------- 安全管理 --------------
// 安全管理记录列表
export const getInspectRecord = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/list`, params);
};
// 安全隐患等级分析
export const getCountFaultLevel = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/countFaultLevel`, params);
};
// 安全隐患统计
export const getProjectInspectRecordCount = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/getProjectInspectRecordCount`, params);
};
// 责任单位统计
export const getCountResponsibleUnit = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/countResponsibleUnit`, params);
};
// 责任区域分析
export const getCountHiddenDangerInspectRegion = (params: {}) => {
return http.post(BASEURL + `/xmgl/hiddenDangerInspectRecord/countHiddenDangerInspectRegion`, params);
};
// -------------- 烟感监测 --------------
// 统计烟感报警数据
export const countSmokeDevAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/smokeDevAlarm/countSmokeDevAlarm`, params);
};
// 分页列表查询烟感报警数据信息
export const getSmokeDevAlarmPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/smokeDevAlarm/page`, params);
};
// -------------- 临边防护 --------------
// 统计临边防护(报警统计(次))
export const countFrontierProtectionDev = (params: {}) => {
return http.post(BASEURL + `/xmgl/frontierProtectionDev/countFrontierProtectionDev`, params);
};
// 统计临边防护 实时监测 (中上)
export const countFrontierProtectionDevAlarm = (params: {}) => {
return http.post(BASEURL + `/xmgl/frontierProtectionDevAlarm/countFrontierProtectionDevAlarm`, params);
};
// 近7日趋势(次)
export const countFrontierProtectionDevAlarmTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/frontierProtectionDevAlarm/countFrontierProtectionDevAlarmTrend`, params);
};
// 分页查询临边防护-设备实时数据
export const getEdgeRealtimePage = (params: {}) => {
return http.get(BASEURL + `/xmgl/fpdcd/selectPage`, params);
};
// 分页查询临边防护-报警数据
export const getEdgeAlarmPage = (params: {}) => {
return http.get(BASEURL + `/xmgl/frontierProtectionDevAlarm/page`, params);
};
// 分页查询临边防护-报警类型枚举
export const getEdgeAlarmTypeEnum = (params: {}) => {
return http.get(BASEURL + `/xmgl/frontierProtectionDevAlarm/getFrontierProtectionAlarmTypeEnum`, params);
};
// -------------- 基坑监测 --------------
export const selectDeepExcavationList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationEngineering/selectDeepExcavationList`, params);
};
export const selectDeepPicList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationPlaneFigure/selectList`, params);
};
export const selectDeepPointList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationPlaneFigureCoordinate/list`, params);
};
// {
// "measurePointNumber": "测点编号",
// "relaId": "65",
// "sensorSn": "1",
// "projectSn": "B717CB992D054A878FDAFB4A5C169947",
// "pageNo": 1,
// "pageSize": 10
// }
export const selectMonitorTypeAlarmCountList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationMonitorType/selectMonitorTypeAlarmCountList`, params);
};
// 查测点列表xmgl/deepExcavationMeasurePoint/selectDeepExcavationAllMeasurePointList
export const selectDeepExcavationAllMeasurePointList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationMeasurePoint/selectDeepExcavationAllMeasurePointList`, params);
};
// 查传感器列表
export const getSensorListByMeasurePointNumber = (params: {}) => {
return http.get(BASEURL + `/xmgl/deepExcavationSensor/getSensorListByMeasurePointNumber`, params);
};
// 曲线
export const selectDeepExcavationCurrentDataList = (params: {}) => {
return http.post(BASEURL + `/xmgl/deepExcavationCurrentData/selectDeepExcavationCurrentDataList`, params);
};

View File

@ -0,0 +1,43 @@
// 智慧党建接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 获取左中政治面貌圆环图
export const getPoliticalOutlook = (params: {}) => {
return http.post(BASEURL + `/xmgl/partyMemberManage/countPartyMemberManagePoliticalStatus`, params);
};
// 获取左上学习强国
export const partyMemberLearn = (params: {}) => {
return http.get(BASEURL + `/xmgl/partyMemberLearnStrongCountry/list`, params);
};
// 宣传视频列表
export const getPartyVideo = (params: {}) => {
return http.get(BASEURL + `/xmgl/partyPromotionalVideo/list`, params);
};
// 宣传视频列表
export const getPartyMemberList = (params: {}) => {
return http.get(BASEURL + `/xmgl/partyMemberManage/list`, params);
};
// 列表查询党员活动、学习讲话、党员关怀信息 type类型1党员活动2学习讲话3党员关怀
export const getPartyArticleList = (params: {}) => {
return http.get(BASEURL + `/xmgl/partyMemberActivitySpeakCare/list`, params);
};
// 查询党员活动、学习讲话、党员关怀信息 详情接口
export const getPartyArticleByID = (params: {}) => {
return http.get(BASEURL + `/xmgl/partyMemberActivitySpeakCare/queryById`, params);
};
// 列表查询文章信息(党建新闻)
export const getPartyNewsList = (params: {}) => {
return http.get(BASEURL + `/xmgl/gt/gtMaterialArticle/list`, params);
};
// 查询文章信息(党建新闻) 详情接口
export const getPartyNewsById = (params: {}) => {
return http.get(BASEURL + `/xmgl/gt/gtMaterialArticle/queryById`, params);
};

View File

@ -0,0 +1,29 @@
// 智慧党建接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 实时数据
export const selectNewCurrentDataApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardCurrentData/selectNewCurrentData`, params);
};
export const selectDayCurrentDataListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardCurrentData/selectDayCurrentDataList`, params);
};
// 获取告警列表
export const getStandardAlarmStatisticsApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardAlarm/getStandardAlarmStatistics`, params);
};
export const getHistoryApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardCurrentData/list`, params);
};
// 设备列表
export const getstandardDevListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardDev/list`, params);
};
// 设备列表
export const getMonitorData = (params: {}) => {
return http.post(BASEURL + `/xmgl/standardCurrentData/countStandardCurrentData`, params);
};

View File

@ -0,0 +1,16 @@
// 有毒气体监测 接口API
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 列表查询有毒气体-报警信息
export const getPoisonousGasDevAlarm = (params: {}) => {
return http.get(BASEURL + `/xmgl/poisonousGasDevAlarm/page`, params);
};
// 气体含量报警统计(统计每种气体报警数量)
export const countPoisonousGasAlarmType = (params: {}) => {
return http.post(BASEURL + `/xmgl/poisonousGasDevAlarm/countPoisonousGasDevAlarmGasType`, params);
};
// 氧气等含量监测(统计不同时间的气体含量走势)
export const countPoisonousGasCurrentDataGasType = (params: {}) => {
return http.post(BASEURL + `/xmgl/poisonousGasDevCurrentData/countPoisonousGasDevCurrentDataGasType`, params);
};

View File

@ -0,0 +1,27 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 项目信息
export const getProjectInfoBySnApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectExtend/getProjectExtendInfo`, params);
};
// 今日统计
export const getLocationTunnelApi = (params: {}) => {
return http.get(BASEURL + `/xmgl/locationTunnel/list`, params);
};
// 报警信息
export const getTagLowVoltageAlarmApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/locationTagLowVoltageAlarm/countLocationTagLowVoltageAlarmEveryDay`, params);
};
// 地图上的人(场内人员名单)
export const getRealTimeLocationWorkerApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/locationData/getRealTimeLocationWorker`, params);
};
// 班组统计
export const getCountRealTimeLocationWorkerApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/locationData/countRealTimeLocationWorker`, params);
};

View File

@ -0,0 +1,39 @@
import http from "@/api";
const BASEURL = import.meta.env.VITE_API_URL;
// 统计最大、小载重趋势(历史载重)
export const countLoad = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/countLoad`, params);
};
// 统计报警等级(实时告警)查上面数字
export const countAlarmLevel = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/countAlarmLevel`, params);
};
// 统计报警等级(实时告警)查下面列表
export const countAlarmLevelList = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/list`, params);
};
// 运行设备状态 查下面
export const countAlarmType = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformAlarm/countAlarmType`, params);
};
// 运行设备状态 查上面数字
export const countDischargingPlatformCurrentData = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformDev/countDischargingPlatformDev`, params);
};
// 统计载重比趋势(载重比分析)
export const countLoadRatioTrend = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/countLoadRatioTrend`, params);
};
// 查询卸料平台最新一条实时数据
export const countPlatformCurrentData = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformCurrentData/getNewestDischargingPlatformCurrentData`, params);
};
// 查询卸料平台设备列表 左上
export const getPlatformDev = (params: {}) => {
return http.post(BASEURL + `/xmgl/dischargingPlatformDev/list`, params);
};

View File

@ -9,3 +9,8 @@ export const selectProjectVideoListApi = (params: {}) => {
export const selectUserVideoListApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/videoItem/selectUserVideoList`, params);
};
// 查询子账号视频列表
export const getSafeHatSessionApi = (params: {}) => {
return http.post(BASEURL + `/xmgl/projectApi/getSafeyHatSession`, params);
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 994 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 150 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 387 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 950 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 970 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 705 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 397 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 949 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 138 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 679 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 793 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 228 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 97 KiB

View File

Before

Width:  |  Height:  |  Size: 54 KiB

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 613 B

View File

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 82 KiB

View File

Before

Width:  |  Height:  |  Size: 69 KiB

After

Width:  |  Height:  |  Size: 69 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 77 KiB

After

Width:  |  Height:  |  Size: 77 KiB

View File

Before

Width:  |  Height:  |  Size: 116 KiB

After

Width:  |  Height:  |  Size: 116 KiB

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View File

Before

Width:  |  Height:  |  Size: 43 KiB

After

Width:  |  Height:  |  Size: 43 KiB

View File

Before

Width:  |  Height:  |  Size: 101 KiB

After

Width:  |  Height:  |  Size: 101 KiB

View File

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 72 KiB

View File

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 58 KiB

View File

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 67 KiB

View File

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 46 KiB

View File

Before

Width:  |  Height:  |  Size: 76 KiB

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 122 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 401 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

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