From 7bd0031ffb4b76b9f70f9c30952e6431c24c371a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E5=90=8C=E6=B5=B7?= <14166000+zhangtonghai@user.noreply.gitee.com> Date: Mon, 14 Oct 2024 15:08:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=AF=E5=8F=A3=E4=BF=A1=E6=81=AF=20?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/baseinfo/port/columns.tsx | 2 +- src/views/baseinfo/port/index.vue | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/views/baseinfo/port/columns.tsx b/src/views/baseinfo/port/columns.tsx index 2045ea96..2a4aa6ba 100644 --- a/src/views/baseinfo/port/columns.tsx +++ b/src/views/baseinfo/port/columns.tsx @@ -138,7 +138,7 @@ export const columns: BasicColumn[] = [ export const searchFormSchema: FormSchema[] = [ { - field: 'CnName:portName:ediCode', + field: 'cnName:portName:ediCode', label: '港口名称', component: 'Input', colProps: { span: 4 }, diff --git a/src/views/baseinfo/port/index.vue b/src/views/baseinfo/port/index.vue index 9f86a9f5..f84fde0e 100644 --- a/src/views/baseinfo/port/index.vue +++ b/src/views/baseinfo/port/index.vue @@ -76,7 +76,9 @@ }) }, beforeFetch: (p) => { - return formatParams(p) + let RData = formatParams(p) + RData.queryCondition = RData.queryCondition.replace(`{"Key":1,"Value"`, `{"Key":0,"Value"`) + return RData }, columns, formConfig: {