|
|
@ -31,159 +31,225 @@ |
|
|
|
<template slot="label"> 堤防名称 </template> |
|
|
|
{{ this.form.dikeName }} |
|
|
|
</el-descriptions-item> |
|
|
|
<!-- <el-descriptions-item :contentClassName="isDiff('adcd')"> |
|
|
|
<template slot="label"> 行政区划 </template> |
|
|
|
{{ formatAdcd(this.form) }} |
|
|
|
</el-descriptions-item> --> |
|
|
|
|
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeCode')"> |
|
|
|
<template slot="label"> 堤防编码 </template> |
|
|
|
<template slot="label"> 堤防代码 </template> |
|
|
|
{{ this.form.dikeCode }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('plotEmbankments')"> |
|
|
|
<template slot="label"> 标绘堤防 </template> |
|
|
|
{{ this.form.plotEmbankments }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('adcd')"> |
|
|
|
<template slot="label"> 行政区划 </template> |
|
|
|
{{ $formatAdcd(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('adcdStart')"> |
|
|
|
<template slot="label"> 起点行政区划 </template> |
|
|
|
{{ formatAdcd(this.form.adcdStart) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('securityCategory')"> |
|
|
|
<template slot="label"> 安全类别 </template> |
|
|
|
{{ securityCategoryFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('adcdEnd')"> |
|
|
|
<template slot="label"> 终点行政区划 </template> |
|
|
|
{{ formatAdcd(this.form.adcdEnd) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikePatt')"> |
|
|
|
<template slot="label"> 堤防型式 </template> |
|
|
|
{{ dikePattFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeStartNum')"> |
|
|
|
<template slot="label"> 起点桩号 </template> |
|
|
|
{{ this.form.dikeStartNum }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeStartLong')"> |
|
|
|
<template slot="label"> 起点经度 </template> |
|
|
|
{{ this.form.dikeStartLong }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeEndNum')"> |
|
|
|
<template slot="label"> 终点桩号 </template> |
|
|
|
{{ this.form.dikeEndNum }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeStartLat')"> |
|
|
|
<template slot="label"> 起点纬度 </template> |
|
|
|
{{ this.form.dikeStartLat }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeEndLong')"> |
|
|
|
<template slot="label"> 终点经度 </template> |
|
|
|
{{ this.form.dikeEndLong }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeEndLat')"> |
|
|
|
<template slot="label"> 终点纬度 </template> |
|
|
|
{{ this.form.dikeEndLat }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeLoc')"> |
|
|
|
<template slot="label"> 堤防所在位置 </template> |
|
|
|
{{ this.form.dikeLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
|
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeType')"> |
|
|
|
<template slot="label"> 堤防类型 </template> |
|
|
|
{{ endStationNumberFormat(this.form) }} |
|
|
|
{{ dikeTypeFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('riverLocation')"> |
|
|
|
<template slot="label"> 所在河流 </template> |
|
|
|
{{ this.form.riverLocation }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeUse')"> |
|
|
|
<template slot="label"> 堤防用途 </template> |
|
|
|
{{ this.form.dikeUse }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('riversideClassification')" |
|
|
|
> |
|
|
|
<template slot="label"> 河流岸别 </template> |
|
|
|
{{ riversideClassificationFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('lakeName')"> |
|
|
|
<template slot="label"> 所在湖泊名称 </template> |
|
|
|
{{ this.form.lakeName }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('coastlineName')"> |
|
|
|
<template slot="label"> 所在海岸名称 </template> |
|
|
|
{{ this.form.coastlineName }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('isFloodStorageDetention')" |
|
|
|
> |
|
|
|
<template slot="label"> 是否为蓄滞洪区堤防 </template> |
|
|
|
{{ isFloodStorageDetentionFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('storageDetentionAreaName')" |
|
|
|
> |
|
|
|
<template slot="label"> 所在蓄滞洪区名称 </template> |
|
|
|
{{ this.form.storageDetentionAreaName }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('areaStartingStationNumber')" |
|
|
|
> |
|
|
|
<template slot="label"> 堤防蓄滞洪区段起点桩号 </template> |
|
|
|
{{ this.form.areaStartingStationNumber }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('areaEndStationNumber')"> |
|
|
|
<template slot="label"> 堤防蓄滞洪区段终点桩号 </template> |
|
|
|
{{ this.form.areaEndStationNumber }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('totalLengthFloodStorage')" |
|
|
|
> |
|
|
|
<template slot="label"> 堤防蓄滞洪区段总长度(m) </template> |
|
|
|
{{ this.form.totalLengthFloodStorage }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('floodStorageDetentionAreasExplanation')" |
|
|
|
> |
|
|
|
<template slot="label"> 蓄滞洪区特殊情况说明 </template> |
|
|
|
{{ this.form.floodStorageDetentionAreasExplanation }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('crossBorderSituation')"> |
|
|
|
<template slot="label"> 堤防跨界情况 </template> |
|
|
|
{{ crossBorderSituationFormat(this.form) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('engGrad')"> |
|
|
|
<template slot="label"> 堤防级别 </template> |
|
|
|
{{ engGradFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('mainBuildGrad')"> |
|
|
|
<template slot="label"> 主要建筑物级别 </template> |
|
|
|
{{ mainBuildGradFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('desLockDisc')"> |
|
|
|
<template slot="label"> 最大过闸流量 </template> |
|
|
|
{{ this.form.desLockDisc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('gaorNum')"> |
|
|
|
<template slot="label"> 闸孔数量 </template> |
|
|
|
{{ this.form.gaorNum }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('gaorTotNetWid')"> |
|
|
|
<template slot="label"> 闸孔总净宽 </template> |
|
|
|
{{ this.form.gaorTotNetWid }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('engStat')"> |
|
|
|
<template slot="label"> 工程建设情况 </template> |
|
|
|
{{ this.form.engStat }} |
|
|
|
</el-descriptions-item> |
|
|
|
|
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikePatt')"> |
|
|
|
<template slot="label"> 堤防型式 </template> |
|
|
|
{{ embankmentTyperFormat(this.form.dikePatt) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('startDate')"> |
|
|
|
<template slot="label"> 开工时间 </template> |
|
|
|
{{ this.form.startDate }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('compDate')"> |
|
|
|
<template slot="label"> 建成时间 </template> |
|
|
|
{{ this.form.compDate }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('recentComplianceReinforcementStatus')" |
|
|
|
> |
|
|
|
<template slot="label"> 最近达标加固完工状态 </template> |
|
|
|
{{ recentComplianceReinforcementStatusFormat(this.form) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('admDep')"> |
|
|
|
<template slot="label"> 归口管理部门 </template> |
|
|
|
{{ this.form.admDep }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('recentComplianceReinforcementTime')" |
|
|
|
> |
|
|
|
<template slot="label"> 最近达标加固完成时间 </template> |
|
|
|
{{ this.form.recentComplianceReinforcementTime }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('isGateProject')"> |
|
|
|
<template slot="label"> 是否为套闸工程 </template> |
|
|
|
{{ isGateProjectFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('engTask')"> |
|
|
|
<template slot="label"> 工程任务 </template> |
|
|
|
{{ engineeringTasksFormat(this.form) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('observationProject')"> |
|
|
|
<template slot="label"> 观测项目 </template> |
|
|
|
{{ this.form.observationProject }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeGrad')"> |
|
|
|
<template slot="label"> 堤防级别 </template> |
|
|
|
{{ embankmentLevelFormat(this.form) }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('levelDatum')"> |
|
|
|
<template slot="label"> 水准基面 </template> |
|
|
|
{{ this.form.levelDatum }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('sluiceOverview')"> |
|
|
|
<template slot="label"> 堤防概况 </template> |
|
|
|
{{ this.form.sluiceOverview }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('designFloodControl')"> |
|
|
|
<template slot="label"> 设计防洪 </template> |
|
|
|
{{ this.form.designFloodControl }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('sluiceOverview')"> |
|
|
|
<template slot="label"> 堤防概况 </template> |
|
|
|
{{ this.form.sluiceOverview }} |
|
|
|
</el-descriptions-item> |
|
|
|
|
|
|
|
<el-descriptions-item :contentClassName="isDiff('startLoc')"> |
|
|
|
<template slot="label"> 起点所在位置 </template> |
|
|
|
{{ this.form.startLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('endLoc')"> |
|
|
|
<template slot="label"> 终点所在位置 </template> |
|
|
|
{{ this.form.endLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeLen')"> |
|
|
|
<template slot="label"> 堤防长度(m) </template> |
|
|
|
<template slot="label"> 堤防长度 </template> |
|
|
|
{{ this.form.dikeLen }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('planningFloodControl')"> |
|
|
|
<template slot="label"> 规划防洪 </template> |
|
|
|
{{ this.form.planningFloodControl }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeStartNum')"> |
|
|
|
<template slot="label"> 堤防起点桩号 </template> |
|
|
|
{{ this.form.dikeStartNum }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeEndNum')"> |
|
|
|
<template slot="label"> 堤防终点桩号 </template> |
|
|
|
{{ this.form.dikeEndNum }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('engTask')"> |
|
|
|
<template slot="label"> 工程任务 </template> |
|
|
|
{{ engTaskFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeRiver')"> |
|
|
|
<template slot="label"> 所在河流 </template> |
|
|
|
{{ this.form.dikeRiver }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeRvbk')"> |
|
|
|
<template slot="label"> 河流岸别 </template> |
|
|
|
{{ this.form.dikeRvbk }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikePlnStda')"> |
|
|
|
<template slot="label"> 规划防洪潮标准 </template> |
|
|
|
{{ this.form.dikePlnStda }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('embankmentLengthPlanningStandards')" |
|
|
|
> |
|
|
|
<template slot="label"> 达到规划标准的堤防长度(m) </template> |
|
|
|
{{ this.form.embankmentLengthPlanningStandards }} |
|
|
|
|
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeCrtStda')"> |
|
|
|
<template slot="label"> 现状防洪潮标准 </template> |
|
|
|
{{ this.form.dikeCrtStda }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeStdaLen')"> |
|
|
|
<template slot="label"> 达标长度 </template> |
|
|
|
{{ this.form.dikeStdaLen }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeNotStdaLen')"> |
|
|
|
<template slot="label"> 不达标长度 </template> |
|
|
|
{{ this.form.dikeNotStdaLen }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeNotStdaLoc')"> |
|
|
|
<template slot="label"> 不达标位置 </template> |
|
|
|
{{ this.form.dikeNotStdaLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('elevSys')"> |
|
|
|
<template slot="label"> 高程系统 </template> |
|
|
|
{{ elevSysFormat(this.form) }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('startDikeTopEl')"> |
|
|
|
<template slot="label"> 起点堤顶高程 </template> |
|
|
|
{{ this.form.startDikeTopEl }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('endDikeTopEl')"> |
|
|
|
<template slot="label"> 终点堤顶高程 </template> |
|
|
|
{{ this.form.endDikeTopEl }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeWawaMinElev')"> |
|
|
|
<template slot="label"> 防浪墙顶最低高程 </template> |
|
|
|
{{ this.form.dikeWawaMinElev }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeWawaMaxElev')"> |
|
|
|
<template slot="label"> 防浪墙顶最高高程 </template> |
|
|
|
{{ this.form.dikeWawaMaxElev }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeWawaMinLoc')"> |
|
|
|
<template slot="label"> 防浪墙顶最低高程位置 </template> |
|
|
|
{{ this.form.dikeWawaMinLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeWawaMaxLoc')"> |
|
|
|
<template slot="label"> 防浪墙顶最高高程位置 </template> |
|
|
|
{{ this.form.dikeWawaMaxLoc }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('populationProtection')"> |
|
|
|
<template slot="label"> 保护人口 </template> |
|
|
|
{{ this.form.populationProtection }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeElevMin')"> |
|
|
|
<template slot="label"> 堤顶最低高程 </template> |
|
|
|
{{ this.form.dikeElevMin }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('protectingFarmland')"> |
|
|
|
<template slot="label"> 保护农田 </template> |
|
|
|
{{ this.form.protectingFarmland }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeElevMax')"> |
|
|
|
<template slot="label"> 堤顶最高高程 </template> |
|
|
|
{{ this.form.dikeElevMax }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item |
|
|
|
:contentClassName="isDiff('criticalInfrastructure')" |
|
|
|
> |
|
|
|
<template slot="label"> 重要基础设施 </template> |
|
|
|
{{ this.form.criticalInfrastructure }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeHeigMin')"> |
|
|
|
<template slot="label"> 堤防最小高度 </template> |
|
|
|
{{ this.form.dikeHeigMin }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('relation')"> |
|
|
|
<template slot="label"> 关联字段1 </template> |
|
|
|
{{ this.form.relation }} |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeHeigMax')"> |
|
|
|
<template slot="label"> 堤防最大高度 </template> |
|
|
|
{{ this.form.dikeHeigMax }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeTopWidMin')"> |
|
|
|
<template slot="label"> 堤顶最小宽度 </template> |
|
|
|
{{ this.form.dikeTopWidMin }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('dikeTopWidMax')"> |
|
|
|
<template slot="label"> 堤顶最大宽度 </template> |
|
|
|
{{ this.form.dikeTopWidMax }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('sluicesAmount')"> |
|
|
|
<template slot="label"> 穿堤水闸数 </template> |
|
|
|
{{ this.form.sluicesAmount }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('pumpsAmount')"> |
|
|
|
<template slot="label"> 穿堤泵站数 </template> |
|
|
|
{{ this.form.pumpsAmount }} |
|
|
|
</el-descriptions-item> |
|
|
|
<el-descriptions-item :contentClassName="isDiff('note')"> |
|
|
|
<template slot="label"> 备注 </template> |
|
|
|
{{ this.form.note }} |
|
|
|
</el-descriptions-item> |
|
|
|
</el-descriptions> |
|
|
|
</div> |
|
|
@ -200,22 +266,24 @@ export default { |
|
|
|
histroy: "当前版本", |
|
|
|
sumData: [], |
|
|
|
form: {}, |
|
|
|
// 堤防类型字典 |
|
|
|
embankmentTypeOptions: [], |
|
|
|
// 河流岸别字典 |
|
|
|
riversideClassificationOptions: [], |
|
|
|
// 是否为蓄滞洪区堤防字典 |
|
|
|
isFloodStorageDetentionOptions: [], |
|
|
|
// 堤防跨界情况字典 |
|
|
|
crossBorderSituationOptions: [], |
|
|
|
// 登记状态字典 |
|
|
|
statusOptions: [], |
|
|
|
// 堤防型式字典 |
|
|
|
embankmentTyperOptions: [], |
|
|
|
// 最近达标加固完工状态字典 |
|
|
|
recentComplianceReinforcementStatusOptions: [], |
|
|
|
// 工程任务字典 |
|
|
|
engineeringTasksOptions: [], |
|
|
|
dikePattOptions: [], |
|
|
|
// 堤防类型字典 |
|
|
|
dikeTypeOptions: [], |
|
|
|
// 主要建筑物级别字典 |
|
|
|
mainBuildGradOptions: [], |
|
|
|
// 堤防级别字典 |
|
|
|
embankmentLevelOptions: [], |
|
|
|
engGradOptions: [], |
|
|
|
// 是否为套闸工程字典 |
|
|
|
isGateProjectOptions: [], |
|
|
|
// 安全类别字典 |
|
|
|
securityCategoryOptions: [], |
|
|
|
// 工程任务字典 |
|
|
|
engTaskOptions: [], |
|
|
|
// 高程系统字典 |
|
|
|
elevSysOptions: [], |
|
|
|
diffPart: [], |
|
|
|
}; |
|
|
|
}, |
|
|
@ -239,29 +307,32 @@ export default { |
|
|
|
// }); |
|
|
|
}); |
|
|
|
|
|
|
|
this.getDicts("embankment_type").then((response) => { |
|
|
|
this.embankmentTypeOptions = response.data; |
|
|
|
this.getDicts("report_status").then((response) => { |
|
|
|
this.statusOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("riverside_classification").then((response) => { |
|
|
|
this.riversideClassificationOptions = response.data; |
|
|
|
this.getDicts("embankment_form").then((response) => { |
|
|
|
this.dikePattOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("whether").then((response) => { |
|
|
|
this.isFloodStorageDetentionOptions = response.data; |
|
|
|
this.getDicts("embankment_type").then((response) => { |
|
|
|
this.dikeTypeOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("cross_border_situation").then((response) => { |
|
|
|
this.crossBorderSituationOptions = response.data; |
|
|
|
this.getDicts("embankment_level").then((response) => { |
|
|
|
this.engGradOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("embankment_form").then((response) => { |
|
|
|
this.embankmentTyperOptions = response.data; |
|
|
|
this.getDicts("building_level").then((response) => { |
|
|
|
this.mainBuildGradOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("reach_the_standard").then((response) => { |
|
|
|
this.recentComplianceReinforcementStatusOptions = response.data; |
|
|
|
this.getDicts("whether").then((response) => { |
|
|
|
this.isGateProjectOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("project_task").then((response) => { |
|
|
|
this.engineeringTasksOptions = response.data; |
|
|
|
this.getDicts("security_category").then((response) => { |
|
|
|
this.securityCategoryOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("embankment_level").then((response) => { |
|
|
|
this.embankmentLevelOptions = response.data; |
|
|
|
this.getDicts("dike_engineering_task").then((response) => { |
|
|
|
this.engTaskOptions = response.data; |
|
|
|
}); |
|
|
|
this.getDicts("elevation_system").then((response) => { |
|
|
|
this.elevSysOptions = response.data; |
|
|
|
}); |
|
|
|
}, |
|
|
|
mounted() { |
|
|
@ -329,58 +400,44 @@ export default { |
|
|
|
chooseEdition(data) { |
|
|
|
this.form = data; |
|
|
|
}, |
|
|
|
// 登记状态字典翻译 |
|
|
|
statusFormat(row) { |
|
|
|
return this.selectDictLabel(this.statusOptions, row.status); |
|
|
|
}, |
|
|
|
// 堤防型式字典翻译 |
|
|
|
dikePattFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.dikePattOptions, row.dikePatt); |
|
|
|
}, |
|
|
|
// 堤防类型字典翻译 |
|
|
|
endStationNumberFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.embankmentTypeOptions, row.dikeType); |
|
|
|
dikeTypeFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.dikeTypeOptions, row.dikeType); |
|
|
|
}, |
|
|
|
// 河流岸别字典翻译 |
|
|
|
riversideClassificationFormat(row, column) { |
|
|
|
return this.selectDictLabel( |
|
|
|
this.riversideClassificationOptions, |
|
|
|
row.riversideClassification |
|
|
|
); |
|
|
|
// 堤防级别字典翻译 |
|
|
|
engGradFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.engGradOptions, row.engGrad); |
|
|
|
}, |
|
|
|
// 是否为蓄滞洪区堤防字典翻译 |
|
|
|
isFloodStorageDetentionFormat(row, column) { |
|
|
|
return this.selectDictLabel( |
|
|
|
this.isFloodStorageDetentionOptions, |
|
|
|
row.isFloodStorageDetention |
|
|
|
); |
|
|
|
// 主要建筑物级别字典翻译 |
|
|
|
mainBuildGradFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.mainBuildGradOptions, row.mainBuildGrad); |
|
|
|
}, |
|
|
|
// 堤防跨界情况字典翻译 |
|
|
|
crossBorderSituationFormat(row, column) { |
|
|
|
return this.selectDictLabel( |
|
|
|
this.crossBorderSituationOptions, |
|
|
|
row.crossBorderSituation |
|
|
|
); |
|
|
|
// 是否为套闸工程字典翻译 |
|
|
|
isGateProjectFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.isGateProjectOptions, row.isGateProject); |
|
|
|
}, |
|
|
|
// 最近达标加固完工状态字典翻译 |
|
|
|
recentComplianceReinforcementStatusFormat(row, column) { |
|
|
|
// 安全类别字典翻译 |
|
|
|
securityCategoryFormat(row, column) { |
|
|
|
return this.selectDictLabel( |
|
|
|
this.recentComplianceReinforcementStatusOptions, |
|
|
|
row.recentComplianceReinforcementStatus |
|
|
|
this.securityCategoryOptions, |
|
|
|
row.securityCategory |
|
|
|
); |
|
|
|
}, |
|
|
|
// 堤防型式字典翻译 |
|
|
|
embankmentTyperFormat(data) { |
|
|
|
let res = ""; |
|
|
|
let arr = data ? JSON.parse(data) : []; |
|
|
|
// console.log("XXXXXXXXXXXXXXXXXXXXXX", data); |
|
|
|
if (arr) { |
|
|
|
arr.forEach((item) => { |
|
|
|
res = |
|
|
|
res + "+" + this.selectDictLabel(this.embankmentTyperOptions, item); |
|
|
|
}); |
|
|
|
return res.slice(1); |
|
|
|
} |
|
|
|
}, |
|
|
|
// 工程任务字典翻译 |
|
|
|
engineeringTasksFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.engineeringTasksOptions, row.engTask); |
|
|
|
engTaskFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.engTaskOptions, row.engTask); |
|
|
|
}, |
|
|
|
// 堤防级别字典翻译 |
|
|
|
embankmentLevelFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.embankmentLevelOptions, row.dikeGrad); |
|
|
|
// 高程系统字典翻译 |
|
|
|
elevSysFormat(row, column) { |
|
|
|
return this.selectDictLabel(this.elevSysOptions, row.elevSys); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|