From 67aa521203791d59a830100e509d3b69a89cd235 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 22 Apr 2024 15:12:53 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20=E6=B7=BB=E5=8A=A0=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E5=AD=97=E5=85=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dict.ts | 2 +- src/views/wms/agvManage/interfaceInfo/index.vue | 1 + src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/utils/dict.ts b/src/utils/dict.ts index 3bfea0b0c..fc448b1ca 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -325,5 +325,5 @@ export enum DICT_TYPE { SUPPLIERINVOICE_STATUS = 'supplierinvoice_status', //待开票审核状态 BASIC_TEAM_TYPE='basic_team_type',//班组类型 TAX_RATE_DICT='tax_rate_dict', //税率 - + INTERFACE_STATUS = 'interfaceStatus', // 接口调用信息 接口状态 } diff --git a/src/views/wms/agvManage/interfaceInfo/index.vue b/src/views/wms/agvManage/interfaceInfo/index.vue index ec8913d10..f89506d15 100644 --- a/src/views/wms/agvManage/interfaceInfo/index.vue +++ b/src/views/wms/agvManage/interfaceInfo/index.vue @@ -66,6 +66,7 @@ import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import Detail from '@/components/Detail/src/Detail.vue' +// 接口调用信息 defineOptions({ name: 'InterfaceInfo' }) const message = useMessage() // 消息弹窗 diff --git a/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts b/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts index 6c9898302..1dc1ecd7f 100644 --- a/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts +++ b/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts @@ -31,6 +31,8 @@ export const InterfaceInfo = useCrudSchemas(reactive([ { label: '状态', field: 'interfaceStatus', + dictType: DICT_TYPE.INTERFACE_STATUS, + dictClass: 'string', sort: 'custom', form: { component: 'Radio' From 0aa3b883e55590fa00d25eb2a0317b1805531f99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Mon, 22 Apr 2024 15:14:56 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B0=83=E7=94=A8?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=20=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts b/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts index 1dc1ecd7f..833f53691 100644 --- a/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts +++ b/src/views/wms/agvManage/interfaceInfo/interfaceInfo.data.ts @@ -11,7 +11,6 @@ export const InterfaceInfo = useCrudSchemas(reactive([ label: '序号', field: 'number', sort: 'custom', - isSearch: true, }, { label: '接口类型', @@ -37,12 +36,12 @@ export const InterfaceInfo = useCrudSchemas(reactive([ form: { component: 'Radio' }, + isSearch: true, }, { label: '请求地址', field: 'url', sort: 'custom', - isSearch: true, }, { label: '请求参数',