From efe3cd3563ed3a2bf3712b1c61ec9c239b4c63fd Mon Sep 17 00:00:00 2001 From: yinq Date: Wed, 26 Mar 2025 11:26:44 +0800 Subject: [PATCH] =?UTF-8?q?update=20dms=E8=AE=BE=E5=A4=87=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=9B=BE=E7=89=87=E4=B8=8A=E4=BC=A0=E3=80=81=E6=8A=A5?= =?UTF-8?q?=E8=AD=A6=E8=A7=84=E5=88=99=E8=81=94=E5=8A=A8=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/dms/deviceMode/types.ts | 2 + src/components/ImageUpload/index.vue | 3 +- src/views/dms/alarmRuleLink/index.vue | 139 +++++++++++++-------- src/views/dms/deviceMode/index.vue | 47 ++++++- src/views/mes/samplePrescription/index.vue | 2 +- 5 files changed, 131 insertions(+), 62 deletions(-) diff --git a/src/api/dms/deviceMode/types.ts b/src/api/dms/deviceMode/types.ts index a943a90..3952b6f 100644 --- a/src/api/dms/deviceMode/types.ts +++ b/src/api/dms/deviceMode/types.ts @@ -52,6 +52,8 @@ export interface DeviceModeForm extends BaseEntity { */ remark?: string; + ossId?: string | number; + } export interface DeviceModeQuery extends PageQuery { diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index 1c6dcd1..e4f3da3 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -196,7 +196,8 @@ const uploadedSuccessfully = () => { fileList.value = fileList.value.filter((f) => f.url !== undefined).concat(uploadList.value); uploadList.value = []; number.value = 0; - emit('update:modelValue', listToString(fileList.value)); + // emit('update:modelValue', listToString(fileList.value)); + emit('update:modelValue', fileList.value); proxy?.$modal.closeLoading(); } }; diff --git a/src/views/dms/alarmRuleLink/index.vue b/src/views/dms/alarmRuleLink/index.vue index 7616f1d..b1614f0 100644 --- a/src/views/dms/alarmRuleLink/index.vue +++ b/src/views/dms/alarmRuleLink/index.vue @@ -5,40 +5,24 @@
- - - - - - - - - - - + + + + + + - - + - + - - - - - - @@ -79,26 +63,26 @@ - - + - - - -