2025-08-06 17:38:52 +08:00
|
|
|
import {BasicColumn} from '/@/components/Table';
|
|
|
|
import {FormSchema} from '/@/components/Table';
|
|
|
|
|
|
|
|
//列表数据
|
|
|
|
export const columns: BasicColumn[] = [
|
|
|
|
{
|
|
|
|
title: '机构编码',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'orgCode',
|
|
|
|
width: 80,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '机构名称',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'orgCode_dictText',
|
|
|
|
width: 240,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '厂家云地址',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'requestUrl',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '授权码',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'authCode',
|
|
|
|
width: 260,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '随机字符串',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'randomCode',
|
|
|
|
width: 260,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '通知地址',
|
|
|
|
align: "center",
|
|
|
|
dataIndex: 'notifyUrl'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
title: '更新时间',
|
|
|
|
align: "center",
|
2025-08-08 09:15:45 +08:00
|
|
|
dataIndex: 'updateDate',
|
2025-08-06 17:38:52 +08:00
|
|
|
width: 160,
|
|
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
export const formSchema: FormSchema[] = [
|
|
|
|
{
|
|
|
|
label: '',
|
|
|
|
field: 'id',
|
|
|
|
component: 'Input',
|
|
|
|
show: false,
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '机构',
|
|
|
|
field: 'orgCode',
|
|
|
|
component: 'JSelectDept',
|
|
|
|
componentProps: {
|
|
|
|
rowKey: 'orgCode',
|
|
|
|
labelKey: 'departName',
|
|
|
|
selectType: true,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '厂家云地址',
|
|
|
|
field: 'requestUrl',
|
|
|
|
component: 'Input',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '授权码',
|
|
|
|
field: 'authCode',
|
|
|
|
component: 'Input',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '随机字符串',
|
|
|
|
field: 'randomCode',
|
|
|
|
component: 'Input',
|
|
|
|
required: true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
label: '通知地址',
|
|
|
|
field: 'notifyUrl',
|
|
|
|
component: 'Input',
|
|
|
|
},
|
|
|
|
|
|
|
|
];
|