08524fe75efe5403ce5d480ca1c346f7bc2bbe14.svn-base 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
  3. <el-row class="rowClass">
  4. <el-col :span="8" class="nameClass">获得节水型单位的时间:</el-col>
  5. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.gtWsuDt}}</el-col>
  6. <el-col :span="8" class="nameClass">节水型单位的审批部门:</el-col>
  7. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wsuRa}}</el-col>
  8. </el-row>
  9. <el-row class="rowClass">
  10. <el-col :span="8" class="nameClass">是否开展节水型单位复核评价:</el-col>
  11. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isWsuDtRev == '1'?'是':formObj.isWsuDtRev == '2'?'否':''}}</el-col>
  12. <el-col v-if="form.isWsuDtRev == '1'" :span="8" class="nameClass">最近一次节水型单位复核的时间:</el-col>
  13. <el-col v-if="form.isWsuDtRev == '1'" :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wsuDtRevDt}}</el-col>
  14. </el-row>
  15. <el-row class="rowClass">
  16. <el-col :span="8" class="nameClass">是否建立节约用水管理制度:</el-col>
  17. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isBuldWcms=='1'?'是':formObj.isBuldWcms=='2'?'否':''}}</el-col>
  18. <el-col :span="8" class="nameClass">是否明确用水管理人员:</el-col>
  19. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isExpWmp=='1'?'是':formObj.isExpWmp=='2'?'否':''}}</el-col>
  20. </el-row>
  21. <el-row class="rowClass">
  22. <el-col :span="8" class="nameClass">是否在主要用水部位和人流密集场所张贴节水海报或悬挂节水标识标语:</el-col>
  23. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isPutWsphwsss=='1'?'是':formObj.isPutWsphwsss=='2'?'否':''}}</el-col>
  24. <el-col :span="8" class="nameClass">是否组织开展节水宣传和教育活动:</el-col>
  25. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isOalWcpea=='1'?'是':formObj.isOalWcpea=='2'?'否':''}}</el-col>
  26. </el-row>
  27. <el-row class="rowClass">
  28. <el-col :span="8" class="nameClass">是否按规定开展水平衡测试:</el-col>
  29. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isWbt=='1'?'是':formObj.isWbt=='2'?'否':''}}</el-col>
  30. <el-col :span="8" class="nameClass">是否使用国家明令淘汰的用水设备和器具:</el-col>
  31. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasSdeWea=='1'?'是':formObj.isHasSdeWea=='2'?'否':''}}</el-col>
  32. </el-row>
  33. <el-row class="rowClass">
  34. <el-col :span="8" class="nameClass">是否存在跑冒滴漏现象:</el-col>
  35. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasRad=='1'?'是':formObj.isHasRad=='2'?'否':''}}</el-col>
  36. <el-col :span="8" class="nameClass">是否有雨水集蓄利用、水循环或回收利用设施:</el-col>
  37. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasRcauWrorf=='1'?'是':formObj.isHasRcauWrorf=='2'?'否':''}}</el-col>
  38. </el-row>
  39. <el-row class="rowClass">
  40. <el-col :span="8" class="nameClass">2018年度非常规水源利用量(万m³):</el-col>
  41. <el-col :span="16" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.oth=='1'?'是':formObj.oth=='2'?'否':''}}</el-col>
  42. </el-row>
  43. </div>
  44. </template>
  45. <script>
  46. import request from "@util/gw_ajax_request.js"
  47. export default {
  48. components: {
  49. },
  50. props: ["currentObjectRgstrId","currentObjectType"],
  51. data() {
  52. return {
  53. testHeight:(window.innerHeight * 0.5 - 50) / 6,
  54. testHeight1:window.innerHeight * 0.5,
  55. dialogFormVisible:false,
  56. formObj: {},
  57. formLabelWidth: "160px",
  58. loading: true,
  59. currentObjectRgstrId1: "",
  60. };
  61. },
  62. computed: {
  63. recPersId() {
  64. return localStorage.getItem("userid")
  65. ? localStorage.getItem("userid")
  66. : "";
  67. }
  68. },
  69. mounted() {
  70. this.dialogFormVisible = true;
  71. this.currentObjectRgstrId1 = this.currentObjectRgstrId;
  72. this.getRgstrInfo();
  73. },
  74. watch: {
  75. currentObjectRgstrId(n, o) {
  76. this.currentObjectRgstrId1 = this.currentObjectRgstrId;
  77. this.getRgstrInfo();
  78. }
  79. },
  80. methods: {
  81. showDialog(){
  82. this.dialogFormVisible = true;
  83. },
  84. getRgstrInfo() {
  85. var _self = this;
  86. if(_self.currentObjectRgstrId1 == ""){
  87. return
  88. }
  89. var _self = this;
  90. request.get(`/bis/insp/svwt/wunt/rgstr/wsusw/getBy/${this.currentObjectRgstrId1}`).then(res=>{
  91. if(res.success && Object.keys(res.data).length){
  92. this.formObj = res.data
  93. }else{
  94. this.$message.error(res.message)
  95. }
  96. })
  97. }
  98. },
  99. filters:{
  100. }
  101. };
  102. </script>
  103. <style scoped>
  104. @import "../../../assets/css/popup.css";
  105. </style>