管道气
This commit is contained in:
@ -24,54 +24,54 @@ export const searchFormSchema: FormSchema[] = [
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'code',
|
||||
label: '编码',
|
||||
component: 'Input',
|
||||
},
|
||||
{
|
||||
field: 'ownSign',
|
||||
label: '自有管道标识',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'dic',
|
||||
params: { itemId: '1978056598125330433' },
|
||||
labelField: 'name',
|
||||
valueField: 'value',
|
||||
// {
|
||||
// field: 'code',
|
||||
// label: '编码',
|
||||
// component: 'Input',
|
||||
// },
|
||||
// {
|
||||
// field: 'ownSign',
|
||||
// label: '自有管道标识',
|
||||
// component: 'XjrSelect',
|
||||
// componentProps: {
|
||||
// datasourceType: 'dic',
|
||||
// params: { itemId: '1978056598125330433' },
|
||||
// labelField: 'name',
|
||||
// valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'staCodeLng',
|
||||
label: '自有接收站',
|
||||
component: 'XjrSelect',
|
||||
componentProps: {
|
||||
datasourceType: 'staticData',
|
||||
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' },
|
||||
],
|
||||
labelField: 'label',
|
||||
valueField: 'value',
|
||||
// getPopupContainer: () => document.body,
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: 'staCodeLng',
|
||||
// label: '自有接收站',
|
||||
// component: 'XjrSelect',
|
||||
// componentProps: {
|
||||
// datasourceType: 'staticData',
|
||||
// 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' },
|
||||
// ],
|
||||
// labelField: 'label',
|
||||
// valueField: 'value',
|
||||
|
||||
getPopupContainer: () => document.body,
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'sort',
|
||||
label: '显示顺序',
|
||||
component: 'InputNumber',
|
||||
componentProps: {
|
||||
style: { width: '100%' },
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'note',
|
||||
label: '备注',
|
||||
component: 'Input',
|
||||
},
|
||||
// getPopupContainer: () => document.body,
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: 'sort',
|
||||
// label: '显示顺序',
|
||||
// component: 'InputNumber',
|
||||
// componentProps: {
|
||||
// style: { width: '100%' },
|
||||
// },
|
||||
// },
|
||||
// {
|
||||
// field: 'note',
|
||||
// label: '备注',
|
||||
// component: 'Input',
|
||||
// },
|
||||
];
|
||||
|
||||
export const columns: BasicColumn[] = [
|
||||
@ -138,14 +138,14 @@ export const columns: BasicColumn[] = [
|
||||
sorter: true,
|
||||
},
|
||||
|
||||
{
|
||||
dataIndex: 'sort',
|
||||
title: '显示顺序',
|
||||
componentType: 'number',
|
||||
align: 'left',
|
||||
// {
|
||||
// dataIndex: 'sort',
|
||||
// title: '显示顺序',
|
||||
// componentType: 'number',
|
||||
// align: 'left',
|
||||
|
||||
sorter: true,
|
||||
},
|
||||
// sorter: true,
|
||||
// },
|
||||
];
|
||||
//表单事件
|
||||
export const formEventConfigs = {
|
||||
@ -222,7 +222,7 @@ export const formProps: FormProps = {
|
||||
label: '编码',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
@ -255,7 +255,7 @@ export const formProps: FormProps = {
|
||||
label: '名称',
|
||||
type: 'input',
|
||||
component: 'Input',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
defaultValue: '',
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
@ -288,7 +288,7 @@ export const formProps: FormProps = {
|
||||
label: '自有管道标识',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -332,7 +332,7 @@ export const formProps: FormProps = {
|
||||
label: '自有接收站',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -375,7 +375,7 @@ export const formProps: FormProps = {
|
||||
label: '显示顺序',
|
||||
type: 'number',
|
||||
component: 'InputNumber',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
defaultValue: 0,
|
||||
componentProps: {
|
||||
labelWidthMode: 'fix',
|
||||
@ -402,7 +402,7 @@ export const formProps: FormProps = {
|
||||
label: '有效标志',
|
||||
type: 'select',
|
||||
component: 'XjrSelect',
|
||||
colProps: { span: 24 },
|
||||
colProps: { span: 8 },
|
||||
componentProps: {
|
||||
width: '100%',
|
||||
span: '',
|
||||
@ -474,8 +474,8 @@ export const formProps: FormProps = {
|
||||
],
|
||||
showActionButtonGroup: false,
|
||||
buttonLocation: 'center',
|
||||
actionColOptions: { span: 24 },
|
||||
actionColOptions: { span: 8 },
|
||||
showResetButton: false,
|
||||
showSubmitButton: false,
|
||||
hiddenComponent: [],
|
||||
};
|
||||
};
|
||||
|
||||
@ -63,7 +63,7 @@
|
||||
const filterColumns = cloneDeep(filterColumnAuth(columns));
|
||||
const customConfigColums =ref(filterColumns);
|
||||
const customSearchFormSchema =ref(searchFormSchema);
|
||||
|
||||
const selectedKeys = ref<string[]>([]);
|
||||
const tableRef = ref();
|
||||
//所有按钮
|
||||
const buttons = ref([{"name":"新增","code":"add","icon":"ant-design:plus-outlined","isDefault":true,"isUse":true},{"name":"编辑","code":"edit","icon":"ant-design:form-outlined","isDefault":true,"isUse":true},{"name":"启用","code":"enable","icon":"ant-design:form-outlined","isDefault":true,"isUse":true},{"name":"作废","code":"disable","icon":"ant-design:stop-outlined","isDefault":true,"isUse":true},{"name":"刷新","code":"refresh","icon":"ant-design:reload-outlined","isDefault":true,"isUse":true},{"name":"查看","code":"view","icon":"ant-design:eye-outlined","isDefault":true,"isUse":true},{"name":"数据日志","code":"datalog","icon":"ant-design:profile-outlined","isDefault":true,"isUse":true},{"name":"删除","code":"delete","icon":"ant-design:delete-outlined","isDefault":true,"isUse":true}]);
|
||||
|
||||
Reference in New Issue
Block a user