Browse Source

菜单标签跳转bug

wangqin
lau572 6 months ago
parent
commit
95a30e5f30
  1. 10
      ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue
  2. 2
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue

10
ruoyi-ui/src/views/JiHeExpressway/components/RecentPages/index.vue

@ -128,7 +128,15 @@ export default{
this.removeRecent(item);
if(this.$route.path == item.path){
if(this.recentPages.length){
this.$router.push(this.recentPages[this.recentPages.length-1].path)
let route = this.recentPages[this.recentPages.length-1]
if (Object.keys(route.query).length > 0){
this.$router.push({
path: route.path,
query: route.query
});
} else {
this.$router.push(route.path);
}
}else{
this.$router.push("/")
}

2
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/emergencyProcessManagement/index.vue

@ -28,7 +28,7 @@
<ElTableColumn prop="processConfig" label="处置流程" />
<ElTableColumn label="操作" width="210">
<template slot-scope="scope">
<ElButton type="text" style="color: #00D1FF;" @click="showDisposal(scope.row.eventType)">流程配置</ElButton>
<!--<ElButton type="text" style="color: #00D1FF;" @click="showDisposal(scope.row.eventType)">流程配置</ElButton>-->
<ElButton type="text" style="color: #00EBC1;" @click="showPhrases(scope.row)">常用语</ElButton>
</template>
</ElTableColumn>

Loading…
Cancel
Save