diff --git a/src/views/planMange/monthlyPlan/config.js b/src/views/planMange/monthlyPlan/config.js index be7bef3..633a039 100644 --- a/src/views/planMange/monthlyPlan/config.js +++ b/src/views/planMange/monthlyPlan/config.js @@ -55,13 +55,13 @@ export const buildFormColumns = ( // 月计划列表表格列 export const tableColumns = [ - { prop: 'inspectionStationName', label: '运检站', fixed: true }, - { prop: 'planMajorId', label: '专业', fixed: true }, - { prop: 'businessTypeId', label: '业务类型', fixed: true }, - { prop: 'projectName', label: '项目名称', fixed: true }, + { prop: 'inspectionStationName', label: '运检站', fixed: true, width: '180' }, + { prop: 'planMajorName', label: '专业', fixed: true }, + { prop: 'businessTypeName', label: '业务类型', fixed: true }, + { prop: 'projectName', label: '项目名称', fixed: true, width: '180' }, { prop: 'workContent', label: '工作任务' }, { prop: 'riskLevel', label: '风险等级' }, - { prop: 'planCategoryId', label: '类别' }, + { prop: 'planCategoryName', label: '类别' }, { prop: 'workAmount', label: '工作量', width: '180', slot: 'workAmount' }, { prop: 'towerBaseNumber', label: '基塔数' }, { prop: 'plannedStartTime', label: '计划开始时间', width: '140' }, @@ -70,7 +70,7 @@ export const tableColumns = [ prop: 'planPersonnel', label: '计划投入管理人员数量', formatter: (row) => { - return row.personneltList?.length || 0 + return row.personneltList?.length || '' }, }, @@ -83,7 +83,7 @@ export const tableColumns = [ formatter: (row) => { return ( (dayjs(row.plannedEndTime).diff(dayjs(row.plannedStartTime), 'day') + 1) * - row.planSkilledWorkerDay + row.planSkilledWorkerDay || '' ) }, }, @@ -95,7 +95,7 @@ export const tableColumns = [ formatter: (row) => { return ( (dayjs(row.plannedEndTime).diff(dayjs(row.plannedStartTime), 'day') + 1) * - row.planAuxiliaryWorkerDay + row.planAuxiliaryWorkerDay || '' ) }, }, diff --git a/src/views/planMange/monthlyPlan/edit.vue b/src/views/planMange/monthlyPlan/edit.vue index e40bde7..1830b09 100644 --- a/src/views/planMange/monthlyPlan/edit.vue +++ b/src/views/planMange/monthlyPlan/edit.vue @@ -109,9 +109,13 @@