自测 完善
This commit is contained in:
parent
74a97da1ff
commit
cdc1464f9c
|
@ -313,20 +313,20 @@ export const showEnterprisesUnit = (record_) => {
|
|||
size='small'
|
||||
columns={_columns}
|
||||
requestApi={_reqApi}
|
||||
searchFormOptions={{
|
||||
name: {
|
||||
type: 'input',
|
||||
label: '姓名',
|
||||
},
|
||||
securityNumber: {
|
||||
type: 'input',
|
||||
label: '保安证号',
|
||||
},
|
||||
telephone: {
|
||||
type: 'input',
|
||||
label: '手机号',
|
||||
},
|
||||
}}
|
||||
// searchFormOptions={{
|
||||
// name: {
|
||||
// type: 'input',
|
||||
// label: '姓名',
|
||||
// },
|
||||
// securityNumber: {
|
||||
// type: 'input',
|
||||
// label: '保安证号',
|
||||
// },
|
||||
// telephone: {
|
||||
// type: 'input',
|
||||
// label: '手机号',
|
||||
// },
|
||||
// }}
|
||||
v-slots={
|
||||
{
|
||||
tableHeader: (_) => {
|
||||
|
@ -335,7 +335,6 @@ export const showEnterprisesUnit = (record_) => {
|
|||
<Button class='btn-success' onClick={() => saveOrUpdateEnterprisesUnit(_tableRef.value?.requestGetTableData, record_, 'add')}>
|
||||
新增
|
||||
</Button>
|
||||
<Button disabled>导入</Button>
|
||||
</Space>
|
||||
)
|
||||
},
|
||||
|
|
|
@ -528,7 +528,13 @@ const expandedRowRender: TableProMaxProps['expandedRowRender'] = ({ record }) =>
|
|||
{
|
||||
dataIndex: 'isFiling',
|
||||
title: '是否备案',
|
||||
customRender: ({ text }) => <a-tag>{text?.label}</a-tag>,
|
||||
customRender: ({ text }) => {
|
||||
if (text?.label === '是') {
|
||||
return <a-tag color={'success'}>{text?.label}</a-tag>
|
||||
} else {
|
||||
return <a-tag color={'error'}>{text?.label}</a-tag>
|
||||
}
|
||||
},
|
||||
width: 120,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue