|
@ -60,7 +60,7 @@ |
|
|
</el-descriptions-item> |
|
|
</el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<template slot="label"> 归口管理部门 </template> |
|
|
<template slot="label"> 归口管理部门 </template> |
|
|
{{ this.form.admDep }} |
|
|
{{ departmentFormat(this.form) }} |
|
|
</el-descriptions-item> |
|
|
</el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<template slot="label"> 水库主管部门 </template> |
|
|
<template slot="label"> 水库主管部门 </template> |
|
@ -116,7 +116,7 @@ |
|
|
</el-descriptions-item> |
|
|
</el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<template slot="label"> 工程建设情况 </template> |
|
|
<template slot="label"> 工程建设情况 </template> |
|
|
{{ this.form.engStat }} |
|
|
{{ situationFormat(this.form) }} |
|
|
</el-descriptions-item> |
|
|
</el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<el-descriptions-item> |
|
|
<template slot="label"> 有效年份 </template> |
|
|
<template slot="label"> 有效年份 </template> |
|
@ -586,6 +586,8 @@ export default { |
|
|
projTypeOptions: [], |
|
|
projTypeOptions: [], |
|
|
projectScaleOptions: [], |
|
|
projectScaleOptions: [], |
|
|
engineerLevelOptions: [], |
|
|
engineerLevelOptions: [], |
|
|
|
|
|
departmentList: [], |
|
|
|
|
|
constructSituationOptions: [], |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
@ -618,6 +620,12 @@ export default { |
|
|
this.getDicts("engineering_grade").then((response) => { |
|
|
this.getDicts("engineering_grade").then((response) => { |
|
|
this.engineerLevelOptions = response.data; |
|
|
this.engineerLevelOptions = response.data; |
|
|
}); |
|
|
}); |
|
|
|
|
|
this.getDicts("centralized_management_department").then((response) => { |
|
|
|
|
|
this.departmentList = response.data; |
|
|
|
|
|
}); |
|
|
|
|
|
this.getDicts("res_engineering_construct_situation").then((response) => { |
|
|
|
|
|
this.constructSituationOptions = response.data; |
|
|
|
|
|
}); |
|
|
}, |
|
|
}, |
|
|
// 工程类型 |
|
|
// 工程类型 |
|
|
projTypeFormat(row, column) { |
|
|
projTypeFormat(row, column) { |
|
@ -631,6 +639,14 @@ export default { |
|
|
engineerLevelFormat(row, column) { |
|
|
engineerLevelFormat(row, column) { |
|
|
return this.selectDictLabel(this.engineerLevelOptions, row.engGrad); |
|
|
return this.selectDictLabel(this.engineerLevelOptions, row.engGrad); |
|
|
}, |
|
|
}, |
|
|
|
|
|
// 归口部门字典翻译 |
|
|
|
|
|
departmentFormat(row, column) { |
|
|
|
|
|
return this.selectDictLabel(this.departmentList, row.admDep); |
|
|
|
|
|
}, |
|
|
|
|
|
// 建筑情况字典翻译 |
|
|
|
|
|
situationFormat(row, column) { |
|
|
|
|
|
return this.selectDictLabel(this.constructSituationOptions, row.engStat); |
|
|
|
|
|
}, |
|
|
initBaseInfo() { |
|
|
initBaseInfo() { |
|
|
getReservoirBaseDetailData(this.resCode).then((res) => { |
|
|
getReservoirBaseDetailData(this.resCode).then((res) => { |
|
|
if (res?.data) { |
|
|
if (res?.data) { |
|
|