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