Merge branch 'master' of https://git.code.tencent.com/beijing-rtss-test/bj-rtss-client
This commit is contained in:
commit
0445149a7e
@ -219,12 +219,16 @@ async function editRelateRelays(row: RelateRelaylistItem) {
|
|||||||
combinationtype.refRelaysCode = refCode;
|
combinationtype.refRelaysCode = refCode;
|
||||||
combinationtype.expanded = false;
|
combinationtype.expanded = false;
|
||||||
});
|
});
|
||||||
relateRelayConfig.value.combinationtypes = row.combinationtypes as {
|
relateRelayConfig.value.combinationtypes = [];
|
||||||
code: string;
|
row.combinationtypes.forEach((combinationtype) => {
|
||||||
refRelays: string[];
|
const { code, refRelays, refRelaysCode, expanded } = combinationtype;
|
||||||
refRelaysCode: string[];
|
relateRelayConfig.value.combinationtypes.push({
|
||||||
expanded: boolean;
|
code,
|
||||||
}[];
|
refRelays,
|
||||||
|
refRelaysCode: refRelaysCode as string[],
|
||||||
|
expanded: expanded as boolean,
|
||||||
|
});
|
||||||
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
$q.notify({
|
$q.notify({
|
||||||
type: 'negative',
|
type: 'negative',
|
||||||
@ -262,7 +266,6 @@ function removeSelect(code: string) {
|
|||||||
clickTarget.refRelaysCode.splice(removeIndex, 1);
|
clickTarget.refRelaysCode.splice(removeIndex, 1);
|
||||||
clickTarget.refRelays.splice(removeIndex, 1);
|
clickTarget.refRelays.splice(removeIndex, 1);
|
||||||
relayCabinetStore.getDrawApp().updateSelected(...selectGraphic);
|
relayCabinetStore.getDrawApp().updateSelected(...selectGraphic);
|
||||||
relayCabinetStore.getDrawApp()?.emit('postdataloaded');
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function clearAllSelect(index: number) {
|
function clearAllSelect(index: number) {
|
||||||
|
Loading…
Reference in New Issue
Block a user