From 3d501323387973935aee101e48dec285d2b1f851 Mon Sep 17 00:00:00 2001 From: dhr <2216804034@qq.com> Date: Sat, 6 Sep 2025 13:21:10 +0800 Subject: [PATCH 1/2] 0906 --- .env.development | 2 +- absolute/path/to/index.vue | 1 + .../landTransfer/landTransferLedger/index.ts | 23 + .../landTransfer/landTransferLedger/types.ts | 24 +- src/views/equipment/index.vue | 28 +- .../landTransferLedger/index.vue | 935 ++++++++++++++++-- 6 files changed, 892 insertions(+), 121 deletions(-) create mode 100644 absolute/path/to/index.vue diff --git a/.env.development b/.env.development index 764306d..faff5a9 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_APP_ENV = 'development' # 开发环境 # 李陈杰 209 -VITE_APP_BASE_API = 'http://192.168.110.149:8899' +VITE_APP_BASE_API = 'http://192.168.110.210:8899' # 曾涛 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 罗成 diff --git a/absolute/path/to/index.vue b/absolute/path/to/index.vue new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/absolute/path/to/index.vue @@ -0,0 +1 @@ + diff --git a/src/api/system/landTransfer/landTransferLedger/index.ts b/src/api/system/landTransfer/landTransferLedger/index.ts index fbd949e..bd397a1 100644 --- a/src/api/system/landTransfer/landTransferLedger/index.ts +++ b/src/api/system/landTransfer/landTransferLedger/index.ts @@ -79,3 +79,26 @@ export const landTransferLedgerCount = (id: string | number | Array { + return request({ + url: '/land/landTransferLedger/children/add', + method: 'post', + data: data + }); +}; + +export const listSonLandTransferLedger = (query) => { + return request({ + url: '/land/landTransferLedger/children/list', + method: 'get', + params: query + }); +}; +// api/yourApiModule.js +export const listallCountValue = (projectId) => { + return request({ + url: '/land/landTransferLedger/allCountValue/' + projectId, + method: 'get' + }); +}; diff --git a/src/api/system/landTransfer/landTransferLedger/types.ts b/src/api/system/landTransfer/landTransferLedger/types.ts index 75487d0..59daeb4 100644 --- a/src/api/system/landTransfer/landTransferLedger/types.ts +++ b/src/api/system/landTransfer/landTransferLedger/types.ts @@ -4,6 +4,11 @@ export interface LandTransferLedgerVO { */ id: string | number; + /** + * 父级ID + */ + parentId: string | number; + /** * 项目ID */ @@ -83,7 +88,6 @@ export interface LandTransferLedgerVO { * 下一步策略 */ nextStrategy: string; - } export interface LandTransferLedgerForm extends BaseEntity { @@ -92,6 +96,11 @@ export interface LandTransferLedgerForm extends BaseEntity { */ id?: string | number; + /** + * 父级ID + */ + parentId: string | number; + /** * 项目ID */ @@ -171,11 +180,9 @@ export interface LandTransferLedgerForm extends BaseEntity { * 下一步策略 */ nextStrategy?: string; - } export interface LandTransferLedgerQuery extends PageQuery { - /** * 项目ID */ @@ -256,11 +263,8 @@ export interface LandTransferLedgerQuery extends PageQuery { */ nextStrategy?: string; - /** - * 日期范围参数 - */ - params?: any; + /** + * 日期范围参数 + */ + params?: any; } - - - diff --git a/src/views/equipment/index.vue b/src/views/equipment/index.vue index 22fab09..8d9444f 100644 --- a/src/views/equipment/index.vue +++ b/src/views/equipment/index.vue @@ -42,11 +42,6 @@ {{ viewAllButtonText }} - - - GPS定位 - - @@ -68,17 +63,7 @@ - - - + @@ -110,6 +95,13 @@ > + + + + + + + @@ -240,7 +232,7 @@ const projectList = ref([]); const projectLoading = ref(false); const userLoading = ref(false); const viewAllButtonText = computed(() => { - return queryParams.value.type === 1 ? '查看未绑定设备' : '查看已绑定设备'; + return queryParams.value.type === 1 ? '查看未绑定项目设备' : '查看已绑定项目设备'; }); // 对话框相关 @@ -473,7 +465,7 @@ const handleViewAll = () => { getList(); }; -const handleGoToEmptyPage = () => { +const handleGoToEmptyPage = (userId: any) => { router.push({ path: './equipmentGPS' }); diff --git a/src/views/project/landTransfer/BusinessLedger/landTransferLedger/index.vue b/src/views/project/landTransfer/BusinessLedger/landTransferLedger/index.vue index 28839b3..bc9baa1 100644 --- a/src/views/project/landTransfer/BusinessLedger/landTransferLedger/index.vue +++ b/src/views/project/landTransfer/BusinessLedger/landTransferLedger/index.vue @@ -4,7 +4,7 @@
设计面积 - {{ detailInfo.designArea }} 亩 + {{ detailInfo.areaSum }} 亩
@@ -13,7 +13,7 @@
已流转面积 - {{ detailInfo.transferAea }} 亩 + {{ detailInfo.transferAreaSum }} 亩
@@ -22,7 +22,7 @@
租金 - {{ detailInfo.landRent / 1000 }} 万元 + {{ detailInfo.rentSum / 1000 }} 万元
@@ -42,6 +42,7 @@ + @@ -74,18 +75,23 @@ - - - - - - - - + + + + + + + + + +