diff --git a/src/api/companyCanban/index.js b/src/api/companyCanban/index.js index e01ccdc..f318564 100644 --- a/src/api/companyCanban/index.js +++ b/src/api/companyCanban/index.js @@ -88,6 +88,14 @@ export function personSafetyDetail(params) { }) } //危化品运输 +export function chemicals(params) { + return request({ + url: '/safety/signboard/hazardous/chemicals', + method: 'post', + params + }) +} +//危化品运输 export function chemicalsDetail(params) { return request({ url: '/safety/signboard/hazardous/chemicals/detail', diff --git a/src/api/enterpriseRank/index.js b/src/api/enterpriseRank/index.js index 458e5cb..cb56774 100644 --- a/src/api/enterpriseRank/index.js +++ b/src/api/enterpriseRank/index.js @@ -2,7 +2,7 @@ import request from '@/utils/request' //首页数据统计 export function getSafeCompanyStatisticsScore(params) { return request({ - url: '/safety/system/tbSafeCompanyStatisticsScore/getSafeCompanyStatisticsScore', + url: '/safety/index/company/statistics/detail', method: 'post', params }) diff --git a/src/assets/companyCanban/icon/企业演习、培训(红).png b/src/assets/companyCanban/icon/企业演习、培训(红).png new file mode 100644 index 0000000..d119b5f Binary files /dev/null and b/src/assets/companyCanban/icon/企业演习、培训(红).png differ diff --git a/src/assets/companyCanban/icon/企业演习、培训(绿).png b/src/assets/companyCanban/icon/企业演习、培训(绿).png new file mode 100644 index 0000000..9936467 Binary files /dev/null and b/src/assets/companyCanban/icon/企业演习、培训(绿).png differ diff --git a/src/assets/companyCanban/icon/漏洞整改(红).png b/src/assets/companyCanban/icon/漏洞整改(红).png new file mode 100644 index 0000000..1de2ffd Binary files /dev/null and b/src/assets/companyCanban/icon/漏洞整改(红).png differ diff --git a/src/assets/companyCanban/icon/漏洞整改(绿).png b/src/assets/companyCanban/icon/漏洞整改(绿).png new file mode 100644 index 0000000..42d1e02 Binary files /dev/null and b/src/assets/companyCanban/icon/漏洞整改(绿).png differ diff --git a/src/assets/companyCanban/icon/等保定级评审.png b/src/assets/companyCanban/icon/等保定级评审.png new file mode 100644 index 0000000..c9d51e1 Binary files /dev/null and b/src/assets/companyCanban/icon/等保定级评审.png differ diff --git a/src/assets/companyCanban/icon/等保定级评审(绿).png b/src/assets/companyCanban/icon/等保定级评审(绿).png new file mode 100644 index 0000000..121377f Binary files /dev/null and b/src/assets/companyCanban/icon/等保定级评审(绿).png differ diff --git a/src/assets/companyCanban/icon/网站应急系统(红).png b/src/assets/companyCanban/icon/网站应急系统(红).png new file mode 100644 index 0000000..3664859 Binary files /dev/null and b/src/assets/companyCanban/icon/网站应急系统(红).png differ diff --git a/src/assets/companyCanban/icon/网站应急系统(绿).png b/src/assets/companyCanban/icon/网站应急系统(绿).png new file mode 100644 index 0000000..1d3b06a Binary files /dev/null and b/src/assets/companyCanban/icon/网站应急系统(绿).png differ diff --git a/src/assets/companyCanban/icon/行政案件(红).png b/src/assets/companyCanban/icon/行政案件(红).png new file mode 100644 index 0000000..307ae23 Binary files /dev/null and b/src/assets/companyCanban/icon/行政案件(红).png differ diff --git a/src/assets/companyCanban/icon/行政案件(绿).png b/src/assets/companyCanban/icon/行政案件(绿).png new file mode 100644 index 0000000..cbff336 Binary files /dev/null and b/src/assets/companyCanban/icon/行政案件(绿).png differ diff --git a/src/assets/companyCanban/icon/重大网络安全(红).png b/src/assets/companyCanban/icon/重大网络安全(红).png new file mode 100644 index 0000000..66f839f Binary files /dev/null and b/src/assets/companyCanban/icon/重大网络安全(红).png differ diff --git a/src/assets/companyCanban/icon/重大网络安全(绿).png b/src/assets/companyCanban/icon/重大网络安全(绿).png new file mode 100644 index 0000000..a7c7e6a Binary files /dev/null and b/src/assets/companyCanban/icon/重大网络安全(绿).png differ diff --git a/src/assets/companyCanban/开关背景.png b/src/assets/companyCanban/开关背景.png new file mode 100644 index 0000000..db464b4 Binary files /dev/null and b/src/assets/companyCanban/开关背景.png differ diff --git a/src/assets/companyCanban/开关背景绿.png b/src/assets/companyCanban/开关背景绿.png new file mode 100644 index 0000000..c4dc719 Binary files /dev/null and b/src/assets/companyCanban/开关背景绿.png differ diff --git a/src/assets/companyCanban/按钮红.png b/src/assets/companyCanban/按钮红.png new file mode 100644 index 0000000..0fdcec2 Binary files /dev/null and b/src/assets/companyCanban/按钮红.png differ diff --git a/src/assets/companyCanban/按钮绿.png b/src/assets/companyCanban/按钮绿.png new file mode 100644 index 0000000..6bddf6c Binary files /dev/null and b/src/assets/companyCanban/按钮绿.png differ diff --git a/src/assets/companyCanban/背景00912.png b/src/assets/companyCanban/背景00912.png new file mode 100644 index 0000000..9392794 Binary files /dev/null and b/src/assets/companyCanban/背景00912.png differ diff --git a/src/assets/companyCanban/背景green.png b/src/assets/companyCanban/背景green.png new file mode 100644 index 0000000..9392794 Binary files /dev/null and b/src/assets/companyCanban/背景green.png differ diff --git a/src/assets/companyCanban/背景red.png b/src/assets/companyCanban/背景red.png new file mode 100644 index 0000000..7ff62f0 Binary files /dev/null and b/src/assets/companyCanban/背景red.png differ diff --git a/src/utils/request.js b/src/utils/request.js index affd2a5..2835a24 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -4,10 +4,10 @@ import vm from "../main"; import { getToken } from '@/utils/auth' axios.defaults.headers['Content-Type'] = 'application/json;charset=utf-8' const request = axios.create({ - //baseURL: 'http://172.18.113.50:8080/zhapi', + baseURL: 'http://172.18.113.50:8080/zhapi', //baseURL: 'http://172.18.11//.13:8080/zhapi', // 孙强 //baseURL: 'http://192.168.0.188:8888/zhapi', - baseURL: `http://${window.location.host}/zhapi`, + //baseURL: `http://${window.location.host}/zhapi`, timeout: 50000, headers: { 'content-type': 'application/json' }, }) diff --git a/src/views/companyCanban/fanggopngji.vue b/src/views/companyCanban/fanggopngji.vue index c81cd0a..e6f9616 100644 --- a/src/views/companyCanban/fanggopngji.vue +++ b/src/views/companyCanban/fanggopngji.vue @@ -7,7 +7,7 @@
{{ staffStatisticsList[0].levelIndexTwo }}
-
+
@@ -21,7 +21,7 @@
{{ staffStatisticsList[1].levelIndexTwo }}
-
+
@@ -38,7 +38,7 @@
{{ staffStatisticsList[2].levelIndexTwo }}
-
+
@@ -52,7 +52,7 @@
{{ staffStatisticsList[3].levelIndexTwo }}
-
+
@@ -68,7 +68,7 @@
{{ staffStatisticsList[4].levelIndexTwo }}
-
+
diff --git a/src/views/companyCanban/lieguan.vue b/src/views/companyCanban/lieguan.vue index d5c46d8..c0cedac 100644 --- a/src/views/companyCanban/lieguan.vue +++ b/src/views/companyCanban/lieguan.vue @@ -395,7 +395,10 @@ export default { color: '#66FFC4' } } - const sum = this.fireData[0].sumNumValue + this.fireData[1].sumNumValue + this.fireData[2].sumNumValue + this.fireData[3].sumNumValue + const sum = [this.fireData[0].sumNumValue, this.fireData[1].sumNumValue, this.fireData[2].sumNumValue, this.fireData[3].sumNumValue].sort(function (a, b) { + return b - a; + })[0]; + console.log(sum, '总数'); let myChart = echarts.init(document.getElementById("lgwp")); let option = { tooltip: { diff --git a/src/views/companyCanban/wangluo.vue b/src/views/companyCanban/wangluo.vue index e05728b..4e9ee44 100644 --- a/src/views/companyCanban/wangluo.vue +++ b/src/views/companyCanban/wangluo.vue @@ -4,89 +4,107 @@
-
+
{{ staffStatisticsList[0].levelIndexTwo }}
-
-
-
-
-
-
-
-
+
{{ staffStatisticsList[0].sumNumValue }}
-
-
+
+
{{ staffStatisticsList[1].levelIndexTwo }}
-
+
-
+
-
-
+
+
+
+
+
+
{{ staffStatisticsList[1].levelIndexTwo }}
+
-
-
+
+
{{ staffStatisticsList[2].levelIndexTwo }}
-
+
-
+
-
-
+
+
+
+
+
+
{{ staffStatisticsList[2].levelIndexTwo }}
+
-
-
+
+
{{ staffStatisticsList[3].levelIndexTwo }}
-
+
-
+
-
-
+
+
+
+
+
+
{{ staffStatisticsList[3].levelIndexTwo }}
+
-
-
+
+
{{ staffStatisticsList[4].levelIndexTwo }}
-
+
-
+
-
-
+
+
+
+
+
+
{{ staffStatisticsList[4].levelIndexTwo }}
+
-
-
+
+
{{ staffStatisticsList[5].levelIndexTwo }}
-
+
-
+
-
-
+
+
+
+
+
+
{{ staffStatisticsList[5].levelIndexTwo }}
+
@@ -110,10 +128,10 @@
-
+
-
{{ fangyiList.networks[0].levelIndexTwo }}
-
+
{{ fangyiList.networks[1].levelIndexTwo }}
+
@@ -124,10 +142,10 @@
-
+
-
{{ fangyiList.networks[1].levelIndexTwo }}
-
+
{{ fangyiList.networks[2].levelIndexTwo }}
+
@@ -140,10 +158,10 @@
-
+
-
{{ fangyiList.networks[2].levelIndexTwo }}
-
+
{{ fangyiList.networks[3].levelIndexTwo }}
+
@@ -154,10 +172,10 @@
-
+
-
{{ fangyiList.networks[3].levelIndexTwo }}
-
+
{{ fangyiList.networks[4].levelIndexTwo }}
+
@@ -168,10 +186,10 @@
-
+
-
{{ fangyiList.networks[4].levelIndexTwo }}
-
+
{{ fangyiList.networks[5].levelIndexTwo }}
+
@@ -262,9 +280,9 @@ export default { box-sizing: border-box; .sjItem { - width: 180px; + width: 185px; height: 55px; - background: url('~@/assets/companyCanban/7691备份.png') no-repeat; + background: url('~@/assets/companyCanban/背景green.png') no-repeat; background-size: 100% 100%; display: flex; @@ -272,6 +290,16 @@ export default { padding: 8px; box-sizing: border-box; + .iconImg { + width: 55px; + height: 44px; + + img { + width: 100%; + height: 100%; + } + } + .iconBox { width: 42px; height: 42px; @@ -290,7 +318,7 @@ export default { } .sjText { - width: 128px; + width: 135px; font-size: 14px; color: rgba(255, 255, 255, 0.8); letter-spacing: 0; @@ -306,56 +334,121 @@ export default { margin-top: 8px; } + // .onlineStatus { + // margin-top: 8px; + // width: 56px; + // height: 18px; + // display: flex; + // justify-content: space-between; + + // .green { + // width: 18px; + // height: 18px; + // border-radius: 50%; + // background: #2CFED3; + // box-shadow: inset 0px 1px 2px 0px rgba(255, 255, 255, 1); + // box-shadow: 0px 0px 8px 1px rgba(44, 254, 211, 0.65); + // box-shadow: 0px 0px 4px 0px rgba(33, 121, 195, 0.56); + // } + + // .red { + // width: 18px; + // height: 18px; + // border-radius: 50%; + // background: rgba(183, 33, 33, 0.50); + // } + // } .onlineStatus { margin-top: 8px; - width: 56px; + width: 46px; height: 18px; - display: flex; - justify-content: space-between; + background: url('~@/assets/companyCanban/开关背景绿.png') no-repeat; + background-size: 100% 100%; + position: relative; + .green { width: 18px; height: 18px; - border-radius: 50%; - background: #2CFED3; - box-shadow: inset 0px 1px 2px 0px rgba(255, 255, 255, 1); - box-shadow: 0px 0px 8px 1px rgba(44, 254, 211, 0.65); - box-shadow: 0px 0px 4px 0px rgba(33, 121, 195, 0.56); + background: url('~@/assets/companyCanban/按钮绿.png') no-repeat; + background-size: 100% 100%; } + } + + .outlineStatus { + margin-top: 8px; + width: 46px; + height: 18px; + background: url('~@/assets/companyCanban/开关背景.png') no-repeat; + background-size: 100% 100%; + position: relative; + .red { + position: absolute; + right: 3px; + top: 0; width: 18px; height: 18px; - border-radius: 50%; - background: rgba(183, 33, 33, 0.50); + background: url('~@/assets/companyCanban/按钮红.png') no-repeat; + background-size: 100% 100%; } } + } + + } + + .sjItem_r { + width: 185px; + height: 55px; + background: url('~@/assets/companyCanban/背景red.png') no-repeat; + background-size: 100% 100%; + + display: flex; + align-items: center; + padding: 8px; + box-sizing: border-box; + + .iconImg { + width: 55px; + height: 44px; + + img { + width: 100%; + height: 100%; + } + } + + .sjText { + width: 135px; + font-size: 14px; + color: rgba(255, 255, 255, 0.8); + letter-spacing: 0; + line-height: 16px; + font-weight: 400; + margin-left: 10px; + .outlineStatus { margin-top: 8px; - width: 56px; + width: 46px; height: 18px; - display: flex; - justify-content: space-between; + background: url('~@/assets/companyCanban/开关背景.png') no-repeat; + background-size: 100% 100%; + position: relative; - .green { - width: 18px; - height: 18px; - border-radius: 50%; - opacity: 0.5; - background: #1C9980; - } .red { + position: absolute; + right: 3px; + top: 0; width: 18px; height: 18px; - border-radius: 50%; - background: #FF2D2D; - box-shadow: inset 0px 1px 2px 0px rgba(255, 255, 255, 1); - box-shadow: 0px 0px 8px 1px rgba(254, 67, 44, 0.65); - box-shadow: 0px 0px 4px 0px rgba(195, 33, 33, 0.56); + background: url('~@/assets/companyCanban/按钮红.png') no-repeat; + background-size: 100% 100%; } } + } } diff --git a/src/views/companyCanban/weihuapin.vue b/src/views/companyCanban/weihuapin.vue index 018463e..8d9519a 100644 --- a/src/views/companyCanban/weihuapin.vue +++ b/src/views/companyCanban/weihuapin.vue @@ -57,7 +57,7 @@