| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <template>
- <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">获得节水型单位的时间:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.gtWsuDt}}</el-col>
- <el-col :span="8" class="nameClass">节水型单位的审批部门:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wsuRa}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">是否开展节水型单位复核评价:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isWsuDtRev == '1'?'是':formObj.isWsuDtRev == '2'?'否':''}}</el-col>
- <el-col v-if="form.isWsuDtRev == '1'" :span="8" class="nameClass">最近一次节水型单位复核的时间:</el-col>
- <el-col v-if="form.isWsuDtRev == '1'" :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wsuDtRevDt}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">是否建立节约用水管理制度:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isBuldWcms=='1'?'是':formObj.isBuldWcms=='2'?'否':''}}</el-col>
- <el-col :span="8" class="nameClass">是否明确用水管理人员:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isExpWmp=='1'?'是':formObj.isExpWmp=='2'?'否':''}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">是否在主要用水部位和人流密集场所张贴节水海报或悬挂节水标识标语:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isPutWsphwsss=='1'?'是':formObj.isPutWsphwsss=='2'?'否':''}}</el-col>
- <el-col :span="8" class="nameClass">是否组织开展节水宣传和教育活动:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isOalWcpea=='1'?'是':formObj.isOalWcpea=='2'?'否':''}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">是否按规定开展水平衡测试:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isWbt=='1'?'是':formObj.isWbt=='2'?'否':''}}</el-col>
- <el-col :span="8" class="nameClass">是否使用国家明令淘汰的用水设备和器具:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasSdeWea=='1'?'是':formObj.isHasSdeWea=='2'?'否':''}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">是否存在跑冒滴漏现象:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasRad=='1'?'是':formObj.isHasRad=='2'?'否':''}}</el-col>
- <el-col :span="8" class="nameClass">是否有雨水集蓄利用、水循环或回收利用设施:</el-col>
- <el-col :span="4" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.isHasRcauWrorf=='1'?'是':formObj.isHasRcauWrorf=='2'?'否':''}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="8" class="nameClass">2018年度非常规水源利用量(万m³):</el-col>
- <el-col :span="16" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.oth=='1'?'是':formObj.oth=='2'?'否':''}}</el-col>
- </el-row>
- </div>
- </template>
- <script>
- import request from "@util/gw_ajax_request.js"
- export default {
- components: {
- },
- props: ["currentObjectRgstrId","currentObjectType"],
- data() {
- return {
- testHeight:(window.innerHeight * 0.5 - 50) / 6,
- testHeight1:window.innerHeight * 0.5,
- dialogFormVisible:false,
- formObj: {},
- formLabelWidth: "160px",
- loading: true,
- currentObjectRgstrId1: "",
- };
- },
- computed: {
- recPersId() {
- return localStorage.getItem("userid")
- ? localStorage.getItem("userid")
- : "";
- }
- },
- mounted() {
- this.dialogFormVisible = true;
- this.currentObjectRgstrId1 = this.currentObjectRgstrId;
- this.getRgstrInfo();
- },
- watch: {
- currentObjectRgstrId(n, o) {
- this.currentObjectRgstrId1 = this.currentObjectRgstrId;
- this.getRgstrInfo();
- }
- },
- methods: {
- showDialog(){
- this.dialogFormVisible = true;
- },
- getRgstrInfo() {
- var _self = this;
- if(_self.currentObjectRgstrId1 == ""){
- return
- }
- var _self = this;
- request.get(`/bis/insp/svwt/wunt/rgstr/wsusw/getBy/${this.currentObjectRgstrId1}`).then(res=>{
- if(res.success && Object.keys(res.data).length){
- this.formObj = res.data
- }else{
- this.$message.error(res.message)
- }
- })
- }
- },
- filters:{
-
- }
- };
- </script>
- <style scoped>
- @import "../../../assets/css/popup.css";
- </style>
|