diff --git a/src/views/BI/index.vue b/src/views/BI/index.vue
index 767e680..3588b5c 100644
--- a/src/views/BI/index.vue
+++ b/src/views/BI/index.vue
@@ -212,11 +212,11 @@
{{
- item.INSPECTION_PLACE.length > 6 ? item.INSPECTION_PLACE.substr(0, 6) + '...' : item.INSPECTION_PLACE
- }}
+ item.INSPECTION_PLACE.length > 6 ? item.INSPECTION_PLACE.substr(0, 6) + '...' : item.INSPECTION_PLACE
+ }}
{{
- item.INSPECTION_TIME_START.length > 10 ? item.INSPECTION_TIME_START.substr(0, 10) + '...' : item.INSPECTION_TIME_START
- }}
+ item.INSPECTION_TIME_START.length > 10 ? item.INSPECTION_TIME_START.substr(0, 10) + '...' : item.INSPECTION_TIME_START
+ }}
@@ -540,16 +540,25 @@ export default {
).then((data) => {
var yinhuanCount = []
data.valList.forEach((item, index) => {
- if (item.HIDDENLEVEL == 'hiddenLevel1001') { // 忽略
+ // if (item.HIDDENLEVEL == 'hiddenLevel1001') { // 忽略
+ // yinhuanCount[0] = item.count
+ // } else if (item.HIDDENLEVEL == 'hiddenLevel1002') { // 一般隐患
+ // yinhuanCount[1] = item.count
+ // } else if (item.HIDDENLEVEL == 'pecial') { // 特殊处置
+ // yinhuanCount[2] = item.count
+ // } else if (item.HIDDENLEVEL == 'jdyh001') { // 较大隐患
+ // yinhuanCount[3] = item.count
+ // } else if (item.HIDDENLEVEL == 'hiddenLevel2002') { // 重大隐患
+ // yinhuanCount[4] = item.count
+ // }
+ if (item.HIDDENLEVEL == 'hiddenLevel1004') { // 轻微隐患
yinhuanCount[0] = item.count
- } else if (item.HIDDENLEVEL == 'hiddenLevel1002') { // 一般隐患
+ }else if (item.HIDDENLEVEL == 'hiddenLevel1002') { // 一般隐患
yinhuanCount[1] = item.count
- } else if (item.HIDDENLEVEL == 'pecial') { // 特殊处置
+ } else if (item.HIDDENLEVEL == 'jdyh001') { // 较大隐患
yinhuanCount[2] = item.count
- } else if (item.HIDDENLEVEL == 'jdyh001') { // 较大隐患
- yinhuanCount[3] = item.count
} else if (item.HIDDENLEVEL == 'hiddenLevel2002') { // 重大隐患
- yinhuanCount[4] = item.count
+ yinhuanCount[3] = item.count
}
})
this.initEcharts5(yinhuanCount)
@@ -868,7 +877,7 @@ export default {
left: 'center',
top: '30%',
style: {
- text: '\n\n项',
+ text: '\n\n次',
fill: '#ffffff',
textAlign: 'center',
fontSize: '12px',
@@ -1056,8 +1065,8 @@ export default {
labelLine: {
normal: {
show: true,
- length: 10,
- length2: 10
+ length: 1,
+ length2: 1
}
},
label: {
@@ -1085,9 +1094,13 @@ export default {
right: '0%',
bottom: '15%',
data: [
- '忽略',
- '一般',
- '特殊处置',
+ // '忽略'
+ // '一般',
+ // '特殊处置',
+ // '较大隐患',
+ // '重大隐患'
+ '轻微隐患',
+ '一般隐患',
'较大隐患',
'重大隐患'
],
@@ -1125,22 +1138,18 @@ export default {
data: [
{
value: yinhuanCount[0],
- name: '忽略'
+ name: '轻微隐患'
},
{
value: yinhuanCount[1],
- name: '一般'
+ name: '一般隐患'
},
{
value: yinhuanCount[2],
- name: '特殊处置'
- },
- {
- value: yinhuanCount[3],
name: '较大隐患'
},
{
- value: yinhuanCount[4],
+ value: yinhuanCount[3],
name: '重大隐患'
},
{
diff --git a/src/views/safetyenvironmental/archive/components/info.vue b/src/views/safetyenvironmental/archive/components/info.vue
index ecde019..f1ada88 100644
--- a/src/views/safetyenvironmental/archive/components/info.vue
+++ b/src/views/safetyenvironmental/archive/components/info.vue
@@ -180,8 +180,6 @@
:preview-src-list="new Array(config.fileUrl + pd.INSPECTED_SITEUSER_SIGN_IMG)"
style="width: 100px; height: 100px"/>
- 确认时间: |
- {{ pd.INSPECTED_SITEUSER_SIGN_TIME }} |
diff --git a/src/views/safetyenvironmental/chief/components/info.vue b/src/views/safetyenvironmental/chief/components/info.vue
index dc6c703..01e8727 100644
--- a/src/views/safetyenvironmental/chief/components/info.vue
+++ b/src/views/safetyenvironmental/chief/components/info.vue
@@ -184,8 +184,6 @@
:preview-src-list="new Array(config.fileUrl + pd.INSPECTED_SITEUSER_SIGN_IMG)"
style="width: 100px; height: 100px"/>
- 确认时间: |
- {{ pd.INSPECTED_SITEUSER_SIGN_TIME }} |
diff --git a/src/views/safetyenvironmental/inspection/components/info.vue b/src/views/safetyenvironmental/inspection/components/info.vue
index 72fa403..2532081 100644
--- a/src/views/safetyenvironmental/inspection/components/info.vue
+++ b/src/views/safetyenvironmental/inspection/components/info.vue
@@ -185,8 +185,6 @@
:preview-src-list="new Array(config.fileUrl + pd.INSPECTED_SITEUSER_SIGN_IMG)"
style="width: 100px; height: 100px"/>
- 确认时间: |
- {{ pd.INSPECTED_SITEUSER_SIGN_TIME }} |