|
@@ -1,41 +1,46 @@
|
|
|
<template>
|
|
|
<div class="scene-box">
|
|
|
<!-- <div class="top-header">智能通风管理系统</div> -->
|
|
|
- <div class="select-node" :class="{ 'node-select-show': !treeShow, 'node-select-hide': treeShow }"
|
|
|
- @click="showTree('treeShow', true)">
|
|
|
+ <div class="select-node" :class="{ 'node-select-show': !treeShow, 'node-select-hide': treeShow }" @click="showTree('treeShow', true)">
|
|
|
<SvgIcon class="is-expansion-icon put-away-icon" size="38" name="expansion" />
|
|
|
<span class="title">{{ treeNodeTitle }}</span>
|
|
|
</div>
|
|
|
<div class="device-select" :class="{ 'device-select-show': treeShow, 'device-select-hide': !treeShow }">
|
|
|
- <SvgIcon class="is-expansion-icon expansion-icon" size="28" name="put-away"
|
|
|
- @click="showTree('treeShow', false)" />
|
|
|
+ <SvgIcon class="is-expansion-icon expansion-icon" size="28" name="put-away" @click="showTree('treeShow', false)" />
|
|
|
<div class="device-select-box">
|
|
|
- <a-tree :show-line="true" :tree-data="treeData" v-model:selectedKeys="selectedKeys" :autoExpandParent="true"
|
|
|
- v-model:expandedKeys="expandedKeys" @select="onSelect">
|
|
|
+ <a-tree
|
|
|
+ :show-line="true"
|
|
|
+ :tree-data="treeData"
|
|
|
+ v-model:selectedKeys="selectedKeys"
|
|
|
+ :autoExpandParent="true"
|
|
|
+ v-model:expandedKeys="expandedKeys"
|
|
|
+ @select="onSelect"
|
|
|
+ >
|
|
|
</a-tree>
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 瓦斯巡检弹窗信息 -->
|
|
|
- <div v-if="deviceType.startsWith('gasDayReport') && activeKey == '1'" class="inspect-info-xj">
|
|
|
+ <div v-if="deviceType.startsWith('gasDayReport') && activeKey == '1'" class="inspect-info-xj">
|
|
|
<div class="info-xj-title">
|
|
|
<span>当前巡检进度</span>
|
|
|
- <span style="margin-left:10px">{{inspectJd || ''}}</span>
|
|
|
+ <span style="margin-left: 10px">{{ inspectJd || '' }}</span>
|
|
|
</div>
|
|
|
<div class="info-xj-content">
|
|
|
- <div class="xj-content-item" v-for="(item,index) in inspectList" :key="index">
|
|
|
+ <div class="xj-content-item" v-for="(item, index) in inspectList" :key="index">
|
|
|
<div class="content-item-title">{{ item.label }}</div>
|
|
|
<div class="content-item-val">{{ item.val }}</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- <div class="location-icon"
|
|
|
+ </div>
|
|
|
+ <div
|
|
|
+ class="location-icon"
|
|
|
:class="{ 'location-btn-show': !locationSettingShow, 'location-btn-hide': locationSettingShow }"
|
|
|
- @click="showTree('location', true)">
|
|
|
+ @click="showTree('location', true)"
|
|
|
+ >
|
|
|
<SvgIcon size="18" name="put-away" />
|
|
|
<span class="location-text">定位图标显示</span>
|
|
|
</div>
|
|
|
- <div class="location-select"
|
|
|
- :class="{ 'location-select-show': locationSettingShow, 'location-select-hide': !locationSettingShow }">
|
|
|
+ <div class="location-select" :class="{ 'location-select-show': locationSettingShow, 'location-select-hide': !locationSettingShow }">
|
|
|
<div class="location-select-box">
|
|
|
<div class="location-top-title" @click="showTree('location', false)">
|
|
|
<SvgIcon class="is-expansion-icon location-expansion-icon" size="28" name="expansion" />
|
|
@@ -59,8 +64,13 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="tabs-box bottom-tabs-box" :class="{ 'table-hide': !tableShow, 'table-show': tableShow }"
|
|
|
- style="height: 290px" @mousedown="setDivHeight($event, 230, scroll, 0)" id="monitorBox">
|
|
|
+ <div
|
|
|
+ class="tabs-box bottom-tabs-box"
|
|
|
+ :class="{ 'table-hide': !tableShow, 'table-show': tableShow }"
|
|
|
+ style="height: 290px"
|
|
|
+ @mousedown="setDivHeight($event, 230, scroll, 0)"
|
|
|
+ id="monitorBox"
|
|
|
+ >
|
|
|
<div :style="`padding: 5px; height: ${scroll.y + 100}px`">
|
|
|
<div class="to-small">
|
|
|
<div class="to-home" @click="toHome"></div>
|
|
@@ -68,27 +78,55 @@
|
|
|
</div>
|
|
|
<div class="device-button-group" v-if="deviceList.length > 0">
|
|
|
<!-- 关联设备 -->
|
|
|
- <div class="device-button" :class="{ 'device-active': deviceActive == device.deviceType }"
|
|
|
- v-for="(device, index) in deviceList" :key="index" @click="monitorChange(index)">{{ device.deviceName }}
|
|
|
+ <div
|
|
|
+ class="device-button"
|
|
|
+ :class="{ 'device-active': deviceActive == device.deviceType }"
|
|
|
+ v-for="(device, index) in deviceList"
|
|
|
+ :key="index"
|
|
|
+ @click="monitorChange(index)"
|
|
|
+ >{{ device.deviceName }}
|
|
|
</div>
|
|
|
<!-- 场景详情进入 -->
|
|
|
- <div v-if="haveSysDetailArr.find((item) => deviceType.startsWith(item))" class="enter-detail"
|
|
|
- @click.stop="goDetail()">
|
|
|
+ <div v-if="haveSysDetailArr.find((item) => deviceType.startsWith(item))" class="enter-detail" @click.stop="goDetail()">
|
|
|
<send-outlined />
|
|
|
{{ treeNodeTitle }}详情
|
|
|
</div>
|
|
|
</div>
|
|
|
<!-- 进入瓦斯人工巡检历史详情 -->
|
|
|
- <div v-if="deviceType == 'gasDayReport'">
|
|
|
+ <div v-if="deviceType == 'gasDayReport'">
|
|
|
<div class="device-button-group">
|
|
|
- <div v-if="deviceType.startsWith('gasDayReport')" class="enter-detail"
|
|
|
- @click.stop="goGasDayReport()">
|
|
|
+ <div v-if="deviceType.startsWith('gasDayReport')" class="enter-detail" @click.stop="goGasDayReport()">
|
|
|
<send-outlined />
|
|
|
瓦斯人工巡检历史详情
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
-
|
|
|
+ <!-- 进入粉尘报表分析详情 -->
|
|
|
+ <div v-if="deviceType == 'dustDayReport'">
|
|
|
+ <div class="device-button-group">
|
|
|
+ <div v-if="deviceType.startsWith('dustDayReport')" class="enter-detail" @click.stop="goDustDayReport()">
|
|
|
+ <send-outlined />
|
|
|
+ 粉尘报表分析
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-if="deviceType == 'bundleDayReport'">
|
|
|
+ <div class="device-button-group">
|
|
|
+ <div v-if="deviceType.startsWith('bundleDayReport')" class="enter-detail" @click.stop="goBundleDayReport()">
|
|
|
+ <send-outlined />
|
|
|
+ 束管日报分析
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-if="deviceType == 'bundleSpyDayReport'">
|
|
|
+ <div class="device-button-group">
|
|
|
+ <div v-if="deviceType.startsWith('bundleSpyDayReport')" class="enter-detail" @click.stop="goBundleSpyDayReport()">
|
|
|
+ <send-outlined />
|
|
|
+ 色谱仪报表分析
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
<div v-if="deviceType == 'gaspatrol'">
|
|
|
<div class="device-button-group">
|
|
|
<div class="enter-detail" @click="exportXls()">
|
|
@@ -101,16 +139,21 @@
|
|
|
<FullscreenExitOutlined style="font-size: 18px" />
|
|
|
</div>
|
|
|
<!-- 是人员定位表单代码,由于放在tab中,表格对已知刷新,导致表单数据也在刷寻,造成输入一半的中文时会清空输入框的内容,导致的输入不上数据 -->
|
|
|
- <div v-if="deviceType.startsWith('location') && activeKey == '1'" class="location-form"
|
|
|
- style="position: absolute; z-index: 9999; top: 50px">
|
|
|
+ <div v-if="deviceType.startsWith('location') && activeKey == '1'" class="location-form" style="position: absolute; z-index: 9999; top: 50px">
|
|
|
<div class="location-form-item">
|
|
|
<span class="location-form-label">人员名称:</span>
|
|
|
<Input style="width: 200px" v-model:value="locationForm.strname" />
|
|
|
</div>
|
|
|
<div class="location-form-item">
|
|
|
<span class="location-form-label">所属部门:</span>
|
|
|
- <MTreeSelect style="width: 200px" v-model:value="locationForm.department" placeholder="请选择所属部门"
|
|
|
- api="/monitor/getDepartmentInfo" :virtual="false" :isGetPopupContainer="false" />
|
|
|
+ <MTreeSelect
|
|
|
+ style="width: 200px"
|
|
|
+ v-model:value="locationForm.department"
|
|
|
+ placeholder="请选择所属部门"
|
|
|
+ api="/monitor/getDepartmentInfo"
|
|
|
+ :virtual="false"
|
|
|
+ :isGetPopupContainer="false"
|
|
|
+ />
|
|
|
</div>
|
|
|
<div class="location-form-item">
|
|
|
<span class="location-form-label">分站名称:</span>
|
|
@@ -118,60 +161,91 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<a-tabs class="tabs-box" v-model:activeKey="activeKey" @change="tabChange" id="tabsBox">
|
|
|
- <a-tab-pane key="1" :tab="deviceType.startsWith('gasDayReport') ? '当日巡检监测':'实时监测'">
|
|
|
- <template
|
|
|
- v-if="(deviceType.startsWith('fanlocal') || deviceType.startsWith('fanmain')) && activeKey == '1'">
|
|
|
- <GroupMonitorTable ref="MonitorDataTable" :dataSource="dataSource" :columnsType="`${deviceType}_monitor`"
|
|
|
- :scroll="scroll" :isAction="true" :isShowSelect="false">
|
|
|
+ <a-tab-pane
|
|
|
+ key="1"
|
|
|
+ :tab="
|
|
|
+ deviceType.startsWith('gasDayReport')
|
|
|
+ ? '当日巡检监测'
|
|
|
+ : deviceType.startsWith('dustDayReport') ||
|
|
|
+ deviceType.startsWith('dustDayReport') ||
|
|
|
+ deviceType.startsWith('bundleDayReport') ||
|
|
|
+ deviceType.startsWith('bundleSpyDayReport')
|
|
|
+ ? '最新监测报表'
|
|
|
+ : '实时监测'
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <template v-if="(deviceType.startsWith('fanlocal') || deviceType.startsWith('fanmain')) && activeKey == '1'">
|
|
|
+ <GroupMonitorTable
|
|
|
+ ref="MonitorDataTable"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ :columnsType="`${deviceType}_monitor`"
|
|
|
+ :scroll="scroll"
|
|
|
+ :isAction="true"
|
|
|
+ :isShowSelect="false"
|
|
|
+ >
|
|
|
<template #action="{ record }">
|
|
|
- <TableAction :actions="haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
- ? [
|
|
|
- {
|
|
|
- label: '详情',
|
|
|
- onClick: goDetail.bind(null, record),
|
|
|
- },
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- : [
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- " />
|
|
|
+ <TableAction
|
|
|
+ :actions="
|
|
|
+ haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ label: '详情',
|
|
|
+ onClick: goDetail.bind(null, record),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ "
|
|
|
+ />
|
|
|
</template>
|
|
|
</GroupMonitorTable>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType == 'majorpath' && activeKey == '1'">
|
|
|
- <a-table :columns="majorColumns" :data-source="dataSource" bordered :scroll="{ y: scroll.y - 30 }"
|
|
|
- :pagination="false"></a-table>
|
|
|
+ <a-table :columns="majorColumns" :data-source="dataSource" bordered :scroll="{ y: scroll.y - 30 }" :pagination="false"></a-table>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType.startsWith('safetymonitor') && activeKey == '1'">
|
|
|
- <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`" :deviceType="deviceType"
|
|
|
- :dataSource="dataSource" design-scope="device_monitor" :isShowActionColumn="true" :isShowSelect="false"
|
|
|
- title="设备监测" :form-config="formConfig" :scroll="{ y: scroll.y - 110 }">
|
|
|
+ <MonitorTable
|
|
|
+ ref="monitorTable"
|
|
|
+ :columnsType="`${deviceType}_monitor`"
|
|
|
+ :deviceType="deviceType"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ design-scope="device_monitor"
|
|
|
+ :isShowActionColumn="true"
|
|
|
+ :isShowSelect="false"
|
|
|
+ title="设备监测"
|
|
|
+ :form-config="formConfig"
|
|
|
+ :scroll="{ y: scroll.y - 110 }"
|
|
|
+ >
|
|
|
<template #action="{ record }">
|
|
|
- <TableAction :actions="haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
- ? [
|
|
|
- {
|
|
|
- label: '详情',
|
|
|
- onClick: goDetail.bind(null, record),
|
|
|
- },
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- : [
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- " />
|
|
|
+ <TableAction
|
|
|
+ :actions="
|
|
|
+ haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ label: '详情',
|
|
|
+ onClick: goDetail.bind(null, record),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ "
|
|
|
+ />
|
|
|
</template>
|
|
|
<template #filterCell="{ column, record }">
|
|
|
<div v-if="!record.devicename && column.dataIndex === 'devicename'">-</div>
|
|
@@ -187,105 +261,175 @@
|
|
|
</MonitorTable>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType.startsWith('location') && activeKey == '1'">
|
|
|
- <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`" :deviceType="deviceType"
|
|
|
- :dataSource="dataSource" design-scope="device_monitor" :isShowActionColumn="true" :isShowSelect="false"
|
|
|
- title="设备监测" :scroll="{ y: scroll.y - 110 }" style="margin-top: 60px">
|
|
|
+ <MonitorTable
|
|
|
+ ref="monitorTable"
|
|
|
+ :columnsType="`${deviceType}_monitor`"
|
|
|
+ :deviceType="deviceType"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ design-scope="device_monitor"
|
|
|
+ :isShowActionColumn="true"
|
|
|
+ :isShowSelect="false"
|
|
|
+ title="设备监测"
|
|
|
+ :scroll="{ y: scroll.y - 110 }"
|
|
|
+ style="margin-top: 60px"
|
|
|
+ >
|
|
|
<template #action="{ record }">
|
|
|
- <TableAction :actions="[
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]" />
|
|
|
+ <TableAction
|
|
|
+ :actions="[
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ />
|
|
|
</template>
|
|
|
</MonitorTable>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType.startsWith('vehicle') && activeKey == '1'">
|
|
|
- <MonitorTable ref="monitorTable" :columnsType="`${deviceType}_monitor`" :deviceType="deviceType"
|
|
|
- :dataSource="dataSource" design-scope="device_monitor" :isShowActionColumn="true" :isShowSelect="false"
|
|
|
- title="设备监测" :form-config="vehicleFormConfig" :scroll="{ y: scroll.y - 110 }">
|
|
|
+ <MonitorTable
|
|
|
+ ref="monitorTable"
|
|
|
+ :columnsType="`${deviceType}_monitor`"
|
|
|
+ :deviceType="deviceType"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ design-scope="device_monitor"
|
|
|
+ :isShowActionColumn="true"
|
|
|
+ :isShowSelect="false"
|
|
|
+ title="设备监测"
|
|
|
+ :form-config="vehicleFormConfig"
|
|
|
+ :scroll="{ y: scroll.y - 110 }"
|
|
|
+ >
|
|
|
<template #action="{ record }">
|
|
|
- <TableAction :actions="[
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]" />
|
|
|
+ <TableAction
|
|
|
+ :actions="[
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]"
|
|
|
+ />
|
|
|
</template>
|
|
|
</MonitorTable>
|
|
|
</template>
|
|
|
<!-- 瓦斯人工巡检 -->
|
|
|
<template v-else-if="deviceType.startsWith('gasDayReport') && activeKey == '1'">
|
|
|
- <gaspatrolTable :addressData="addressData" :personData="personData" :instypeData="instypeData"
|
|
|
- :classData="classData" :tableData="gaspatrolData" @addressInput="addressInput" @userInput="userInput"
|
|
|
- @insTypeChange="insTypeChange" @classChange="classChange" @getSearch="getSearch"></gaspatrolTable>
|
|
|
+ <gaspatrolTable
|
|
|
+ :addressData="addressData"
|
|
|
+ :personData="personData"
|
|
|
+ :instypeData="instypeData"
|
|
|
+ :classData="classData"
|
|
|
+ :tableData="gaspatrolData"
|
|
|
+ @addressInput="addressInput"
|
|
|
+ @userInput="userInput"
|
|
|
+ @insTypeChange="insTypeChange"
|
|
|
+ @classChange="classChange"
|
|
|
+ @getSearch="getSearch"
|
|
|
+ ></gaspatrolTable>
|
|
|
+ </template>
|
|
|
+ <!-- 粉尘监测报表-->
|
|
|
+ <template v-else-if="deviceType.startsWith('dustDayReport') && activeKey == '1'">
|
|
|
+ <dustMonitorTable></dustMonitorTable>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="deviceType.startsWith('bundleDayReport') && activeKey == '1'">
|
|
|
+ <bundleMonitorTable></bundleMonitorTable>
|
|
|
+ </template>
|
|
|
+ <template v-else-if="deviceType.startsWith('bundleSpyDayReport') && activeKey == '1'">
|
|
|
+ <bundleSpyMonitorTable></bundleSpyMonitorTable>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
<!-- 工作面echarts图标 -->
|
|
|
- <BarAndLine v-if="activeKey == '1' && deviceType == 'surface_history'" class="echarts-line"
|
|
|
- xAxisPropType="time" :dataSource="surfaceEchartsData" height="300px"
|
|
|
- :chartsColumns="surfaceChartsColumns" :option="echatsOption" />
|
|
|
- <MonitorTable v-else-if="activeKey == '1'" ref="monitorTable" :columnsType="`${deviceType}_monitor`"
|
|
|
- :dataSource="dataSource" design-scope="device_monitor" :isShowActionColumn="true" :isShowSelect="false"
|
|
|
- title="设备监测" :scroll="{ y: scroll.y - 30 }">
|
|
|
+ <BarAndLine
|
|
|
+ v-if="activeKey == '1' && deviceType == 'surface_history'"
|
|
|
+ class="echarts-line"
|
|
|
+ xAxisPropType="time"
|
|
|
+ :dataSource="surfaceEchartsData"
|
|
|
+ height="300px"
|
|
|
+ :chartsColumns="surfaceChartsColumns"
|
|
|
+ :option="echatsOption"
|
|
|
+ />
|
|
|
+ <MonitorTable
|
|
|
+ v-else-if="activeKey == '1'"
|
|
|
+ ref="monitorTable"
|
|
|
+ :columnsType="`${deviceType}_monitor`"
|
|
|
+ :dataSource="dataSource"
|
|
|
+ design-scope="device_monitor"
|
|
|
+ :isShowActionColumn="true"
|
|
|
+ :isShowSelect="false"
|
|
|
+ title="设备监测"
|
|
|
+ :scroll="{ y: scroll.y - 30 }"
|
|
|
+ >
|
|
|
<template #action="{ record }">
|
|
|
- <TableAction :actions="haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
- ? [
|
|
|
- {
|
|
|
- label: '详情',
|
|
|
- onClick: goDetail.bind(null, record),
|
|
|
- },
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- : [
|
|
|
- {
|
|
|
- label: '定位',
|
|
|
- onClick: goLocation.bind(null, record),
|
|
|
- },
|
|
|
- ]
|
|
|
- " />
|
|
|
+ <TableAction
|
|
|
+ :actions="
|
|
|
+ haveDetailArr.find((item) => deviceType.startsWith(item))
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ label: '详情',
|
|
|
+ onClick: goDetail.bind(null, record),
|
|
|
+ },
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ {
|
|
|
+ label: '定位',
|
|
|
+ onClick: goLocation.bind(null, record),
|
|
|
+ },
|
|
|
+ ]
|
|
|
+ "
|
|
|
+ />
|
|
|
</template>
|
|
|
<template #filterCell="{ column, record }">
|
|
|
<template v-if="deviceType.startsWith('gate') || deviceType.startsWith('door')">
|
|
|
- <a-tag
|
|
|
- v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'"
|
|
|
- color="red">正在运行</a-tag>
|
|
|
+ <a-tag v-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == '0'" color="red"
|
|
|
+ >正在运行</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '0' && record.frontGateClose == 1"
|
|
|
- color="default">关闭</a-tag>
|
|
|
+ color="default"
|
|
|
+ >关闭</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '0'"
|
|
|
- color="#46C66F">打开</a-tag>
|
|
|
+ color="#46C66F"
|
|
|
+ >打开</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'frontGateOpen' && record.frontGateOpen == '1' && record.frontGateClose == '1'"
|
|
|
- color="#FF0000">点位异常</a-tag>
|
|
|
- <a-tag
|
|
|
- v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'"
|
|
|
- color="red">正在运行</a-tag>
|
|
|
+ color="#FF0000"
|
|
|
+ >点位异常</a-tag
|
|
|
+ >
|
|
|
+ <a-tag v-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '0'" color="red"
|
|
|
+ >正在运行</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '0' && record.rearGateClose == '1'"
|
|
|
- color="default">关闭</a-tag>
|
|
|
+ color="default"
|
|
|
+ >关闭</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '0'"
|
|
|
- color="#46C66F">打开</a-tag>
|
|
|
+ color="#46C66F"
|
|
|
+ >打开</a-tag
|
|
|
+ >
|
|
|
<a-tag
|
|
|
v-else-if="column.dataIndex === 'rearGateOpen' && record.rearGateOpen == '1' && record.rearGateClose == '1'"
|
|
|
- color="#FF0000">点位异常</a-tag>
|
|
|
- <a-tag
|
|
|
- v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'"
|
|
|
- color="red">正在运行</a-tag>
|
|
|
- <a-tag
|
|
|
- v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1"
|
|
|
- color="default">关闭</a-tag>
|
|
|
- <a-tag
|
|
|
- v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'"
|
|
|
- color="#46C66F">打开</a-tag>
|
|
|
- <a-tag
|
|
|
- v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'"
|
|
|
- color="#FF0000">点位异常</a-tag>
|
|
|
+ color="#FF0000"
|
|
|
+ >点位异常</a-tag
|
|
|
+ >
|
|
|
+ <a-tag v-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == '0'" color="red"
|
|
|
+ >正在运行</a-tag
|
|
|
+ >
|
|
|
+ <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '0' && record.midGateClose == 1" color="default"
|
|
|
+ >关闭</a-tag
|
|
|
+ >
|
|
|
+ <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '0'" color="#46C66F"
|
|
|
+ >打开</a-tag
|
|
|
+ >
|
|
|
+ <a-tag v-else-if="column.dataIndex === 'midGateOpen' && record.midGateOpen == '1' && record.midGateClose == '1'" color="#FF0000"
|
|
|
+ >点位异常</a-tag
|
|
|
+ >
|
|
|
<template v-if="column.dataIndex === 'doorUse'">
|
|
|
<span v-if="record.doorUse == 1" color="default">行车风门</span>
|
|
|
<span v-else-if="record.doorUse == 2">行人风门</span>
|
|
@@ -294,14 +438,13 @@
|
|
|
</template>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType.startsWith('windrect')">
|
|
|
- <a-tag v-if="column.dataIndex === 'sign'"
|
|
|
- :color="record.sign == 0 ? '#95CF65' : record.sign == 1 ? '#4590EA' : '#9876AA'">
|
|
|
- {{ record.sign == 0 ? '高位' : record.sign == 1 ? '中位' : '低位' }}</a-tag>
|
|
|
+ <a-tag v-if="column.dataIndex === 'sign'" :color="record.sign == 0 ? '#95CF65' : record.sign == 1 ? '#4590EA' : '#9876AA'">
|
|
|
+ {{ record.sign == 0 ? '高位' : record.sign == 1 ? '中位' : '低位' }}</a-tag
|
|
|
+ >
|
|
|
<template v-if="record && column && column.dataIndex === 'isRun' && record.isRun">
|
|
|
- <a-tag v-if="record.isRun == -2 || record.isRun == -1"
|
|
|
- :color="record.isRun == -2 ? '#95CF65' : '#ED5700'">{{
|
|
|
- record.isRun == -2 ? '空闲' : '等待'
|
|
|
- }}</a-tag>
|
|
|
+ <a-tag v-if="record.isRun == -2 || record.isRun == -1" :color="record.isRun == -2 ? '#95CF65' : '#ED5700'">{{
|
|
|
+ record.isRun == -2 ? '空闲' : '等待'
|
|
|
+ }}</a-tag>
|
|
|
<a-tag v-else-if="record.isRun == 100" color="#4693FF">完成</a-tag>
|
|
|
<Progress v-else :percent="Number(record.isRun)" size="small" status="active" />
|
|
|
</template>
|
|
@@ -319,19 +462,16 @@
|
|
|
<a-tag v-if="column.dataIndex === 'stateConn' && record.stateConn == '0'" color="red">断开</a-tag>
|
|
|
</template>
|
|
|
<template v-else-if="deviceType.startsWith('gaspatrol')">
|
|
|
- <a-tag v-if="column.dataIndex === 'deviceConnect_str' && record.deviceConnect_str.endsWith('正常')"
|
|
|
- color="green">{{
|
|
|
- record.deviceConnect_str
|
|
|
- }}</a-tag>
|
|
|
- <a-tag v-if="column.dataIndex === 'deviceConnect_str' && record.deviceConnect_str.endsWith('断开')"
|
|
|
- color="red">{{
|
|
|
- record.deviceConnect_str
|
|
|
- }}</a-tag>
|
|
|
- </template>
|
|
|
- <a-tag v-if="column.dataIndex === 'warnFlag'"
|
|
|
- :color="record.warnFlag == 0 ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
|
|
|
- {{ record.warnFlag == 0 ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测'
|
|
|
+ <a-tag v-if="column.dataIndex === 'deviceConnect_str' && record.deviceConnect_str.endsWith('正常')" color="green">{{
|
|
|
+ record.deviceConnect_str
|
|
|
}}</a-tag>
|
|
|
+ <a-tag v-if="column.dataIndex === 'deviceConnect_str' && record.deviceConnect_str.endsWith('断开')" color="red">{{
|
|
|
+ record.deviceConnect_str
|
|
|
+ }}</a-tag>
|
|
|
+ </template>
|
|
|
+ <a-tag v-if="column.dataIndex === 'warnFlag'" :color="record.warnFlag == 0 ? 'green' : record.warnFlag == 1 ? '#FF5812' : 'gray'">
|
|
|
+ {{ record.warnFlag == 0 ? '正常' : record.warnFlag == 1 ? '报警' : record.warnFlag == 2 ? '断开' : '未监测' }}</a-tag
|
|
|
+ >
|
|
|
<template v-else-if="column.dataIndex === 'warnLevel'">
|
|
|
<a-tag v-if="record.warnLevel == '101'" color="green">低风险</a-tag>
|
|
|
<a-tag v-else-if="record.warnLevel == '102'" color="#FF5812">一般风险</a-tag>
|
|
@@ -355,48 +495,80 @@
|
|
|
<HistoryBall :dataSource="dataSource"></HistoryBall>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <HistoryTable ref="historyTable" :sysId="systemID" :columns-type="`${deviceType}`"
|
|
|
- :device-type="deviceType" designScope="device-history" :scroll="scroll" />
|
|
|
+ <HistoryTable
|
|
|
+ ref="historyTable"
|
|
|
+ :sysId="systemID"
|
|
|
+ :columns-type="`${deviceType}`"
|
|
|
+ :device-type="deviceType"
|
|
|
+ designScope="device-history"
|
|
|
+ :scroll="scroll"
|
|
|
+ />
|
|
|
</template>
|
|
|
</div>
|
|
|
</a-tab-pane>
|
|
|
<a-tab-pane key="3" tab="报警历史" v-if="!noWarningArr.find((item) => deviceType.startsWith(item))">
|
|
|
<div class="tab-item">
|
|
|
- <AlarmHistoryTable ref="alarmHistoryTable" v-if="activeKey == '3'" :sysId="systemID" columns-type="alarm"
|
|
|
+ <AlarmHistoryTable
|
|
|
+ ref="alarmHistoryTable"
|
|
|
+ v-if="activeKey == '3'"
|
|
|
+ :sysId="systemID"
|
|
|
+ columns-type="alarm"
|
|
|
:device-type="deviceType"
|
|
|
:device-list-api="getDeviceList.bind(null, { devicekind: deviceType, sysId: systemID, pageSize: 10000 })"
|
|
|
- :scroll="scroll" designScope="alarm-history" />
|
|
|
+ :scroll="scroll"
|
|
|
+ designScope="alarm-history"
|
|
|
+ />
|
|
|
</div>
|
|
|
</a-tab-pane>
|
|
|
<a-tab-pane key="4" tab="操作历史" v-if="haveHandlerArr.find((item) => deviceType.startsWith(item))">
|
|
|
<div class="tab-item">
|
|
|
- <HandlerHistoryTable ref="handlerHistoryTable" v-if="activeKey == '4'" :sysId="systemID"
|
|
|
- columns-type="operator_history" :device-type="deviceType"
|
|
|
+ <HandlerHistoryTable
|
|
|
+ ref="handlerHistoryTable"
|
|
|
+ v-if="activeKey == '4'"
|
|
|
+ :sysId="systemID"
|
|
|
+ columns-type="operator_history"
|
|
|
+ :device-type="deviceType"
|
|
|
:device-list-api="getDeviceList.bind(null, { devicekind: deviceType, sysId: systemID })"
|
|
|
- :scroll="scroll" designScope="operator-history" />
|
|
|
+ :scroll="scroll"
|
|
|
+ designScope="operator-history"
|
|
|
+ />
|
|
|
</div>
|
|
|
</a-tab-pane>
|
|
|
</a-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <mainPath v-if="deviceType == 'majorpath'" :dataSource="majorPathEchartsData"
|
|
|
- style="width: 300px; height: 300px; position: absolute; left: 250px; top: 40px" />
|
|
|
- <component v-if="modalVisible" :is="currentModal" v-model:visible="modalVisible" :dataSource="dataSource"
|
|
|
- :activeID="activeID" />
|
|
|
+ <mainPath
|
|
|
+ v-if="deviceType == 'majorpath'"
|
|
|
+ :dataSource="majorPathEchartsData"
|
|
|
+ style="width: 300px; height: 300px; position: absolute; left: 250px; top: 40px"
|
|
|
+ />
|
|
|
+ <component v-if="modalVisible" :is="currentModal" v-model:visible="modalVisible" :dataSource="dataSource" :activeID="activeID" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
import { ref, onMounted, onUnmounted, ComponentOptions, shallowRef, reactive, defineProps, watch } from 'vue';
|
|
|
import { SendOutlined, FullscreenExitOutlined, FullscreenOutlined } from '@ant-design/icons-vue';
|
|
|
-import { list, getDeviceList, getDeviceTypeList, devPosition, getDepartmentInfo, getExportUrl, queryNowGasInsInfo,queryNowGasSta } from './device.api';
|
|
|
+import {
|
|
|
+ list,
|
|
|
+ getDeviceList,
|
|
|
+ getDeviceTypeList,
|
|
|
+ devPosition,
|
|
|
+ getDepartmentInfo,
|
|
|
+ getExportUrl,
|
|
|
+ queryNowGasInsInfo,
|
|
|
+ queryNowGasSta,
|
|
|
+} from './device.api';
|
|
|
import AlarmHistoryTable from '../../../comment/AlarmHistoryTable.vue';
|
|
|
import HistoryTable from '../../../comment/HistoryTable.vue';
|
|
|
import HandlerHistoryTable from '../../../comment/HandlerHistoryTable.vue';
|
|
|
import MonitorTable from '../../../comment/MonitorTable.vue';
|
|
|
import GroupMonitorTable from '../../../comment/GroupMonitorTable.vue';
|
|
|
-import gaspatrolTable from '../../../comment/gaspatrolTable.vue'
|
|
|
-import HistoryBall from './modal/history-ball.vue'
|
|
|
+import gaspatrolTable from '../../../comment/gaspatrolTable.vue';
|
|
|
+import dustMonitorTable from '../../../comment/dustMonitorTable.vue';
|
|
|
+import bundleMonitorTable from '../../../comment/bundleMonitorTable.vue';
|
|
|
+import bundleSpyMonitorTable from '../../../comment/bundleSpyMonitorTable.vue';
|
|
|
+import HistoryBall from './modal/history-ball.vue';
|
|
|
import { TreeProps, message, Progress, Input, Select } from 'ant-design-vue';
|
|
|
import { TableAction } from '/@/components/Table';
|
|
|
import { SvgIcon } from '/@/components/Icon';
|
|
@@ -426,18 +598,18 @@ import { useGo } from '/@/hooks/web/usePage';
|
|
|
import { useGlobSetting } from '/@/hooks/setting';
|
|
|
|
|
|
//瓦斯巡检查询参数
|
|
|
-const addressData = ref('')//巡检地点
|
|
|
-const personData = ref('')//巡检员
|
|
|
-const instypeData = ref('')//巡检类型
|
|
|
-const classData = ref('')//巡检班次
|
|
|
-const gaspatrolData = ref<any[]>([])
|
|
|
-const inspectJd=ref<any>('')
|
|
|
-const inspectList=reactive<any[]>([
|
|
|
- {label:'第一次巡检已检数',val:0},
|
|
|
- {label:'第一次巡检未检数',val:0},
|
|
|
- {label:'第二次巡检已检数',val:0},
|
|
|
- {label:'第二次巡检未检数',val:0},
|
|
|
-])
|
|
|
+const addressData = ref(''); //巡检地点
|
|
|
+const personData = ref(''); //巡检员
|
|
|
+const instypeData = ref(''); //巡检类型
|
|
|
+const classData = ref(''); //巡检班次
|
|
|
+const gaspatrolData = ref<any[]>([]);
|
|
|
+const inspectJd = ref<any>('');
|
|
|
+const inspectList = reactive<any[]>([
|
|
|
+ { label: '第一次巡检已检数', val: 0 },
|
|
|
+ { label: '第一次巡检未检数', val: 0 },
|
|
|
+ { label: '第二次巡检已检数', val: 0 },
|
|
|
+ { label: '第二次巡检未检数', val: 0 },
|
|
|
+]);
|
|
|
|
|
|
const glob = useGlobSetting();
|
|
|
// import { BorderBox8 as DvBorderBox8 } from '@kjgl77/datav-vue3';
|
|
@@ -448,7 +620,7 @@ type DeviceType = { deviceType: string; deviceName: string; datalist: any[] };
|
|
|
const props = defineProps({
|
|
|
pageData: {
|
|
|
type: Object,
|
|
|
- default: () => { },
|
|
|
+ default: () => {},
|
|
|
},
|
|
|
});
|
|
|
const { handleExportXls } = useMethods();
|
|
@@ -625,7 +797,6 @@ function getMonitor(flag?) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
async function getDataSource() {
|
|
|
if (deviceType.value && deviceType.value.startsWith('sys') && systemID.value) {
|
|
|
const res = await list({ devicetype: 'sys', systemID: systemID.value });
|
|
@@ -809,51 +980,49 @@ function goLocation(record) {
|
|
|
|
|
|
//查询当前各班瓦斯巡检信息
|
|
|
async function queryNowGasInsInfoList() {
|
|
|
- let res = await queryNowGasInsInfo({ address: addressData.value, userName: personData.value, insType: instypeData.value, class: classData.value })
|
|
|
- console.log(res, '查询当前各班瓦斯巡检信息')
|
|
|
+ let res = await queryNowGasInsInfo({ address: addressData.value, userName: personData.value, insType: instypeData.value, class: classData.value });
|
|
|
+ console.log(res, '查询当前各班瓦斯巡检信息');
|
|
|
if (res.length) {
|
|
|
- gaspatrolData.value = res
|
|
|
+ gaspatrolData.value = res;
|
|
|
} else {
|
|
|
- gaspatrolData.value = []
|
|
|
+ gaspatrolData.value = [];
|
|
|
}
|
|
|
}
|
|
|
//巡检地点输入
|
|
|
let addressInput = (param) => {
|
|
|
- addressData.value = param
|
|
|
-}
|
|
|
+ addressData.value = param;
|
|
|
+};
|
|
|
//巡检员输入
|
|
|
let userInput = (param) => {
|
|
|
- personData.value = param
|
|
|
-}
|
|
|
+ personData.value = param;
|
|
|
+};
|
|
|
//巡检类型选项切换
|
|
|
let insTypeChange = (param) => {
|
|
|
- instypeData.value = param
|
|
|
-
|
|
|
-}
|
|
|
+ instypeData.value = param;
|
|
|
+};
|
|
|
//巡检班次选项切换
|
|
|
let classChange = (param) => {
|
|
|
- classData.value = param
|
|
|
-}
|
|
|
+ classData.value = param;
|
|
|
+};
|
|
|
//查询巡检弹窗信息
|
|
|
-async function getSearch(){
|
|
|
- if(!instypeData.value){
|
|
|
- message.warning('请选择巡检类型!')
|
|
|
- }else if(!classData.value){
|
|
|
+async function getSearch() {
|
|
|
+ if (!instypeData.value) {
|
|
|
+ message.warning('请选择巡检类型!');
|
|
|
+ } else if (!classData.value) {
|
|
|
message.warning('请选择巡检班次!');
|
|
|
- }else {
|
|
|
- let res=await queryNowGasSta({insType:instypeData.value,class:classData.value})
|
|
|
- console.log(res,'巡检弹窗信息')
|
|
|
- if(res){
|
|
|
- inspectJd.value=res.comRate || 0
|
|
|
- inspectList[0].val=res.finishNum1 || 0
|
|
|
- inspectList[1].val=res.missNum1 || 0
|
|
|
- inspectList[2].val=res.finishNum2 || 0
|
|
|
- inspectList[3].val=res.missNum2 || 0
|
|
|
+ } else {
|
|
|
+ let res = await queryNowGasSta({ insType: instypeData.value, class: classData.value });
|
|
|
+ console.log(res, '巡检弹窗信息');
|
|
|
+ if (res) {
|
|
|
+ inspectJd.value = res.comRate || 0;
|
|
|
+ inspectList[0].val = res.finishNum1 || 0;
|
|
|
+ inspectList[1].val = res.missNum1 || 0;
|
|
|
+ inspectList[2].val = res.finishNum2 || 0;
|
|
|
+ inspectList[3].val = res.missNum2 || 0;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-
|
|
|
function goDetail(record?) {
|
|
|
debugger;
|
|
|
if (record) {
|
|
@@ -962,7 +1131,18 @@ function goGasDayReport() {
|
|
|
const newPage = router.resolve({ path: '/gas/gas-report/home' });
|
|
|
window.open(newPage.href, '_blank');
|
|
|
}
|
|
|
-
|
|
|
+function goDustDayReport() {
|
|
|
+ const newPage = router.resolve({ path: '/dustDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+}
|
|
|
+function goBundleDayReport() {
|
|
|
+ const newPage = router.resolve({ path: '/bundleDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+}
|
|
|
+function goBundleSpyDayReport() {
|
|
|
+ const newPage = router.resolve({ path: '/bundleSpyDayReport/home' });
|
|
|
+ window.open(newPage.href, '_blank');
|
|
|
+}
|
|
|
function exportXls() {
|
|
|
handleExportXls('瓦斯巡检记录', getExportUrl, { devicetype: deviceType.value });
|
|
|
}
|
|
@@ -992,9 +1172,9 @@ async function findTreeDataValue(obj) {
|
|
|
if (item.children.length > 0) {
|
|
|
findDeviceType(item.children, obj);
|
|
|
}
|
|
|
- debugger;
|
|
|
+ // debugger;
|
|
|
if (obj.deviceType && obj.deviceType.startsWith('sys_')) {
|
|
|
- debugger;
|
|
|
+ // debugger;
|
|
|
if (item.type == obj.deviceid) {
|
|
|
deviceType.value = 'sys';
|
|
|
systemID.value = obj.deviceid;
|
|
@@ -1150,8 +1330,8 @@ onUnmounted(() => {
|
|
|
if (timer) {
|
|
|
clearTimeout(timer);
|
|
|
}
|
|
|
- timer = undefined;
|
|
|
- });
|
|
|
+ timer = undefined;
|
|
|
+});
|
|
|
</script>
|
|
|
|
|
|
<style lang="less" scoped>
|
|
@@ -1253,50 +1433,50 @@ onUnmounted(() => {
|
|
|
pointer-events: auto;
|
|
|
padding: 20px 10px 30px 10px;
|
|
|
}
|
|
|
-.inspect-info-xj{
|
|
|
- position:fixed;
|
|
|
+.inspect-info-xj {
|
|
|
+ position: fixed;
|
|
|
top: 100px;
|
|
|
left: 250px;
|
|
|
- width:320px;
|
|
|
- height:272px;
|
|
|
- padding:20px;
|
|
|
-background:url('@/assets/images/inspect-bg.png') no-repeat center;
|
|
|
-background-size:100% 100%;
|
|
|
-box-sizing:border-box;
|
|
|
-.info-xj-title{
|
|
|
- width:230px;
|
|
|
- height:36px;
|
|
|
- line-height:36px;
|
|
|
-padding-left:50px;
|
|
|
- margin:10px 0px;
|
|
|
- color:#fff;
|
|
|
- background:url('@/assets/images/inspect-title.png') no-repeat center;
|
|
|
- background-size:100% 100%;
|
|
|
-}
|
|
|
-.info-xj-content{
|
|
|
- display:flex;
|
|
|
- flex-wrap:wrap;
|
|
|
- height:calc(100% - 56px);
|
|
|
- padding:10px 0px;
|
|
|
- box-sizing:border-box;
|
|
|
- .xj-content-item{
|
|
|
- display:flex;
|
|
|
- flex-direction:column;
|
|
|
- justify-content:space-around;
|
|
|
- align-items:center;
|
|
|
- width:126px;
|
|
|
- height:67px;
|
|
|
- margin:7px;
|
|
|
- color:#fff;
|
|
|
- padding-bottom:5px;
|
|
|
- background:url('@/assets/images/inspect-item.png') no-repeat center;
|
|
|
- .content-item-val{
|
|
|
- font-family: 'douyuFont';
|
|
|
- color:#74e9fe;
|
|
|
+ width: 320px;
|
|
|
+ height: 272px;
|
|
|
+ padding: 20px;
|
|
|
+ background: url('@/assets/images/inspect-bg.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .info-xj-title {
|
|
|
+ width: 230px;
|
|
|
+ height: 36px;
|
|
|
+ line-height: 36px;
|
|
|
+ padding-left: 50px;
|
|
|
+ margin: 10px 0px;
|
|
|
+ color: #fff;
|
|
|
+ background: url('@/assets/images/inspect-title.png') no-repeat center;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ .info-xj-content {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ height: calc(100% - 56px);
|
|
|
+ padding: 10px 0px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ .xj-content-item {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ justify-content: space-around;
|
|
|
+ align-items: center;
|
|
|
+ width: 126px;
|
|
|
+ height: 67px;
|
|
|
+ margin: 7px;
|
|
|
+ color: #fff;
|
|
|
+ padding-bottom: 5px;
|
|
|
+ background: url('@/assets/images/inspect-item.png') no-repeat center;
|
|
|
+ .content-item-val {
|
|
|
+ font-family: 'douyuFont';
|
|
|
+ color: #74e9fe;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
.is-expansion-icon {
|
|
|
padding: 5px;
|
|
@@ -1928,4 +2108,5 @@ padding-left:50px;
|
|
|
// margin-top: 5px !important;
|
|
|
// display: flex;
|
|
|
// align-items: center;
|
|
|
-// }</style>
|
|
|
+// }
|
|
|
+</style>
|