调整云南曲靖问题

This commit is contained in:
guanj
2026-01-16 14:03:40 +08:00
parent 0b76347853
commit a19952b771
21 changed files with 856 additions and 855 deletions

View File

@@ -131,7 +131,7 @@ const tableStore = new TableStore({
{ field: 'scale', title: '电压等级', minWidth: '110' },
// {
// field: 'advanceType',
// title: '暂降类型',
// title: '触发类型',
// minWidth: '90',
// formatter: (row: any) => {
// return row.cellValue || '其他'
@@ -147,7 +147,7 @@ const tableStore = new TableStore({
},
{
field: 'eventType',
title: '暂态统计类型',
title: '触发类型',
minWidth: '120',
formatter: (row: any) => {
return eventList.filter(item => item.id === row.cellValue)[0]?.name

View File

@@ -109,9 +109,10 @@ const handleNodeClick = (data: any, node: any) => {
}
// 上传
const choose = (files: any) => {
const isJPG = files.raw.type === 'image/jpeg'
const isJPG = files.raw.type === 'image/jpg'
const isJPEG = files.raw.type === 'image/jpeg'
const isPNG = files.raw.type === 'image/png'
if (!isJPG && !isPNG) {
if (!isJPG && !isPNG && !isJPEG) {
ElMessage.warning('上传文件只能是 jpg/png 格式!')
return false
}