|
@@ -1,3 +1,5 @@
|
|
|
|
|
+import { DICT_TYPE } from '@/utils/dict'
|
|
|
|
|
+
|
|
|
export interface ConstructionDailyReportRow {
|
|
export interface ConstructionDailyReportRow {
|
|
|
id?: number
|
|
id?: number
|
|
|
deptId?: number
|
|
deptId?: number
|
|
@@ -33,6 +35,7 @@ export interface ConstructionDailyReportRow {
|
|
|
constructionStartDate?: string | number
|
|
constructionStartDate?: string | number
|
|
|
monthWorkingLayers?: number | null
|
|
monthWorkingLayers?: number | null
|
|
|
monthWorkingWells?: number | null
|
|
monthWorkingWells?: number | null
|
|
|
|
|
+ fiveStatus?: string
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ConstructionDailyReportQuery {
|
|
export interface ConstructionDailyReportQuery {
|
|
@@ -47,10 +50,11 @@ export interface ConstructionDailyReportQuery {
|
|
|
export interface ConstructionDailyReportField {
|
|
export interface ConstructionDailyReportField {
|
|
|
prop: keyof ConstructionDailyReportRow
|
|
prop: keyof ConstructionDailyReportRow
|
|
|
label: string
|
|
label: string
|
|
|
- type?: 'text' | 'number' | 'textarea'
|
|
|
|
|
|
|
+ type?: 'text' | 'number' | 'textarea' | 'select'
|
|
|
span?: 1 | 2
|
|
span?: 1 | 2
|
|
|
precision?: number
|
|
precision?: number
|
|
|
editableInEdit?: boolean
|
|
editableInEdit?: boolean
|
|
|
|
|
+ dictType?: string
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
export interface ConstructionDailyReportSection {
|
|
export interface ConstructionDailyReportSection {
|
|
@@ -97,8 +101,6 @@ export const formSections: ConstructionDailyReportSection[] = [
|
|
|
title: '基础信息',
|
|
title: '基础信息',
|
|
|
fields: [
|
|
fields: [
|
|
|
{ prop: 'reportName', label: '日报名称' },
|
|
{ prop: 'reportName', label: '日报名称' },
|
|
|
- // { prop: 'createTime', label: '日报日期' },
|
|
|
|
|
- // { prop: 'constructionEndDate', label: '施工结束日期' },
|
|
|
|
|
{ prop: 'projectName', label: '项目' },
|
|
{ prop: 'projectName', label: '项目' },
|
|
|
{ prop: 'location', label: '施工区域' },
|
|
{ prop: 'location', label: '施工区域' },
|
|
|
{ prop: 'deptName', label: '队伍' },
|
|
{ prop: 'deptName', label: '队伍' },
|
|
@@ -110,60 +112,49 @@ export const formSections: ConstructionDailyReportSection[] = [
|
|
|
{
|
|
{
|
|
|
title: '生产数据',
|
|
title: '生产数据',
|
|
|
fields: [
|
|
fields: [
|
|
|
|
|
+ { prop: 'mainDeviceNum', label: '主设备数量', type: 'number' },
|
|
|
|
|
+ { prop: 'wokDeviceNum', label: '作业泵车数量', type: 'number' },
|
|
|
{
|
|
{
|
|
|
- prop: 'mainDeviceNum',
|
|
|
|
|
- label: '主设备数量',
|
|
|
|
|
- type: 'number',
|
|
|
|
|
-
|
|
|
|
|
- editableInEdit: true
|
|
|
|
|
|
|
+ prop: 'fiveStatus',
|
|
|
|
|
+ label: '队伍状态',
|
|
|
|
|
+ type: 'select',
|
|
|
|
|
+ editableInEdit: true,
|
|
|
|
|
+ dictType: DICT_TYPE.PMS_PROJECT_RD_STATUS
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- prop: 'wokDeviceNum',
|
|
|
|
|
- label: '作业泵车数量',
|
|
|
|
|
- type: 'number',
|
|
|
|
|
- // precision: 2,
|
|
|
|
|
- editableInEdit: true
|
|
|
|
|
- },
|
|
|
|
|
- { prop: 'fiveStatusLabel', label: '队伍状态', editableInEdit: true },
|
|
|
|
|
{
|
|
{
|
|
|
prop: 'dailyWorkingLayers',
|
|
prop: 'dailyWorkingLayers',
|
|
|
label: '当日主压层数',
|
|
label: '当日主压层数',
|
|
|
type: 'number',
|
|
type: 'number',
|
|
|
- // precision: 2,
|
|
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'dailySandVolume',
|
|
prop: 'dailySandVolume',
|
|
|
- label: '当日加砂量(吨)',
|
|
|
|
|
|
|
+ label: '当日加砂量',
|
|
|
type: 'number',
|
|
type: 'number',
|
|
|
-
|
|
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'dailyLiquidVolume',
|
|
prop: 'dailyLiquidVolume',
|
|
|
- label: '当日注液量(m³)',
|
|
|
|
|
|
|
+ label: '当日注液量',
|
|
|
type: 'number',
|
|
type: 'number',
|
|
|
-
|
|
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
{ prop: 'jingshu', label: '当月作业井数', type: 'number' },
|
|
{ prop: 'jingshu', label: '当月作业井数', type: 'number' },
|
|
|
{ prop: 'cengshu', label: '当月作业层数', type: 'number' },
|
|
{ prop: 'cengshu', label: '当月作业层数', type: 'number' },
|
|
|
{
|
|
{
|
|
|
prop: 'dailyFuel',
|
|
prop: 'dailyFuel',
|
|
|
- label: '当日油耗(L)',
|
|
|
|
|
|
|
+ label: '当日油耗',
|
|
|
type: 'number',
|
|
type: 'number',
|
|
|
-
|
|
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
prop: 'nonProductionTime',
|
|
prop: 'nonProductionTime',
|
|
|
label: '当日非生产时间',
|
|
label: '当日非生产时间',
|
|
|
type: 'number',
|
|
type: 'number',
|
|
|
-
|
|
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
- { prop: 'singleWellWorkload', label: '单井工作量', editableInEdit: true },
|
|
|
|
|
- { prop: 'planWorkingLayers', label: '本月计划层数', type: 'number', precision: 2 }
|
|
|
|
|
|
|
+ { prop: 'singleWellWorkload', label: '单井工作量' },
|
|
|
|
|
+ { prop: 'planWorkingLayers', label: '本月计划层数', type: 'number' }
|
|
|
]
|
|
]
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -176,15 +167,9 @@ export const formSections: ConstructionDailyReportSection[] = [
|
|
|
span: 2,
|
|
span: 2,
|
|
|
editableInEdit: true
|
|
editableInEdit: true
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- prop: 'productionStatus',
|
|
|
|
|
- label: '施工动态',
|
|
|
|
|
- type: 'textarea',
|
|
|
|
|
- span: 2,
|
|
|
|
|
- editableInEdit: true
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ { prop: 'productionStatus', label: '施工动态', type: 'textarea', span: 2 },
|
|
|
{ prop: 'weather', label: '天气' },
|
|
{ prop: 'weather', label: '天气' },
|
|
|
- { prop: 'temperature', label: '气温(℃)' }
|
|
|
|
|
|
|
+ { prop: 'temperature', label: '气温' }
|
|
|
]
|
|
]
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|