江西测试问题整改
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<TableHeader date-picker ref="TableHeaderRef">
|
||||
<TableHeader date-picker area ref="TableHeaderRef">
|
||||
<template v-slot:select>
|
||||
<el-form-item label="对象类型">
|
||||
<el-select
|
||||
@@ -17,6 +17,23 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="终端厂家:">
|
||||
<el-select
|
||||
v-model="tableStore.table.params.manufacturer"
|
||||
multiple
|
||||
collapse-tags
|
||||
clearable
|
||||
value-key="id"
|
||||
placeholder="请选择终端厂家"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in terminaloption"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</template>
|
||||
|
||||
<template v-slot:operation></template>
|
||||
@@ -203,6 +220,7 @@ const TableHeaderRef = ref()
|
||||
const abnormal: any = ref([])
|
||||
const mapList: any = ref([])
|
||||
const segmented = ref(1)
|
||||
const terminaloption = dictData.getBasicData('Dev_Manufacturers')
|
||||
const time = ref(['', ''])
|
||||
|
||||
const tableStore = new TableStore({
|
||||
@@ -214,6 +232,7 @@ const tableStore = new TableStore({
|
||||
column: [],
|
||||
beforeSearchFun: () => {
|
||||
loading.value = true
|
||||
tableStore.table.params.deptId = tableStore.table.params.deptIndex
|
||||
time.value = [tableStore.table.params.startTime, tableStore.table.params.endTime]
|
||||
},
|
||||
loadCallback: () => {
|
||||
@@ -403,11 +422,11 @@ const echart = () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
tableStore.table.params.deptId = dictData.state.area[0].id
|
||||
// tableStore.table.params.deptId = dictData.state.area[0].id
|
||||
tableStore.table.params.objType = ''
|
||||
tableStore.table.params.alarmDayLimit = 5
|
||||
tableStore.table.params.warnDayLimit = 1
|
||||
|
||||
tableStore.table.params.manufacturer = ''
|
||||
const quantityClick = (e: any, num: number) => {
|
||||
if (num == 0 && e.ids?.length == 0) return
|
||||
alarmDetailsRef.value.open(e, time.value, num)
|
||||
@@ -442,11 +461,11 @@ const onExport = () => {
|
||||
})
|
||||
}
|
||||
onMounted(() => {
|
||||
TableHeaderRef.value.setDatePicker([
|
||||
{ label: '年份', value: 1 },
|
||||
{ label: '季度', value: 2 },
|
||||
{ label: '月份', value: 3 }
|
||||
])
|
||||
// TableHeaderRef.value.setDatePicker([
|
||||
// { label: '年份', value: 1 },
|
||||
// { label: '季度', value: 2 },
|
||||
// { label: '月份', value: 3 }
|
||||
// ])
|
||||
queryFirstNode({ type: 0 }).then(res => {
|
||||
objTypeList.value = res.data
|
||||
})
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div>
|
||||
<TableHeader date-picker ref="TableHeaderRef">
|
||||
<TableHeader date-picker area ref="TableHeaderRef">
|
||||
<template v-slot:select>
|
||||
<el-form-item label="对象类型">
|
||||
<el-select
|
||||
@@ -17,6 +17,23 @@
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="终端厂家:">
|
||||
<el-select
|
||||
v-model="tableStore.table.params.manufacturer"
|
||||
multiple
|
||||
collapse-tags
|
||||
clearable
|
||||
value-key="id"
|
||||
placeholder="请选择终端厂家"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in terminaloption"
|
||||
:key="item.id"
|
||||
:label="item.name"
|
||||
:value="item"
|
||||
></el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
</template>
|
||||
|
||||
<template v-slot:operation></template>
|
||||
@@ -227,6 +244,7 @@ const abnormal: any = ref([])
|
||||
const mapList: any = ref([])
|
||||
const segmented = ref('base')
|
||||
const time = ref(['', ''])
|
||||
const terminaloption = dictData.getBasicData('Dev_Manufacturers')
|
||||
const segmentedList = ref([
|
||||
{
|
||||
label: '基础指标',
|
||||
@@ -253,6 +271,7 @@ const tableStore = new TableStore({
|
||||
column: [],
|
||||
beforeSearchFun: () => {
|
||||
loading.value = true
|
||||
tableStore.table.params.deptId = tableStore.table.params.deptIndex
|
||||
time.value = [tableStore.table.params.startTime, tableStore.table.params.endTime]
|
||||
},
|
||||
loadCallback: () => {
|
||||
@@ -449,10 +468,11 @@ const echart = () => {
|
||||
}
|
||||
}
|
||||
}
|
||||
tableStore.table.params.deptId = dictData.state.area[0].id
|
||||
|
||||
tableStore.table.params.objType = ''
|
||||
tableStore.table.params.alarmDayLimit = 5
|
||||
tableStore.table.params.warnDayLimit = 1
|
||||
tableStore.table.params.manufacturer = ''
|
||||
|
||||
const quantityClick = (e: any, num: number) => {
|
||||
if (num == 0 && e.ids?.length == 0) return
|
||||
@@ -488,11 +508,11 @@ const onExport = () => {
|
||||
})
|
||||
}
|
||||
onMounted(() => {
|
||||
TableHeaderRef.value.setDatePicker([
|
||||
{ label: '年份', value: 1 },
|
||||
{ label: '季度', value: 2 },
|
||||
{ label: '月份', value: 3 }
|
||||
])
|
||||
// TableHeaderRef.value.setDatePicker([
|
||||
// { label: '年份', value: 1 },
|
||||
// { label: '季度', value: 2 },
|
||||
// { label: '月份', value: 3 }
|
||||
// ])
|
||||
queryFirstNode({ type: 0 }).then(res => {
|
||||
objTypeList.value = res.data
|
||||
})
|
||||
|
||||
@@ -112,12 +112,12 @@ const info = () => {
|
||||
// name: '',
|
||||
// yAxis: 100,
|
||||
// lineStyle: {
|
||||
// color: '#009900'
|
||||
// color: '#2E8B57'
|
||||
// },
|
||||
// label: {
|
||||
// show: true,
|
||||
// formatter: '优质',
|
||||
// color: '#009900'
|
||||
// color: '#2E8B57'
|
||||
// }
|
||||
// },
|
||||
// {
|
||||
@@ -136,11 +136,11 @@ const info = () => {
|
||||
// name: '',
|
||||
// yAxis: 60,
|
||||
// lineStyle: {
|
||||
// color: '#FFCC00'
|
||||
// color: '#DAA520'
|
||||
// },
|
||||
// label: {
|
||||
// show: true,
|
||||
// color: '#FFCC00',
|
||||
// color: '#DAA520',
|
||||
// formatter: '合格'
|
||||
// }
|
||||
// }
|
||||
|
||||
@@ -96,12 +96,12 @@ onMounted(() => {
|
||||
top: 100%;
|
||||
}
|
||||
.hexagon1 {
|
||||
background-color: #339900;
|
||||
background-color: #2E8B57;
|
||||
&::before {
|
||||
border-bottom: 27.5px solid #339900;
|
||||
border-bottom: 27.5px solid #2E8B57;
|
||||
}
|
||||
&::after {
|
||||
border-top: 27.5px solid #339900;
|
||||
border-top: 27.5px solid #2E8B57;
|
||||
}
|
||||
}
|
||||
.hexagon2 {
|
||||
@@ -114,12 +114,12 @@ onMounted(() => {
|
||||
}
|
||||
}
|
||||
.hexagon3 {
|
||||
background-color: #cc0000;
|
||||
background-color: #A52a2a;
|
||||
&::before {
|
||||
border-bottom: 27.5px solid #cc0000;
|
||||
border-bottom: 27.5px solid #A52a2a;
|
||||
}
|
||||
&::after {
|
||||
border-top: 27.5px solid #cc0000;
|
||||
border-top: 27.5px solid #A52a2a;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user