123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810 |
- <template>
- <div class="home">
- <div class="second">
- <div class="topPanel">
- <!-- 原始数据 -->
- <div class="tPanel">
- <el-table size="mini" :data="originalList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="handleFile(scope.row.resultDataId, scope.row.processType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 去噪 -->
- <div class="tPanel">
- <el-table size="mini" :data="denoisingList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="handleFile(scope.row.resultDataId, scope.row.processType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 特征提取 -->
- <div class="tPanel">
- <el-table size="mini" :data="featureExtractionList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="handleFile(scope.row.resultDataId, scope.row.processType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 故障预测 -->
- <div class="tPanel">
- <el-table size="mini" :data="faultPredictionList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="imgShow(scope.row.dataPath, scope.row.dataType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- </div>
- <div class="step">
- <div class="yuan">
- <div class="img yuanBg odd">
- <div class="tag">原始数据</div>
- </div>
- </div>
- <div class="one">
- <div class="img oneBg even" @click="handleProcess(2)">
- <div class="tag">补全</div>
- </div>
- </div>
- <div class="two">
- <div class="img twoBg odd" @click="handleProcess(1)">
- <div class="tag">去噪</div>
- </div>
- </div>
- <div class="three">
- <div class="img threeBg even" @click="handleProcess(3)">
- <div class="tag">扩充</div>
- </div>
- </div>
- <div class="four">
- <div class="img fourBg odd" @click="handleProcess(4)">
- <div class="tag">特征提取</div>
- </div>
- </div>
- <div class="five">
- <div class="img fiveBg even" @click="handleProcess(5)">
- <div class="tag">退化评估</div>
- </div>
- </div>
- <div class="six">
- <div class="img sixBg odd noAfter" style="content: none;" @click="handleProcess(6)">
- <div class="tag">故障预测</div>
- </div>
- </div>
- </div>
- <div class="bottomPanel">
- <!-- 补全 -->
- <div class="bPanel">
- <el-table size="mini" :data="completionList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="handleFile(scope.row.resultDataId, scope.row.processType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 扩充 -->
- <div class="bPanel">
- <el-table size="mini" :data="expansionList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="handleFile(scope.row.resultDataId, scope.row.processType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <!-- 退化评估 -->
- <div class="bPanel">
- <el-table size="mini" :data="assessmentList">
- <el-table-column prop="resultDataName" label="数据" align="center">
- <template slot-scope="scope">
- <el-tooltip class="item" effect="dark" :content="scope.row.resultDataName" placement="top">
- <span class="file" @click="imgShow(scope.row.dataPath, scope.row.dataType)">{{
- scope.row.resultDataName }}</span>
- </el-tooltip>
- </template>
- </el-table-column>
- <el-table-column prop="processStatus" label="状态" align="center">
- <template slot-scope="scope">
- <dict-tag :options="dict.type.biz_process_status" :value="scope.row.processStatus" />
- </template>
- </el-table-column>
- </el-table>
- </div>
- <div>
- </div>
- </div>
- </div>
- <div class="first">
- <h4 style="margin:13px 0px 0px 20px;color: #fff;">算法统计</h4>
- <div class="chart">
- <RingChart />
- <BarChart width="700px" />
- </div>
- </div>
- <el-dialog :title="title" :visible.sync="dialogVisible" width="30%" :close-on-click-modal="false">
- <el-form ref="formRef" :model="form" :rules="rules" label-width="80px">
- <el-form-item v-if="dialogType === 4" label="选择数据类型" label-width="120px">
- <el-radio-group v-removeAriaHidden v-model="type">
- <el-radio :label="1">去噪</el-radio>
- <el-radio :label="3">扩充</el-radio>
- <!-- <el-radio :label="4">特征提取</el-radio> -->
- </el-radio-group>
- </el-form-item>
- <el-form-item label="数据" prop="processType">
- <el-select v-model="form.processedDataId" placeholder="请选择执行的数据">
- <el-option v-for="(item, index) in optionalData" :key="index" :label="item.dataName"
- :value="item.id"></el-option>
- </el-select>
- </el-form-item>
- <el-form-item label="算法" prop="processType">
- <el-select v-model="form.processAlgId" placeholder="请选择执行的算法">
- <el-option v-for="(item, index) in optionalAglo" :key="index" :label="item.algName"
- :value="item.id"></el-option>
- </el-select>
- </el-form-item>
- </el-form>
- <span slot="footer" class="dialog-footer">
- <el-button @click="dialogVisible = false">取 消</el-button>
- <el-button type="primary" @click="submitHandle()">确 定</el-button>
- </span>
- </el-dialog>
- <el-dialog title="数据展示" :visible.sync="fileShowVisible" width="80%" :close-on-click-modal="false">
- <el-button v-if="fileType !== '4' && fileType !== '5'" style="margin-left:50px;" type="text"
- @click="changeShow">{{
- isTableShow ?
- '表格展示'
- :
- '曲线展示'
- }}</el-button>
- <div v-if="isTableShow && fileType !== '5'">
- <vxe-table border="none" size="mini" show-overflow highlight-hover-row height="400"
- :row-config="{ isHover: true, isCurrent: true }" :sort-config="{ trigger: 'cell' }" :data="completionData">
- <vxe-table-column v-for="(item, index) in completionHeadData" :key="index" align="center"
- :field="'val' + index" :title="item"></vxe-table-column>
- </vxe-table>
- </div>
- <div v-if="!isTableShow && fileType !== '5'" ref="completionChartRef" style="width: 100%; height: 400px;"></div>
- <ImagePreview v-if="fileType === '5'" :src="imgPreviewUrl"></ImagePreview>
- </el-dialog>
- </div>
- </template>
- <script>
- import CountTo from 'vue-count-to'
- import RingChart from '@/views/homePage/ringChart'
- import BarChart from '@/views/dashboard/BarChart'
- import { getAlgConfigByType } from "@/api/system/algConfig";
- import { getDataProcessByType, addProcess } from "@/api/system/process";
- import { getDataByType, getData } from "@/api/system/data";
- import * as echarts from 'echarts';
- export default {
- name: 'Index',
- dicts: ['biz_process_status'],
- components: {
- CountTo,
- RingChart,
- BarChart,
- },
- data() {
- return {
- loading: true,
- rules: {},
- title: '选择数据',
- baseUrl: process.env.VUE_APP_BASE_API,
- dialogVisible: false,
- fileShowVisible: false,
- originalList: [],
- denoisingList: [],
- completionList: [],
- expansionList: [],
- featureExtractionList: [],
- assessmentList: [],
- faultPredictionList: [],
- optionalData: [],
- optionalAglo: [],
- form: {
- processedDataId: null,
- processAlgId: null
- },
- // 对话框展示数据内容
- completionData: [],
- completionHeadData: [],
- isTableShow: false,
- resultFileId: null,
- // filePath: null,
- fileType: null,
- chart: null,
- imgPreviewUrl: null,
- type: 1,
- dialogType: null
- }
- },
- created() {
- this.getTableData();
- },
- beforeDestroy() {
- if (this.chart != null && this.chart != "" && this.chart != undefined) {
- this.chart.dispose();
- this.chart = null
- }
- },
- watch: {
- fileShowVisible(value) {
- if (!value) {
- this.isTableShow = false
- }
- },
- type(value) {
- getDataByType(value).then(res => {
- this.optionalData = res.data;
- });
- getAlgConfigByType(value).then(res => {
- this.optionalAglo = res.data;
- });
- }
- },
- methods: {
- getTableData() {
- getDataProcessByType(0).then(res => {
- this.originalList = res.data
- })
- getDataProcessByType(1).then(res => {
- this.denoisingList = res.data
- })
- getDataProcessByType(2).then(res => {
- this.completionList = res.data
- })
- getDataProcessByType(3).then(res => {
- this.expansionList = res.data
- })
- getDataProcessByType(4).then(res => {
- this.featureExtractionList = res.data
- })
- getDataProcessByType(5).then(res => {
- this.assessmentList = res.data
- })
- getDataProcessByType(6).then(res => {
- this.faultPredictionList = res.data
- })
- },
- goTarget(href) {
- window.open(href, '_blank')
- },
- handleSetLineChartData(type) {
- this.$emit('handleSetLineChartData', type)
- },
- handleProcess(type) {
- this.dialogVisible = true;
- this.dialogType = type
- const relation = [[2, 0], [1, 2], [3, 1], [4, 1], [4, 3], [5, 4], [6, 4]]
- const match = relation.find(item => item[0] === type)[1];
- getDataByType(match).then(res => {
- this.optionalData = res.data;
- });
- getAlgConfigByType(match).then(res => {
- this.optionalAglo = res.data;
- });
- },
- submitHandle() {
- addProcess(this.form).then(response => {
- this.$modal.msgSuccess("开始执行");
- this.dialogVisible = false;
- this.getTableData()
- this.form = {
- processedDataId: null,
- processAlgId: null
- }
- this.optionalData = [];
- this.optionalAglo = [];
- });
- },
- handleFile(resultDataId, processType) {
- this.loading = true
- this.resultFileId = resultDataId
- this.fileType = processType
- getData(resultDataId).then(res => {
- const url = `${process.env.VUE_APP_BASE_API}${res.data.dataPath}`;
- this.fetchLogFile(url)
- .then((text) => {
- if (this.chart != null && this.chart != "" && this.chart != undefined) {
- this.chart.dispose();
- this.chart = null
- }
- switch (res.data.dataType) {
- case '0':
- const originalData = this.handleFileData(text)
- const originalContent = originalData.contentData
- const originalHead = originalData.headData
- this.fileShowVisible = true
- this.loading = false
- this.$nextTick(() => {
- this.handleChartOption(originalContent, originalHead, true)
- })
- break;
- case '1':
- const returnData = this.handleFileData(text)
- const contentData = returnData.contentData
- const headData = returnData.headData
- this.fileShowVisible = true
- this.loading = false
- this.$nextTick(() => {
- this.handleChartOption(contentData, headData, false)
- })
- break;
- case '2':
- const completionData = this.handleFileData(text)
- const completionContent = completionData.contentData
- const completionlHead = completionData.headData
- this.fileShowVisible = true
- this.$nextTick(() => {
- this.handleChartOption(completionContent, completionlHead, false)
- })
- break;
- case '3':
- const ExtractionData = this.handleFileData(text)
- const ExtractionContent = ExtractionData.contentData
- const ExtractionHead = ExtractionData.headData
- this.fileShowVisible = true
- this.$nextTick(() => {
- this.handleChartOption(ExtractionContent, ExtractionHead, false)
- })
- break;
- case '4':
- const assessmentData = this.handleFileData(text)
- const assessmentcontent = assessmentData.contentData
- const assessmenthead = assessmentData.headData
- this.fileShowVisible = true
- this.$nextTick(() => {
- this.handleChartOption(assessmentcontent, assessmenthead, false)
- })
- break;
- case '5':
- break;
- case '6':
- break;
- default:
- break;
- }
- })
- .catch((error) => {
- console.error("Failed to fetch the log file:", error);
- this.$modal.msgSuccess("文件读取错误");
- });
- });
- },
- // 读取文件内容
- async fetchLogFile(url) {
- try {
- const response = await fetch(url, { method: "GET" });
- if (!response.ok) {
- throw new Error(`HTTP error! status: ${response.status}`);
- }
- return await response.text();
- } catch (error) {
- throw error;
- }
- },
- // 对数据的处理(不包含时间)
- handleFileData(fileData) {
- // 每行数据转换成数组、过滤出存在的空白行、将没行数据按照,号分割
- const data = fileData.split("\r\n").filter(line => line.trim() !== '').map(row => row.split(','));
- const headData = data[0];
- const contentData = Array.from({ length: headData.length }, () => []);
- for (let i = 1; i < data.length; i++) { // 从 1 开始,跳过表头
- data[i].forEach((value, index) => {
- contentData[index].push(Number(value));
- });
- }
- return { contentData, headData }
- },
- // 对数据的处理(包含时间)
- handleDataIncludeTime(fileData) {
- data = fileData.split("\r\n").filter(line => line.trim() !== '').map(row => row.split(','));
- data[0].shift();
- const completionHead = data[0];
- const completionContent = Array.from({ length: completionHead.length }, () => []);
- const timeData = []
- for (let i = 1; i < data.length; i++) {
- data[i].forEach((value, index) => {
- if (index === 0) {
- timeData.push(value)
- } else {
- completionContent[index - 1].push(Number(value));
- }
- });
- }
- return { contentData: completionContent, headData: completionHead, timeData }
- },
- // 图表设置
- handleChartOption(content, head, ismarkPoint) {
- const color = ['#5470c6', '#91cc75', '#fac858', '#ee6666', '#73c0de', '#3ba272', '#fc8452', '#9a60b4', '#ea7ccc']
- this.chart = echarts.init(this.$refs.completionChartRef);
- // series数据
- let series
- if (ismarkPoint) {
- series = content.map((lineData, index) => ({
- name: `${head[index]}`,
- type: 'line',
- data: lineData,
- stack: 'Total',
- connectNulls: true, // 连接相邻的非空数据点
- markPoint: {
- data: lineData.map((value, idx) => ({
- value: value === 0 ? '缺失' : null,
- xAxis: idx,
- // yAxis: lineData[idx-1],
- yAxis: value,
- itemStyle: { color: color[index] } // 高亮显示缺失值
- })).filter(point => point.value)
- }
- }));
- } else {
- series = content.map((lineData, index) => ({
- name: `${head[index]}`,
- type: 'line',
- data: lineData,
- stack: 'Total',
- connectNulls: true,
- }));
- }
- const option = {
- tooltip: {
- trigger: 'axis'
- },
- legend: {
- data: head,
- textStyle: {//图例文字的样式
- color: '#fff'
- }
- },
- color: color,
- xAxis: {
- type: 'category',
- data: content[0].map((_, index) => index),
- name: 'Index'
- },
- yAxis: {
- type: 'value',
- name: 'Value'
- },
- dataZoom: [
- {
- type: 'slider',
- start: 0,
- end: 100
- },
- {
- type: 'inside',
- start: 0,
- end: 100
- }
- ],
- series: series
- };
- this.chart.setOption(option);
- },
- // 切换表格/曲线展示
- changeShow() {
- this.isTableShow = !this.isTableShow
- if (!this.isTableShow) {
- this.handleFile(this.resultFileId)
- } else {
- this.tableShow(this.resultFileId)
- }
- },
- tableShow(id) {
- // const url = `${process.env.VUE_APP_BASE_API}${path}`;
- getData(id).then(res => {
- const url = `${process.env.VUE_APP_BASE_API}${res.data.dataPath}`;
- this.fetchLogFile(url)
- .then((text) => {
- const data = text.split("\r\n").filter(line => line.trim() !== '').map(row => row.split(','));
- this.completionHeadData = data.shift();
- this.completionData = data.map(row => {
- const rowData = {};
- for (let i = 0; i < this.completionHeadData.length; i++) {
- rowData[`val${i}`] = (row[i]) === 0 ? null : (row[i]);
- }
- return rowData;
- })
- })
- })
- },
- imgShow(url, dataType) {
- this.fileType = dataType
- this.imgPreviewUrl = url
- this.fileShowVisible = true
- }
- }
- }
- </script>
- <style scoped lang="scss">
- .home {
- width: 100%;
- min-height: calc(100vh - 84px);
- overflow: hidden;
- }
- .first {
- width: 97%;
- height: 210px;
- margin: 20px;
- // background-color: white;
- border-radius: 15px;
- overflow: hidden;
- }
- .chart {
- display: flex;
- justify-content: space-around;
- margin-left: 30px;
- }
- .second {
- width: 97%;
- height: 440px;
- margin: 50px 20px;
- // overflow: hidden;
- display: flex;
- flex-direction: column;
- .step {
- width: 100%;
- height: 120px;
- display: flex;
- justify-content: space-around;
- .yuan,
- .one,
- .two,
- .three,
- .four,
- .five,
- .six,
- .final {
- width: 12%;
- height: 100%;
- text-align: center;
- }
- .item {
- margin-top: 10px;
- margin-right: 40px;
- }
- .img {
- width: 40%;
- height: 95%;
- margin: 0 auto;
- position: relative;
- }
- .img::after {
- content: "";
- position: absolute;
- top: 50%;
- transform: translateX(26%);
- width: 200%;
- height: 1px;
- // background-color: #546882;
- background-color: #00aaff;
- box-shadow: 0 5px 15px rgba(0, 170, 255, 0.5);
- }
- .noAfter::after {
- content: none;
- }
- .odd::before {
- content: "";
- position: absolute;
- transform: translateY(-50%);
- width: 1px;
- height: 50%;
- // background-color: #546882;
- background-color: #00aaff;
- box-shadow: 0 5px 15px rgba(0, 170, 255, 0.5);
- }
- .even::before {
- content: "";
- position: absolute;
- bottom: 0;
- transform: translateY(50%);
- width: 1px;
- height: 50%;
- // background-color: #546882;00aaff
- background-color: #00aaff;
- box-shadow: 0 5px 15px rgba(0, 170, 255, 0.5);
- }
- .yuanBg {
- background: url("../assets/images/yuan.png") no-repeat center / contain;
- }
- .oneBg {
- background: url("../assets/images/one.png") no-repeat center / contain;
- }
- .twoBg {
- background: url("../assets/images/two.png") no-repeat center / contain;
- }
- .threeBg {
- background: url("../assets/images/three.png") no-repeat center / contain;
- }
- .fourBg {
- background: url("../assets/images/four.png") no-repeat center / contain;
- }
- .fiveBg {
- background: url("../assets/images/five.png") no-repeat center / contain;
- }
- .sixBg {
- background: url("../assets/images/six.png") no-repeat center / contain;
- }
- .tag {
- color: #fff;
- background: linear-gradient(to right, rgba(8, 200, 236, 0), rgba(8, 200, 236, 0.8), rgba(8, 200, 236, 0.8), rgba(8, 200, 236, 0));
- position: absolute;
- top: -15px;
- left: 100%;
- }
- }
- .topPanel {
- width: 100%;
- height: 37%;
- display: flex;
- justify-content: space-between;
- margin-bottom: 1.5%;
- }
- .bottomPanel {
- width: 100%;
- height: 37%;
- display: flex;
- justify-content: space-around;
- margin-left: 6%;
- margin-top: 1%;
- }
- .tPanel,
- .bPanel {
- // position: relative;
- width: 18%;
- height: 95%;
- overflow: auto;
- border: 2px solid transparent;
- background-clip: padding-box;
- box-shadow: 0 0 10px rgba(63, 155, 255, 0.5);
- border-radius: 5%;
- }
- }
- .file {
- cursor: pointer;
- white-space: nowrap;
- /* 禁止文本换行 */
- overflow: hidden;
- /* 隐藏超出范围的内容 */
- text-overflow: ellipsis;
- }
- .file:hover {
- color: #00aaff;
- }
- .square {
- width: 90px;
- height: 50px;
- line-height: 50px;
- text-align: center;
- border-radius: 12px;
- font-size: 14px;
- border: 2px solid grey;
- }
- .diamond {
- height: 100px;
- width: 100px;
- transform: rotateZ(45deg) skew(-20deg, -20deg);
- position: relative;
- border: 2px solid grey;
- .diamond-p {
- position: absolute;
- width: 140px;
- top: 14%;
- left: -17%;
- transform: skew(20deg, 20deg) rotateZ(-45deg);
- }
- }
- ::-webkit-scrollbar {
- display: none;
- }
- ::v-deep .el-table__empty-block {
- background-color: #0b333f !important;
- border: #0b333f;
- }
- ::v-deep .vxe-body--row {
- background-color: #0b333f;
- color: white;
- }
- ::v-deep .vxe-table--body :hover {
- background-color: #0b333f;
- }
- ::v-deep .vxe-header--row {
- background-color: #1e262f;
- color: white;
- }
- </style>
|