| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141 |
- <template>
- <div class="backbone" :class="{ 'backbone--flat': panel !== 'all' }">
- <div
- v-if="showTaskBlock"
- class="BOXYI"
- v-hasPermi="['home:performance:performanceData']"
- >
- <h3>任务统计</h3>
- <div class="BOXsan cockpit-task-kpi">
- <div class="YC02" @click="getwgl">
- <strong> {{ onrelevance ? onrelevance : 0 }}</strong>
- <span>待分析</span>
- </div>
- <div class="YC02" @click="getwfx">
- <strong class="textred"> {{ abnormal ? abnormal : 0 }}</strong>
- <span>异常中断</span>
- </div>
- <div class="YC03" @click="getpd">
- <strong class="texyellow">
- {{ queueNumber ? queueNumber : 0 }}</strong
- >
- <span>排队中</span>
- </div>
- </div>
- <el-dialog title="待分析任务统计表" :visible.sync="glShow" width="45%">
- <!-- 外部容器设置最大高度和滚动条 -->
- <div style="max-height: 400px; overflow-y: auto">
- <el-table :data="glData" style="width: 100%">
- <el-table-column
- prop="fieldName"
- label="风场名称"
- width="180"
- ></el-table-column>
- <el-table-column
- prop="analysisName"
- label="分析名称"
- ></el-table-column>
- <el-table-column
- prop="createTime"
- label="创建时间"
- width="180"
- ></el-table-column>
- <el-table-column fixed="right" label="操作" width="100">
- <template slot-scope="scope">
- <el-button
- @click="handleClick(scope.row)"
- type="text"
- size="small"
- >编辑</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-dialog>
- <el-dialog title="异常任务统计表" :visible.sync="YCShow" width="45%">
- <div style="max-height: 400px; overflow-y: auto">
- <el-table :data="FXData" style="width: 100%">
- <el-table-column prop="fieldName" label="风场名称" width="180">
- </el-table-column>
- <el-table-column prop="analysisName" label="分析名称">
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="180">
- </el-table-column>
- <el-table-column fixed="right" label="操作" width="100">
- <template slot-scope="scope">
- <el-button
- @click="YChandleClick(scope.row)"
- type="text"
- size="small"
- >编辑</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-dialog>
- <el-dialog title="排队任务统计表" :visible.sync="PdShow" width="45%">
- <div style="max-height: 400px; overflow-y: auto">
- <el-table :data="PdData" style="width: 100%">
- <el-table-column prop="fieldName" label="风场名称" width="180">
- </el-table-column>
- <el-table-column prop="analysisName" label="分析名称">
- </el-table-column>
- <el-table-column prop="createTime" label="创建时间" width="180">
- </el-table-column>
- <el-table-column fixed="right" label="操作" width="100">
- <template slot-scope="scope">
- <el-button @click="PDClick(scope.row)" type="text" size="small"
- >编辑</el-button
- >
- </template>
- </el-table-column>
- </el-table>
- </div>
- </el-dialog>
- </div>
- <template v-if="showInboundBlock">
- <div v-if="panel === 'inbound'" class="cockpit-inbound-panel">
- <CockpitTechTabs
- v-model="inboundTab"
- :tabs="inboundTabs"
- variant="panel"
- >
- <template #extra>
- <i
- class="el-icon-arrow-right cockpit-tech-tabs__chevron"
- title="更多"
- @click="onInboundChevronClick"
- />
- </template>
- </CockpitTechTabs>
- <div class="cockpit-inbound-body">
- <div v-show="inboundTab === 'import'" class="cockpit-inbound-pane">
- <div class="cockpit-inbound-pane-header">
- <div
- class="cockpit-inbound-subtitle"
- v-hasPermi="['home:offlinedata']"
- >
- 入库数据
- </div>
- <span class="cockpit-inbound-col-data">
- <span class="cockpit-inbound-more-link" @click="more"
- >更多</span
- >
- </span>
- </div>
- <div
- class="cockpit-inbound-table-wrap cockpit-table-block cockpit-unified-table cockpit-unified-table--inbound-import BOX BOX--flat"
- v-hasPermi="['home:offlinedata']"
- >
- <p
- class="titleYC cockpit-unified-table-head cockpit-unified-table-head--inbound-import"
- >
- <span class="cockpit-inbound-col-name">风场名称</span>
- <span class="cockpit-inbound-col-extra"> 入库时间 </span>
- </p>
- <tabroll
- :table-data="tableData"
- :shujuloading="shujuloading"
- :columns="inboundImportColumns"
- :column-widths="inboundImportColumnWidths"
- :max-height="140"
- />
- </div>
- </div>
- <div v-show="inboundTab === 'access'" class="cockpit-inbound-pane">
- <div
- class="cockpit-inbound-subtitle"
- v-hasPermi="['home:onlinData']"
- >
- 接入数据
- </div>
- <div
- class="cockpit-inbound-table-wrap cockpit-table-block cockpit-unified-table cockpit-unified-table--inbound-two BOX BOX--flat"
- v-hasPermi="['home:onlinData']"
- >
- <p
- class="titleYC cockpit-unified-table-head cockpit-unified-table-head--inbound-two"
- >
- <span class="cockpit-inbound-col-name">风场名称</span>
- <span class="cockpit-inbound-col-extra">采集状态</span>
- </p>
- <tabroll
- :table-data="hometopdata"
- :hometoploading="hometoploading"
- :columns="hometopColumns"
- :column-widths="hometopcolumnWidths"
- :max-height="cockpitTableBodyHeight"
- />
- </div>
- </div>
- </div>
- </div>
- <template v-else>
- <!-- 入库信息 -->
- <!-- 离线 -->
- <div class="BOX" v-hasPermi="['home:offlinedata']">
- <h3 class="centeredh3">
- 入库数据
- <span>
- <span style="cursor: pointer" @click="importdata">导入数据</span>
- <span style="cursor: pointer" @click="more">更多</span>
- </span>
- </h3>
- <div>
- <p class="titleYC"><span>风场名称</span><span>入库时间</span></p>
- <tabroll
- :table-data="tableData"
- :shujuloading="shujuloading"
- :columns="YCtableColumns"
- :column-widths="YCcolumnWidths"
- :max-height="140"
- ></tabroll>
- </div>
- </div>
- <!-- 在线 -->
- <div class="BOX" v-hasPermi="['home:onlinData']">
- <h3 class="centeredh3">
- 接入数据
- <span>
- <span style="cursor: pointer" @click="onlinedata">更多</span>
- </span>
- </h3>
- <div>
- <p class="titleYC"><span>风场名称</span><span>采集状态</span></p>
- <tabroll
- :table-data="hometopdata"
- :hometoploading="hometoploading"
- :columns="hometopColumns"
- :column-widths="hometopcolumnWidths"
- :max-height="140"
- ></tabroll>
- </div>
- </div>
- </template>
- </template>
- <el-dialog
- title="实时数据采集统计"
- :visible.sync="lineShow"
- width="1340px"
- :before-close="handleClose"
- >
- <el-container>
- <el-aside width="300px">
- <h1>当日实时数据</h1>
- <el-input
- placeholder="请输入内容"
- size="small"
- v-model="searchvalue"
- prefix-icon="el-icon-search"
- ></el-input>
- <div class="windbox">
- <el-empty
- v-if="filteredWindList.length === 0"
- :image-size="200"
- ></el-empty>
- <div
- class="windlist"
- v-for="(item, index) in filteredWindList"
- :key="index"
- >
- <h3>{{ item.windFarmName }}</h3>
- <p>数据类型: {{ item.typeName }}</p>
- <p>采集条数: {{ item.count }} 条</p>
- <p>采集时间: {{ item.latestDataTime }}</p>
- </div>
- </div>
- </el-aside>
- <el-main>
- <div class="inquire">
- <p>
- 风场名称:
- <el-select v-model="windvalue" placeholder="请选择" size="small">
- <el-option
- v-for="item in windoptions"
- :key="item.fieldCode"
- :label="item.fieldName"
- :value="item.fieldCode"
- >
- </el-option>
- </el-select>
- </p>
- <p>
- 类型:
- <el-select v-model="typevalue" placeholder="请选择" size="small">
- <el-option
- v-for="item in typeoptions"
- :key="item.paramKey"
- :label="item.paramValue"
- :value="item.paramKey"
- >
- </el-option>
- </el-select>
- </p>
- <p>
- 选择日期:
- <el-date-picker
- size="small"
- v-model="timeval"
- type="daterange"
- range-separator="至"
- start-placeholder="开始日期"
- end-placeholder="结束日期"
- @change="onDateChange"
- >
- </el-date-picker>
- </p>
- <div>
- <el-button size="small" @click="conditions">查询</el-button>
- <el-button size="small" @click="reset">重置</el-button>
- </div>
- </div>
- <el-table
- :data="ListtableData"
- style="width: 100%"
- class="custom-table"
- height="550"
- >
- <el-table-column prop="windFarmName" label="风场名称">
- </el-table-column>
- <el-table-column prop="typeName" label="类型" align="center">
- </el-table-column>
- <el-table-column
- prop="totalDays"
- label="采集总天数"
- align="center"
- width="150"
- >
- </el-table-column>
- <el-table-column
- prop="totalDataCount"
- label="采集总条数"
- align="center"
- width="180"
- >
- </el-table-column>
- <el-table-column
- prop="latestDataTime"
- label="最近采集时间"
- align="center"
- >
- </el-table-column>
- <el-table-column prop="canAnalysis" label="采集状态" align="center">
- <template #default="{ row }">
- {{ row.canAnalysis === 0 ? "不可分析" : "可分析" }}
- </template>
- </el-table-column>
- </el-table>
- </el-main>
- </el-container>
- </el-dialog>
- <el-dialog title="入库信息" width="70%" :visible.sync="dialogTableVisible">
- <el-button size="small" @click="importdata">导入数据</el-button>
- <el-table :data="gridData" style="max-height: 400px; overflow: auto">
- <el-table-column
- property="windFarmName"
- label="风场名称"
- show-overflow-tooltip
- width="150px"
- ></el-table-column>
- <el-table-column
- property="minuteTimeAreaList"
- label="SCADA分钟级"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- property="secondTimeAreaList"
- label="SCADA秒级"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- property="faultTimeAreaList"
- label="故障数据"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- property="warnTimeAreaList"
- label="报警数据"
- show-overflow-tooltip
- ></el-table-column>
- <el-table-column
- property="vibrationTimeAreaList"
- label="振动数据"
- show-overflow-tooltip
- ></el-table-column>
- </el-table>
- </el-dialog>
- </div>
- </template>
- <script>
- import {
- queryWaitTask,
- getAnalysisResultStateList,
- getAnalysisResultErrStateList,
- analysisResultList,
- getWindFieldNames,
- } from "@/api/ledger.js";
- import axios from "axios";
- import Tabroll from "./tabroll.vue";
- import CockpitTechTabs from "./CockpitTechTabs.vue";
- import { COCKPIT_TABLE_BODY_HEIGHT } from "./cockpitTableMetrics";
- export default {
- props: {
- /** task | inbound | all */
- panel: { type: String, default: "all" },
- },
- components: {
- Tabroll,
- CockpitTechTabs,
- },
- computed: {
- showTaskBlock() {
- return this.panel === "all" || this.panel === "task";
- },
- showInboundBlock() {
- return this.panel === "all" || this.panel === "inbound";
- },
- shouldPollInbound() {
- return this.panel === "inbound" || this.panel === "all";
- },
- filteredWindList() {
- return this.searchvalue
- ? this.windList.filter((item) =>
- item.windFarmName.includes(this.searchvalue),
- )
- : this.windList;
- },
- inboundImportColumns() {
- return [
- { prop: "windFarmName", label: "风场名称" },
- { prop: "createTime", label: "导入数据" },
- ];
- },
- inboundImportColumnWidths() {
- return {
- windFarmName: "42%",
- createTime: "auto",
- };
- },
- inboundTabs() {
- return [
- { label: "入库", value: "import" },
- { label: "接入", value: "access" },
- ];
- },
- },
- data() {
- return {
- cockpitTableBodyHeight: COCKPIT_TABLE_BODY_HEIGHT,
- inboundTab: "import",
- onrelevance: "",
- abnormal: "",
- queueNumber: "",
- glShow: false,
- YCShow: false,
- PdShow: false,
- lineShow: false,
- dialogTableVisible: false,
- glData: [],
- FXData: [],
- PdData: [],
- tableData: [],
- hometopdata: [],
- maxHeight: "200",
- gridData: [],
- shujuloading: false,
- hometoploading: false,
- searchvalue: "",
- timeval: [],
- windvalue: "",
- typevalue: "",
- windoptions: [],
- typeoptions: [
- {
- id: 1,
- type: "trans_type",
- typeName: "转化类型",
- paramKey: "second",
- paramValue: "SCADA秒级",
- status: 1,
- },
- {
- id: 2,
- type: "trans_type",
- typeName: "转化类型",
- paramKey: "minute",
- paramValue: "SCADA分钟级",
- status: 1,
- },
- {
- id: 3,
- type: "trans_type",
- typeName: "转化类型",
- paramKey: "fault",
- paramValue: "SCADA故障",
- status: 1,
- },
- {
- id: 4,
- type: "trans_type",
- typeName: "转化类型",
- paramKey: "warn",
- paramValue: "SCADA报警",
- status: 1,
- },
- // {
- // id: 5,
- // type: "trans_type",
- // typeName: "转化类型",
- // paramKey: "wave",
- // paramValue: "振动",
- // status: 1,
- // },
- ],
- windList: [],
- YCtableColumns: [{ prop: "windFarmName" }, { prop: "createTime" }],
- YCcolumnWidths: {
- windFarmName: 130,
- createTime: 150,
- },
- hometopColumns: [
- { prop: "windFarmName", label: "风场名称" },
- {
- prop: "canAnalysis",
- label: "分析状态",
- },
- ],
- hometopcolumnWidths: {
- windFarmName: "42%",
- canAnalysis: "auto",
- },
- ListtableData: [],
- startDate: "",
- endDate: "",
- pollInterval: null, // 轮询定时器
- pollTime: 5000, // 轮询间隔,单位:毫秒
- };
- },
- created() {
- if (this.showTaskBlock) {
- this.getbacklog();
- }
- if (this.showInboundBlock) {
- this.ruku();
- }
- },
- mounted() {
- if (this.shouldPollInbound) {
- this.startPolling();
- }
- },
- beforeDestroy() {
- if (this.shouldPollInbound) {
- this.stopPolling();
- }
- },
- methods: {
- getbacklog() {
- queryWaitTask().then((res) => {
- this.abnormal = res?.data?.errCount;
- this.onrelevance = res?.data?.uncorrelatedCount;
- this.queueNumber = res?.data?.queueNumber;
- });
- },
- getwgl() {
- const arr = {
- pageSize: 999,
- analysisState: "-1",
- };
- analysisResultList(arr).then((res) => {
- this.glData = res.data.list;
- this.glShow = true;
- });
- },
- getwfx() {
- const arr = {
- pageSize: 999,
- errState: 1,
- };
- analysisResultList(arr).then((res) => {
- this.FXData = res.data.list;
- this.YCShow = true;
- });
- },
- getpd() {
- const arr = {
- pageSize: 999,
- analysisState: "10",
- };
- analysisResultList(arr).then((res) => {
- this.PdData = res.data.list;
- this.PdShow = true;
- });
- },
- PDClick(row) {
- const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
- const analysisState = "10";
- // 打开新窗口
- const newWindow = window.open(
- "/home/performance/assetssMag?id=195",
- "_blank",
- );
- // 等待窗口加载完成后发送消息
- newWindow.onload = () => {
- newWindow.postMessage({ fieldName, analysisState }, "*");
- };
- },
- handleClick(row) {
- const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
- const analysisState = "-1";
- // 打开新窗口
- const newWindow = window.open(
- "/home/performance/assetssMag?id=195",
- "_blank",
- );
- // 等待窗口加载完成后发送消息
- newWindow.onload = () => {
- newWindow.postMessage({ fieldName, analysisState }, "*");
- };
- },
- YChandleClick(row) {
- const fieldName = row.fieldName; // 获取当前行的 fieldName 数据
- const errState = 1;
- const analysisState = "30";
- // 打开新窗口
- const newWindow = window.open(
- "/home/performance/assetssMag?id=195",
- "_blank",
- );
- // 等待窗口加载完成后发送消息
- newWindow.onload = () => {
- newWindow.postMessage({ fieldName, errState, analysisState }, "*");
- };
- },
- more() {
- this.dialogTableVisible = true;
- axios
- .post(`/ETLapi/dataTransfer/pltIndexMore`)
- .then((res) => {
- if (res.data.code === 200) {
- this.gridData = res.data.datas.map((item) => {
- // 合并数组中的元素,用 '/' 分隔
- if (
- item.secondTimeAreaList &&
- item.secondTimeAreaList.length > 0
- ) {
- item.secondTimeAreaList = [item.secondTimeAreaList.join(" / ")];
- }
- if (item.faultTimeAreaList && item.faultTimeAreaList.length > 0) {
- item.faultTimeAreaList = [item.faultTimeAreaList.join(" / ")];
- }
- if (
- item.minuteTimeAreaList &&
- item.minuteTimeAreaList.length > 0
- ) {
- item.minuteTimeAreaList = [item.minuteTimeAreaList.join(" / ")];
- }
- if (
- item.vibrationTimeAreaList &&
- item.vibrationTimeAreaList.length > 0
- ) {
- item.vibrationTimeAreaList = [
- item.vibrationTimeAreaList.join(" / "),
- ];
- }
- if (item.warnTimeAreaList && item.warnTimeAreaList.length > 0) {
- item.warnTimeAreaList = [item.warnTimeAreaList.join(" / ")];
- }
- return item;
- });
- }
- if (res.data.code === 500) {
- this.$message.error(res.data.message);
- }
- })
- .catch((error) => {
- console.error("Error fetching data:", error);
- });
- },
- onInboundChevronClick() {
- if (this.inboundTab === "import") {
- this.more();
- } else {
- this.onlinedata();
- }
- },
- importdata() {
- window.open(this.$router.resolve({ path: "/transition" }).href, "_blank");
- },
- ruku() {
- axios
- .post(`/ETLapi/dataTransfer/recentlyImportedSuccessful5Data`)
- .then((res) => {
- if (res.data.code === 200) {
- this.tableData = res.data.datas;
- }
- if (res.data.code === 500) {
- this.$message.error(res.data.message);
- }
- })
- .catch((error) => {
- console.error("Error fetching data:", error);
- });
- },
- // 在线数据
- onlinedata() {
- this.windsite();
- this.lineShow = true;
- // 获取在线数据
- axios.post(`/transDataWeb/windFarmDayCount/getTodayData`).then((res) => {
- this.windList = res.data.datas;
- });
- this.conditions();
- },
- // 首页top
- hometop() {
- axios
- .post("/transDataWeb/windFarmDayCount/getIndexOnlineData")
- .then((res) => {
- this.hometopdata = res.data.datas.map((item) => ({
- ...item,
- canAnalysis: item.canAnalysis === 1 ? "可分析" : "不可分析",
- }));
- this.errorCount = 0; // 请求成功时重置错误计数
- })
- .catch((err) => {
- this.errorCount++;
- if (this.errorCount < 3) {
- console.log(`请求失败(第 ${this.errorCount} 次):`, err.message);
- }
- });
- },
- startPolling() {
- this.hometop(); // 先执行一次
- this.pollInterval = setInterval(this.hometop, this.pollTime);
- },
- stopPolling() {
- if (this.pollInterval) {
- clearInterval(this.pollInterval);
- this.pollInterval = null;
- }
- },
- conditions() {
- // 获取历史数据
- axios
- .post(`/transDataWeb/windFarmDayCount/getHistoryDataSummary`, {
- beginDate: this.startDate,
- endDate: this.endDate,
- type: this.typevalue,
- windFarmCode: this.windvalue,
- })
- .then((res) => {
- this.ListtableData = res.data.datas;
- });
- },
- reset() {
- this.startDate = "";
- this.endDate = "";
- this.typevalue = "";
- this.windvalue = "";
- this.timeval = [];
- },
- async windsite() {
- try {
- const res = await getWindFieldNames();
- this.windoptions = res.data;
- } catch (error) {
- console.error("Error fetching data:", error);
- }
- },
- onDateChange(date) {
- if (Array.isArray(date)) {
- this.startDate = this.$formatDate(date[0]);
- this.endDate = this.$formatDate(date[1]);
- if (this.endDate < this.startDate) {
- this.endDate = this.startDate;
- }
- } else {
- this.startDate = null;
- this.endDate = null;
- }
- },
- handleClose() {
- this.lineShow = false;
- this.reset();
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .backbone {
- width: 100%;
- color: inherit;
- border-radius: 0;
- }
- .backbone--flat .BOXYI,
- .backbone--flat .BOX {
- background: transparent !important;
- padding-left: 0 !important;
- padding-right: 0 !important;
- margin-bottom: 0 !important;
- color: inherit !important;
- }
- .BOXYI {
- background: transparent;
- display: flex;
- flex-wrap: wrap;
- padding: 0;
- color: inherit;
- border-radius: 0;
- margin-bottom: 0;
- .BOXsan {
- width: 100%;
- display: flex;
- justify-content: space-around;
- .YC01 {
- width: 154px;
- height: 60px;
- background-image: url("../../../../assets/001.png");
- background-size: 154px 60px;
- background-repeat: no-repeat;
- background-position: center;
- margin-top: 15px;
- text-align: center;
- strong {
- display: block;
- font-size: 26px;
- color: #4bffff;
- }
- span {
- display: block;
- font-size: 12px;
- }
- }
- .YC02 {
- width: 70px;
- height: 60px;
- background-image: url("../../../../assets/002.png");
- background-size: 70px 60px;
- background-repeat: no-repeat;
- background-position: center;
- margin-top: 15px;
- text-align: center;
- cursor: pointer;
- .textred {
- color: #d9001b;
- }
- .texyellow {
- color: #facd91;
- }
- strong {
- display: block;
- font-size: 26px;
- color: #4bffff;
- }
- span {
- display: block;
- font-size: 12px;
- }
- }
- .YC03 {
- width: 70px;
- height: 60px;
- background-image: url("../../../../assets/002.png");
- background-size: 70px 60px;
- background-repeat: no-repeat;
- background-position: center;
- margin-top: 15px;
- text-align: center;
- cursor: pointer;
- .textred {
- color: #d9001b;
- }
- .texyellow {
- color: #facd91;
- }
- strong {
- display: block;
- font-size: 26px;
- color: #4bffff;
- }
- span {
- display: block;
- font-size: 12px;
- }
- }
- }
- h3 {
- margin-top: 5px;
- width: 100%;
- }
- }
- .BOX {
- background: transparent;
- display: flex;
- padding-left: 0;
- flex-wrap: wrap;
- padding-bottom: 8px;
- color: inherit;
- border-radius: 0;
- margin-bottom: 0;
- .centeredh3 {
- width: 100%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 5px;
- border-bottom: none;
- padding-bottom: 0;
- span {
- font-size: 12px;
- padding-right: 10px;
- }
- }
- }
- .Tabtab {
- font-size: 12px;
- }
- .cockpit-inbound-panel ::v-deep .el-table__body .el-table__cell {
- padding: 0 !important;
- }
- .cockpit-inbound-panel ::v-deep .el-table__body .el-table__cell .cell {
- padding-top: 0 !important;
- padding-bottom: 0 !important;
- padding-left: var(--cockpit-td-padding-x, 8px) !important;
- padding-right: var(--cockpit-td-padding-x, 8px) !important;
- }
- ::v-deep.el-table--scrollable-y .el-table__body-wrapper {
- overflow-y: clip !important;
- }
- .titleYC:not(.cockpit-unified-table-head) span:nth-child(1) {
- margin: 0 70px 0 10px;
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .titleJQ {
- font-size: 14px;
- background: #214e5d;
- padding: 5px 0;
- span:nth-child(1) {
- margin: 0 15px 0 10px;
- }
- span:nth-child(2) {
- margin: 0 45px 0 30px;
- }
- }
- #Tabtab {
- font-size: 12px;
- }
- ::v-deep.el-table .el-table__cell {
- padding: 2px 0 !important;
- }
- /* 去掉最下面的那一条线 */
- .el-table::before {
- height: 0px;
- }
- /* 滚动条样式 */
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
- background-color: #004f5f;
- }
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
- width: 0px;
- opacity: 0.5;
- }
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
- border-radius: 15px;
- // background-color: rgba(0, 79, 95, 0.75);
- }
- // 。。。。。。。。。。。。。。。。。。。。。。。。。。
- #Tabtab {
- font-size: 12px;
- }
- ::v-deep.el-table .el-table__cell {
- padding: 2px 0 !important;
- }
- /* 去掉最下面的那一条线 */
- .el-table::before {
- height: 0px;
- }
- /* 滚动条样式 */
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar-track {
- background-color: #004f5f;
- }
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar {
- width: 0px;
- opacity: 0.5;
- }
- ::v-deep .el-table__body-wrapper::-webkit-scrollbar-thumb {
- border-radius: 15px;
- // background-color: rgba(0, 79, 95, 0.75);
- }
- .el-aside {
- background-color: #e9e9e9;
- .el-input {
- width: 273px;
- margin: 10px 0 0 10px;
- }
- .windbox {
- height: 565px;
- overflow: hidden;
- overflow-y: auto;
- .windlist {
- margin: 10px;
- padding: 10px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
- p {
- line-height: 20px;
- }
- margin-bottom: 10px;
- background: #fff;
- }
- }
- /* 自定义滚动条样式 */
- ::-webkit-scrollbar {
- width: 8px;
- /* 设置滚动条的宽度 */
- }
- ::-webkit-scrollbar-thumb {
- background-color: #888;
- /* 滚动条滑块的颜色 */
- border-radius: 10px;
- /* 滚动条滑块的圆角 */
- border: 2px solid #f1f1f1;
- /* 滚动条滑块的边框 */
- }
- ::-webkit-scrollbar-thumb:hover {
- background-color: #555;
- /* 滚动条滑块的悬浮颜色 */
- }
- ::-webkit-scrollbar-track {
- background: #f1f1f1;
- /* 滚动条轨道的颜色 */
- border-radius: 10px;
- /* 滚动条轨道的圆角 */
- }
- }
- .el-main {
- padding-right: 0;
- .inquire {
- display: flex;
- p {
- margin-right: 10px;
- }
- .el-select {
- width: 180px;
- }
- .el-range-editor--small.el-input__inner {
- width: 240px;
- }
- }
- .el-table {
- margin: 20px 0;
- }
- }
- ::v-deep .custom-table .el-table__row {
- height: 40px;
- }
- .fenye {
- margin: 20px auto;
- text-align: center;
- }
- h1 {
- font-size: 24px;
- font-weight: 800;
- margin-left: 10px;
- margin-top: 10px;
- }
- ::v-deep .el-dialog {
- margin-top: 7vh !important;
- }
- </style>
|