From db391376cffe8c19fe2232df1d9d9ca2c2c3c6e2 Mon Sep 17 00:00:00 2001 From: "1378012178@qq.com" <1378012178@qq.com> Date: Wed, 22 Oct 2025 09:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=B9=E6=B3=95=E5=8F=82?= =?UTF-8?q?=E6=95=B0=EF=BC=88=E4=BB=A3=E7=A0=81=E8=A7=84=E8=8C=83=E5=A4=84?= =?UTF-8?q?=E7=90=86=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../internaltool/cleanAdvisory/index.vue | 25 ++++++++++--------- 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/src/views/internaltool/cleanAdvisory/index.vue b/src/views/internaltool/cleanAdvisory/index.vue index e0e6f0c..107454a 100644 --- a/src/views/internaltool/cleanAdvisory/index.vue +++ b/src/views/internaltool/cleanAdvisory/index.vue @@ -1,5 +1,5 @@ @@ -18,7 +18,7 @@ import { ref, reactive } from 'vue'; import { BasicTable, useTable, TableAction } from '/@/components/Table'; import { useListPage } from '/@/hooks/system/useListPage'; import { columns, formSchema } from './cleanadvisory.data'; -import { list,dataClean,dataDelete } from './cleanadvisory.api'; +import { list, dataClean, dataDelete } from './cleanadvisory.api'; const props = defineProps({ serverType: '', @@ -34,9 +34,9 @@ const { prefixCls, tableContext, onExportXls, onImportXls } = useListPage({ formConfig: { schemas: formSchema }, - actionColumn: { - width: 380, - }, + actionColumn: { + width: 380, + }, canResize: false, useSearchForm: true, showTableSetting: false, @@ -64,13 +64,13 @@ function searchQuery() { reload(); } -async function handleClean(record,type) { +async function handleClean(record, type) { console.log("🚀 ~ handleClean ~ record:", record) record.advisoryType = type; await dataClean(record, handleSuccess); } -async function handleDelete(record) { +async function handleDelete(record, type) { console.log("🚀 ~ handleDelete ~ record:", record) await dataDelete(record, handleSuccess); } @@ -84,7 +84,7 @@ function getTableAction(record) { label: '清除长者入驻', popConfirm: { title: '是否确认清除入驻', - confirm: handleClean.bind(null, record,'1'), + confirm: handleClean.bind(null, record, '1'), placement: 'topLeft', }, }, @@ -92,7 +92,7 @@ function getTableAction(record) { label: '清除员工入驻', popConfirm: { title: '是否确认清除入驻', - confirm: handleClean.bind(null, record,'2'), + confirm: handleClean.bind(null, record, '2'), placement: 'topLeft', }, }, @@ -100,7 +100,7 @@ function getTableAction(record) { label: '清除机构入驻', popConfirm: { title: '是否确认清除入驻', - confirm: handleClean.bind(null, record,'3'), + confirm: handleClean.bind(null, record, '3'), placement: 'topLeft', }, }, @@ -108,7 +108,7 @@ function getTableAction(record) { label: '清除所有', popConfirm: { title: '是否确认清除所有', - confirm: handleDelete.bind(null, record,'1'), + confirm: handleDelete.bind(null, record, '1'), placement: 'topLeft', }, }, @@ -160,6 +160,7 @@ defineExpose({ .ant-table-thead>tr>th { background-color: #dadadaee; } + .ant-table-tbody>tr>td { background-color: #f3f3f3f5; }