fix(工作台): 各列表跳转初始化参数

This commit is contained in:
baiqi 2024-11-18 18:28:36 +08:00 committed by 刘瑞斌
parent 967828d992
commit 9bf0488506
6 changed files with 6 additions and 5 deletions

View File

@ -1190,7 +1190,7 @@
onBeforeMount(() => {
if (route.query.view) {
setAdvanceFilter({}, route.query.view as string);
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
});

View File

@ -1654,7 +1654,7 @@
onBeforeMount(() => {
cacheStore.clearCache();
if (route.query.view) {
setAdvanceFilter({}, route.query.view as string);
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
if (!isActivated.value) {

View File

@ -868,7 +868,7 @@
//
checkSyncStatus();
if (route.query.view) {
setAdvanceFilter({}, route.query.view as string);
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
});

View File

@ -1853,7 +1853,7 @@
showType.value = route.query.showType as ShowType;
}
if (route.query.view) {
setAdvanceFilter({}, route.query.view as string);
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
mountedLoad();

View File

@ -790,7 +790,7 @@
onBeforeMount(() => {
if (route.query.view) {
setAdvanceFilter({}, route.query.view as string);
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
if (!isActivated.value) {

View File

@ -1680,6 +1680,7 @@
showType.value = route.query.showType as testPlanTypeEnum;
}
if (route.query.view) {
setAdvanceFilter({ conditions: [], searchMode: 'AND' }, route.query.view as string);
viewName.value = route.query.view as string;
}
fetchData();