diff --git a/src/styles/element-ui.scss b/src/styles/element-ui.scss index 67fe950..029888e 100644 --- a/src/styles/element-ui.scss +++ b/src/styles/element-ui.scss @@ -90,17 +90,22 @@ .el-dialog__title{ font-size: 16px; } - -// card样式修正 -.el-card__header { - padding: 12px 20px; - color: #000; +//当使用card时(class="box-card a")这样写class样式就对了 +.el-card{ + &:not(.a){ + // card样式修正 + .el-card__header { + padding: 12px 20px; + color: #000; + &::before{ + content: ''; + position: absolute; + left: 0; + height: 20px; + width: 6px; + background-color: #1890ff; + } + } + } } -.el-card__header::before{ - content: ''; - position: absolute; - left: 0; - height: 20px; - width: 6px; - background-color: #1890ff; -} \ No newline at end of file + diff --git a/src/views/BI/index.vue b/src/views/BI/index.vue index 9f1872d..f2fa049 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 + }}
@@ -507,7 +507,7 @@ export default { count3 = item.count } }) - this.safetyEnvironmentalInspectionList = data.insList.length > 4 ? data.insList.splice(0,4) : data.insList + this.safetyEnvironmentalInspectionList = data.insList.length > 4 ? data.insList.splice(0, 4) : data.insList this.initEcharts4(count1, count2, count3) }) }, @@ -553,9 +553,9 @@ export default { // } 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 == 'jdyh001') { // 较大隐患 + } else if (item.HIDDENLEVEL == 'jdyh001') { // 较大隐患 yinhuanCount[2] = item.count } else if (item.HIDDENLEVEL == 'hiddenLevel2002') { // 重大隐患 yinhuanCount[3] = item.count diff --git a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue index 91eb85a..e5a93c3 100644 --- a/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue +++ b/src/views/dangerousWork/hotwork/components/hotwork/hotwork_list/components/list.vue @@ -84,7 +84,7 @@ -
+
diff --git a/src/views/map/dialog/hoistingCfdD.vue b/src/views/map/dialog/hoistingCfdD.vue index 2545ff3..ff8736f 100644 --- a/src/views/map/dialog/hoistingCfdD.vue +++ b/src/views/map/dialog/hoistingCfdD.vue @@ -43,10 +43,10 @@ {{ pd.PART_WEIGHT }}t - {{ pd.WORK_LEVEL == '1' ? '一级作业级别' : '' }} - {{ pd.WORK_LEVEL == '2' ? '二级作业级别' : '' }} - {{ pd.WORK_LEVEL == '3' ? '三级作业级别' : '' }} - + {{ pd.WORK_LEVEL == '1' ? '一级作业级别' : '' }} + {{ pd.WORK_LEVEL == '2' ? '二级作业级别' : '' }} + {{ pd.WORK_LEVEL == '3' ? '三级作业级别' : '' }} + diff --git a/src/views/map/dialog/hotwork.vue b/src/views/map/dialog/hotwork.vue index 2adb22a..81b04b9 100644 --- a/src/views/map/dialog/hotwork.vue +++ b/src/views/map/dialog/hotwork.vue @@ -72,31 +72,31 @@ 动火单位(部门)负责人意见 - + 现场管辖单位(部门)负责人意见 - + 动火许可证签发单位意见 - + 动火前管辖单位现场人员许可 姓名: - + 动火后管辖单位现场人员验收 姓名: - + @@ -116,7 +116,7 @@ {{ item.userName }} {{ item.TIME }} - + diff --git a/src/views/map/dialog/humiditystation.vue b/src/views/map/dialog/humiditystation.vue index 29342b9..8c93751 100644 --- a/src/views/map/dialog/humiditystation.vue +++ b/src/views/map/dialog/humiditystation.vue @@ -1,7 +1,7 @@