From a599e72a6b79c86587537602b8354b79440bc32a Mon Sep 17 00:00:00 2001 From: dev_ljl <2590379346@qq.com> Date: Fri, 22 Aug 2025 11:14:07 +0800 Subject: [PATCH 1/3] =?UTF-8?q?fix:=E6=8C=89=E9=92=AE=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../property/assetManage/procurementApplication/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web-antd/src/views/property/assetManage/procurementApplication/index.vue b/apps/web-antd/src/views/property/assetManage/procurementApplication/index.vue index 62d25e5b..21d9b5eb 100644 --- a/apps/web-antd/src/views/property/assetManage/procurementApplication/index.vue +++ b/apps/web-antd/src/views/property/assetManage/procurementApplication/index.vue @@ -179,7 +179,7 @@ function handleDownloadExcel() { diff --git a/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/index.vue b/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/index.vue index bf953b9d..19a74ae3 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/index.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/attendanceGroupSettings/index.vue @@ -187,7 +187,7 @@ function handleDownloadExcel() { :unCheckedValue="0" v-model:value="row.status" :api="() => groupUpdate(row)" - :disabled="!hasAccessByCodes(['property:depot:edit'])" + :disabled="!hasAccessByCodes(['Property:group:edit'])" @reload="() => tableApi.query()" /> From 060fd5485eb03d2ecb252835a57a9be4a709c870 Mon Sep 17 00:00:00 2001 From: fyy <2717885210@qq.com> Date: Fri, 22 Aug 2025 12:59:03 +0800 Subject: [PATCH 3/3] =?UTF-8?q?feat:=20=E5=A4=84=E7=90=86=E6=9D=83?= =?UTF-8?q?=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workforceManagement/calendarView.vue | 7 +++- .../chargeManagement/index.vue | 10 +++--- .../leasePogramManagement/index.vue | 34 +++++++++++++------ .../orderManagement/index.vue | 26 ++++++++------ 4 files changed, 51 insertions(+), 26 deletions(-) diff --git a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/calendarView.vue b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/calendarView.vue index 6f33ca09..49c90e9d 100644 --- a/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/calendarView.vue +++ b/apps/web-antd/src/views/property/attendanceManagement/workforceManagement/calendarView.vue @@ -276,7 +276,7 @@ defineExpose({
- +
@@ -295,12 +295,16 @@ defineExpose({ 编辑 删除 @@ -311,6 +315,7 @@ defineExpose({ v-if="getListData2(current).length > 0" style="margin-left: 4px; color: #1890ff; cursor: pointer" @click.stop="handleViewDateDetails(current)" + v-access:code="['Property:userGroup:queryScheduleView']" > 详情 diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue index c83ac167..41bc1990 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/chargeManagement/index.vue @@ -6,7 +6,7 @@ import { $t } from '@vben/locales'; import { useVbenVxeGrid, vxeCheckboxChecked, - type VxeGridProps + type VxeGridProps, } from '#/adapter/vxe-table'; import { orderChargeList, @@ -51,7 +51,7 @@ const gridOptions: VxeGridProps = { rowConfig: { keyField: 'id', }, - id: 'property-orderCharge-index' + id: 'property-orderCharge-index', }; const [BasicTable, tableApi] = useVbenVxeGrid({ @@ -112,7 +112,8 @@ function handleMultiDelete() { danger type="primary" v-access:code="['property:orderCharge:remove']" - @click="handleMultiDelete"> + @click="handleMultiDelete" + > {{ $t('pages.common.delete') }} {{ $t('pages.common.info') }} @@ -155,6 +157,6 @@ function handleMultiDelete() { - + diff --git a/apps/web-antd/src/views/property/greenPlantRentalManagement/leasePogramManagement/index.vue b/apps/web-antd/src/views/property/greenPlantRentalManagement/leasePogramManagement/index.vue index ec31daa2..64450c18 100644 --- a/apps/web-antd/src/views/property/greenPlantRentalManagement/leasePogramManagement/index.vue +++ b/apps/web-antd/src/views/property/greenPlantRentalManagement/leasePogramManagement/index.vue @@ -6,13 +6,13 @@ import { ref } from 'vue'; import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui'; import { getVxePopupContainer } from '@vben/utils'; -import { Modal, Popconfirm, Space,Tag } from 'ant-design-vue'; +import { Modal, Popconfirm, Space, Tag } from 'ant-design-vue'; import dayjs from 'dayjs'; import { useVbenVxeGrid, vxeCheckboxChecked, - type VxeGridProps + type VxeGridProps, } from '#/adapter/vxe-table'; import { @@ -76,7 +76,7 @@ const gridOptions: VxeGridProps = { keyField: 'id', }, // 表格全局唯一表示 保存列配置需要用到 - id: 'property-rentalPlan-index' + id: 'property-rentalPlan-index', }; const [BasicTable, tableApi] = useVbenVxeGrid({ @@ -103,7 +103,7 @@ async function handleDelete(row: Required) { await tableApi.query(); } async function handleView(row: Required) { - modalApi.setData({ id: row.id, readonly: true,}); + modalApi.setData({ id: row.id, readonly: true }); modalApi.open(); } function handleMultiDelete() { @@ -121,11 +121,15 @@ function handleMultiDelete() { } function handleDownloadExcel() { - commonDownloadExcel(rentalPlanExport, '绿植租赁-租赁方案数据', tableApi.formApi.form.values, { - fieldMappingTime: formOptions.fieldMappingTime, - }); + commonDownloadExcel( + rentalPlanExport, + '绿植租赁-租赁方案数据', + tableApi.formApi.form.values, + { + fieldMappingTime: formOptions.fieldMappingTime, + }, + ); } -