From cdc1464f9cca6bb41ed11b96f82397df378579d7 Mon Sep 17 00:00:00 2001 From: TimSpan Date: Mon, 2 Dec 2024 10:17:32 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E6=B5=8B=20=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- policeManagement/src/views/query/index.tsx | 29 +++++++++---------- .../src/views/query/publicUnit.vue | 8 ++++- 2 files changed, 21 insertions(+), 16 deletions(-) diff --git a/policeManagement/src/views/query/index.tsx b/policeManagement/src/views/query/index.tsx index 2815e23..f5f8125 100644 --- a/policeManagement/src/views/query/index.tsx +++ b/policeManagement/src/views/query/index.tsx @@ -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_) => { - ) }, diff --git a/policeManagement/src/views/query/publicUnit.vue b/policeManagement/src/views/query/publicUnit.vue index 8d24796..24fce68 100644 --- a/policeManagement/src/views/query/publicUnit.vue +++ b/policeManagement/src/views/query/publicUnit.vue @@ -528,7 +528,13 @@ const expandedRowRender: TableProMaxProps['expandedRowRender'] = ({ record }) => { dataIndex: 'isFiling', title: '是否备案', - customRender: ({ text }) => {text?.label}, + customRender: ({ text }) => { + if (text?.label === '是') { + return {text?.label} + } else { + return {text?.label} + } + }, width: 120, }, {