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() {
详情
From 5fa41f6d85261bb05105830bb81a79c89ad4a006 Mon Sep 17 00:00:00 2001
From: dev_ljl <2590379346@qq.com>
Date: Fri, 22 Aug 2025 12:58:16 +0800
Subject: [PATCH 2/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/data.ts | 5 +++--
.../src/views/property/assetManage/suppliers/index.vue | 2 +-
.../attendanceManagement/attendanceGroupSettings/index.vue | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/apps/web-antd/src/views/property/assetManage/procurementApplication/data.ts b/apps/web-antd/src/views/property/assetManage/procurementApplication/data.ts
index 8239e602..c940e246 100644
--- a/apps/web-antd/src/views/property/assetManage/procurementApplication/data.ts
+++ b/apps/web-antd/src/views/property/assetManage/procurementApplication/data.ts
@@ -39,10 +39,11 @@ export const querySchema: FormSchemaGetter = () => [
{
component: 'Select',
- componentProps: {},
+ componentProps: {
+ options: getDictOptions('wy_zccgfs'),
+ },
fieldName: 'buyType',
label: '采购方式',
- options: getDictOptions('wy_zccgfs'),
},
{
component: 'Select',
diff --git a/apps/web-antd/src/views/property/assetManage/suppliers/index.vue b/apps/web-antd/src/views/property/assetManage/suppliers/index.vue
index b6038c72..2be1ca98 100644
--- a/apps/web-antd/src/views/property/assetManage/suppliers/index.vue
+++ b/apps/web-antd/src/views/property/assetManage/suppliers/index.vue
@@ -155,7 +155,7 @@ const { hasAccessByCodes } = useAccess();
:unCheckedValue="0"
v-model:value="row.state"
:api="() => suppliersUpdate(row)"
- :disabled="!hasAccessByCodes(['property:suppliers:update'])"
+ :disabled="!hasAccessByCodes(['property:suppliers:edit'])"
@reload="() => tableApi.query()"
/>
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,
+ },
+ );
}
-
@@ -144,7 +148,8 @@ function handleDownloadExcel() {
danger
type="primary"
v-access:code="['property:rentalPlan:remove']"
- @click="handleMultiDelete">
+ @click="handleMultiDelete"
+ >
{{ $t('pages.common.delete') }}
- {{ row.rentalPeriod == 0?'月':row.rentalPeriod == 1 ? '季度':'年' }}
+ {{
+ row.rentalPeriod == 0 ? '月' : row.rentalPeriod == 1 ? '季度' : '年'
+ }}
@@ -167,7 +174,12 @@ function handleDownloadExcel() {
- 查看
+
+ 查看
+
-
import { Page, useVbenModal, type VbenFormProps } from '@vben/common-ui';
import { getVxePopupContainer } from '@vben/utils';
@@ -8,7 +7,7 @@ import { Modal, Popconfirm, Space } from 'ant-design-vue';
import {
useVbenVxeGrid,
vxeCheckboxChecked,
- type VxeGridProps
+ type VxeGridProps,
} from '#/adapter/vxe-table';
import {
@@ -62,7 +61,7 @@ const gridOptions: VxeGridProps = {
keyField: 'id',
},
// 表格全局唯一表示 保存列配置需要用到
- id: 'property-rentalOrder-index'
+ id: 'property-rentalOrder-index',
};
const [BasicTable, tableApi] = useVbenVxeGrid({
@@ -108,9 +107,14 @@ function handleMultiDelete() {
}
function handleDownloadExcel() {
- commonDownloadExcel(rentalOrderExport, '绿植租赁-订单管理数据', tableApi.formApi.form.values, {
- fieldMappingTime: formOptions.fieldMappingTime,
- });
+ commonDownloadExcel(
+ rentalOrderExport,
+ '绿植租赁-订单管理数据',
+ tableApi.formApi.form.values,
+ {
+ fieldMappingTime: formOptions.fieldMappingTime,
+ },
+ );
}
@@ -130,7 +134,8 @@ function handleDownloadExcel() {
danger
type="primary"
v-access:code="['property:rentalOrder:remove']"
- @click="handleMultiDelete">
+ @click="handleMultiDelete"
+ >
{{ $t('pages.common.delete') }}
+ v-access:code="['property:rentalOrder:query']"
+ @click.stop="handleInfo(row)"
+ >
{{ $t('pages.common.info') }}