bug修改
This commit is contained in:
parent
21c2e76a0c
commit
1cd8d0fa7a
@ -14,6 +14,7 @@
|
||||
placeholder="请选择"
|
||||
class="w-[160px]"
|
||||
:loading="loadFtp"
|
||||
show-search
|
||||
:fieldNames="{ label: 'name', value: 'id' }"
|
||||
:filter-option="filterFtpOption"
|
||||
:options="ftpList"
|
||||
@ -418,9 +419,7 @@ const fetchData = async () => {
|
||||
};
|
||||
|
||||
const res = await getRunStateAnalysis(filterParams);
|
||||
console.log(res);
|
||||
const result = res?.data?.data[0] || {};
|
||||
console.log(result);
|
||||
|
||||
// 设置表格列
|
||||
const columns = result.columns || [];
|
||||
|
||||
@ -16,6 +16,7 @@
|
||||
placeholder="请选择"
|
||||
class="w-[160px]"
|
||||
:loading="loadFtp"
|
||||
show-search
|
||||
:fieldNames="{ label: 'name', value: 'id' }"
|
||||
:filter-option="filterFtpOption"
|
||||
:options="ftpList"
|
||||
|
||||
@ -465,8 +465,6 @@ const checkWaterTempConfig = async (stcd: string) => {
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
// QGC 完整 Tab 过滤逻辑(与 React setQGCTabList 对齐)
|
||||
const setQGCTabList = async (_tabs: any, stcd: string) => {
|
||||
let tabs = [..._tabs];
|
||||
@ -477,7 +475,9 @@ const setQGCTabList = async (_tabs: any, stcd: string) => {
|
||||
const res = await getBuildState({
|
||||
filter: {
|
||||
logic: 'and',
|
||||
filters: [{ dataType:'string',field: 'stcd', operator: 'eq', value: stcd }]
|
||||
filters: [
|
||||
{ dataType: 'string', field: 'stcd', operator: 'eq', value: stcd }
|
||||
]
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@ -212,8 +212,7 @@ export class MapOl implements MapInterface {
|
||||
modelStore.modalVisible = true;
|
||||
modelStore.params = detectedFeature.values_;
|
||||
modelStore.title =
|
||||
detectedFeature.values_.titleName ||
|
||||
detectedFeature.values_.stnm + ' 详情信息';
|
||||
detectedFeature.values_.titleName || detectedFeature.values_.stnm;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user