| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159 |
- import { reactive } from 'vue';
- import echarts from '/@/utils/lib/echarts';
- import { BasicColumn } from '/@/components/Table';
- export const warningConfig = reactive({
- header: ['设备名称', '预警信息', '时间'],
- data: [
- ['火焰6', '严重报警', '03-05'],
- ['测点43', '一般预警', '03-05'],
- ['CO23', '一版预警', '03-05'],
- ['测点6', '超高预警', '03-05'],
- ['测点65', '超高预警', '03-05'],
- ['温度4', '一般预警', '03-05'],
- ['测点61', '一般预警', '03-05'],
- ['测点87', '一般信息', '03-05'],
- ],
- index: false,
- // columnWidth: [150, 80, 150, 150],
- headerBGC: '#3d9dd45d',
- oddRowBGC: '#009acd10',
- evenRowBGC: '#009acd05',
- align: ['center', 'center', 'center'],
- });
- export const zhujiangOption = reactive({
- tooltip: { trigger: 'axis', axisPointer: { lineStyle: { color: '#fff' } } },
- legend: {
- top: '10',
- icon: 'rect',
- data: ['注浆压力'],
- right: '10px',
- textStyle: { fontSize: 12, color: '#fff' },
- },
- grid: { x: 50, y: 50, x2: 12, y2: 40 },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- axisLine: { lineStyle: { color: '#57617B' } },
- axisLabel: { textStyle: { color: '#ffffffcc' } },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- data: [],
- },
- yAxis: [
- {
- type: 'value',
- name: 'm³/h',
- max: 10,
- axisTick: {
- show: false,
- },
- axisLine: { lineStyle: { show: true, color: '#57617B' } },
- axisLabel: { margin: 10, textStyle: { fontSize: 12, color: '#ffffffcc' } },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- },
- ],
- series: [
- {
- name: '注浆流量',
- type: 'line',
- smooth: true,
- lineStyle: { normal: { width: 2 } },
- yAxisIndex: 0,
- areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(185,150,248,0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(185,150,248,0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- },
- itemStyle: { normal: { color: '#B996F8' } },
- data: [],
- },
- ],
- });
- export const yaliOption = reactive({
- tooltip: { trigger: 'axis', axisPointer: { lineStyle: { color: '#fff' } } },
- legend: {
- top: '10',
- icon: 'rect',
- data: ['注浆压力'],
- right: '10px',
- textStyle: { fontSize: 12, color: '#fff' },
- },
- grid: { x: 50, y: 50, x2: 12, y2: 40 },
- xAxis: {
- type: 'category',
- boundaryGap: false,
- axisLine: { lineStyle: { color: '#57617B' } },
- axisLabel: { textStyle: { color: '#ffffffcc' } },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- data: [],
- },
- yAxis: [
- {
- type: 'value',
- name: 'm³/h',
- max: 10,
- axisTick: {
- show: false,
- },
- axisLine: { lineStyle: { show: true, color: '#57617B' } },
- axisLabel: { margin: 10, textStyle: { fontSize: 12, color: '#ffffffcc' } },
- splitLine: { show: true, lineStyle: { color: '#57617B22', type: 'dashed' } },
- },
- ],
- series: [
- {
- name: '注浆压力',
- type: 'line',
- smooth: true,
- lineStyle: { normal: { width: 2 } },
- yAxisIndex: 0,
- areaStyle: {
- normal: {
- color: new echarts.graphic.LinearGradient(
- 0,
- 0,
- 0,
- 1,
- [
- {
- offset: 0,
- color: 'rgba(3, 194, 236, 0.3)',
- },
- {
- offset: 0.8,
- color: 'rgba(3, 194, 236, 0)',
- },
- ],
- false
- ),
- shadowColor: 'rgba(0, 0, 0, 0.1)',
- shadowBlur: 10,
- },
- },
- itemStyle: { normal: { color: '#03C2EC' } },
- data: [],
- },
- ],
- });
|