import {
|
exportExcel as organizeExportExcel,
|
exportExceptionData as organizeExportExceptionData,
|
importData as organizeImportData,
|
importPreview as organizeImportPreview,
|
templateDownload as organizeTemplateDownload,
|
} from '#/api/permission/organize';
|
import {
|
exportExcel as positionExportExcel,
|
exportExceptionData as positionExportExceptionData,
|
importData as positionImportData,
|
importPreview as positionImportPreview,
|
templateDownload as positionTemplateDownload,
|
} from '#/api/permission/position';
|
import {
|
exportExcel as userExportExcel,
|
exportExceptionData as userExportExceptionData,
|
importData as userImportData,
|
importPreview as userImportPreview,
|
templateDownload as userTemplateDownload,
|
} from '#/api/permission/user';
|
|
export const importInfo = {
|
organize: {
|
templateDownload: organizeTemplateDownload,
|
importPreview: organizeImportPreview,
|
importData: organizeImportData,
|
exportExceptionData: organizeExportExceptionData,
|
exportExcel: organizeExportExcel,
|
uploadUrl: '/api/permission/Organize/Uploader',
|
tableData: [
|
{ title: '上级组织', dataIndex: 'parentId', width: 150 },
|
{ title: '*组织类型', dataIndex: 'category', width: 150 },
|
{ title: '*组织名称', dataIndex: 'fullName', width: 150 },
|
{ title: '组织编码', dataIndex: 'enCode', width: 150 },
|
{ title: '排序', dataIndex: 'sortCode', width: 150 },
|
{ title: '说明', dataIndex: 'description', width: 150 },
|
],
|
exportData: [
|
{ title: '上级组织', dataIndex: 'parentId', width: 150 },
|
{ title: '组织类型', dataIndex: 'category', width: 150 },
|
{ title: '组织名称', dataIndex: 'fullName', width: 150 },
|
{ title: '组织编码', dataIndex: 'enCode', width: 150 },
|
{ title: '排序', dataIndex: 'sortCode', width: 150 },
|
{ title: '说明', dataIndex: 'description', width: 150 },
|
],
|
},
|
position: {
|
templateDownload: positionTemplateDownload,
|
importPreview: positionImportPreview,
|
importData: positionImportData,
|
exportExceptionData: positionExportExceptionData,
|
exportExcel: positionExportExcel,
|
uploadUrl: '/api/permission/Position/Uploader',
|
tableData: [
|
{ title: '*所属组织', dataIndex: 'organizeId', width: 150 },
|
{ title: '上级岗位', dataIndex: 'parentId', width: 150 },
|
{ title: '*岗位名称', dataIndex: 'fullName', width: 150 },
|
{ title: '岗位编码', dataIndex: 'enCode', width: 150 },
|
{ title: '岗位约束', dataIndex: 'isCondition', width: 150 },
|
{ title: '约束类型', dataIndex: 'constraintType', width: 150 },
|
{ title: '互斥岗位', dataIndex: 'mutualExclusion', width: 150 },
|
{ title: '用户基数', dataIndex: 'userNum', width: 150 },
|
{ title: '权限基数', dataIndex: 'permissionNum', width: 150 },
|
{ title: '先决岗位', dataIndex: 'prerequisite', width: 150 },
|
{ title: '排序', dataIndex: 'sortCode', width: 150 },
|
{ title: '说明', dataIndex: 'description', width: 150 },
|
],
|
},
|
user: {
|
templateDownload: userTemplateDownload,
|
importPreview: userImportPreview,
|
importData: userImportData,
|
exportExceptionData: userExportExceptionData,
|
exportExcel: userExportExcel,
|
uploadUrl: '/api/permission/Users/Uploader',
|
tableData: [
|
{ title: '所属岗位', dataIndex: 'positionId', width: 150 },
|
{ title: '角色', dataIndex: 'roleId', width: 150 },
|
{ title: '*账户', dataIndex: 'account', width: 150 },
|
{ title: '*姓名', dataIndex: 'realName', width: 150 },
|
{ title: '*性别', dataIndex: 'gender', width: 150 },
|
{ title: '电子邮箱', dataIndex: 'email', width: 150 },
|
{ title: '手机号码', dataIndex: 'mobilePhone', width: 150 },
|
{ title: '职级', dataIndex: 'ranks', width: 150 },
|
{ title: '民族', dataIndex: 'nation', width: 150 },
|
{ title: '籍贯', dataIndex: 'nativePlace', width: 150 },
|
{ title: '入职时间', dataIndex: 'entryDate', width: 150 },
|
{ title: '证件类型', dataIndex: 'certificatesType', width: 150 },
|
{ title: '证件号码', dataIndex: 'certificatesNumber', width: 150 },
|
{ title: '文化程度', dataIndex: 'education', width: 150 },
|
{ title: '出生年月', dataIndex: 'birthday', width: 150 },
|
{ title: '办公电话', dataIndex: 'telePhone', width: 150 },
|
{ title: '办公座机', dataIndex: 'landline', width: 150 },
|
{ title: '紧急联系', dataIndex: 'urgentContacts', width: 150 },
|
{ title: '紧急电话', dataIndex: 'urgentTelePhone', width: 150 },
|
{ title: '通讯地址', dataIndex: 'postalAddress', width: 150 },
|
{ title: '*状态', dataIndex: 'enabledMark', width: 150 },
|
{ title: '排序', dataIndex: 'sortCode', width: 150 },
|
{ title: '说明', dataIndex: 'description', width: 150 },
|
],
|
exportData: [
|
{ title: '所属岗位', dataIndex: 'positionId', width: 150 },
|
{ title: '角色', dataIndex: 'roleId', width: 150 },
|
{ title: '账户', dataIndex: 'account', width: 150 },
|
{ title: '姓名', dataIndex: 'realName', width: 150 },
|
{ title: '性别', dataIndex: 'gender', width: 150 },
|
{ title: '电子邮箱', dataIndex: 'email', width: 150 },
|
{ title: '手机号码', dataIndex: 'mobilePhone', width: 150 },
|
{ title: '职级', dataIndex: 'ranks', width: 150 },
|
{ title: '民族', dataIndex: 'nation', width: 150 },
|
{ title: '籍贯', dataIndex: 'nativePlace', width: 150 },
|
{ title: '入职时间', dataIndex: 'entryDate', width: 150 },
|
{ title: '证件类型', dataIndex: 'certificatesType', width: 150 },
|
{ title: '证件号码', dataIndex: 'certificatesNumber', width: 150 },
|
{ title: '文化程度', dataIndex: 'education', width: 150 },
|
{ title: '出生年月', dataIndex: 'birthday', width: 150 },
|
{ title: '办公电话', dataIndex: 'telePhone', width: 150 },
|
{ title: '办公座机', dataIndex: 'landline', width: 150 },
|
{ title: '紧急联系', dataIndex: 'urgentContacts', width: 150 },
|
{ title: '紧急电话', dataIndex: 'urgentTelePhone', width: 150 },
|
{ title: '通讯地址', dataIndex: 'postalAddress', width: 150 },
|
{ title: '状态', dataIndex: 'enabledMark', width: 150 },
|
{ title: '排序', dataIndex: 'sortCode', width: 150 },
|
{ title: '说明', dataIndex: 'description', width: 150 },
|
],
|
},
|
};
|