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