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", dataIndex: 'updateDate', 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', }, ];