0d7c6f587e72ab1fc726afb414f54f17fd63abea.svn-base 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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'}">{{countryWaterInfo.personAmount}}</el-col>
  6. <el-col :span="8" class="nameClass">集中供水率(%):</el-col>
  7. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">
  8. {{countryWaterInfo.focusSupplyPerc ? countryWaterInfo.focusSupplyPerc * 100 + '%' :''}}
  9. </el-col>
  10. </el-row>
  11. <el-row class="rowClass">
  12. <el-col :span="8" class="nameClass">自来水普及率(%):</el-col>
  13. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">
  14. {{countryWaterInfo.waterSupplyPerc ? countryWaterInfo.waterSupplyPerc * 100 + '%' :''}}
  15. </el-col>
  16. <el-col :span="8" class="nameClass">地方人民政府主体责任是否明确:</el-col>
  17. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isGovRes)}}</el-col>
  18. </el-row>
  19. <el-row class="rowClass">
  20. <el-col :span="8" class="nameClass">水利部门行业监管责任是否明确:</el-col>
  21. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isConRes)}}</el-col>
  22. <el-col :span="8" class="nameClass">供水单位运行管理责任是否到位:</el-col>
  23. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isDeptRes)}}</el-col>
  24. </el-row>
  25. <el-row class="rowClass">
  26. <el-col :span="8" class="nameClass">是否建立县级运行管理机构:</el-col>
  27. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isCntyDept)}}</el-col>
  28. <el-col :span="8" class="nameClass">是否建立县级运行管理办法:</el-col>
  29. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isCntyFunc)}}</el-col>
  30. </el-row>
  31. <el-row class="rowClass">
  32. <el-col :span="8" class="nameClass">是否落实县级运行管理经费:</el-col>
  33. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isCntyFee)}}</el-col>
  34. <el-col :span="8" class="nameClass">是否正常开展水质巡检:</el-col>
  35. <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{shifouRadio(countryWaterInfo.isQuailtyChk)}}</el-col>
  36. </el-row>
  37. <el-row class="rowClass">
  38. <el-col :span="8" class="nameClass">2018年落实运行经费(万元):</el-col>
  39. <el-col :span="16" class="valueClass" :style="{'height':testHeight+'px'}">{{countryWaterInfo.pracFee}}</el-col>
  40. </el-row>
  41. </div>
  42. </template>
  43. <script>
  44. import request from "../../../../../utils/gw_ajax_request.js";
  45. import {getTableId_ny} from "../../../../../api/duChaTianBao.js"
  46. export default {
  47. components: {
  48. },
  49. props:['ryObjId'],
  50. data() {
  51. return {
  52. testHeight:(window.innerHeight * 0.5 - 114) / 6,
  53. testHeight1:window.innerHeight * 0.5,
  54. countryWaterInfo:{},
  55. };
  56. },
  57. computed: {
  58. recPersId() {return localStorage.getItem("userid")? localStorage.getItem("userid"): "";}
  59. },
  60. mounted() {
  61. this.getRyData();
  62. },
  63. watch: {
  64. ryObjId(n){
  65. this.getRyData();
  66. }
  67. },
  68. methods: {
  69. getRyData() {
  70. getTableId_ny(this.ryObjId, this.recPersId).then((res) => {
  71. this.ryEngid = res.data.engId;
  72. this.getRygcData();
  73. })
  74. },
  75. getRygcData() {
  76. let getObj = {
  77. engId: this.ryEngid
  78. };
  79. this.countryWaterInfo = {};
  80. request.post(`/dc/insp/manageResponsibility/queryListByPage`, getObj).then((res) => {
  81. if (res.data.list.length) {
  82. this.countryWaterInfo = res.data.list[0];
  83. }
  84. }).catch(function (error) {
  85. console.log(error);
  86. });
  87. },
  88. shifouRadio(val) {
  89. if (val == "1") {
  90. return "是";
  91. } else if (val == "2" || val == "0") {
  92. return "否";
  93. }
  94. },
  95. }
  96. };
  97. </script>
  98. <style scoped>
  99. @import "../../../assets/css/popup.css";
  100. </style>