diff --git a/.env.development b/.env.development
index a52099e..ac57516 100644
--- a/.env.development
+++ b/.env.development
@@ -53,7 +53,8 @@ NODE_ENV = 'development'
# VITE_API_URL = 'http://101.43.164.214:11126'
# 上海电力
# VITE_API_URL = 'http://121.37.106.37:9840'
-VITE_API_URL = 'http://jxj.zhgdyun.com:100'
+VITE_API_URL = 'http://120.205.46.66:9840'
+# VITE_API_URL = 'http://jxj.zhgdyun.com:100'
# 上传
VITE_ULD_API_URL = 'http://192.168.34.155:8012/onlinePreview?url='
diff --git a/.env.production b/.env.production
index 13bd210..8164b1c 100644
--- a/.env.production
+++ b/.env.production
@@ -5,7 +5,7 @@ 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"
@@ -54,7 +54,7 @@ NODE_ENV = "production"
# VITE_API_URL = 'http://121.37.106.37:9820'
# VITE_API_URL = 'http://121.37.106.37:9809'
# 上海电力
-VITE_API_URL = 'http://121.37.106.37:9840'
+VITE_API_URL = 'http://120.205.46.66:9840'
# 打包
VITE_ULD_API_URL = 'http://jxj.zhgdyun.com:8012/onlinePreview?url='
diff --git a/src/routers/modules/staticRouter.ts b/src/routers/modules/staticRouter.ts
index 63d732f..be3242f 100644
--- a/src/routers/modules/staticRouter.ts
+++ b/src/routers/modules/staticRouter.ts
@@ -358,7 +358,7 @@ export const staticRouter: RouteRecordRaw[] = [
],
meta: {
// title: "数字化项目监管平台"
- title: "智慧工厂安全生产监管平台" //鞍钢项目
+ title: "上海电力120万于瓦风电项目" //鞍钢项目
}
}
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop-bak.vue b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop-bak.vue
new file mode 100644
index 0000000..2ef733c
--- /dev/null
+++ b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop-bak.vue
@@ -0,0 +1,386 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 更换视频
+
+
+
+
+
+
+
+ 更换图片
+
+
![]()
+
+
+
+
+
+
+
+
+
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop.vue b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop.vue
index 2ef733c..dba2b5a 100644
--- a/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop.vue
+++ b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/centerTop.vue
@@ -1,72 +1,23 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
- 更换视频
-
-
-
-
-
-
-
- 更换图片
-
-
![]()
-
+
+
+
+
+
+
+
+
+
+
@@ -74,16 +25,7 @@
+
diff --git a/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/rightTop.vue b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/rightTop.vue
index 3276064..f254563 100644
--- a/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/rightTop.vue
+++ b/src/views/sevenLargeScreen/comprehensiveManage/projectOverview/rightTop.vue
@@ -11,7 +11,8 @@ import Card from "@/components/card.vue";
import { onMounted, ref } from "vue";
import { GlobalStore } from "@/stores";
const store = GlobalStore();
-import { getProjectInspectRecordCountApi } from "@/api/modules/projectOverview";
+import { getXzSecurityQualitylnspectionRecordlistApi } from "@/api/modules/projectOverview";
+// import { getProjectInspectRecordCountApi } from "@/api/modules/projectOverview";
import * as echarts from "echarts";
const echartsTest = ref();
let questionTotal = ref(0 as any);
@@ -333,12 +334,13 @@ function drawEchart() {
//获取安全管理
// const safeData = ref(null as any);
const getSafeInfo = async () => {
- const res: any = await getProjectInspectRecordCountApi({ projectSn: store.sn });
+ // const res: any = await getProjectInspectRecordCountApi({ projectSn: store.sn });
+ const res: any = await getXzSecurityQualitylnspectionRecordlistApi({ projectSn: store.sn, pageNo: 1, pageSize: 10 });
// console.log("获取安全管理", res);
// safeData.value = res.result;
- dataList.value[0].value = res.result.rectificationNum;
- dataList.value[1].value = res.result.totalNum - res.result.rectificationNum;
- questionTotal.value = res.result.totalNum;
+ dataList.value[0].value = res.result.total.rectificationNum;
+ dataList.value[1].value = res.result.total.totalNum - res.result.total.rectificationNum;
+ questionTotal.value = res.result.total.totalNum;
drawEchart();
};
//将方法暴露给父组件
diff --git a/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue b/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue
index e07c3cf..1f4c1b3 100644
--- a/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue
+++ b/src/views/sevenLargeScreen/digitalConstruction/smartSafeHat/index.vue
@@ -1256,8 +1256,12 @@ function getCrewListData() {
if (res.code == 200) {
console.log("👇智能安全帽--分类查询设备列表--结果集");
console.log(res.result);
-
- const filterArray = res.result
+
+ let personList = [];
+ res.result.forEach(item => {
+ personList = personList.concat(item.safetyHatDevs);
+ });
+ const filterArray = personList
.filter(item => item.workerName !== "")
.map(item => ({ devSn: item.devSn, workerName: item.workerName }));
let nameOption = filterArray.map(item => {
diff --git a/src/views/sevenLargeScreen/safetyManagement/smokeSensor/components/political-outlook.vue b/src/views/sevenLargeScreen/safetyManagement/smokeSensor/components/political-outlook.vue
index 3afcdc6..ff4dbcd 100644
--- a/src/views/sevenLargeScreen/safetyManagement/smokeSensor/components/political-outlook.vue
+++ b/src/views/sevenLargeScreen/safetyManagement/smokeSensor/components/political-outlook.vue
@@ -90,7 +90,8 @@ const getMoreSmokeRecordList = async () => {
const load = async () => {
console.log("加载", pageNo.value * pageSize.value);
if (pageNo.value > 1 && list.value.length == 0) return;
- if (pageNo.value * pageSize.value > list.value.length) return ElMessage.warning("到底部了!");
+ if (pageNo.value * pageSize.value > list.value.length) return;
+ // ElMessage.warning("到底部了!");
pageNo.value += 1;
await getMoreSmokeRecordList();
};
diff --git a/src/views/sevenLargeScreen/vehicleManagement/bottom-right.vue b/src/views/sevenLargeScreen/vehicleManagement/bottom-right.vue
index d8f07f3..838761f 100644
--- a/src/views/sevenLargeScreen/vehicleManagement/bottom-right.vue
+++ b/src/views/sevenLargeScreen/vehicleManagement/bottom-right.vue
@@ -198,9 +198,10 @@ const getDateitem = (type: any) => {
const load = async () => {
console.log("加载", pageNo.value * pageSize.value);
- if(pageNo.value > 1 && vehicleData.value.length == 0) return
- if(pageNo.value * pageSize.value > vehicleData.value.length) return ElMessage.warning("到底部了!");
- if(checked.value == 1 || checked.value == 2){
+ if (pageNo.value > 1 && vehicleData.value.length == 0) return;
+ if (pageNo.value * pageSize.value > vehicleData.value.length) return;
+ // ElMessage.warning("到底部了!");
+ if (checked.value == 1 || checked.value == 2) {
getVehicleList();
} else {
getAndExitListApi();
diff --git a/src/views/sevenLargeScreen/videoManagement/index.vue b/src/views/sevenLargeScreen/videoManagement/index.vue
index 979c44a..78e8e58 100644
--- a/src/views/sevenLargeScreen/videoManagement/index.vue
+++ b/src/views/sevenLargeScreen/videoManagement/index.vue
@@ -408,7 +408,7 @@ const initPlugin = () => {
// 这里写创建WebControl实例失败时的处理步骤,下面的代码仅做参看,具体实现步骤根据个人需求进行编写!!!!!!!!
// console.log(0);
// oWebControl.value = null;
- console.log(oWebControl.value);
+ console.log(oWebControl.value, "创建失败");
// 程序未启动时执行error函数,采用wakeup来启动程序
window.WebControl.JS_WakeUp("VideoWebPlugin://");
initCount.value++;
diff --git a/大屏-上海电力.zip b/大屏-shdl.zip
similarity index 93%
rename from 大屏-上海电力.zip
rename to 大屏-shdl.zip
index def350f..9f2e6e4 100644
Binary files a/大屏-上海电力.zip and b/大屏-shdl.zip differ