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 () => {