修改 路由返回页面刷新

This commit is contained in:
GGJ
2024-05-31 09:45:41 +08:00
parent 5de72c310f
commit b5f9874fbd
6 changed files with 4 additions and 6 deletions

View File

@@ -174,7 +174,6 @@ const tableStore = new TableStore({
treeData = tree2List(tableStore.table.data,)
tableStore.table.data = JSON.parse(JSON.stringify(treeData))
console.log("🚀 ~ tableStore.table.data:", tableStore.table.data)
setTimeout(() => {
tableRef.value.getRef().setAllTreeExpand(true)

View File

@@ -18,7 +18,7 @@ import { mainHeight } from '@/utils/layout'
import Table from './components/table.vue'
import Echart from './components/echart.vue'
defineOptions({
name: 'harmonic-boot/area/OnlineRate'
name: 'harmonic-boot/harmonic/getIntegrityData'
})
const activeName = ref('1')

View File

@@ -195,7 +195,6 @@ const tree2List = (list: any) => {
// 遍历 tree 数组
list.forEach((item: any) => {
item.comFlag = item.comFlag == null ? 3 : item.comFlag
console.log('🚀 ~ list.forEach ~ item:', item)
item.assess = item.onlineRate == 3.14159 ? 0 : item.onlineRate < 60 ? 1 : item.onlineRate < 90 ? 2 : 3
// 判断item是否存在children

View File

@@ -40,7 +40,7 @@ const tableStore = new TableStore({
url: '/harmonic-boot/rmppartharmonicdetail/getRMpPartHarmonicDetail',
publicHeight: 65,
method: 'POST',
isWebPaging:true,
// isWebPaging:true,
column: [
{
title: '序号',

View File

@@ -30,7 +30,7 @@ import testQuestions from './components1/testQuestions.vue'
// import audit from './components/audit.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'Processsupervision/electricitymanagement'
name: 'supervision/electricitymanagement'
})
const activeName = ref('1')

View File

@@ -17,7 +17,7 @@ import TodoTask from './todo/index.vue'
import DoneTask from './done/index.vue'
import { mainHeight } from '@/utils/layout'
defineOptions({
name: 'bpm/task'
// name: 'bpm/task'
})
const activeName = ref('1')