diff --git a/src/views/dike/engineeringCondition/dikeBaseInfo/index.vue b/src/views/dike/engineeringCondition/dikeBaseInfo/index.vue index 469e9b4..c7760de 100644 --- a/src/views/dike/engineeringCondition/dikeBaseInfo/index.vue +++ b/src/views/dike/engineeringCondition/dikeBaseInfo/index.vue @@ -6,7 +6,7 @@ v-for="(item, index) in routeList" :key="item + index" :to="{ path: item.path }" - >{{ item.routeName }}{{ item.routeName }} 搜索 --> 重置重置 @@ -155,7 +155,7 @@ icon="el-icon-view" @click="handleUpdate(scope.row)" v-hasPermi="['yg:dikeInfo:view']" - >查看状况查看状况 @@ -468,7 +468,16 @@ export default { }, // 堤防型式字典翻译 dikePattFormat(row, column) { - return this.selectDictLabel(this.dikePattOptions, row.dikePatt); + // 将 row.dikePatt 按逗号分割成数组 + let dikePattArray = row.dikePatt.split(','); + + // 遍历数组,逐个元素查找字典的标签 + let formattedLabels = dikePattArray.map(code => { + return this.selectDictLabel(this.dikePattOptions, code); + }); + + // 将结果用逗号拼接 + return formattedLabels.join(', '); }, // 堤防类型字典翻译 dikeTypeFormat(row, column) { @@ -476,7 +485,7 @@ export default { }, // 堤防级别字典翻译 engGradFormat(row, column) { - return this.selectDictLabel(this.engGradOptions, row.engGrad); + return this.selectDictLabel(this.engGradOptions, row.dikeGrad); }, // 主要建筑物级别字典翻译 mainBuildGradFormat(row, column) { diff --git a/src/views/dike/engineeringCondition/dikeBaseInfo/options/bainBenefitIndex.vue b/src/views/dike/engineeringCondition/dikeBaseInfo/options/bainBenefitIndex.vue index 47d3070..9ed753e 100644 --- a/src/views/dike/engineeringCondition/dikeBaseInfo/options/bainBenefitIndex.vue +++ b/src/views/dike/engineeringCondition/dikeBaseInfo/options/bainBenefitIndex.vue @@ -11,51 +11,70 @@ }" :contentStyle="{ minWidth: '350px' }" > - - - {{ this.form.prArea }} - - - - {{ this.form.prinArea }} - - - - {{ this.form.prvlNum }} - - - - {{ this.form.prfxasNum }} - + - - {{ this.form.ptPp }} + + {{ this.form.diekPrpp }} - - {{ this.form.prhuNum }} + + {{ this.form.diekPrrw }} - - {{ this.form.prfcMn }} + + {{ this.form.dikePrrd }} - {{ this.form.prCt }} - - - - {{ this.form.prRl }} - - - - {{ this.form.prHg }} + {{ this.form.dikePrtwam }} - - {{ this.form.prsTes }} + + {{ this.form.dikePrflar }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.note }} diff --git a/src/views/dike/engineeringCondition/dikeBaseInfo/options/basePage.vue b/src/views/dike/engineeringCondition/dikeBaseInfo/options/basePage.vue index 7d588a4..1ffe519 100644 --- a/src/views/dike/engineeringCondition/dikeBaseInfo/options/basePage.vue +++ b/src/views/dike/engineeringCondition/dikeBaseInfo/options/basePage.vue @@ -19,14 +19,14 @@ {{ this.form.dikeCode }} - - - {{ $formatAdcd(this.form) }} - - - - {{ securityCategoryFormat(this.form) }} - + + + + + + + + {{ dikePattFormat(this.form) }} @@ -47,77 +47,80 @@ {{ this.form.dikeEndLat }} - - - {{ this.form.dikeLoc }} - + + + + {{ dikeTypeFormat(this.form) }} - - - {{ this.form.dikeUse }} - + + + + {{ engGradFormat(this.form) }} - - {{ mainBuildGradFormat(this.form) }} - - - - {{ this.form.desLockDisc }} - - - - {{ this.form.gaorNum }} - - - - {{ this.form.gaorTotNetWid }} - - - - {{ this.form.engStat }} - + + {{ this.form.elevSysConver }} + + + + {{ this.form.mnun }} + + + + + + + + + + + + + + + + + + + + + - - - {{ this.form.startDate }} - - - - {{ this.form.compDate }} - - - - {{ this.form.admDep }} - - - - {{ isGateProjectFormat(this.form) }} - - - - {{ this.form.observationProject }} - - - - {{ this.form.levelDatum }} - + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.sluiceOverview }} - - - {{ this.form.sluiceOverview }} - - {{ this.form.startLoc }} @@ -130,26 +133,26 @@ {{ this.form.dikeLen }} - - - {{ this.form.dikeStartNum }} - - - - {{ this.form.dikeEndNum }} - + + + + + + + + {{ engTaskFormat(this.form) }} - - - {{ this.form.dikeRiver }} - - - - {{ this.form.dikeRvbk }} - + + + + + + + + {{ this.form.dikePlnStda }} @@ -167,10 +170,10 @@ {{ this.form.dikeNotStdaLen }} - - - {{ this.form.dikeNotStdaLoc }} - + + + + {{ elevSysFormat(this.form) }} @@ -191,14 +194,14 @@ {{ this.form.dikeWawaMaxElev }} - - - {{ this.form.dikeWawaMinLoc }} - - - - {{ this.form.dikeWawaMaxLoc }} - + + + + + + + + {{ this.form.dikeElevMin }} @@ -207,22 +210,22 @@ {{ this.form.dikeElevMax }} - - - {{ this.form.dikeHeigMin }} - - - - {{ this.form.dikeHeigMax }} - - - - {{ this.form.dikeTopWidMin }} - - - - {{ this.form.dikeTopWidMax }} - + + + + + + + + + + + + + + + + {{ this.form.sluicesAmount }} @@ -513,7 +516,16 @@ export default { }, // 堤防型式字典翻译 dikePattFormat(row, column) { - return this.selectDictLabel(this.dikePattOptions, row.dikePatt); + // 将 row.dikePatt 按逗号分割成数组 + let dikePattArray = row.dikePatt.split(','); + + // 遍历数组,逐个元素查找字典的标签 + let formattedLabels = dikePattArray.map(code => { + return this.selectDictLabel(this.dikePattOptions, code); + }); + + // 将结果用逗号拼接 + return formattedLabels.join(', '); }, // 堤防类型字典翻译 dikeTypeFormat(row, column) { @@ -521,7 +533,7 @@ export default { }, // 堤防级别字典翻译 engGradFormat(row, column) { - return this.selectDictLabel(this.engGradOptions, row.engGrad); + return this.selectDictLabel(this.engGradOptions, row.dikeGrad); }, // 主要建筑物级别字典翻译 mainBuildGradFormat(row, column) { @@ -544,6 +556,9 @@ export default { }, // 高程系统字典翻译 elevSysFormat(row, column) { + if (row.elevSys.length < 2) { + row.elevSys = "0" + row.elevSys + } return this.selectDictLabel(this.elevSysOptions, row.elevSys); }, // 取消按钮 diff --git a/src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue b/src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue index 6839588..bf0d605 100644 --- a/src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue +++ b/src/views/dike/engineeringCondition/dikeBaseInfo/options/historyOverflowsRecords.vue @@ -20,17 +20,21 @@ {{ this.form.brspTime }} - - {{ this.form.brspLs }} - - - - {{ this.form.rpTime }} - - - - {{ this.form.inRn }} + + {{ this.form.brspForm }} + + + + + + + + + + + + {{ this.form.note }} diff --git a/src/views/dike/engineeringCondition/dikeCompare/components/bainBenefitIndex.vue b/src/views/dike/engineeringCondition/dikeCompare/components/bainBenefitIndex.vue index e38ebdb..16949f4 100644 --- a/src/views/dike/engineeringCondition/dikeCompare/components/bainBenefitIndex.vue +++ b/src/views/dike/engineeringCondition/dikeCompare/components/bainBenefitIndex.vue @@ -26,51 +26,51 @@ }" :contentStyle="{ minWidth: '250px' }" > - - - {{ this.form.prArea }} - - - - {{ this.form.prinArea }} - - - - {{ this.form.prvlNum }} - - - - {{ this.form.prfxasNum }} - + + + + + + + + + + + + + + + + - - - {{ this.form.ptPp }} - - - - {{ this.form.prhuNum }} - - - - {{ this.form.prfcMn }} - - - - {{ this.form.prCt }} - - - - {{ this.form.prRl }} - - - - {{ this.form.prHg }} - - - - {{ this.form.prsTes }} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.note }} diff --git a/src/views/dike/safetyManage/declarationManage/examine/components/listPage/options/bainBenefitIndex.vue b/src/views/dike/safetyManage/declarationManage/examine/components/listPage/options/bainBenefitIndex.vue index 47d3070..d57563a 100644 --- a/src/views/dike/safetyManage/declarationManage/examine/components/listPage/options/bainBenefitIndex.vue +++ b/src/views/dike/safetyManage/declarationManage/examine/components/listPage/options/bainBenefitIndex.vue @@ -11,51 +11,51 @@ }" :contentStyle="{ minWidth: '350px' }" > - - - {{ this.form.prArea }} - - - - {{ this.form.prinArea }} - - - - {{ this.form.prvlNum }} - - - - {{ this.form.prfxasNum }} - + + + + + + + + + + + + + + + + - - - {{ this.form.ptPp }} - - - - {{ this.form.prhuNum }} - - - - {{ this.form.prfcMn }} - - - - {{ this.form.prCt }} - - - - {{ this.form.prRl }} - - - - {{ this.form.prHg }} - - - - {{ this.form.prsTes }} - + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.note }} diff --git a/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/accidentRecord.vue b/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/accidentRecord.vue index 365935e..50628ec 100644 --- a/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/accidentRecord.vue +++ b/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/accidentRecord.vue @@ -11,32 +11,46 @@ }" :contentStyle="{ minWidth: '350px' }" > - - - {{ this.form.fntm }} - - - - {{ dnstgrFormat(this.form) }} - + + + + + + + + + + + + + + + + + - - {{ this.form.dnsttm }} + + {{ this.form.dnstov }} - - {{ this.form.dnstps }} + + {{ this.form.dntm }} - - - {{ this.form.dnstov }} + + {{ this.form.dntm }} - - {{ this.form.rhms }} + + {{ this.form.wagaDnstgr }} + + + + + + {{ this.form.note }} diff --git a/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/basePage.vue b/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/basePage.vue index 2266b0c..f026e0e 100644 --- a/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/basePage.vue +++ b/src/views/sluice/engineeringCondition/sluiceBaseInfo/options/basePage.vue @@ -23,14 +23,14 @@ {{ sluiceTypeFormat(this.form) }} - - - {{ this.form.wagaUse }} - - - - {{ $formatAdcd(this.form) }} - + + + + + + + + {{ projectScaleFormat(this.form) }} @@ -39,22 +39,22 @@ {{ this.form.wagaLoc }} - - - {{ this.form.wagaStartLong }} - - - - {{ this.form.wagaStartLat }} - - - - {{ this.form.wagaEndLong }} - - - - {{ this.form.wagaEndLat }} - + + + + + + + + + + + + + + + + {{ engineerLevelFormat(this.form) }} @@ -63,55 +63,91 @@ {{ majorStructureLevelFormat(this.form) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - {{ this.form.desLockDisc }} - - - - {{ this.form.gaorNum }} + + {{ this.form.levelDatum }} - - {{ this.form.gaorTotNetWid }} + + {{ this.form.sluiceOverview }} - - {{ engineerConstructionSituationFormat(this.form) }} + + {{ this.form.wagaCenLong }} - - - {{ this.form.startDate }} + + {{ this.form.wagaCenLat }} - - {{ this.form.compDate }} + + {{ this.form.ifCeb }} - - {{ this.form.admDep }} + + {{ this.form.ifHyj }} - - {{ isGateProjectFormat(this.form) }} + + {{ this.form.ifGse }} - - {{ observationProjectFormat(this.form) }} - + + {{ this.form.ifSge}} + . - - {{ this.form.levelDatum }} + + {{ this.form.freqin}} - - {{ this.form.sluiceOverview }} + + {{ this.form.compDate}} - - {{ securityCategoryFormat(this.form) }} + + {{ this.form.checkDate}} + + + + + + + {{ slwrstFormat(this.form) }} - - - {{ this.form.gthlnthg }} - + + + + {{ this.form.gthlntwd }} - - {{ this.form.gtttwd }} - - - - {{ this.form.gtttlen }} - - - - {{ this.form.gttpel }} - - - - {{ this.form.gtflel }} - - - - {{ endsstFormat(this.form) }} - - - - {{ gtstFormat(this.form) }} - - - - {{ this.form.note }} + + {{ this.form.gaorNum }} - - {{ this.form.gtddld }} + + {{ this.form.aGaorNum }} - - {{ gtbsasmsFormat(this.form) }} + + {{ this.form.aGthlntwd }} - - {{ this.form.srbrwd }} + + {{ this.form.elevSys }} + - - {{ this.form.srbrel }} + + {{ this.form.elevSysConver }} - - {{ this.form.embrwd }} + + {{ this.form.hset }} - - {{ this.form.embrel }} + + {{ this.form.hsgram }} + + + + + + + + - - {{ acbrstFormat(this.form) }} + + {{ this.form.gttpel }} + + + + - - {{ this.form.acbrwd }} + + {{ endsstFormat(this.form) }} - - {{ this.form.acbrel }} + + {{ gtstFormat(this.form) }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ this.form.note }}