From a59ddb6e8d831ea4c88fb836c6efa9fd10fb78b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com> Date: Thu, 25 Dec 2025 11:42:49 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=E4=B8=8B=E6=8B=89=E6=A1=86=E9=80=89?= =?UTF-8?q?=E6=8B=A9bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/run/instant/instant.data.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/views/run/instant/instant.data.ts b/src/views/run/instant/instant.data.ts index 4047b77..0e302b5 100644 --- a/src/views/run/instant/instant.data.ts +++ b/src/views/run/instant/instant.data.ts @@ -111,7 +111,6 @@ export const searchFormSchema: FormSchema[] = [ componentProps: ({ schema, tableAction, formActionType, formModel }) => { return { // xxxx props - allowClear: false, placeholder: '全部机组', options: optionList.units.map(unit => ({ value: unit.id, label: unit.name })), onChange: async (e: any) => { @@ -144,7 +143,6 @@ export const searchFormSchema: FormSchema[] = [ colProps: { span: 4 }, componentProps: ({ formModel }) => { return { - allowClear: false, placeholder: '全部系统', options: optionList.types.map(type => ({ value: type.id, label: type.name })), onChange: async (e: any) => { @@ -175,7 +173,6 @@ export const searchFormSchema: FormSchema[] = [ colProps: { span: 4 }, componentProps: () => { return { - allowClear: false, placeholder: '全部子系统', options: systemOptions.value.map(system => ({ value: system.id, label: system.name })), } -- 2.30.2 From e3a86e7250982580d6f9c917e84a847166ed9914 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=96=E6=99=8B=E9=A3=9E?= <378266566@qq.com> Date: Thu, 25 Dec 2025 11:50:16 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=E4=B8=8B=E6=8B=89=E6=A1=86=E9=80=89?= =?UTF-8?q?=E6=8B=A9bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/run/instant/instant.data.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/run/instant/instant.data.ts b/src/views/run/instant/instant.data.ts index 0e302b5..911a491 100644 --- a/src/views/run/instant/instant.data.ts +++ b/src/views/run/instant/instant.data.ts @@ -123,7 +123,7 @@ export const searchFormSchema: FormSchema[] = [ typeId: formModel.type, } //如果typeId是空,则不设置system'Options - if (!param.typeId) { + if (!param.typeId || !param.unitId) { systemOptions.value = [] return } @@ -155,7 +155,7 @@ export const searchFormSchema: FormSchema[] = [ typeId: e, } //如果typeId是空,则不设置system'Options - if (!param.typeId) { + if (!param.typeId || !param.unitId) { systemOptions.value = [] return } -- 2.30.2