From 1e4467cec5dfb715316362b0a0dc6e8af0448aa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=98huanghaiixia=E2=80=99?= <980486410@.com> Date: Tue, 28 Oct 2025 15:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E8=BD=BD=E7=82=B9=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Form/src/components/SelectPipeline.vue | 2 +- .../PipeGasDownloadPoint/components/config.ts | 4 ++-- .../mdm/PipelineGgasLine/components/config.ts | 16 ++++++++-------- 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/components/Form/src/components/SelectPipeline.vue b/src/components/Form/src/components/SelectPipeline.vue index aaf53a4..fc4c6d3 100644 --- a/src/components/Form/src/components/SelectPipeline.vue +++ b/src/components/Form/src/components/SelectPipeline.vue @@ -24,7 +24,7 @@ import { camelCaseString } from '/@/utils/stringUtil'; import { ModalPanel } from '/@/components/ModalPanel/index'; import { BasicTable, useTable, TableAction, ActionItem } from '/@/components/Table'; - import {columns} from '/@/views/mdm/Bank/components/config' + import {columns} from '/@/views/mdm/PipelineGgasLine/components/config' const emits = defineEmits(['change', 'changeNames', 'close', 'options-change', 'update:value']); const selectedKeys = ref([]); diff --git a/src/views/mdm/PipeGasDownloadPoint/components/config.ts b/src/views/mdm/PipeGasDownloadPoint/components/config.ts index 617a549..51cf011 100644 --- a/src/views/mdm/PipeGasDownloadPoint/components/config.ts +++ b/src/views/mdm/PipeGasDownloadPoint/components/config.ts @@ -709,7 +709,7 @@ export const formProps: FormProps = { width: '100%', span: '', labelWidthMode: 'fix', - labelFixWidth: 120, + labelFixWidth: 170, responsive: false, respNewRow: false, placeholder: '请选择下拉选择', @@ -796,7 +796,7 @@ export const formProps: FormProps = { width: '100%', span: '', labelWidthMode: 'fix', - labelFixWidth: 120, + labelFixWidth: 200, responsive: false, respNewRow: false, placeholder: '请选择下拉选择', diff --git a/src/views/mdm/PipelineGgasLine/components/config.ts b/src/views/mdm/PipelineGgasLine/components/config.ts index 9dd84db..25a13e0 100644 --- a/src/views/mdm/PipelineGgasLine/components/config.ts +++ b/src/views/mdm/PipelineGgasLine/components/config.ts @@ -108,14 +108,14 @@ export const columns: BasicColumn[] = [ componentType: 'select', align: 'left', - customRender: ({ record }) => { - const staticOptions = [ - { key: 1, label: 'Option 1', value: 'Option 1' }, - { key: 2, label: 'Option 2', value: 'Option 2' }, - { key: 3, label: 'Option 3', value: 'Option 3' }, - ]; - return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label; - }, + // customRender: ({ record }) => { + // const staticOptions = [ + // { key: 1, label: 'Option 1', value: 'Option 1' }, + // { key: 2, label: 'Option 2', value: 'Option 2' }, + // { key: 3, label: 'Option 3', value: 'Option 3' }, + // ]; + // return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label; + // }, sorter: true, },