From 20ac76481e2748bec983dbf460cd44995ae08c0c Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期二, 22 十一月 2022 10:53:02 +0800
Subject: [PATCH] 1.看板字体整体增大
---
src/views/kb/cjsc.vue | 240 ++++++++++---------
src/views/kb/cjzl.vue | 112 +++-----
src/views/kb/kbCommon.css | 35 ++
src/views/kb/zhkb.vue | 74 +++--
src/utils/myEcharts.js | 207 ++++++++++++++---
5 files changed, 415 insertions(+), 253 deletions(-)
diff --git a/src/utils/myEcharts.js b/src/utils/myEcharts.js
index edc7679..7f9b95f 100644
--- a/src/utils/myEcharts.js
+++ b/src/utils/myEcharts.js
@@ -399,6 +399,7 @@
top: '10%',
containLabel: true
},
+ // animation: false, // 鍙栨秷鍔ㄧ敾
xAxis: {
show: false
},
@@ -421,7 +422,7 @@
color: function(value, index) {
return value === '0' ? 'transparent' : '#fff'
},
- fontSize: 18,
+ fontSize: 20,
// formatter: function(value, index) {
// return [
// '{lg|' + (index + 1) + '銆� }' + '{title|' + value + '} '
@@ -494,7 +495,7 @@
show: true,
position: 'right',
formatter: '{c}',
- fontSize: 14,
+ fontSize: 20,
color: '#fff'
// formatter: '{c}%',
}
@@ -933,34 +934,35 @@
borderColor: '#fff'
}
},
- xAxis: [{
- type: 'category',
- boundaryGap: true,
- axisLabel: {
- interval: 0,
- formatter: '{value}',
- fontSize: 14,
- margin: 20,
- textStyle: {
- color: colorX
- }
- },
- axisLine: {
- lineStyle: {
- color: '#032c58'
- }
- },
- splitLine: {
- show: false,
- lineStyle: {
- color: '#032c58'
- }
- },
- axisTick: {
- show: false
- },
- data: ['鍛ㄤ竴', '鍛ㄤ簩', '鍛ㄤ笁', '鍛ㄥ洓', '鍛ㄤ簲', '鍛ㄥ叚', '鍛ㄦ棩']
- }],
+ xAxis: [
+ {
+ type: 'category',
+ boundaryGap: true,
+ axisLabel: {
+ interval: 0,
+ formatter: '{value}',
+ fontSize: 18,
+ margin: 20,
+ textStyle: {
+ color: colorX
+ }
+ },
+ axisLine: {
+ lineStyle: {
+ color: '#032c58'
+ }
+ },
+ splitLine: {
+ show: false,
+ lineStyle: {
+ color: '#032c58'
+ }
+ },
+ axisTick: {
+ show: false
+ },
+ data: ['鍛ㄤ竴', '鍛ㄤ簩', '鍛ㄤ笁', '鍛ㄥ洓', '鍛ㄤ簲', '鍛ㄥ叚', '鍛ㄦ棩']
+ }],
yAxis: [
{
// max: 800,
@@ -969,7 +971,7 @@
type: 'value',
axisLabel: {
textStyle: {
- fontSize: 14,
+ fontSize: 18,
color: colorY
}
},
@@ -1015,7 +1017,8 @@
show: true,
position: 'top',
textStyle: {
- color: '#fff'
+ color: '#fff',
+ fontSize: 16
}
},
itemStyle: {
@@ -1158,7 +1161,7 @@
title: {
width: 50,
align: 'right',
- fontSize: 18
+ fontSize: 20
}
}
}
@@ -1183,7 +1186,7 @@
align: 'left',
verticalAlign: 'center',
lineHeight: 40,
- fontSize: 18,
+ fontSize: 20,
formatter: function(value, index) {
return data[index].value + ''
}
@@ -1286,13 +1289,13 @@
textStyle: {
rich: {
name: {
- fontSize: 18,
+ fontSize: 22,
fontWeight: 'normal',
color: '#fff',
padding: [10, 0]
},
val: {
- fontSize: 32,
+ fontSize: 22,
fontWeight: 'bold',
color: '#fff'
}
@@ -1374,11 +1377,11 @@
padding: [0, -50, 25, -50],
rich: {
icon: {
- fontSize: 16,
+ fontSize: 18,
color: 'red'
},
name: {
- fontSize: 16,
+ fontSize: 18,
padding: [0, 10, 0, 4],
color: '#fff'
},
@@ -1394,3 +1397,131 @@
}
return option
}
+
+// 杞﹂棿鐢熶骇 鐢熶骇淇℃伅 鐢熶骇杩涘害 杩涘害鏉�
+export function progress(param1, param2) {
+// param1 鎶ュ伐鏁伴噺
+ // param2 浠诲姟鏁伴噺
+
+ // 鎷垮埌鏁版嵁涔嬪悗闇�瑕佽绠楀嚭鐩稿闀垮害 param2鐨勭浉瀵归暱搴︿负100
+ let relativeValue = ''// 鐩稿鍊� 缁胯壊鑳屾櫙
+
+ relativeValue = (param1 / param2) * 100
+ // 鐧惧垎姣旀暟鍊肩殑浣嶇疆
+ var position = 'right'
+ // if (param1 >= 50) {
+ // position = 'inside';
+ // } else if (param1 < 50) {
+ // position = 'right';
+ // }
+
+ var option = {
+ // animation: false, // 鍙栨秷鍔ㄧ敾
+ // animationDuration: 5000,
+ grid: {
+ top: 'center',
+ left: '0%',
+ right: '0%',
+ // height: '%',
+ // containLabel: false
+ containLabel: true
+
+ },
+ xAxis: {
+ type: 'value',
+ axisLabel: {
+ show: false
+ },
+ max: 100,
+ axisTick: {
+ show: false
+ },
+ axisLine: {
+ show: false
+ },
+ splitLine: {
+ show: false
+ }
+ },
+ yAxis: [{
+ type: 'category',
+ data: [],
+ axisLabel: {
+ show: false
+ },
+ axisTick: {
+ show: false
+ },
+ axisLine: {
+ show: false
+ },
+ splitLine: {
+ show: false
+ },
+ z: 10
+ }, {
+ type: 'category',
+ axisLabel: {
+ show: false
+ },
+ axisTick: {
+ show: false
+ },
+ axisLine: {
+ show: false
+ },
+ splitLine: {
+ show: false
+ },
+ data: []
+ }],
+ series: [{
+ name: '',
+ type: 'bar',
+ barWidth: '100%',
+ // barMaxWidth: '100%',
+ label: {
+ normal: {
+ show: true,
+ // position: ['24', '38%'],
+ position: (param1.toString() + param2.toString()).length <= 6 ? ['24', '38%'] : 'insideLeft',
+ // formatter: '{c} %',
+ formatter: param1 + '/' + param2,
+ textStyle: {
+ color: '#FFFFFF',
+ fontWeight: 'bold',
+ fontFamily: 'Microsoft YaHei',
+ fontSize: 18
+ }
+ }
+ },
+ itemStyle: {
+ normal: {
+ barBorderRadius: 5,
+ shadowBlur: 10,
+ shadowColor: '#111',
+ color: '#2FD04F'
+ }
+ },
+ // data: [param1],
+ data: [relativeValue],
+ z: 10
+ }, {
+ type: 'bar',
+ barWidth: '100%',
+ yAxisIndex: 1,
+ silent: true,
+ // barMaxWidth: '100%',
+ itemStyle: {
+ normal: {
+ barBorderRadius: 5,
+ color: '#42475B'
+ }
+ },
+ // data: [param2]
+ data: [100]
+ }]
+ }
+
+ return option
+}
diff --git a/src/views/kb/cjsc.vue b/src/views/kb/cjsc.vue
index 07e9586..479475f 100644
--- a/src/views/kb/cjsc.vue
+++ b/src/views/kb/cjsc.vue
@@ -31,18 +31,18 @@
<el-table-column
prop="xsdd"
label="閿�鍞崟鍙�"
- width="141"
+ width="165"
/>
<el-table-column
prop="cpmc"
- width="133"
+ width="120"
label="浜у搧鍚嶇О"
/>
<el-table-column
prop="sl"
label="鏁伴噺"
- width="100"
+ width="80"
/>
</el-table>
</div>
@@ -65,18 +65,18 @@
<el-table-column
prop="xsdd"
label="閿�鍞崟鍙�"
- width="141"
+ width="165"
/>
<el-table-column
prop="cpmc"
- width="133"
+ width="120"
label="浜у搧鍚嶇О"
/>
<el-table-column
prop="sl"
label="鏁伴噺"
- width="100"
+ width="80"
/>
</el-table>
</div>
@@ -101,11 +101,11 @@
<el-table-column
prop="xh"
label="搴忓彿"
- width="50"
+ width="60"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.xh }}
</div>
</template>
@@ -113,35 +113,35 @@
<el-table-column
prop="jgdh"
label="鍔犲伐鍗曞彿"
- width="150"
+ width="165"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.jgdh }}
</div>
</template>
</el-table-column>
<el-table-column
prop="cxmc"
- width="130"
+ width="100"
label="浜х嚎鍚嶇О"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.cxmc }}
</div>
</template>
</el-table-column>
<el-table-column
prop="cpmc"
- width="150"
+ width="140"
label="浜у搧鍚嶇О"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.cpmc }}
</div>
</template>
@@ -153,7 +153,7 @@
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.scsl }}
</div>
</template>
@@ -161,11 +161,11 @@
<el-table-column
prop="yjks"
label="棰勮寮�濮�"
- width="150"
+ width="130"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.yjks }}
</div>
</template>
@@ -173,11 +173,11 @@
<el-table-column
prop="yjwg"
label="棰勮瀹屽伐"
- width="150"
+ width="130"
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.yjwg }}
</div>
</template>
@@ -189,21 +189,22 @@
>
<template slot-scope="{row}">
<div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
+ :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"
> {{ row.gx }}
</div>
</template>
</el-table-column>
<el-table-column
- prop="scjd"
+ prop="scjdxxx"
label="鐢熶骇杩涘害"
- width="90"
+ width="130"
>
<template slot-scope="{row}">
- <div
- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#ffff00':row.cxmc==='瑁呴厤浜岀嚎'?'#FF3333':row.cxmc==='瑁呴厤涓夌嚎'?'#FF00FF':'#00FFFF'}"
- > {{ row.scjd }}
- </div>
+ <!-- <div-->
+ <!-- :style="{color:row.cxmc==='瑁呴厤涓�绾�'?'#FFFF77':row.cxmc==='瑁呴厤浜岀嚎'?'#FF8888':row.cxmc==='瑁呴厤涓夌嚎'?'#D28EFF':'#66FFFF'}"-->
+ <!-- > {{ row.scjdxxx }}-->
+ <!-- </div>-->
+ <div :id="'progress'+row.xh" style="width: 100%;height:30px" />
</template>
</el-table-column>
</el-table>
@@ -228,18 +229,18 @@
<el-table-column
prop="xsdd"
label="閿�鍞崟鍙�"
- width="141"
+ width="165"
/>
<el-table-column
prop="cpmc"
- width="133"
+ width="120"
label="浜у搧鍚嶇О"
/>
<el-table-column
prop="sl"
label="鏁伴噺"
- width="100"
+ width="80"
/>
</el-table>
</div>
@@ -262,18 +263,18 @@
<el-table-column
prop="xsdd"
label="閿�鍞崟鍙�"
- width="141"
+ width="165"
/>
<el-table-column
prop="cpmc"
- width="133"
+ width="120"
label="浜у搧鍚嶇О"
/>
<el-table-column
prop="sl"
label="鏁伴噺"
- width="100"
+ width="80"
/>
</el-table>
</div>
@@ -287,7 +288,7 @@
<script>
import './kbCommon.css'
-import { kbTop, loadEcharts } from '@/utils/myEcharts'
+import { kbTop, line02, loadEcharts, progress } from '@/utils/myEcharts'
export default {
name: 'Cjsc',
@@ -332,7 +333,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '20',
+ scjd2: '30'
},
{
xh: 2,
@@ -343,7 +345,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 3,
@@ -354,7 +357,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '50',
+ scjd2: '100'
},
{
xh: 4,
@@ -365,7 +369,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '20',
+ scjd2: '60'
},
{
xh: 5,
@@ -376,7 +381,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '50',
+ scjd2: '60'
},
{
xh: 6,
@@ -387,7 +393,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 7,
@@ -398,7 +405,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 8,
@@ -409,7 +417,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '30',
+ scjd2: '30'
},
{
xh: 9,
@@ -420,7 +429,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 10,
@@ -431,7 +441,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '1',
+ scjd2: '2'
},
{
xh: 11,
@@ -442,7 +453,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 12,
@@ -453,7 +465,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '1000',
+ scjd2: '1000'
},
{
xh: 13,
@@ -464,7 +477,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '16',
+ scjd2: '33'
},
{
xh: 14,
@@ -475,7 +489,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '19',
+ scjd2: '81'
},
{
xh: 15,
@@ -486,7 +501,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '100',
+ scjd2: '200'
},
{
xh: 16,
@@ -497,7 +513,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '1',
+ scjd2: '2'
},
{
xh: 17,
@@ -508,7 +525,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 18,
@@ -519,7 +537,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '1',
+ scjd2: '2'
},
{
xh: 19,
@@ -530,7 +549,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 20,
@@ -541,7 +561,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 21,
@@ -552,7 +573,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 22,
@@ -563,7 +585,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '1',
+ scjd2: '2'
},
{
xh: 23,
@@ -574,7 +597,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 24,
@@ -585,7 +609,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 25,
@@ -596,7 +621,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 26,
@@ -607,7 +633,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
},
{
xh: 27,
@@ -618,7 +645,8 @@
yjks: '2022-10-01',
yjwg: '2022-10-10',
gx: '宸ュ簭涓�',
- scjd: '10/20'
+ scjd1: '10',
+ scjd2: '20'
}
]
}
@@ -640,7 +668,7 @@
// 涓棿閮ㄥ垎鐨勮〃鏍�
getCenterTableDataSetInterval() {
let startValue = 0 // 鍒濆鍊�
- const scale = 23// 鍒诲害
+ const scale = 20// 鍒诲害
this.tableDataCenterTop = this.tableDataCenterTopTemp.slice(startValue, startValue + scale)
@@ -653,29 +681,39 @@
if (nowLoop === loop) {
this.getCenterTableDataSetInterval()
}
-
nowLoop++
- }, 5000)
+ this.$nextTick(() => {
+ this.tableDataCenterTop.forEach(i => {
+ loadEcharts('progress' + i.xh, progress(i.scjd1, i.scjd2))
+ })
+ })
+ }, 1000 * 10)
+
+ this.$nextTick(() => {
+ this.tableDataCenterTop.forEach(i => {
+ loadEcharts('progress' + i.xh, progress(i.scjd1, i.scjd2))
+ })
+ })
},
// 瀹氭椂鍒锋柊琛ㄦ牸鏁版嵁
getTableDataSetInterval() {
- let startValue = 0 // 鍒濆鍊�
+ const startValue = 0 // 鍒濆鍊�
const scale = 10// 鍒诲害
this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)
-
- const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 闇�瑕佸惊鐜殑娆℃暟
- let nowLoop = 0// 褰撳墠寰幆鐨勬鏁�
-
- setInterval(() => {
- startValue = startValue + scale
- this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)
- if (nowLoop === loop) {
- this.getTableDataSetInterval()
- }
- nowLoop++
- }, 5000)
+ //
+ // const loop = Math.floor(this.tableDataLeftTopTemp.length / scale)// 闇�瑕佸惊鐜殑娆℃暟
+ // let nowLoop = 0// 褰撳墠寰幆鐨勬鏁�
+ //
+ // setInterval(() => {
+ // startValue = startValue + scale
+ // this.tableDataLeftTop = this.tableDataLeftTopTemp.slice(startValue, startValue + scale)
+ // if (nowLoop === loop) {
+ // this.getTableDataSetInterval()
+ // }
+ // nowLoop++
+ // }, 5000)
},
// 鑾峰彇topEcharts
@@ -706,7 +744,8 @@
padding: '10px 0',
textAlign: 'center',
color: '#07acc2',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
},
cellStyle() {
@@ -717,7 +756,8 @@
backgroundColor: '#000',
// backgroundColor: 'transparent',
color: '#fff',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
},
headerCellStyleCenter() {
@@ -727,16 +767,18 @@
padding: '10px 0',
textAlign: 'center',
color: '#07acc2',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
},
cellStyleCenter() {
return {
- padding: '7.5px 0',
+ padding: '7px 0',
textAlign: 'center',
backgroundColor: '#000',
color: '#fff',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
}
}
@@ -747,45 +789,17 @@
<style lang="scss" scoped>
$main_color: #09d8f2;
$color01: #00FFFF;
-.lineContent {
- height: 435px;
- border: 1px solid $main_color;
- //outline: 1px solid $main_color;
- border-radius: 5px;
- padding: 2px;
-}
-
-.lineContentCenter {
- height: 935px;
- border: 1px solid $main_color;
- //outline: 1px solid $main_color;
- border-radius: 5px;
- padding: 2px;
-}
-
-.horn {
- background: linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) right bottom,
- linear-gradient($color01, $color01) right bottom;
- background-repeat: no-repeat;
- //background-size: 5px 20px, 20px 5px;
- background-size: 2px 20px, 20px 2px;
-}
.tableData {
background: #000;
}
-//.el-table::before{
-// height: 0;
-//}
+.el-table::before{
+ height: 0;
+}
.el-table__empty-text {
color: $main_color;
}
+
</style>
diff --git a/src/views/kb/cjzl.vue b/src/views/kb/cjzl.vue
index 126bc2f..1526898 100644
--- a/src/views/kb/cjzl.vue
+++ b/src/views/kb/cjzl.vue
@@ -53,11 +53,11 @@
<el-table-column
prop="xh"
label="搴忓彿"
- width="50"
+ width="60"
/>
<el-table-column
prop="cxmc"
- width="130"
+ width="100"
label="浜х嚎鍚嶇О"
>
<template slot-scope="{row}">
@@ -67,7 +67,7 @@
<el-table-column
prop="jgdh"
label="鐢熶骇鍗曞彿"
- width="150"
+ width="165"
>
<template slot-scope="{row}">
<div style="color: #00FFFF">{{ row.jgdh }}</div>
@@ -76,13 +76,13 @@
<el-table-column
prop="cpmc"
- width="150"
+ width="120"
label="浜у搧鍚嶇О"
/>
<el-table-column
prop="blyy"
label="涓嶈壇鍘熷洜"
- width="150"
+ width="180"
>
<template slot-scope="{row}">
<div style="color:#d91010;">{{ row.blyy }}</div>
@@ -91,12 +91,12 @@
<el-table-column
prop="scsl"
label="涓嶈壇鏁伴噺"
- width="100"
+ width="110"
/>
<el-table-column
prop="bgsl"
label="鎶ュ伐鏁伴噺"
- width="100"
+ width="110"
/>
<!-- <el-table-column-->
<!-- prop="yjks"-->
@@ -155,7 +155,7 @@
headTime: '',
tableDataLeftTop: [],
tableDataLeftTopTemp: [
- { xsdd: 'MO-2022111501', cpmc: '浜у搧鍚嶇О1', sl: '100' },
+ { xsdd: 'MO-2022111501', cpmc: '鐢垫睜鍖卼est', sl: '100' },
{ xsdd: 'MO-2022111502', cpmc: '浜у搧鍚嶇О2', sl: '100' },
{ xsdd: 'MO-2022111503', cpmc: '浜у搧鍚嶇О3', sl: '100' },
{ xsdd: 'MO-2022111504', cpmc: '浜у搧鍚嶇О4', sl: '100' },
@@ -182,33 +182,33 @@
],
tableDataCenterTop: [],
tableDataCenterTopTemp: [
- { xh: 1, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 2, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 3, bgsl: 200, blyy: '灏哄銆佽壊绯�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 4, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 5, bgsl: 200, blyy: '鑹茬郴銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 6, bgsl: 200, blyy: '灏哄銆佽壊绯�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 7, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 8, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 9, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 10, bgsl: 200, blyy: '姣涘埡', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 11, bgsl: 200, blyy: '灏哄', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 12, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 13, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 14, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 15, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 16, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 17, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 18, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 19, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 20, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 21, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 22, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 23, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 24, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 25, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 26, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
- { xh: 27, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '浜х嚎鍚嶇О1', cpmc: '浜у搧鍚嶇О1', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' }
+ { xh: 1, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 2, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 3, bgsl: 200, blyy: '灏哄銆佽壊绯�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 4, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 5, bgsl: 200, blyy: '鑹茬郴銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 6, bgsl: 200, blyy: '灏哄銆佽壊绯�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 7, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 8, bgsl: 200, blyy: '灏哄銆佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 9, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 10, bgsl: 200, blyy: '姣涘埡', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 11, bgsl: 200, blyy: '灏哄', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 12, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 13, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 14, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 15, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 16, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 17, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 18, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 19, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 20, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 21, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 22, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 23, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 24, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 25, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 26, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' },
+ { xh: 27, bgsl: 200, blyy: '灏哄銆佽壊绯汇�佹瘺鍒�', jgdh: 'MO-2022-1115-01', cxmc: '瑁呴厤涓�绾�', cpmc: '鐢垫睜鍖卼est', scsl: '100', yjks: '2022-10-01', yjwg: '2022-10-10', gx: '宸ュ簭涓�', scjd: '10/20' }
]
}
},
@@ -330,7 +330,8 @@
padding: '10px 0',
textAlign: 'center',
color: '#07acc2',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
},
cellStyleCenter() {
@@ -339,7 +340,8 @@
textAlign: 'center',
backgroundColor: '#000',
color: '#fff',
- border: 'none'
+ border: 'none',
+ fontSize: '18px'
}
}
}
@@ -350,43 +352,13 @@
<style lang="scss" scoped>
$main_color:#09d8f2;
$color01: #00FFFF;
-.lineContent {
- height: 435px;
- border: 1px solid $main_color;
- //outline: 1px solid $main_color;
- border-radius: 5px;
- padding: 2px;
-
-}
-.lineContentCenter{
- height: 935px;
- border: 1px solid $main_color;
- //outline: 1px solid $main_color;
- border-radius: 5px;
- padding: 2px;
-}
-
-.horn {
- background: linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) right bottom,
- linear-gradient($color01, $color01) right bottom;
- background-repeat: no-repeat;
- //background-size: 5px 20px, 20px 5px;
- background-size: 2px 20px, 20px 2px;
-}
-
.tableData{
background: #000;
}
-//.el-table::before{
-// height: 0;
-//}
+.el-table::before{
+ height: 0;
+}
.el-table__empty-text{
color: $main_color;
diff --git a/src/views/kb/kbCommon.css b/src/views/kb/kbCommon.css
index 014ebc4..957770e 100644
--- a/src/views/kb/kbCommon.css
+++ b/src/views/kb/kbCommon.css
@@ -126,15 +126,42 @@
height: 35px;
display: flex;
color: #00ffff;
- font-size: 24px;
+ font-size: 26px;
/*align-content: flex-start;*/
}
.svg_class{
margin-right: 10px;
- font-size: 26px;
+ font-size: 28px;
}
-.el-table::before{
- height: 0;
+
+
+.lineContent {
+ height: 435px;
+ border: 1px solid #09d8f2;
+ border-radius: 5px;
+ padding: 2px;
+ box-shadow: #00FFFF 0 0 10px;
+}
+
+.lineContentCenter {
+ height: 935px;
+ border: 1px solid #09d8f2;
+ border-radius: 5px;
+ padding: 2px;
+ box-shadow: #00FFFF 0 0 10px;
+}
+
+.horn {
+ background: linear-gradient(#00FFFF, #00FFFF) left top,
+ linear-gradient(#00FFFF, #00FFFF) left top,
+ linear-gradient(#00FFFF, #00FFFF) right top,
+ linear-gradient(#00FFFF, #00FFFF) right top,
+ linear-gradient(#00FFFF, #00FFFF) left bottom,
+ linear-gradient(#00FFFF, #00FFFF) left bottom,
+ linear-gradient(#00FFFF, #00FFFF) right bottom,
+ linear-gradient(#00FFFF, #00FFFF) right bottom;
+ background-repeat: no-repeat;
+ background-size: 2px 20px, 20px 2px;
}
diff --git a/src/views/kb/zhkb.vue b/src/views/kb/zhkb.vue
index 75a6351..96468c8 100644
--- a/src/views/kb/zhkb.vue
+++ b/src/views/kb/zhkb.vue
@@ -110,7 +110,7 @@
<el-table-column
prop="xh"
label="搴忓彿"
- width="50"
+ width="60"
/>
<el-table-column
@@ -121,12 +121,44 @@
<el-table-column
prop="pfsj"
label="娲惧彂鏃堕棿"
- width="160"
+ width="140"
/>
<el-table-column
prop=""
label="閿�鍞鍗曞彿"
width="160"
+ /> <el-table-column
+ prop=""
+ label="鍔犲伐鍗曞彿"
+ width="160"
+ /> <el-table-column
+ prop=""
+ label="浜у搧鍚嶇О"
+ width="100"
+ /> <el-table-column
+ prop=""
+ label="浠诲姟鏁伴噺"
+ width="100"
+ /> <el-table-column
+ prop=""
+ label="瀹屽伐鏁伴噺"
+ width="100"
+ /> <el-table-column
+ prop=""
+ label="涓嶈壇鏁伴噺"
+ width="100"
+ /> <el-table-column
+ prop=""
+ label="瀹屾垚鐜�"
+ width="80"
+ /> <el-table-column
+ prop=""
+ label="棰勮寮�濮�"
+ width="140"
+ /> <el-table-column
+ prop=""
+ label="棰勮缁撴潫"
+ width="140"
/>
</el-table>
</div>
@@ -153,16 +185,16 @@
<el-table-column
prop="xh"
label="搴忓彿"
- width="50"
+ width="60"
/>
<el-table-column
prop="cx"
- width="144"
+ width="165"
label="浜х嚎"
/>
<el-table-column
prop="cp"
- width="160"
+ width="120"
label="浜у搧"
/>
<el-table-column
@@ -348,8 +380,8 @@
padding: '10px 0',
textAlign: 'center',
color: '#07acc2',
- border: 'none'
- // fontSize: '16px'
+ border: 'none',
+ fontSize: '18px'
}
},
cellStyle() {
@@ -358,8 +390,8 @@
textAlign: 'center',
backgroundColor: '#000',
color: '#fff',
- border: 'none'
- // fontSize: '16px'
+ border: 'none',
+ fontSize: '18px'
}
}
}
@@ -370,28 +402,13 @@
<style lang="scss" scoped>
$main_color: #09d8f2;
$color01: #00FFFF;
-.lineContent {
- height: 435px;
- border: 1px solid $main_color;
- border-radius: 5px;
- padding: 2px;
-}
-
-.horn {
- background: linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) left top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) right top,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) left bottom,
- linear-gradient($color01, $color01) right bottom,
- linear-gradient($color01, $color01) right bottom;
- background-repeat: no-repeat;
- background-size: 2px 20px, 20px 2px;
-}
.tableData {
background: #000;
+}
+
+.el-table::before{
+ height: 0;
}
.el-table__empty-text {
@@ -496,4 +513,5 @@
background-color: rgb(255 255 0);
border-radius: 50%;
}
+
</style>
--
Gitblit v1.9.3