From 4a5856f6142eec6fb530ab498adfe37911498664 Mon Sep 17 00:00:00 2001 From: Teo <2642673902@qq.com> Date: Fri, 1 Aug 2025 20:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=9B=E5=BA=A6=E7=AE=A1=E7=90=86=E4=BA=A7?= =?UTF-8?q?=E5=80=BC=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 2 +- src/api/materials/cailiaoshebei/index.ts | 88 ++++ src/api/materials/cailiaoshebei/types.ts | 225 +++++++++ src/api/out/monthPlan/index.ts | 13 + src/api/out/monthPlan/types.ts | 93 ++-- src/api/out/monthPlanAudit/index.ts | 63 +++ src/api/out/monthPlanAudit/types.ts | 116 +++++ .../constructionSchedulePlan/index.ts | 63 +++ .../constructionSchedulePlan/types.ts | 145 ++++++ src/api/progress/progressCategory/index.ts | 63 +++ src/api/progress/progressCategory/types.ts | 265 +++++++++++ src/api/quality/qualityInspection/types.ts | 1 + src/views/materials/cailiaoshebei/index.vue | 445 ++++++++++++++++++ src/views/out/constructionValue/index.vue | 19 +- src/views/out/designCompletion/index.vue | 248 ++++++---- src/views/out/monthPlan/index.vue | 114 ++--- src/views/out/monthPlanAudit/index.vue | 249 ++++++++++ .../constructionSchedulePlan/index.vue | 362 ++++++++++++++ src/views/progress/plan/index.vue | 4 +- src/views/progress/progressCategory/index.vue | 371 +++++++++++++++ src/views/quality/qualityInspection/index.vue | 10 +- 21 files changed, 2748 insertions(+), 211 deletions(-) create mode 100644 src/api/materials/cailiaoshebei/index.ts create mode 100644 src/api/materials/cailiaoshebei/types.ts create mode 100644 src/api/out/monthPlanAudit/index.ts create mode 100644 src/api/out/monthPlanAudit/types.ts create mode 100644 src/api/progress/constructionSchedulePlan/index.ts create mode 100644 src/api/progress/constructionSchedulePlan/types.ts create mode 100644 src/api/progress/progressCategory/index.ts create mode 100644 src/api/progress/progressCategory/types.ts create mode 100644 src/views/materials/cailiaoshebei/index.vue create mode 100644 src/views/out/monthPlanAudit/index.vue create mode 100644 src/views/progress/constructionSchedulePlan/index.vue create mode 100644 src/views/progress/progressCategory/index.vue diff --git a/.env.development b/.env.development index 1c549fa..a03e777 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.180:8899' +VITE_APP_BASE_API = 'http://192.168.110.159:8899' # 无人机接口地址 diff --git a/src/api/materials/cailiaoshebei/index.ts b/src/api/materials/cailiaoshebei/index.ts new file mode 100644 index 0000000..bf03b50 --- /dev/null +++ b/src/api/materials/cailiaoshebei/index.ts @@ -0,0 +1,88 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { CailiaoshebeiVO, CailiaoshebeiForm, CailiaoshebeiQuery } from '@/api/materials/cailiaoshebei/types'; + +/** + * 查询物资-材料设备列表 + * @param query + * @returns {*} + */ + +export const listCailiaoshebei = (query?: CailiaoshebeiQuery): AxiosPromise => { + return request({ + url: '/cailiaoshebei/cailiaoshebei/list', + method: 'get', + params: query + }); +}; + +/** + * 查询物资-材料设备详细 + * @param id + */ +export const getCailiaoshebei = (id: string | number): AxiosPromise => { + return request({ + url: '/cailiaoshebei/cailiaoshebei/' + id, + method: 'get' + }); +}; + +/** + * 新增物资-材料设备 + * @param data + */ +export const addCailiaoshebei = (data: CailiaoshebeiForm) => { + return request({ + url: '/cailiaoshebei/cailiaoshebei', + method: 'post', + data: data + }); +}; + +/** + * 修改物资-材料设备 + * @param data + */ +export const updateCailiaoshebei = (data: CailiaoshebeiForm) => { + return request({ + url: '/cailiaoshebei/cailiaoshebei', + method: 'put', + data: data + }); +}; + +/** + * 删除物资-材料设备 + * @param id + */ +export const delCailiaoshebei = (id: string | number | Array) => { + return request({ + url: '/cailiaoshebei/cailiaoshebei/' + id, + method: 'delete' + }); +}; + +/** + * 查询物资-材料设备批次列表 + * @param query + * @returns {*} + */ +export const listBatch = (query?: any): AxiosPromise => { + return request({ + url: '/cailiaoshebei/cailiaoshebei/pcList', + method: 'get', + params: query + }); +}; + +/** + * 新增物资-材料设备批次 + * @param data + */ +export const getBatch = (data: any) => { + return request({ + url: '/cailiaoshebei/cailiaoshebei/pcAdd', + method: 'post', + data: data + }); +}; diff --git a/src/api/materials/cailiaoshebei/types.ts b/src/api/materials/cailiaoshebei/types.ts new file mode 100644 index 0000000..d9346d0 --- /dev/null +++ b/src/api/materials/cailiaoshebei/types.ts @@ -0,0 +1,225 @@ +export interface CailiaoshebeiVO { + /** + * 主键ID + */ + id: string | number; + + /** + * 批次ID + */ + batchId: string | number; + + /** + * 供货商ID + */ + supplierId: string | number; + + /** + * 供货商 + */ + supplier: string; + + /** + * 设备材料名称 + */ + name: string; + + /** + * 供货来源(字典) + */ + supply: string; + + /** + * 规格型号 + */ + specification: string; + + /** + * 特征描述 + */ + signalment: string; + + /** + * 物料编码 + */ + materialCode: string; + + /** + * 计划到场时间 + */ + arrivalTime: string; + + /** + * 计划完成时间 + */ + finishTime: string; + + /** + * 计量单位 + */ + unit: string; + + /** + * 计划数量 + */ + plan: number; + + /** + * 实际数量 + */ + realQuantity: number; + + /** + * 备注 + */ + remark: string; +} + +export interface CailiaoshebeiForm extends BaseEntity { + /** + * 主键ID + */ + id?: string | number; + projectId?: string | number; + /** + * 批次ID + */ + batchId?: string | number; + + /** + * 供货商ID + */ + supplierId?: string | number; + + /** + * 供货商 + */ + supplier?: string; + + /** + * 设备材料名称 + */ + name?: string; + + /** + * 供货来源(字典) + */ + supply?: string; + + /** + * 规格型号 + */ + specification?: string; + + /** + * 特征描述 + */ + signalment?: string; + + /** + * 物料编码 + */ + materialCode?: string; + + /** + * 计划到场时间 + */ + arrivalTime?: string; + + /** + * 计划完成时间 + */ + finishTime?: string; + + /** + * 计量单位 + */ + unit?: string; + + /** + * 计划数量 + */ + plan?: number; + + /** + * 实际数量 + */ + realQuantity?: number; + + /** + * 备注 + */ + remark?: string; +} + +export interface CailiaoshebeiQuery extends PageQuery { + /** + * 批次ID + */ + batchId?: string | number; + projectId?: string | number; + /** + * 供货商ID + */ + supplierId?: string | number; + + /** + * 供货商 + */ + supplier?: string; + + /** + * 设备材料名称 + */ + name?: string; + + /** + * 供货来源(字典) + */ + supply?: string; + + /** + * 规格型号 + */ + specification?: string; + + /** + * 特征描述 + */ + signalment?: string; + + /** + * 物料编码 + */ + materialCode?: string; + + /** + * 计划到场时间 + */ + arrivalTime?: string; + + /** + * 计划完成时间 + */ + finishTime?: string; + + /** + * 计量单位 + */ + unit?: string; + + /** + * 计划数量 + */ + plan?: number; + + /** + * 实际数量 + */ + realQuantity?: number; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/api/out/monthPlan/index.ts b/src/api/out/monthPlan/index.ts index 688b675..2efc0c9 100644 --- a/src/api/out/monthPlan/index.ts +++ b/src/api/out/monthPlan/index.ts @@ -61,3 +61,16 @@ export const delMonthPlan = (id: string | number | Array) => { method: 'delete' }); }; + +/** + * 获取月度产值计划 + * @param query + * @returns {*} + */ +export const getMonth = (query: any): AxiosPromise => { + return request({ + url: '/out/monthPlan/info', + method: 'get', + params: query + }); +}; diff --git a/src/api/out/monthPlan/types.ts b/src/api/out/monthPlan/types.ts index 765ce8a..3144767 100644 --- a/src/api/out/monthPlan/types.ts +++ b/src/api/out/monthPlan/types.ts @@ -10,24 +10,19 @@ export interface MonthPlanVO { projectId: string | number; /** - * 设计产值 + * 计划产值 */ - designValue: number; + planValue: number; /** - * 采购产值 + * 完成产值 */ - procurementValue: number; + completeValue: number; /** - * 施工产值 + * 差额 */ - constructionValue: number; - - /** - * 总产值 - */ - totalValue: number; + differenceValue: number; /** * 计划月份(YYYY-MM) @@ -35,9 +30,19 @@ export interface MonthPlanVO { planMonth: string; /** - * 审核状态 + * 1-设计 2-采购 3-施工 */ - auditStatus: string; + valueType: string; + + /** + * 计划审核状态 + */ + planAuditStatus: string; + + /** + * 完成审核状态 + */ + completeAuditStatus: string; } @@ -53,24 +58,19 @@ export interface MonthPlanForm extends BaseEntity { projectId?: string | number; /** - * 设计产值 + * 计划产值 */ - designValue?: number; + planValue?: number; /** - * 采购产值 + * 完成产值 */ - procurementValue?: number; + completeValue?: number; /** - * 施工产值 + * 差额 */ - constructionValue?: number; - - /** - * 总产值 - */ - totalValue?: number; + differenceValue?: number; /** * 计划月份(YYYY-MM) @@ -78,9 +78,19 @@ export interface MonthPlanForm extends BaseEntity { planMonth?: string; /** - * 审核状态 + * 1-设计 2-采购 3-施工 */ - auditStatus?: string; + valueType?: string; + + /** + * 计划审核状态 + */ + planAuditStatus?: string; + + /** + * 完成审核状态 + */ + completeAuditStatus?: string; } @@ -92,24 +102,19 @@ export interface MonthPlanQuery extends PageQuery { projectId?: string | number; /** - * 设计产值 + * 计划产值 */ - designValue?: number; + planValue?: number; /** - * 采购产值 + * 完成产值 */ - procurementValue?: number; + completeValue?: number; /** - * 施工产值 + * 差额 */ - constructionValue?: number; - - /** - * 总产值 - */ - totalValue?: number; + differenceValue?: number; /** * 计划月份(YYYY-MM) @@ -117,9 +122,19 @@ export interface MonthPlanQuery extends PageQuery { planMonth?: string; /** - * 审核状态 + * 1-设计 2-采购 3-施工 */ - auditStatus?: string; + valueType?: string; + + /** + * 计划审核状态 + */ + planAuditStatus?: string; + + /** + * 完成审核状态 + */ + completeAuditStatus?: string; /** * 日期范围参数 diff --git a/src/api/out/monthPlanAudit/index.ts b/src/api/out/monthPlanAudit/index.ts new file mode 100644 index 0000000..7aba502 --- /dev/null +++ b/src/api/out/monthPlanAudit/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { MonthPlanAuditVO, MonthPlanAuditForm, MonthPlanAuditQuery } from '@/api/out/monthPlanAudit/types'; + +/** + * 查询审核通过月度产值计划列表 + * @param query + * @returns {*} + */ + +export const listMonthPlanAudit = (query?: MonthPlanAuditQuery): AxiosPromise => { + return request({ + url: '/out/monthPlanAudit/list', + method: 'get', + params: query + }); +}; + +/** + * 查询审核通过月度产值计划详细 + * @param id + */ +export const getMonthPlanAudit = (id: string | number): AxiosPromise => { + return request({ + url: '/out/monthPlanAudit/' + id, + method: 'get' + }); +}; + +/** + * 新增审核通过月度产值计划 + * @param data + */ +export const addMonthPlanAudit = (data: MonthPlanAuditForm) => { + return request({ + url: '/out/monthPlanAudit', + method: 'post', + data: data + }); +}; + +/** + * 修改审核通过月度产值计划 + * @param data + */ +export const updateMonthPlanAudit = (data: MonthPlanAuditForm) => { + return request({ + url: '/out/monthPlanAudit', + method: 'put', + data: data + }); +}; + +/** + * 删除审核通过月度产值计划 + * @param id + */ +export const delMonthPlanAudit = (id: string | number | Array) => { + return request({ + url: '/out/monthPlanAudit/' + id, + method: 'delete' + }); +}; diff --git a/src/api/out/monthPlanAudit/types.ts b/src/api/out/monthPlanAudit/types.ts new file mode 100644 index 0000000..b0a45d5 --- /dev/null +++ b/src/api/out/monthPlanAudit/types.ts @@ -0,0 +1,116 @@ +export interface MonthPlanAuditVO { + /** + * 主键ID + */ + id: string | number; + + /** + * 项目ID + */ + projectId: string | number; + + /** + * 设计产值 + */ + designValue: number; + + /** + * 采购产值 + */ + purchaseValue: number; + + /** + * 施工产值 + */ + constructionValue: number; + + /** + * 总产值 + */ + totalValue: number; + + /** + * 计划月份(YYYY-MM) + */ + planMonth: string; + +} + +export interface MonthPlanAuditForm extends BaseEntity { + /** + * 主键ID + */ + id?: string | number; + + /** + * 项目ID + */ + projectId?: string | number; + + /** + * 设计产值 + */ + designValue?: number; + + /** + * 采购产值 + */ + purchaseValue?: number; + + /** + * 施工产值 + */ + constructionValue?: number; + + /** + * 总产值 + */ + totalValue?: number; + + /** + * 计划月份(YYYY-MM) + */ + planMonth?: string; + +} + +export interface MonthPlanAuditQuery extends PageQuery { + + /** + * 项目ID + */ + projectId?: string | number; + + /** + * 设计产值 + */ + designValue?: number; + + /** + * 采购产值 + */ + purchaseValue?: number; + + /** + * 施工产值 + */ + constructionValue?: number; + + /** + * 总产值 + */ + totalValue?: number; + + /** + * 计划月份(YYYY-MM) + */ + planMonth?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/progress/constructionSchedulePlan/index.ts b/src/api/progress/constructionSchedulePlan/index.ts new file mode 100644 index 0000000..3a7352d --- /dev/null +++ b/src/api/progress/constructionSchedulePlan/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ConstructionSchedulePlanVO, ConstructionSchedulePlanForm, ConstructionSchedulePlanQuery } from '@/api/progress/constructionSchedulePlan/types'; + +/** + * 查询施工进度计划列表 + * @param query + * @returns {*} + */ + +export const listConstructionSchedulePlan = (query?: ConstructionSchedulePlanQuery): AxiosPromise => { + return request({ + url: '/progress/constructionSchedulePlan/list', + method: 'get', + params: query + }); +}; + +/** + * 查询施工进度计划详细 + * @param id + */ +export const getConstructionSchedulePlan = (id: string | number): AxiosPromise => { + return request({ + url: '/progress/constructionSchedulePlan/' + id, + method: 'get' + }); +}; + +/** + * 新增施工进度计划 + * @param data + */ +export const addConstructionSchedulePlan = (data: ConstructionSchedulePlanForm) => { + return request({ + url: '/progress/constructionSchedulePlan', + method: 'post', + data: data + }); +}; + +/** + * 修改施工进度计划 + * @param data + */ +export const updateConstructionSchedulePlan = (data: ConstructionSchedulePlanForm) => { + return request({ + url: '/progress/constructionSchedulePlan', + method: 'put', + data: data + }); +}; + +/** + * 删除施工进度计划 + * @param id + */ +export const delConstructionSchedulePlan = (id: string | number | Array) => { + return request({ + url: '/progress/constructionSchedulePlan/' + id, + method: 'delete' + }); +}; diff --git a/src/api/progress/constructionSchedulePlan/types.ts b/src/api/progress/constructionSchedulePlan/types.ts new file mode 100644 index 0000000..a75768b --- /dev/null +++ b/src/api/progress/constructionSchedulePlan/types.ts @@ -0,0 +1,145 @@ +export interface ConstructionSchedulePlanVO { + /** + * 主键ID + */ + id: string | number; + + /** + * 项目ID + */ + projectId: string | number; + + /** + * 父ID + */ + parentId: string | number; + + /** + * 节点名称 + */ + nodeName: string; + + /** + * 对应项目结构 + */ + projectStructure: number; + + /** + * 预计开始时间 + */ + planStartDate: string; + + /** + * 预计结束时间 + */ + planEndDate: string; + + /** + * 实际开始时间 + */ + practicalStartDate: string; + + /** + * 实际结束时间 + */ + practicalEndDate: string; + + /** + * 状态 + */ + status: string; + + /** + * 备注 + */ + remark: string; + + /** + * 子对象 + */ + children: ConstructionSchedulePlanVO[]; +} + +export interface ConstructionSchedulePlanForm extends BaseEntity { + /** + * 主键ID + */ + id?: string | number; + parentId?: string | number; + /** + * 项目ID + */ + projectId?: string | number; + + /** + * 父ID + */ + pId?: string | number; + + /** + * 节点名称 + */ + nodeName?: string; + + /** + * 对应项目结构 + */ + projectStructure?: number; + + /** + * 预计开始时间 + */ + planStartDate?: string; + + /** + * 预计结束时间 + */ + planEndDate?: string; + + /** + * 实际开始时间 + */ + practicalStartDate?: string; + + /** + * 实际结束时间 + */ + practicalEndDate?: string; + + /** + * 状态 + */ + status?: string; + + /** + * 备注 + */ + remark?: string; +} + +export interface ConstructionSchedulePlanQuery { + /** + * 项目ID + */ + projectId?: string | number; + + /** + * 父ID + */ + parentId?: string | number; + + /** + * 节点名称 + */ + nodeName?: string; + + /** + * 状态 + */ + status?: string; + + /** + * 日期范围参数 + */ + params?: any; +} diff --git a/src/api/progress/progressCategory/index.ts b/src/api/progress/progressCategory/index.ts new file mode 100644 index 0000000..d525264 --- /dev/null +++ b/src/api/progress/progressCategory/index.ts @@ -0,0 +1,63 @@ +import request from '@/utils/request'; +import { AxiosPromise } from 'axios'; +import { ProgressCategoryVO, ProgressCategoryForm, ProgressCategoryQuery } from '@/api/progress/progressCategory/types'; + +/** + * 查询分项工程单价列表 + * @param query + * @returns {*} + */ + +export const listProgressCategory = (query?: ProgressCategoryQuery): AxiosPromise => { + return request({ + url: '/progress/progressCategory/list', + method: 'get', + params: query + }); +}; + +/** + * 查询分项工程单价详细 + * @param id + */ +export const getProgressCategory = (id: string | number): AxiosPromise => { + return request({ + url: '/progress/progressCategory/' + id, + method: 'get' + }); +}; + +/** + * 新增分项工程单价 + * @param data + */ +export const addProgressCategory = (data: ProgressCategoryForm) => { + return request({ + url: '/progress/progressCategory', + method: 'post', + data: data + }); +}; + +/** + * 修改分项工程单价 + * @param data + */ +export const updateProgressCategory = (data: ProgressCategoryForm) => { + return request({ + url: '/progress/progressCategory/price', + method: 'post', + data: data + }); +}; + +/** + * 删除分项工程单价 + * @param id + */ +export const delProgressCategory = (id: string | number | Array) => { + return request({ + url: '/progress/progressCategory/' + id, + method: 'delete' + }); +}; diff --git a/src/api/progress/progressCategory/types.ts b/src/api/progress/progressCategory/types.ts new file mode 100644 index 0000000..6e05749 --- /dev/null +++ b/src/api/progress/progressCategory/types.ts @@ -0,0 +1,265 @@ +export interface ProgressCategoryVO { + /** + * 主键id + */ + id: string | number; + + /** + * 父类别id + */ + parentId: string | number; + + /** + * 项目id + */ + projectId: string | number; + + /** + * 方阵id + */ + matrixId: string | number; + + /** + * 方阵名称 + */ + matrixName: string; + + /** + * 类别名称 + */ + name: string; + + /** + * 计量方式(0无 1数量 2百分比) + */ + unitType: string; + + /** + * 计量单位 + */ + unit: string; + + /** + * 综合单价 + */ + unitPrice: number; + + /** + * 产值金额 + */ + outputValue: number; + + /** + * 总数量/百分比 + */ + total: number; + + /** + * 已完成数量/百分比 + */ + completed: number; + + /** + * 计划总数量/百分比 + */ + planTotal: number; + + /** + * 是否超期(0否 1是) + */ + isDelay: string; + + /** + * 工作类型 + */ + workType: string; + + /** + * 完成状态(0未开始 1进行中 2已完成) + */ + status: string; + + /** + * 备注 + */ + remark: string; + + /** + * 子对象 + */ + children: ProgressCategoryVO[]; +} + +export interface ProgressCategoryForm extends BaseEntity { + /** + * 主键id + */ + id?: string | number; + + /** + * 父类别id + */ + parentId?: string | number; + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 方阵id + */ + matrixId?: string | number; + + /** + * 方阵名称 + */ + matrixName?: string; + + /** + * 类别名称 + */ + name?: string; + + /** + * 计量方式(0无 1数量 2百分比) + */ + unitType?: string; + + /** + * 计量单位 + */ + unit?: string; + + /** + * 综合单价 + */ + unitPrice?: number; + + /** + * 产值金额 + */ + outputValue?: number; + + /** + * 总数量/百分比 + */ + total?: number; + + /** + * 已完成数量/百分比 + */ + completed?: number; + + /** + * 计划总数量/百分比 + */ + planTotal?: number; + + /** + * 是否超期(0否 1是) + */ + isDelay?: string; + + /** + * 工作类型 + */ + workType?: string; + + /** + * 完成状态(0未开始 1进行中 2已完成) + */ + status?: string; + + /** + * 备注 + */ + remark?: string; + +} + +export interface ProgressCategoryQuery { + + /** + * 父类别id + */ + parentId?: string | number; + + /** + * 项目id + */ + projectId?: string | number; + + /** + * 方阵id + */ + matrixId?: string | number; + + /** + * 方阵名称 + */ + matrixName?: string; + + /** + * 类别名称 + */ + name?: string; + + /** + * 计量方式(0无 1数量 2百分比) + */ + unitType?: string; + + /** + * 计量单位 + */ + unit?: string; + + /** + * 综合单价 + */ + unitPrice?: number; + + /** + * 产值金额 + */ + outputValue?: number; + + /** + * 总数量/百分比 + */ + total?: number; + + /** + * 已完成数量/百分比 + */ + completed?: number; + + /** + * 计划总数量/百分比 + */ + planTotal?: number; + + /** + * 是否超期(0否 1是) + */ + isDelay?: string; + + /** + * 工作类型 + */ + workType?: string; + + /** + * 完成状态(0未开始 1进行中 2已完成) + */ + status?: string; + + /** + * 日期范围参数 + */ + params?: any; +} + + + diff --git a/src/api/quality/qualityInspection/types.ts b/src/api/quality/qualityInspection/types.ts index a7cb8e7..0b6de97 100644 --- a/src/api/quality/qualityInspection/types.ts +++ b/src/api/quality/qualityInspection/types.ts @@ -53,6 +53,7 @@ export interface QualityInspectionForm extends BaseEntity { * 主键id */ id?: string | number; + rectificationUnit?: string; /** * 项目id diff --git a/src/views/materials/cailiaoshebei/index.vue b/src/views/materials/cailiaoshebei/index.vue new file mode 100644 index 0000000..69de572 --- /dev/null +++ b/src/views/materials/cailiaoshebei/index.vue @@ -0,0 +1,445 @@ + + + diff --git a/src/views/out/constructionValue/index.vue b/src/views/out/constructionValue/index.vue index 1f176a8..08e1733 100644 --- a/src/views/out/constructionValue/index.vue +++ b/src/views/out/constructionValue/index.vue @@ -55,14 +55,15 @@ - + @@ -145,10 +146,9 @@ import { import { ConstructionValueVO, ConstructionValueQuery, ConstructionValueForm } from '@/api/out/constructionValue/types'; import { getProjectSquare, listProgressCategory, workScheduleList, workScheduleListDetail, workScheduleListPosition } from '@/api/progress/plan'; import { ProgressCategoryVO } from '@/api/progress/plan/types'; -import { useUserStoreHook } from '@/store/modules/user'; const { proxy } = getCurrentInstance() as ComponentInternalInstance; - +import { useUserStoreHook } from '@/store/modules/user'; // 获取用户 store const userStore = useUserStoreHook(); // 从 store 中获取项目列表和当前选中的项目 @@ -330,6 +330,7 @@ const submitForm = () => { if (form.value.id) { await updateConstructionValue(form.value).finally(() => (buttonLoading.value = false)); } else { + console.log('🚀 ~ submitForm ~ form.value :', form.value); await addConstructionValue(form.value).finally(() => (buttonLoading.value = false)); } proxy?.$modal.msgSuccess('操作成功'); diff --git a/src/views/out/designCompletion/index.vue b/src/views/out/designCompletion/index.vue index dd9b447..1466276 100644 --- a/src/views/out/designCompletion/index.vue +++ b/src/views/out/designCompletion/index.vue @@ -4,14 +4,8 @@
- - - - - - - - + + 搜索 @@ -26,53 +20,66 @@ - + - - - - - - + + + + + + - + - - - + + + + + - - + + - - + + + + + - diff --git a/src/views/out/monthPlan/index.vue b/src/views/out/monthPlan/index.vue index 481f5da..093c2d3 100644 --- a/src/views/out/monthPlan/index.vue +++ b/src/views/out/monthPlan/index.vue @@ -4,23 +4,16 @@
- - - - - - - - - - - - - - + + - + + + + + + 搜索 @@ -57,11 +50,14 @@ - - - - - + + + + + +