From 6c304fdfe6e29db128bccbd3632bd59116cc1329 Mon Sep 17 00:00:00 2001 From: shefengchun <1077478963@qq.com> Date: Tue, 21 Feb 2023 17:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E5=85=A5=E6=8A=95=E5=BD=B1=E6=9C=BA?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/common/ClientConnection.ts | 2 +- .../FusionSettings/SurfaceCorrection.vue | 173 +++++++++--------- src/components/FusionSettingsDialog.vue | 40 +++- src/entities/WSProtocol.ts | 2 +- src/i18n/en-US/index.ts | 3 +- src/i18n/zh-CN/index.ts | 3 +- 6 files changed, 128 insertions(+), 95 deletions(-) diff --git a/src/common/ClientConnection.ts b/src/common/ClientConnection.ts index 68e9163..4eec82e 100644 --- a/src/common/ClientConnection.ts +++ b/src/common/ClientConnection.ts @@ -1565,7 +1565,7 @@ export default class ClientConnection { public async SetProjectorLayout(row: number, column: number) { return await this.doRpc( - new Protocol.SetProjectorResolutionRequestEntity(row, column) + new Protocol.SetProjectorLayoutRequestEntity(row, column) ); } diff --git a/src/components/FusionSettings/SurfaceCorrection.vue b/src/components/FusionSettings/SurfaceCorrection.vue index 79fd79d..eb72f2f 100644 --- a/src/components/FusionSettings/SurfaceCorrection.vue +++ b/src/components/FusionSettings/SurfaceCorrection.vue @@ -9,7 +9,7 @@ v-model:x="value_point[index].x" v-model:y="value_point[index].y" @activated="options_model = index" @click="options_model = index" @dragging="dragStartHandle($event, index)"> {{ - index+ 1 + index + 1 }} @@ -17,7 +17,7 @@
-
+
-
- - - -
- +
+
-
+
@@ -47,12 +42,11 @@ v-model="options_model" @update:model-value="(val) => { options_model = val }" :options="options" emit-value map-options />
+ v-model="value[options_model].x" @update:model-value="chang(options_model, $event, 'h')" label="x" lazy-rules />
+ v-model="value[options_model].y" @update:model-value="chang(options_model, $event, 'h')" label="y" lazy-rules /> +
@@ -93,9 +87,13 @@
-
-
-
+
+
+
+
@@ -104,8 +102,7 @@ - - +