修改 路由返回页面刷新
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -40,7 +40,7 @@ const tableStore = new TableStore({
|
||||
url: '/harmonic-boot/rmppartharmonicdetail/getRMpPartHarmonicDetail',
|
||||
publicHeight: 65,
|
||||
method: 'POST',
|
||||
isWebPaging:true,
|
||||
// isWebPaging:true,
|
||||
column: [
|
||||
{
|
||||
title: '序号',
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user