diff --git a/api/commonRequest.js b/api/commonRequest.js index bd5e9b9..1bdae99 100644 --- a/api/commonRequest.js +++ b/api/commonRequest.js @@ -130,6 +130,7 @@ function ajaxRequestGetExport(url, type, async, beforeFn, successFn, errorFn, is url: url, type: type, headers: { + "encryption":"encryption", "authorization": sessionStorage.getItem("zhgd_token"), "decrypt": isAes ? '' : 'decrypt' }, @@ -138,12 +139,7 @@ function ajaxRequestGetExport(url, type, async, beforeFn, successFn, errorFn, is }, async: async, beforeSend: beforeFn, - success: function (event, xhr, settings, data){ - event=modifyResponseData(event); - successFn(event, xhr, settings, data); - }, - error:function (event, xhr, settings, error) { - errorFn(event, xhr, settings, error) - } + success: successFn, + error:errorFn }); } \ No newline at end of file diff --git a/js/pages/accessMge/accessMge.js b/js/pages/accessMge/accessMge.js index 16548c8..d3a4152 100644 --- a/js/pages/accessMge/accessMge.js +++ b/js/pages/accessMge/accessMge.js @@ -420,7 +420,7 @@ function exportVehicleData() { // 移除 标签 document.body.removeChild(link); }, function (xhr, status, error) { - error(xhr, status, error) + errorFn(xhr, status, error) }, aqEnnable); } @@ -448,7 +448,6 @@ function exportPerData() { // 释放 URL 对象 window.URL.revokeObjectURL(url); - // 移除 标签 document.body.removeChild(link); }, function (xhr, status, error) { diff --git a/pages/index/index.html b/pages/index/index.html index 4e90f38..a591968 100644 --- a/pages/index/index.html +++ b/pages/index/index.html @@ -21,132 +21,94 @@ -
-
- -
- -
-

+
+
+ +
+ -
-
-
-
-

0

-

温度

-
-
-
-

0%

-

湿度

-
-
-
-

0分贝

-

噪声

-
-
-
-

0kwh

-

光照

-
-
-
-

0μg/m³

-

PM2.5

-
-
-
-

0μg/m³

-

PM10

-
-
+
+

-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - -
名称/风险等级二级三级四级五级总数

本周风险

-

-
00000
-

当日站班会

-

(2024-06-18)

-
00000
-
-
-
-

标段实际进度

-

0%

-
-
-

单项实际进度

-

0%

-
-
-

项目实际进度

-

0%

-
- - -
-
+
+
+
+

0

+

温度

+
+
+
+

0%

+

湿度

+
+
+
+

0分贝

+

噪声

+
+
+
+

0kwh

+

光照

+
+
+
+

0μg/m³

+

PM2.5

+
+
+
+

0μg/m³

+

PM10

+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
名称/风险等级二级三级四级五级总数

本周风险

+

+
00000
+

当日站班会

+

(2024-06-18)

+
00000
+
+
+
+
+
+
+
diff --git a/pages/operEnvironment/operEnvironment.html b/pages/operEnvironment/operEnvironment.html index bc49e6f..3069644 100644 --- a/pages/operEnvironment/operEnvironment.html +++ b/pages/operEnvironment/operEnvironment.html @@ -6,7 +6,6 @@ - @@ -14,124 +13,151 @@ - + - 作业环境 -
-
-
-
-
-
-
-
淮北
-
-
-
-
15°
-
淮北市濉溪县
+
+
+
+
+
+
+
+
合肥
+
+
+
+
15°
+
合肥市 蜀山区
+
+
+
+
+
+
+
+
+
今天 3月13
+
3~15°
-
-
-
-
-
-
今天 3月13
-
3~15°
-
+
+
+
+
+
明天 3月13
+
3~15°
-
-
-
-
-
明天 3月13
-
3~15°
-
-
-
-
-
-
-
-
后天 3月13
-
3~15°
-
+
+
+
+
+
+
后天 3月13
+
3~15°
-
+
-
-
-
-
-
正常
-
异常
-
-
- -
- +
+
+
+
+
+
正常
+
异常
+
+
+ +
+ +
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
+
+
+
+
+
-
-
+ +
+ + + + + + + + + + + + + + + + + + + +
-
-
-
-
-
-
-
-
+
-
-
-
-
-
-
-
- -
-
+
+
+
+
-
-
-
-
-
-
-
-
-
-
+
+ + + + + + + + + + + + + + + + +
+
+
\ No newline at end of file