From 9efc97e7c81b5e3381f60d93f558338b3d26aff5 Mon Sep 17 00:00:00 2001 From: sy2084 Date: Mon, 29 Jul 2024 15:13:05 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix:=20=E5=AD=97=E6=AE=B5=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=BF=85=E5=A1=AB=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 7 ------- .../config-manage/module-cfg/components/field-modal.vue | 2 -- 2 files changed, 9 deletions(-) diff --git a/components.d.ts b/components.d.ts index 2f988da..7f0e73f 100644 --- a/components.d.ts +++ b/components.d.ts @@ -10,9 +10,6 @@ declare module 'vue' { ABreadcrumb: typeof import('ant-design-vue/es')['Breadcrumb'] ABreadcrumbItem: typeof import('ant-design-vue/es')['BreadcrumbItem'] AButton: typeof import('ant-design-vue/es')['Button'] - ACheckbox: typeof import('ant-design-vue/es')['Checkbox'] - ACheckboxGroup: typeof import('ant-design-vue/es')['CheckboxGroup'] - ACol: typeof import('ant-design-vue/es')['Col'] AConfigProvider: typeof import('ant-design-vue/es')['ConfigProvider'] ADropdown: typeof import('ant-design-vue/es')['Dropdown'] AFloatButton: typeof import('ant-design-vue/es')['FloatButton'] @@ -26,13 +23,9 @@ declare module 'vue' { APagination: typeof import('ant-design-vue/es')['Pagination'] APopconfirm: typeof import('ant-design-vue/es')['Popconfirm'] ARadio: typeof import('ant-design-vue/es')['Radio'] - ARadioButton: typeof import('ant-design-vue/es')['RadioButton'] ARadioGroup: typeof import('ant-design-vue/es')['RadioGroup'] - ARangePicker: typeof import('ant-design-vue/es')['RangePicker'] - ARow: typeof import('ant-design-vue/es')['Row'] ASelect: typeof import('ant-design-vue/es')['Select'] ASpace: typeof import('ant-design-vue/es')['Space'] - ASpin: typeof import('ant-design-vue/es')['Spin'] ASwitch: typeof import('ant-design-vue/es')['Switch'] ATable: typeof import('ant-design-vue/es')['Table'] RouterLink: typeof import('vue-router')['RouterLink'] diff --git a/src/views/config-manage/module-cfg/components/field-modal.vue b/src/views/config-manage/module-cfg/components/field-modal.vue index 410e479..47e0b94 100644 --- a/src/views/config-manage/module-cfg/components/field-modal.vue +++ b/src/views/config-manage/module-cfg/components/field-modal.vue @@ -250,8 +250,6 @@ const handleSave = (record) => { { field: 'field_name', msg: "请填写字段名称" }, { field: 'field_numerical_type_id', msg: "请选择字段类型" }, { field: 'belong_to_table', msg: "请填写关联表" }, - { field: 'original_type', msg: '请选择数据源类型' }, - { field: 'original_sql', msg: "请填写sql数据源" }, ] for(let i = 0; i < validateFields.length; i++) { const curr = validateFields[i]; From 0955c40e816cf4c413d674b430ac9ea40220cba0 Mon Sep 17 00:00:00 2001 From: sy2084 Date: Mon, 29 Jul 2024 15:21:44 +0800 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E4=BC=A0=E5=8F=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/config-manage/module-cfg/components/field-modal.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/views/config-manage/module-cfg/components/field-modal.vue b/src/views/config-manage/module-cfg/components/field-modal.vue index 47e0b94..ec240b1 100644 --- a/src/views/config-manage/module-cfg/components/field-modal.vue +++ b/src/views/config-manage/module-cfg/components/field-modal.vue @@ -243,6 +243,8 @@ const handleSave = (record) => { is_search: record.is_search, field_type_id: record.field_type_id, modular_id: props.modularId, + original_type: record.original_type, + original_sql: record.original_sql, }; // 检验必填参数 const validateFields = [