|
@@ -125,8 +125,6 @@ const handleSearch=(e)=>{
|
|
|
|
|
|
// 跳转报告详情
|
|
|
const goReportDetail=(item)=>{
|
|
|
- //保存子目录id
|
|
|
- localStorage.setItem('menuId',reportState.menuId)
|
|
|
router.push({
|
|
|
path:'/report/detail',
|
|
|
query:{
|
|
@@ -170,12 +168,11 @@ const handlePlayAudio=(item)=>{
|
|
|
// 组件激活时
|
|
|
onActivated(()=>{
|
|
|
const temClassifyId=route.query.classifyId||0
|
|
|
- const menuId = Number(localStorage.getItem('menuId'))||0
|
|
|
if(temClassifyId!=classifyId.value){
|
|
|
classifyId.value=temClassifyId
|
|
|
reportState.list=[]
|
|
|
reportState.page=1
|
|
|
- reportState.menuId=menuId
|
|
|
+ reportState.menuId=0
|
|
|
reportState.finished=false
|
|
|
reportState.searchVal=''
|
|
|
filterList.value=[]
|
|
@@ -185,7 +182,6 @@ onActivated(()=>{
|
|
|
// getFilterList()
|
|
|
getMenuList()
|
|
|
}
|
|
|
- localStorage.removeItem('menuId')
|
|
|
handleDataToXcx()
|
|
|
})
|
|
|
|