|  |  |  | 
|---|
|  |  |  | import MyCreateButton from "../../components/MyCreateButton"; | 
|---|
|  |  |  | import MyExportButton from '../../components/MyExportButton'; | 
|---|
|  |  |  | import PageDrawer from "../../components/PageDrawer"; | 
|---|
|  |  |  | import MyField from "../../components/MyField"; | 
|---|
|  |  |  | import DictField from "../../components/DictField"; | 
|---|
|  |  |  | import { PAGE_DRAWER_WIDTH, OPERATE_MODE, DEFAULT_PAGE_SIZE } from '@/config/setting'; | 
|---|
|  |  |  | import * as Common from '@/utils/common'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | preferenceKey='companys' | 
|---|
|  |  |  | bulkActionButtons={() => <BulkDeleteButton mutationMode={OPERATE_MODE} />} | 
|---|
|  |  |  | rowClick={(id, resource, record) => false} | 
|---|
|  |  |  | expand={() => <CompanysPanel />} | 
|---|
|  |  |  | expandSingle={true} | 
|---|
|  |  |  | omit={['id', 'createTime', 'createBy', 'memo']} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <NumberField source="id" /> | 
|---|
|  |  |  | 
|---|
|  |  |  | <TextField source="name" label="table.field.companys.name" /> | 
|---|
|  |  |  | <TextField source="nameEn" label="table.field.companys.nameEn" /> | 
|---|
|  |  |  | <TextField source="breifCode" label="table.field.companys.breifCode" /> | 
|---|
|  |  |  | <TextField source="type" label="table.field.companys.type" /> | 
|---|
|  |  |  | <DictField source="type" label="table.field.companys.type" dictTypeCode={'sys_companys_type'} /> | 
|---|
|  |  |  | <TextField source="contact" label="table.field.companys.contact" /> | 
|---|
|  |  |  | <TextField source="tel" label="table.field.companys.tel" /> | 
|---|
|  |  |  | <TextField source="email" label="table.field.companys.email" /> | 
|---|