| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- <template>
- <div class="popupContentClass" :style="{'height':testHeight1+'px'}">
- <el-row class="rowClass">
- <el-col :span="6" class="nameClass"> 工程名称:</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.nm}}</el-col>
- <el-col :span="6" class="nameClass"> 开工年份:</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.stwktm}}</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.estapp}}</el-col>
- <el-col :span="6" class="nameClass">计划工期(月):</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.plantm}}</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.lgtd}}</el-col>
- <el-col :span="6" class="nameClass">纬度:</el-col>
- <el-col :span="6" class="valueClass" :style="{'height':testHeight+'px'}">{{formObj.lttd}}</el-col>
- </el-row>
- </div>
- </template>
- <script>
- import request from "../../../../../utils/gw_ajax_request.js";
- import { get172BaseInfo } from "../../../../../api/zhxxAPI.js";
- import { dateFormat } from "../../../../../utils/gw_date.js";
- export default {
- components: {
- },
- props: ["currentResCode"],
- data() {
- return {
- testHeight:(window.innerHeight * 0.5 - 114) / 3,
- testHeight1:window.innerHeight * 0.5,
- dialogFormVisible:false,
- formObj: {
- rsName: "",
- rsAdmName: "",
- rsLoc: "",
- intm: "",
- engScal: "",
- totCap: "",
- damMaxHigh: "",
- damTypeStr: "",
- regCode: "",
- rsvrLong: "",
- rsvrLat: "",
- resCreateTime: ""
- },
- formLabelWidth: "160px",
- loading: true,
- currentResCode1: "",
- };
- },
- computed: {
- recPersId() {
- return localStorage.getItem("userid")? localStorage.getItem("userid"): "";
- }
- },
- mounted() {
- this.dialogFormVisible = true;
- this.currentResCode1 = this.currentResCode;
- this.getBaseInfo();
- },
- watch: {
- currentResCode(n, o) {
- this.currentResCode1 = this.currentResCode;
- this.getBaseInfo();
- }
- },
- methods: {
- showDialog(){
- this.dialogFormVisible = true;
- },
- getBaseInfo() {
- var _self = this;
- if(_self.currentResCode1 == ""){
- return
- }
- get172BaseInfo(_self.currentResCode1).then(res => {
- if (res.data) {
- _self.formObj = res.data;
- } else {
- _self.formObj = {};
- }
- },err => {});
- }
- }
- };
- </script>
- <style>
- @import "../../../assets/css/popup.css";
- </style>
|