-
+
-
位置
-
- {{ row == 1 ? col - 1 : row - 1 }}
- {{ tabInfo.ListMap.get(`${row - 1}-${col - 1}`) }}
-
位置
+
+ {{ row == 1 ? col - 1 : row - 1 }}
+
{{ tabInfo.ListMap.get(`${row - 1}-${col - 1}`) }}
-
+
+ {{ tabInfo.ListMap.get(`${row - 1}-${col - 1}`) }}
+
+
-
+
@@ -117,7 +120,11 @@ let ciCjList = sceneCiCjQdListMap.get(
let ciQdList = sceneCiCjQdListMap.get(
`${lineStore.sceneName}+ciQdList`
) as relayCabinetGraphicData.CiQd;
-
+setCellMessage.value.rows = Math.max(ciCjList.dsCount, ciQdList.dsCount);
+setCellMessage.value.cols = Math.max(
+ ciCjList.cjList.length,
+ ciQdList.qdList.length
+);
const dialogWidth = computed(() => {
if (setCellMessage.value.cols * 134 + 85 <= 1157) {
return setCellMessage.value.cols * 134 + 85;
@@ -146,11 +153,6 @@ watch(
);
onMounted(() => {
- setCellMessage.value.rows = Math.max(ciCjList.dsCount, ciQdList.dsCount);
- setCellMessage.value.cols = Math.max(
- ciCjList.cjList.length,
- ciQdList.qdList.length
- );
tabList.value[0].ListMap = updateCiCjListMap();
tabList.value[1].ListMap = updateCiQdListMap();
});
@@ -233,7 +235,8 @@ function onMouseOver(e: MouseEvent) {