上下载点优化

This commit is contained in:
‘huanghaiixia’
2025-10-28 15:26:32 +08:00
parent 94c62a244d
commit 1e4467cec5
3 changed files with 11 additions and 11 deletions

View File

@ -24,7 +24,7 @@
import { camelCaseString } from '/@/utils/stringUtil'; import { camelCaseString } from '/@/utils/stringUtil';
import { ModalPanel } from '/@/components/ModalPanel/index'; import { ModalPanel } from '/@/components/ModalPanel/index';
import { BasicTable, useTable, TableAction, ActionItem } from '/@/components/Table'; 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 emits = defineEmits(['change', 'changeNames', 'close', 'options-change', 'update:value']);
const selectedKeys = ref<string[]>([]); const selectedKeys = ref<string[]>([]);

View File

@ -709,7 +709,7 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
span: '', span: '',
labelWidthMode: 'fix', labelWidthMode: 'fix',
labelFixWidth: 120, labelFixWidth: 170,
responsive: false, responsive: false,
respNewRow: false, respNewRow: false,
placeholder: '请选择下拉选择', placeholder: '请选择下拉选择',
@ -796,7 +796,7 @@ export const formProps: FormProps = {
width: '100%', width: '100%',
span: '', span: '',
labelWidthMode: 'fix', labelWidthMode: 'fix',
labelFixWidth: 120, labelFixWidth: 200,
responsive: false, responsive: false,
respNewRow: false, respNewRow: false,
placeholder: '请选择下拉选择', placeholder: '请选择下拉选择',

View File

@ -108,14 +108,14 @@ export const columns: BasicColumn[] = [
componentType: 'select', componentType: 'select',
align: 'left', align: 'left',
customRender: ({ record }) => { // customRender: ({ record }) => {
const staticOptions = [ // const staticOptions = [
{ key: 1, label: 'Option 1', value: 'Option 1' }, // { key: 1, label: 'Option 1', value: 'Option 1' },
{ key: 2, label: 'Option 2', value: 'Option 2' }, // { key: 2, label: 'Option 2', value: 'Option 2' },
{ key: 3, label: 'Option 3', value: 'Option 3' }, // { key: 3, label: 'Option 3', value: 'Option 3' },
]; // ];
return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label; // return staticOptions.filter((x) => x.value === record.staCodeLng)[0]?.label;
}, // },
sorter: true, sorter: true,
}, },