驱采列表调整
This commit is contained in:
parent
7688aa6b0d
commit
a027d373f7
@ -54,7 +54,7 @@
|
||||
|
||||
<q-card-actions align="right">
|
||||
<q-btn color="primary" label="确定" @click="setCellListConfig()" />
|
||||
<q-btn label="取消" v-close-popup />
|
||||
<q-btn label="取消" @click="cancelSetCellListConfig()" />
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
@ -108,6 +108,16 @@ function setCellListConfig() {
|
||||
creatCiCjList(setCellMessage.value.rows, setCellMessage.value.cols);
|
||||
ciCjList = loadCiCjList();
|
||||
}
|
||||
|
||||
function cancelSetCellListConfig() {
|
||||
setCellDialog.value = false;
|
||||
setCellMessage.value.rows = (
|
||||
ciCjList as relayCabinetGraphicData.CiCj
|
||||
).dsCount;
|
||||
setCellMessage.value.cols = (
|
||||
ciCjList as relayCabinetGraphicData.CiCj
|
||||
).cjList.length;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
@ -54,7 +54,7 @@
|
||||
|
||||
<q-card-actions align="right">
|
||||
<q-btn color="primary" label="确定" @click="setCellListConfig()" />
|
||||
<q-btn label="取消" v-close-popup />
|
||||
<q-btn label="取消" @click="cancelSetCellListConfig()" />
|
||||
</q-card-actions>
|
||||
</q-card>
|
||||
</q-dialog>
|
||||
@ -108,6 +108,16 @@ function setCellListConfig() {
|
||||
creatCiQdList(setCellMessage.value.rows, setCellMessage.value.cols);
|
||||
ciQdList = loadCiQdList();
|
||||
}
|
||||
|
||||
function cancelSetCellListConfig() {
|
||||
setCellDialog.value = false;
|
||||
setCellMessage.value.rows = (
|
||||
ciQdList as relayCabinetGraphicData.CiQd
|
||||
).dsCount;
|
||||
setCellMessage.value.cols = (
|
||||
ciQdList as relayCabinetGraphicData.CiQd
|
||||
).qdList.length;
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
@ -152,7 +152,6 @@ async function onSubmit() {
|
||||
cjDataSet.bitList.forEach((cjData, j) => {
|
||||
cjData.refRelays.forEach((refRelay) => {
|
||||
map.set(refRelay.relayId, `${j + 1}-${i + 1}`);
|
||||
refRelay;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
@ -147,7 +147,6 @@ async function onSubmit() {
|
||||
qdDataSet.bitList.forEach((qdData, j) => {
|
||||
qdData.refRelays.forEach((refRelay) => {
|
||||
map.set(refRelay, `${j + 1}-${i + 1}`);
|
||||
refRelay;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user