From 3158dc84f7a6ef4568e1eeaf33df5b4b2fd1768f Mon Sep 17 00:00:00 2001 From: Teo <2642673902@qq.com> Date: Thu, 14 Aug 2025 01:58:00 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/api/message/config/index.ts | 4 +- src/api/message/config/types.ts | 19 +- src/views/cory/workMessage/index.vue | 4 +- src/views/design/billofQuantities/index.vue | 529 +++++++++--------- src/views/design/condition/comm/filePage.vue | 2 +- src/views/design/designChange/index.vue | 2 +- src/views/design/drawing/DrawingTable.vue | 16 +- src/views/design/drawing/index.vue | 25 +- src/views/design/drawingreview/detailForm.vue | 6 +- src/views/design/prelimScheme/index.vue | 2 +- src/views/design/received/index.vue | 2 +- src/views/design/scheme/index.vue | 2 +- src/views/design/specialScheme/index.vue | 2 +- src/views/design/subcontract/index.vue | 6 +- .../component/recyclingStation.vue | 2 +- src/views/design/technicalStandard/index.vue | 2 +- src/views/design/volumeCatalog/index.vue | 2 +- src/views/drone/droneConfig/index.vue | 6 +- src/views/gisHome/component/leftMain.vue | 6 +- src/views/gisHome/component/rightMain.vue | 6 +- src/views/gisHome/index.vue | 4 +- src/views/machinery/index.vue | 8 +- src/views/materials/appointment/index.vue | 2 +- src/views/materials/batchPlan/index.vue | 12 +- src/views/materials/batchPlan/indexEdit.vue | 2 +- src/views/materials/cailiaoshebei/index.vue | 10 +- src/views/materials/company/index.vue | 8 +- src/views/materials/materials/index.vue | 10 +- .../partyA/materialIssue/index.vue | 2 +- .../partyA/materialReceive/index.vue | 2 +- .../partyB/materialIssue/index.vue | 2 +- .../partyB/materialReceive/index.vue | 2 +- .../materials/materialsInventory/index.vue | 8 +- src/views/materials/orderEquipment/index.vue | 14 +- src/views/materials/orderMaterials/index.vue | 8 +- src/views/materials/repertory/index.vue | 6 +- .../materials/repertoryDetails/index.vue | 2 +- src/views/materials/suppliesprice/index.vue | 8 +- src/views/message/config/index.vue | 48 +- src/views/monitorRoom/index.vue | 6 +- src/views/other/ys7Device/index.vue | 2 +- src/views/out/constructionValue/index.vue | 4 +- src/views/out/designCompletion/index.vue | 2 +- src/views/out/monthPlan/index.vue | 4 +- src/views/out/monthPlan/indexEdit.vue | 2 +- src/views/out/monthPlanAudit/index.vue | 3 +- src/views/out/outDesignTable/index.vue | 4 +- src/views/out/outDesignTableVS/index.vue | 4 +- src/views/out/outTable/index.vue | 4 +- src/views/out/ownerSettlement/index.vue | 4 +- src/views/out/settlementValueOwner/index.vue | 7 +- .../out/settlementValueSubcontract/index.vue | 8 +- src/views/out/valueAllocation/index.vue | 6 +- .../constructionSchedulePlan/index.vue | 6 +- src/views/progress/plan/index.vue | 8 +- src/views/progress/progressCategory/index.vue | 8 +- .../progressCategoryTemplate/index.vue | 2 +- src/views/progress/progressPaper/index.vue | 6 +- src/views/project/attendance/index.vue | 6 +- src/views/project/attendanceRecords/index.vue | 2 +- .../project/constructionBlacklist/index.vue | 6 +- src/views/project/constructionUser/index.vue | 16 +- src/views/project/contractor/index.vue | 8 +- .../project/contractorMaterial/index.vue | 8 +- .../component/LevanAutbound.vue | 15 +- src/views/project/contractorTool/index.vue | 8 +- .../BasicData/enterRoad/index.vue | 8 +- .../BasicData/landBlock/index.vue | 10 +- .../landTransferLedger/index.vue | 10 +- .../landTransferLedgerFangzhen/index.vue | 10 +- .../nonTransferLedger/index copy.vue | 10 +- .../nonTransferLedger/index.vue | 10 +- src/views/project/leave/index.vue | 2 +- .../projectTeam/component/UserListDialog.vue | 6 +- src/views/project/projectTeam/index.vue | 8 +- src/views/project/projectUser/index.vue | 16 +- src/views/project/reissueCard/index.vue | 2 +- src/views/project/subManagementUser/index.vue | 16 +- src/views/project/subcontract/index.vue | 8 +- src/views/project/workWage/index.vue | 8 +- src/views/project/workerDailyReport/index.vue | 2 +- .../component/recyclingStation.vue | 2 +- .../quality/qualityConstructionLog/index.vue | 6 +- src/views/quality/qualityInspection/index.vue | 4 +- .../RecyclingStation/index.vue | 2 +- .../safety/documentSafetyMeeting/index.vue | 4 +- .../component/recyclingStation.vue | 4 +- src/views/safety/knowledgeDocument/index.vue | 2 +- src/views/safety/questionUserAnswer/index.vue | 8 +- src/views/safety/questionsCategory/index.vue | 8 +- src/views/safety/questionsConfig/index.vue | 4 +- src/views/safety/recognizeRecord/index.vue | 2 +- src/views/safety/safetyInspection/index.vue | 10 +- src/views/safety/safetyLog/index.vue | 8 +- src/views/safety/safetyWeeklyReport/index.vue | 8 +- src/views/safety/teamMeeting/index.vue | 6 +- src/views/safety/violationLevel/index.vue | 2 +- .../workflows/processDefinition/index.vue | 4 +- 99 files changed, 620 insertions(+), 554 deletions(-) diff --git a/.env.development b/.env.development index fe20df3..21892b7 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 新能源项目管理平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.159:8898' +VITE_APP_BASE_API = 'http://192.168.110.180:8898' # 无人机接口地址 diff --git a/src/api/message/config/index.ts b/src/api/message/config/index.ts index 50b9bac..8335a8a 100644 --- a/src/api/message/config/index.ts +++ b/src/api/message/config/index.ts @@ -63,9 +63,9 @@ export const delConfig = (id: string | number | Array) => { }; /** 获取用户列表 */ -export const listUser = (query?: any) => { +export const listUsers = (query?: any) => { return request({ - url: '/system/user/list', + url: '/message/config/allUsersOfTheDepartment', method: 'get', params: query }); diff --git a/src/api/message/config/types.ts b/src/api/message/config/types.ts index 02194f8..879d9d7 100644 --- a/src/api/message/config/types.ts +++ b/src/api/message/config/types.ts @@ -33,7 +33,6 @@ export interface ConfigVO { * 通知人 */ userId: string | number; - } export interface ConfigForm extends BaseEntity { @@ -41,7 +40,10 @@ export interface ConfigForm extends BaseEntity { * 主键ID */ id?: string | number; - + /** + * 通知部门 + */ + deptId?: string | number; /** * 项目ID */ @@ -71,11 +73,9 @@ export interface ConfigForm extends BaseEntity { * 通知人 */ userId?: string | number; - } export interface ConfigQuery extends PageQuery { - /** * 项目ID */ @@ -106,11 +106,8 @@ export interface ConfigQuery extends PageQuery { */ userId?: string | number; - /** - * 日期范围参数 - */ - params?: any; + /** + * 日期范围参数 + */ + params?: any; } - - - diff --git a/src/views/cory/workMessage/index.vue b/src/views/cory/workMessage/index.vue index 05bd146..27204d5 100644 --- a/src/views/cory/workMessage/index.vue +++ b/src/views/cory/workMessage/index.vue @@ -271,7 +271,7 @@ const getList = async () => { tableData.value = res.rows; total.value = res.total || 0; // 获取项目班组信息 - const teamRes = await listProjectTeamForeman(currentProject.value.id); + const teamRes = await listProjectTeamForeman(currentProject.value?.id); teamList.value = teamRes.data; teamOpt.value = teamList.value.map((team: ProjectTeamForemanResp) => ({ label: team.teamName, @@ -308,7 +308,7 @@ const resetForm = () => { }; //监听项目id刷新数据 const listeningProject = watch( - () => currentProject.value.id, + () => currentProject.value?.id, (nid, oid) => { queryParams.value.projectId = nid; form.value.projectId = nid; diff --git a/src/views/design/billofQuantities/index.vue b/src/views/design/billofQuantities/index.vue index 1881ffc..a25aea2 100644 --- a/src/views/design/billofQuantities/index.vue +++ b/src/views/design/billofQuantities/index.vue @@ -1,312 +1,339 @@ \ No newline at end of file + diff --git a/src/views/design/condition/comm/filePage.vue b/src/views/design/condition/comm/filePage.vue index 1ad9f7d..e7d10dc 100644 --- a/src/views/design/condition/comm/filePage.vue +++ b/src/views/design/condition/comm/filePage.vue @@ -60,7 +60,7 @@ const props = defineProps({ const uploadParams = computed(() => { return { catalogueId: props.catalogueId, - projectId: currentProject.value.id + projectId: currentProject.value?.id }; }); diff --git a/src/views/design/designChange/index.vue b/src/views/design/designChange/index.vue index 97a8492..e4fa6fd 100644 --- a/src/views/design/designChange/index.vue +++ b/src/views/design/designChange/index.vue @@ -209,7 +209,7 @@ onMounted(() => { }); //监听项目id刷新数据 const listeningProject = watch( - () => currentProject.value.id, + () => currentProject.value?.id, (nid, oid) => { queryParams.value.projectId = nid; getList(); diff --git a/src/views/design/drawing/DrawingTable.vue b/src/views/design/drawing/DrawingTable.vue index 1047892..fac6e5e 100644 --- a/src/views/design/drawing/DrawingTable.vue +++ b/src/views/design/drawing/DrawingTable.vue @@ -1,7 +1,7 @@