mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-29 18:48:13 +08:00
fix(工作台): 各列表跳转初始化参数
This commit is contained in:
parent
967828d992
commit
9bf0488506
@ -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;
|
||||
}
|
||||
});
|
||||
|
@ -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) {
|
||||
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
@ -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();
|
||||
|
@ -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) {
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user