上下载点优化
This commit is contained in:
@ -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<string[]>([]);
|
||||
|
||||
@ -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: '请选择下拉选择',
|
||||
|
||||
@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user