| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <template>
- <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
- <el-row class="rowClass">
- <el-col :span="4" class="nameClass">取水单位名称:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wiuName}}</el-col>
- <el-col :span="4" class="nameClass">行政区划:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.adName}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="4" class="nameClass">单位地址:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wiuLoc}}
- </el-col>
- <el-col :span="4" class="nameClass">取水许可证号:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.watLicCode}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="4" class="nameClass">经度:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.gdX}}</el-col>
- <el-col :span="4" class="nameClass">纬度:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.gdY}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="4" class="nameClass">取水单位联系人:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wiuContact}}</el-col>
- <el-col :span="4" class="nameClass">联系方式:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.wiuContactTel}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="6" class="nameClass">水行政主管(审批)部门:</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.apprUnit}}</el-col>
- <el-col :span="4" class="nameClass">部门联系人:</el-col>
- <el-col :span="8" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.apprContact}}</el-col>
- </el-row>
- <el-row class="rowClass">
- <el-col :span="6" class="nameClass">联系方式:</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.apprContactTel}}</el-col>
- </el-row>
- </div>
- </template>
- <script>
- import request from "@util/gw_ajax_request.js"
- export default {
- components: {
- },
- props: ["currentResCode","currentObjectRgstrId"],
- data() {
- return {
- testHeight:(window.innerHeight * 0.5 - 30) / 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.getBaseInfo();
- },
- watch: {
- currentObjectRgstrId(n, o) {
- this.currentObjectRgstrId1 = this.currentObjectRgstrId;
- this.getBaseInfo();
- }
- },
- methods: {
- showDialog(){
- this.dialogFormVisible = true;
- },
- getBaseInfo() {
- var _self = this;
- if(_self.currentObjectRgstrId == ""){
- return
- }
- request.get(`/bis/insp/wiu/rgstr/${_self.currentObjectRgstrId}`).then(res => {
- if (res.data) {
- _self.formObj = res.data;
- _self.formObj.gdX = _self.formObj.gdX ? _self.formObj.gdX : _self.formObj.wiuLong;
- _self.formObj.gdY = _self.formObj.gdY ? _self.formObj.gdY : _self.formObj.wiuLat;
- } else {
- _self.formObj = {};
- }
- }).catch(err =>{
- console.log(err);
- });
- }
- }
- };
- </script>
- <style scoped>
- @import "../../../assets/css/popup.css";
- </style>
|