From 537f5651127919db361d10fac733be11e7fe6ced Mon Sep 17 00:00:00 2001 From: guoapeng Date: Thu, 17 Jul 2025 11:13:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20lis=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Index/Settings/EditLis.vue | 25 ++++++++++++++++++++++++- src/pages/Index/Settings/Lis.vue | 10 +++++++++- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/src/pages/Index/Settings/EditLis.vue b/src/pages/Index/Settings/EditLis.vue index b1f9ee2..be883ab 100644 --- a/src/pages/Index/Settings/EditLis.vue +++ b/src/pages/Index/Settings/EditLis.vue @@ -13,6 +13,29 @@ + + +
+ 自动上报 +
+ + +
+
协议
@@ -155,7 +178,7 @@ const getLisSetting = async () => { } } -const setLisForm = async (type: string, value: string) => { +const setLisForm = async (type: string, value: string | boolean) => { lisForm.value[type] = value } diff --git a/src/pages/Index/Settings/Lis.vue b/src/pages/Index/Settings/Lis.vue index 2859c97..767cf17 100644 --- a/src/pages/Index/Settings/Lis.vue +++ b/src/pages/Index/Settings/Lis.vue @@ -6,6 +6,14 @@ {{ LISTypeMap[lisSettings && lisSettings.lisType || ''] }}
+ +
+ 自动上报 +
+ {{ lisSettings?.lisAutoExport ? '开启' : '关闭' }} +
+
+
协议
@@ -84,7 +92,7 @@ const inputValue = ref('') const keyboardType = ref<'text' | 'number'>('number') const softKeyboardRef = ref() const lisVisible = ref(false) -const lisSettings = ref<(LISSettings & { LISNetPortStr: string }) | undefined>( +const lisSettings = ref<(LISSettings & { LISNetPortStr: string, lisAutoExport: boolean }) | undefined>( undefined, ) const getLisSetting = async () => {