e67e238fb349f1f9e45beadf598cfb316e7431fe.svn-base 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <template>
  2. <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
  3. <el-row class="rowClass">
  4. <el-col :span="4" class="nameClass">所在堤防名称:</el-col>
  5. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.sapName}}</el-col>
  6. <el-col :span="4" class="nameClass">险工险段长度(m):</el-col>
  7. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.sapLen}}</el-col>
  8. </el-row>
  9. <el-row class="rowClass">
  10. <el-col :span="4" class="nameClass">堤防级别:</el-col>
  11. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.dikeGrad == "1" ? "1级" :
  12. formObj.dikeGrad == "2" ? "2级" : formObj.dikeGrad == "3" ? "3级" : formObj.dikeGrad == "4" ? "4级":
  13. formObj.dikeGrad == "5" ? "5级" : formObj.dikeGrad == "6" ? "5级以下" : ""}}
  14. </el-col>
  15. <el-col :span="4" class="nameClass">规划防洪(潮)标准[重现期]:</el-col>
  16. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.planFlSta}}
  17. </el-col>
  18. </el-row>
  19. <el-row class="rowClass">
  20. <el-col :span="4" class="nameClass">所在河岸:</el-col>
  21. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.riverBank}}
  22. </el-col>
  23. <el-col :span="4" class="nameClass">所在湖泊:</el-col>
  24. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.lake}}</el-col>
  25. </el-row>
  26. <el-row class="rowClass">
  27. <el-col :span="4" class="nameClass">所在海岸:</el-col>
  28. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.coast}}</el-col>
  29. <el-col :span="4" class="nameClass">主管部门名称:</el-col>
  30. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.compUnit}}
  31. </el-col>
  32. </el-row>
  33. <el-row class="rowClass">
  34. <el-col :span="4" class="nameClass">管理单位名称:</el-col>
  35. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.mampu}}</el-col>
  36. <el-col :span="4" class="nameClass">管理单位联系人:</el-col>
  37. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.mampuAttn}}</el-col>
  38. </el-row>
  39. <el-row class="rowClass">
  40. <el-col :span="4" class="nameClass">管理单位联系人电话:</el-col>
  41. <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.mampuAttnTel}}
  42. </el-col>
  43. </el-row>
  44. </div>
  45. </template>
  46. <script>
  47. import {getBaseSituation} from "@api/duChaTianBao.js"
  48. export default {
  49. props: ['currentObjectRgstrId', 'currentResCode', 'currentObjectId', 'currentObjectName'],
  50. data() {
  51. return {
  52. testHeight: (window.innerHeight * 0.5 - 114) / 4,
  53. testHeight1: window.innerHeight * 0.5,
  54. formObj: {}
  55. }
  56. },
  57. mounted() {
  58. this.getRgstridObj();
  59. },
  60. methods: {
  61. getRgstridObj() {
  62. var _self = this;
  63. getBaseSituation(_self.currentObjectRgstrId).then(
  64. (res) => {
  65. if (res.data) {
  66. _self.formObj = res.data;
  67. } else {
  68. _self.formObj = {};
  69. }
  70. },
  71. (err) => {
  72. }
  73. );
  74. }
  75. },
  76. }
  77. </script>
  78. <style>
  79. @import "../../../assets/css/popup.css";
  80. </style>