// import { FormSchema } from '/@/components/Form/index'; import { BasicColumn } from '/@/components/Table/src/types/table'; export const userListSchema: BasicColumn[] = [ { title: '姓名', width: 200, dataIndex: 'ryNickName', fixed: 'left', }, { title: '人员编号', width: 200, dataIndex: 'ryNo', }, { title: '共享内容', width: 200, dataIndex: 'ryNo1', customRender: ({ record }) => { if (!record.shareTypes) return ''; const shareTypes = record.shareTypes.toString(); return shareTypes == 'scene' ? '查看实景三维' : shareTypes == 'fusion' ? '查看多元融合' : '查看实景三维 查看多元融合'; }, }, { title: '状态', width: 200, dataIndex: 'state', customRender: ({ record }) => { return record.status == 1 ? '正常' : '冻结'; }, }, ];