993ffc5ef54e96ee404df0cfec75935642df2c7f.svn-base 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <template>
  2. <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
  3. <p style="margin-top:20px;">
  4. <div style="display: flex;align-items: center;margin-bottom: 10px">
  5. <div style="width: 4px;height: 14px;background: rgba(44,158,255,1);border-radius: 1px;margin-right: 10px;"></div>
  6. <span style="font-size:14px;font-family:MicrosoftYaHei;color:rgba(51,51,51,1);">登记信息</span>
  7. </div>
  8. </p>
  9. <el-row class="rowClass">
  10. <el-col :span="6" class="nameClass">行政区名称:</el-col>
  11. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.adName}}</el-col>
  12. <el-col :span="6" class="nameClass">行政区编码:</el-col>
  13. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.adCode}}</el-col>
  14. </el-row>
  15. <el-row class="rowClass">
  16. <el-col :span="6" class="nameClass">项目名称:</el-col>
  17. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{ formObj.name }}</el-col>
  18. <el-col :span="6" class="nameClass">所在详细位置:</el-col>
  19. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.location }}</el-col>
  20. </el-row>
  21. <el-row class="rowClass">
  22. <el-col :span="6" class="nameClass">问题描述 :</el-col>
  23. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.pblmDesc}}</el-col>
  24. <el-col :span="6" class="nameClass">问题分类:</el-col>
  25. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">
  26. {{formObj.pblmType}}
  27. <!--{{formObj.pblmType == '1' ? '乱占' :-->
  28. <!--formObj.pblmType == '2' ? '乱采' : formObj.pblmType == '3' ? '乱堆' : formObj.pblmType == '4' ? '乱建' :-->
  29. <!--formObj.pblmType == '5' ? '其他' : '' }}-->
  30. </el-col>
  31. </el-row>
  32. <el-row class="rowClass">
  33. <el-col :span="6" class="nameClass">核实情况:</el-col>
  34. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.reviConc == '1' ? '已整改' :
  35. formObj.reviConc == '2' ? '部分整改' : formObj.reviConc == '3' ? '未整改' : ''}}
  36. </el-col>
  37. <el-col :span="6" class="nameClass">复查意见:</el-col>
  38. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.reviOpin}}
  39. </el-col>
  40. </el-row>
  41. <el-row class="rowClass">
  42. <el-col :span="6" class="nameClass">省级标识:</el-col>
  43. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.province }}
  44. </el-col>
  45. <el-col :span="6" class="nameClass">督查状态:</el-col>
  46. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.state == '0' ? '未督查' :
  47. formObj.state == '1' ? '督查中' : formObj.state == '2' ? '已督查' : '' }}
  48. </el-col>
  49. </el-row>
  50. <el-row class="rowClass">
  51. <el-col :span="6" class="nameClass">问题整治情况:</el-col>
  52. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.rectConc == '1' ? '已整改' :
  53. formObj.rectConc == '2' ? '整改中' : formObj.rectConc == '3' ? '未整改' : ''}}
  54. </el-col>
  55. <el-col :span="6" class="nameClass"> 河流、河段(湖泊)名称:</el-col>
  56. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.rvReaLkName}}</el-col>
  57. </el-row>
  58. <el-row class="rowClass">
  59. <el-col :span="6" class="nameClass">航拍点:</el-col>
  60. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{ formObj.aerialPoint}}</el-col>
  61. </el-row>
  62. <el-row class="rowClass">
  63. <el-col :span="6" class="nameClass">经度:</el-col>
  64. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.centerX}}</el-col>
  65. <el-col :span="6" class="nameClass">纬度:</el-col>
  66. <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.centerY}}</el-col>
  67. </el-row>
  68. </div>
  69. </template>
  70. <script>
  71. import request from "@util/gw_ajax_request.js"
  72. export default {
  73. components: {},
  74. props: ["currentObjectRgstrId"],
  75. data() {
  76. return {
  77. testHeight: (window.innerHeight * 0.5 - 50) / 6,
  78. testHeight1: window.innerHeight * 0.5,
  79. dialogFormVisible: false,
  80. formObj: {},
  81. formLabelWidth: "160px",
  82. loading: true,
  83. };
  84. },
  85. computed: {
  86. recPersId() {
  87. return localStorage.getItem("userid")
  88. ? localStorage.getItem("userid")
  89. : "";
  90. }
  91. },
  92. mounted() {
  93. this.dialogFormVisible = true;
  94. this.getBaseInfo();
  95. },
  96. watch: {
  97. currentObjectId(n, o) {
  98. this.getBaseInfo();
  99. }
  100. },
  101. methods: {
  102. showDialog() {
  103. this.dialogFormVisible = true;
  104. },
  105. getBaseInfo() {
  106. var _self = this;
  107. request.get(`/att/jskejian/water/rgstr/${_self.currentObjectRgstrId}`).then(res => {
  108. if (res.data) {
  109. _self.formObj = res.data;
  110. } else {
  111. _self.formObj = {};
  112. }
  113. }).catch(err => {
  114. console.log(err);
  115. });
  116. }
  117. },
  118. filters: {}
  119. };
  120. </script>
  121. <style scoped>
  122. @import "../../../assets/css/popup.css";
  123. </style>