123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597 |
- <template>
- <div class="dustMonitor">
- <customHeader>粉尘监测报表分析</customHeader>
- <div class="content-container">
- <div class="file-list">
- <ul>
- <li v-for="item in selectList" :key="item.id" :class="{ selected: item.id === selectedFileId }" @click="handleFileClick(item)">
- {{ item.fileName }}
- </li>
- </ul>
- </div>
- <div class="table-container">
- <a-table :columns="computedColumns" :data-source="tableData" size="small" :pagination="false" :scroll="{ y: 330 }" class="tableW">
- <template #bodyCell="{ record, column }">
- <template v-if="record[column.dataIndex] === null">
- <span>-</span>
- </template>
- </template>
- </a-table>
- <div class="tab-container">
- <a-tabs v-model:activeKey="activeTab">
- <a-tab-pane key="workplace" class="tab1" tab="监测地点粉尘情况分析">
- <div class="filter-container" v-if="workplaceList.length > 0">
- <a-select
- :key="DefaultValue"
- :default-value="DefaultValue"
- v-model="selectedWorkplace"
- @change="workPlaceChange"
- placeholder="选择工作场所"
- style="width: 280px; margin: 5px"
- >
- <a-select-option v-for="workplace in workplaceList" :key="workplace.index" :value="workplace">
- {{ workplace }}
- </a-select-option>
- </a-select>
- </div>
- <a-table
- :columns="DataComputedColumns"
- :data-source="filteredResultByWorkplace"
- :pagination="false"
- size="small"
- :scroll="updateScrollPosition"
- class="tableW"
- />
- </a-tab-pane>
- <a-tab-pane key="overall" class="tab2" tab="当日粉尘情况分析">
- <a-table
- :columns="AllDataComputedColumns"
- :data-source="AllMaxValues"
- size="small"
- :pagination="false"
- :scroll="{ y: 280 }"
- class="tableW"
- />
- </a-tab-pane>
- </a-tabs>
- </div>
- </div>
- </div>
- </div>
- </template>
- <script setup lang="ts">
- import { ref, onMounted, reactive, computed, watch, nextTick } from 'vue';
- import {
- columns,
- Dltcolumns,
- Swcolumns,
- Hjtcolumns,
- Bdcolumns,
- Bltcolumns,
- dataColumns,
- dataDltColumns,
- dataSwColumns,
- dataHjtColumns,
- dataBdColumns,
- dataBltColumns,
- AllDataColumns,
- AllDataDltColumns,
- AllDataSwColumns,
- AllDataHjtColumns,
- AllDataBdColumns,
- AllDataBltColumns,
- } from './dust-table.data';
- import { getDustInfoList, getAllFileList, getAllFileListById } from './dsut-table.api';
- import customHeader from '/@/components/vent/customHeader.vue';
- import { result } from 'lodash-es';
- // import { nextTick } from 'process';
- import { useGlobSetting } from '/@/hooks/setting';
- let tableData = ref<any[]>([]);
- let selectList = ref<any[]>([]);
- let resultByWorkplace = ref<any[]>([]);
- let AllMaxValues = ref<any[]>([]);
- let resultValues = ref<any[]>([]);
- let filteredResultByWorkplace = ref<any[]>([]); //根据工作场所查询的数据
- let workplaceList = ref<any[]>([]); //根据工作场所查询的数据
- let activeTab = ref<string>('workplace');
- let selectedFileId = ref<string | null>(null);
- let selectedWorkplace = ref<string | null>(null);
- let DefaultValue = ref<string | null>(null);
- const { sysOrgCode } = useGlobSetting();
- let formSearch = reactive({
- pageNum: 1,
- pageSize: 1000,
- id: '',
- fileName: '',
- });
- const updateScrollPosition = computed(() => {
- return {
- y: workplaceList.value.length > 0 ? 240 : 280,
- };
- });
- //获取粉尘监测列展示数据
- const computedColumns = computed(() => {
- switch (sysOrgCode) {
- case 'sdmtjtbetmk':
- return columns; // 布尔台对应的列配置
- case 'sdmtjtdltmk':
- return Dltcolumns; // 大柳塔对应的列配置
- case 'sdmtjtswmk':
- return Swcolumns; // 上湾对应的列配置
- case 'sdmtjtdltmkhjtj':
- return Hjtcolumns; // 活鸡兔对应的列配置
- case 'sdmtjtBdmk':
- return Bdcolumns; // 保德对应的列配置
- case 'sdmtjtbltmk':
- return Bltcolumns; // 补连塔对应的列配置
- default:
- return columns; // 默认情况下返回的列配置
- }
- });
- const AllDataComputedColumns = computed(() => {
- switch (sysOrgCode) {
- case 'sdmtjtbetmk':
- return AllDataColumns; // 布尔台对应的列配置
- case 'sdmtjtdltmk':
- return AllDataDltColumns; // 大柳塔对应的列配置
- case 'sdmtjtswmk':
- return AllDataSwColumns; // 上湾对应的列配置
- case 'sdmtjtdltmkhjtj':
- return AllDataHjtColumns; // 活鸡兔对应的列配置
- case 'sdmtjtBdmk':
- return AllDataBdColumns; // 保德对应的列配置
- case 'sdmtjtbltmk':
- return AllDataBltColumns; // 补连塔对应的列配置
- default:
- return AllDataColumns; // 默认情况下返回的列配置
- }
- });
- const DataComputedColumns = computed(() => {
- switch (sysOrgCode) {
- case 'sdmtjtbetmk':
- return dataColumns; // 布尔台对应的列配置
- case 'sdmtjtdltmk':
- return dataDltColumns; // 大柳塔对应的列配置
- case 'sdmtjtswmk':
- return dataSwColumns; // 上湾对应的列配置
- case 'sdmtjtdltmkhjtj':
- return dataHjtColumns; // 活鸡兔对应的列配置
- case 'sdmtjtBdmk':
- return dataBdColumns; // 保德对应的列配置
- case 'sdmtjtbltmk':
- return dataBltColumns; // 补连塔对应的列配置
- default:
- return dataColumns; // 默认情况下返回的列配置
- }
- });
- //获取粉尘监测结果数据
- async function getTableList(params: any) {
- let res = await getDustInfoList({ type: 'smoke', ...params });
- const content = res.content;
- let contentArr = JSON.parse(content);
- tableData.value = contentArr;
- processTableData(contentArr);
- if (workplaceList.value.length > 0) {
- console.log(workplaceList.value, 'workplaceList');
- DefaultValue.value = workplaceList.value[0];
- workPlaceChange(selectedWorkplace.value);
- }
- }
- async function getTableListById(params: any) {
- let res = await getAllFileListById({ ...params });
- const content = res.content;
- let contentArr = JSON.parse(content);
- tableData.value = contentArr;
- processTableData(contentArr);
- if (workplaceList.value.length > 0) {
- console.log(workplaceList.value, 'workplaceList');
- DefaultValue.value = workplaceList.value[0];
- workPlaceChange(selectedWorkplace.value);
- }
- }
- // 处理 tableData 数据
- function processTableData(data: any) {
- // 根据 gzcs 字段进行分组
- const groupedData = data.reduce((acc: any, item: any) => {
- if (sysOrgCode === 'sdmtjtbltmk') {
- item.gzcs = item.gzm;
- }
- const workplace = item.gzcs;
- if (!acc[workplace]) {
- acc[workplace] = [];
- }
- acc[workplace].push(item);
- return acc;
- }, {});
- // 筛选每个工作场所下的最大值
- const result = Object.keys(groupedData).flatMap((workplace) => {
- const items = groupedData[workplace];
- const maxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'zcrxd_ds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'zcrxd_jqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcrxd_ds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcrxd_jqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- ];
- const DltMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- ];
- const SwMaxValues = [
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- ];
- const HjtMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- ];
- const BdMaxValues = [
- { key: 'qc', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- { key: 'hc', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: workplace },
- ];
- const BltMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', scgy: '', gzcs: workplace },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', scgy: '', gzcs: workplace },
- ];
- items.forEach((item: any) => {
- maxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- }
- });
- DltMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- SwMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- HjtMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- BdMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- BltMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.scgy = item.scgy;
- maxValue.gzcs = item.gzcs;
- }
- });
- });
- switch (sysOrgCode) {
- case 'sdmtjtbetmk':
- return maxValues; // 布尔台对应的列配置
- case 'sdmtjtdltmk':
- return DltMaxValues; // 大柳塔对应的列配置
- case 'sdmtjtswmk':
- return SwMaxValues; // 上湾对应的列配置
- case 'sdmtjtdltmkhjtj':
- return HjtMaxValues; // 活鸡兔对应的列配置
- case 'sdmtjtBdmk':
- return BdMaxValues; // 保德对应的列配置
- case 'sdmtjtbltmk':
- return BltMaxValues; // 补连塔对应的列配置
- default:
- return maxValues; // 默认情况下返回的列配置
- }
- });
- resultByWorkplace.value = result;
- workplaceList.value = Array.from(new Set(resultByWorkplace.value.map((item) => item.gzcs)));
- if (workplaceList.value.length > 0) {
- selectedWorkplace.value = workplaceList.value[0];
- workPlaceChange(selectedWorkplace.value);
- }
- // 筛选整个 tableData 下的最大值
- const overallMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'zcrxd_ds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'zcrxd_jqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcrxd_ds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcrxd_jqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- ];
- const overallDltMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- ];
- const overallSwMaxValues = [
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- ];
- const overallHjtMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_zcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'jx_hcds', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- ];
- const overallBdMaxValues = [
- { key: 'zcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- { key: 'hcjqpj', value: -Infinity, gz: '', jcdd: '', fczl: '', gzcs: '' },
- ];
- const overallBltMaxValues = [
- { key: 'sc_zcds', value: -Infinity, gz: '', jcdd: '', scgy: '', gzcs: '' },
- { key: 'sc_hcds', value: -Infinity, gz: '', jcdd: '', scgy: '', gzcs: '' },
- ];
- data.forEach((item: any) => {
- overallMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- overallDltMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- overallSwMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- overallHjtMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- overallBdMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.fczl = item.fczl;
- maxValue.gzcs = item.gzcs;
- }
- });
- overallBltMaxValues.forEach((maxValue) => {
- if (item[maxValue.key] > maxValue.value) {
- maxValue.value = item[maxValue.key];
- maxValue.gz = item.gz;
- maxValue.jcdd = item.jcdd;
- maxValue.scgy = item.scgy;
- maxValue.gzcs = item.gzcs;
- }
- });
- });
- AllMaxValues = computed(() => {
- switch (sysOrgCode) {
- case 'sdmtjtbetmk':
- return overallMaxValues; // 布尔台对应的列配置
- case 'sdmtjtdltmk':
- return overallDltMaxValues; // 大柳塔对应的列配置
- case 'sdmtjtswmk':
- return overallSwMaxValues; // 上湾对应的列配置
- case 'sdmtjtdltmkhjtj':
- return overallHjtMaxValues; // 活鸡兔对应的列配置
- case 'sdmtjtBdmk':
- return overallBdMaxValues; // 保德对应的列配置
- case 'sdmtjtbltmk':
- return overallBltMaxValues; // 补连塔对应的列配置
- default:
- return overallMaxValues; // 默认情况下返回的列配置
- }
- });
- }
- //获取所有文件列表
- async function getAllFile() {
- let res = await getAllFileList({ type: 'smoke' });
- selectList.value = res.records.map((item: any) => ({
- id: item.id,
- fileName: item.fileName,
- }));
- if (selectList.value.length > 0) {
- formSearch.id = selectList.value[0].id;
- getSearch();
- }
- }
- //查询
- // 处理文件点击事件
- function handleFileClick(item: any) {
- formSearch.id = item.id;
- formSearch.fileName = item.fileName;
- selectedFileId.value = item.id;
- getSearch();
- }
- function getSearch() {
- // const selectedFile = selectList.value.find((item) => item.id === formSearch.id);
- const params = {
- id: formSearch.id,
- // fileName: selectedFile ? selectedFile.fileName : '',
- };
- getTableListById(params);
- // getTableList(params);
- }
- function workPlaceChange(value: any) {
- selectedWorkplace.value = value;
- filteredResultByWorkplace.value = resultByWorkplace.value.filter((item) => item.gzcs === value);
- }
- onMounted(() => {
- getTableList({ type: 'smoke' });
- getAllFile().then(() => {
- if (selectList.value.length > 0) {
- formSearch.id = selectList.value[0].id;
- selectedFileId.value = selectList.value[0].id;
- getSearch();
- }
- });
- });
- </script>
- <style lang="less" scoped>
- @import '/@/design/theme.less';
- .content-container {
- display: flex;
- width: 100%;
- height: 100%;
- padding-top: 54px;
- }
- .file-list {
- width: 20%;
- padding: 10px;
- margin-right: 10px;
- margin-bottom: 40px;
- border: 1px solid #99e8ff66;
- background: #27546e1a;
- box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
- -moz-box-shadow: 0px 0px 20px 7px rgba(145, 233, 254, 0.7) inset;
- -webkit-box-shadow: 0px 0px 50px 1px rgb(149 235 255 / 5%) inset;
- }
- .file-list ul {
- list-style: none;
- padding: 0;
- }
- .file-list li {
- color: #fff;
- padding: 5px;
- cursor: pointer;
- }
- .file-list li:hover,
- .file-list li.selected {
- background: #1c4869;
- }
- .table-container {
- margin-top: 10px;
- width: 80%;
- box-sizing: border-box;
- }
- .tab-container {
- display: flex;
- align-items: center;
- padding-top: 50px;
- }
- .tab-container .ant-tabs {
- flex-grow: 1;
- }
- :deep(.zxm-tabs-nav) {
- margin: 0 !important;
- .zxm-tabs-tab {
- width: 180px;
- height: 45px;
- background: url('@/assets/images/defaultbg.png') center no-repeat;
- background-size: 100%;
- display: flex;
- justify-content: center;
- font-size: 16px;
- margin-right: 10px;
- }
- .zxm-tabs-tab-active {
- width: 180px;
- position: relative;
- background: url('@/assets/images/selected.png') center no-repeat;
- background-size: 100%;
- .zxm-tabs-tab-btn {
- color: #fff !important;
- }
- }
- .zxm-tabs-ink-bar {
- width: 0 !important;
- }
- .zxm-tabs-tab + .zxm-tabs-tab {
- margin: 0 !important;
- }
- }
- .dustMonitor {
- width: 100%;
- height: 100%;
- padding: 10px 10px 15px 10px;
- box-sizing: border-box;
- position: relative;
- }
- :deep(.zxm-table-thead > tr > th:last-child) {
- border-right: 1px solid #91e9fe !important;
- }
- :deep(.zxm-picker-input > input) {
- color: #fff;
- }
- :deep(.zxm-select:not(.zxm-select-customize-input) .zxm-select-selector) {
- border: 1px solid var(--vent-form-item-border) !important;
- background-color: #ffffff00 !important;
- }
- :deep(.zxm-select-selection-item) {
- color: #fff !important;
- }
- </style>
|