This commit is contained in:
sjl
2026-01-06 08:35:36 +08:00
parent fd09e24cf0
commit cb19fef4c6
88 changed files with 117 additions and 135 deletions

View File

@@ -153,7 +153,7 @@ const treeData = ref([])
const idArr = ref([])
const activeName = ref(0)
const getTreeData = async () => {
console.log('getTreeData')
await getAreaDept().then(res => {
var data = res.data
data.forEach(element => {

View File

@@ -170,7 +170,7 @@ tableStore.table.params.statisticalType = {}
// 柱状图数据处理
const histogram = (res: any) => {
console.log(123);
echartList.value = {
title: {

View File

@@ -85,7 +85,7 @@ const title = ref('')
const key = ref(0)
const statisticalName = ref('')
const open = (row: any, flag: boolean, params: any) => {
console.log('🚀 ~ open ~ row:', row)
voltageLevelFlag.value = flag
loading.value = true
title.value = row.name + '详情'

View File

@@ -62,7 +62,7 @@ const tableStore = new TableStore({
render: 'basicButton',
click: row => {
console.log("🚀 ~ row:", row)
push({
path: "/admin/division/detail",
query: {

View File

@@ -122,7 +122,7 @@ const tableStore = new TableStore({
},
click: row => {
detailDialogTitle.value = '监测点污染详情'
console.log('🚀 ~ row:', row)
detailLoading.value = true
detailData.value = row.powerFlagPollutionList
detailDialogVisible.value = true

View File

@@ -111,7 +111,7 @@ const tableStore = new TableStore({
map(tableStore.table.data)
histogram(tableStore.table.data)
EchartMap.value.GetEchar(header.value.areaRef.areaName)
console.log("🚀 ~ header.value.areaRef.areaName:", header.value.areaRef.areaName)
// console.log("🚀 ~ header.value.areaRef.areaName:", header.value.areaRef.areaName)
}
})
@@ -124,7 +124,7 @@ provide('tableStore', tableStore)
// 地图点击事件
const getRegionByRegion = (list: any) => {
console.log("🚀 ~ getRegionByRegion ~ list:", list)
// console.log("🚀 ~ getRegionByRegion ~ list:", list)
tableStore.table.params.deptIndex = list.id
tableStore.onTableAction('search', {})
}
@@ -134,7 +134,7 @@ const getRegionByRegion = (list: any) => {
// 地图数处理
const map = (res: any) => {
console.log("🚀 ~ map ~ res:", res)
// console.log("🚀 ~ map ~ res:", res)
let areaData: any = []
let xarr = []
let yarr = []

View File

@@ -249,7 +249,7 @@ const searchEvent = debounce(() => {
(item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
options
)
console.log('🚀 ~ searchEvent ~ rest:', rest)
// console.log('🚀 ~ searchEvent ~ rest:', rest)
tableStore.table.data = rest

View File

@@ -249,7 +249,7 @@ const searchEvent = debounce(() => {
(item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
options
)
console.log('🚀 ~ searchEvent ~ rest:', rest)
// console.log('🚀 ~ searchEvent ~ rest:', rest)
tableStore.table.data = rest

View File

@@ -193,7 +193,7 @@ const searchEvent = debounce(() => {
(item: any) => searchProps.some(key => String(item[key]).toLowerCase().indexOf(filterVal) > -1),
options
)
console.log("🚀 ~ searchEvent ~ rest:", rest)
// console.log("🚀 ~ searchEvent ~ rest:", rest)
tableStore.table.data = rest

View File

@@ -271,7 +271,7 @@ const tableStore = new TableStore({
return k.citName != '上送国网' && k.citName != '非上送国网'
}
})
console.log(123, tableStore.table.params.statisticalType.name)
// console.log(123, tableStore.table.params.statisticalType.name)
// 合并子集数据 并去重
totalData.value = Array.from(

View File

@@ -194,9 +194,9 @@ const checkChange = () => {
}
}
const close = () => {
console.log('====================================')
console.log(2123123)
console.log('====================================')
// console.log('====================================')
// console.log(2123123)
// console.log('====================================')
options.value = null
}
const showCharts = (row: any, valueType: number, name: string) => {

View File

@@ -175,7 +175,7 @@ const findNodeByTreeId = (treeData: any, id: any) => {
const getTargetNode = () => {
const targetId = '9b7adecf588b4110acb7018f297592a7'
const node = findNodeByTreeId(treeData.value, targetId)
console.log('Vue中找到的节点', node)
// console.log('Vue中找到的节点', node)
}
const changeTab = (e: string) => {
activeName.value = e

View File

@@ -86,7 +86,7 @@ const tableStore = new TableStore({
item.data[k.r][k.c].v ? (item.data[k.r][k.c] = k.v) : ''
})
})
console.log(tableStore.table.data)
setTimeout(() => {
luckysheet.create({
container: 'luckysheet',
@@ -126,7 +126,7 @@ const changetype = (val: any) => {
reportForm.value = val.reportForm
}
const selectChange = () => {
console.log('🚀 ~ selectChange ~ tableStore.table.data.lnegth :', tableStore.table.data.length)
if (tableStore.table.data.length != 0) {
setTimeout(() => {
luckysheet && luckysheet?.resize()

View File

@@ -1300,7 +1300,7 @@ const rendering = () => {
getEcharts()
}
const getEcharts = () => {
console.log("🚀 ~ list.value.forEach ~ list.value:", list.value)
list.value.forEach((item: any, i: number) => {
item.option = {

View File

@@ -231,7 +231,7 @@ const init = () => {
},
backgroundColor: 'rgba(0,0,0,0.55)',
formatter: function (params: any) {
console.log(params)
let msg = ''
msg += params[0].name
for (let i in params) {

View File

@@ -1099,7 +1099,7 @@ const toColTreeData = (treeData: any[]) => {
item.keys = parent ? parent.keys.concat([item.id]) : [item.id]
if (!item.children || !item.children.length) {
const row: any = {}
console.log("🚀 ~ item.keys.forEach ~ item:", item)
item.keys.forEach((key: any, index: number) => {
const level = index + 1
@@ -1114,8 +1114,7 @@ const toColTreeData = (treeData: any[]) => {
list.push(row)
}
}, options)
console.log("🚀 ~ toColTreeData ~ list:", list)
tableData.value = list
}