|
@@ -1,191 +1,95 @@
|
|
|
<template>
|
|
|
<el-dialog :title="title" :visible.sync="dialogFormVisible" width="900px" @close="close" top="2%">
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="170px">
|
|
|
- <div class="title">
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item :disabled="!idAdd ? true : false" label="编码" prop="id">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.id" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="风场名称" prop="name">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.name" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item" v-if="idAdd">
|
|
|
- <el-form-item label="公司名称" prop="cascaderSel">
|
|
|
- <el-cascader v-model="form.cascaderSel" :options="stationList" style="width: 240px"
|
|
|
- :props="{ checkStrictly: true, label: 'name', value: 'id', children: 'children' }" clearable />
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="别名" prop="aname">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.aname" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item" v-if="!idAdd">
|
|
|
- <el-form-item label="集团" prop="windpowerstationId">
|
|
|
- <el-input class="inputs" v-model="form.group" disabled></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item" v-if="!idAdd">
|
|
|
- <el-form-item label="区域" prop="windpowerstationId">
|
|
|
- <el-input class="inputs" v-model="form.region" disabled></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item" v-if="!idAdd">
|
|
|
- <el-form-item label="公司" prop="windpowerstationId">
|
|
|
- <el-input class="inputs" v-model="form.company" disabled></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="地址" prop="address">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.address" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="电话" prop="telephone">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.telephone" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="地球经度" prop="longitude">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.longitude" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="地球纬度" prop="latitude">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.latitude" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="图片" prop="photo">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.photo" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="系统厂家" prop="systemManufact">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.systemManufact" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="场长" prop="headfarm">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.headfarm" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="场长电话" prop="headfarmPhone">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.headfarmPhone" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="机型" prop="model">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.model" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="顺序" prop="orderNum">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.orderNum" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- <div class="title-item">
|
|
|
- <el-form-item label="海拔高度" prop="height">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.height" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <!-- 风电 -->
|
|
|
- <el-divider><span>风电信息</span></el-divider>
|
|
|
<el-row>
|
|
|
+ <el-col :span="12"><el-form-item label="编号" prop="id"><el-input placeholder="请输入" class="inputs" v-model.trim="form.id"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="编码" prop="nemCode"><el-input placeholder="请输入" class="inputs" v-model.trim="form.nemCode"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="名称" prop="name"><el-input placeholder="请输入" class="inputs" v-model.trim="form.name"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="地址" prop="address"><el-input placeholder="请输入" class="inputs" v-model.trim="form.address"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="电话" prop="telephone"><el-input placeholder="请输入" class="inputs" v-model.trim="form.telephone"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="别名" prop="aname"><el-input placeholder="请输入" class="inputs" v-model.trim="form.aname"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="地球经度" prop="longitude"><el-input placeholder="请输入" class="inputs" v-model.trim="form.longitude"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="地球纬度" prop="latitude"><el-input placeholder="请输入" class="inputs" v-model.trim="form.latitude"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="图片" prop="photo"><el-input placeholder="请输入" class="inputs" v-model.trim="form.photo"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="系统厂家" prop="systemManufact"><el-input placeholder="请输入" class="inputs" v-model.trim="form.systemManufact"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="场长" prop="headfarm"><el-input placeholder="请输入" class="inputs" v-model.trim="form.headfarm"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="场长电话" prop="headfarmPhone"><el-input placeholder="请输入" class="inputs" v-model.trim="form.headfarmPhone"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="机型" prop="model"><el-input placeholder="请输入" class="inputs" v-model.trim="form.model"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="顺序" prop="orderNum"><el-input placeholder="请输入" class="inputs" v-model.trim="form.orderNum"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="海拔高度" prop="height"><el-input placeholder="请输入" class="inputs" v-model.trim="form.height"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="场站类型" prop="windType"><el-input placeholder="请输入" class="inputs" v-model.trim="form.windType"></el-input></el-form-item></el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="风电装机容量" prop="windCapacity">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.windCapacity" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="风电容量单位" prop="windCapacityUnit">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.windCapacityUnit" autocomplete="off">
|
|
|
- </el-input>
|
|
|
+ <el-form-item label="公司编号" prop="companyId">
|
|
|
+ <!-- <el-input placeholder="请输入" class="inputs" v-model.trim="form.companyId"></el-input> -->
|
|
|
+ <el-select style="width:200px" v-model="form.companyId" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in companyIdOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="风电装机数量海上" prop="windQuantityHs">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.windQuantityHs" autocomplete="off">
|
|
|
- </el-input>
|
|
|
+ <el-form-item label="区域编号" prop="regionId">
|
|
|
+ <!-- <el-input placeholder="请输入" class="inputs" v-model.trim="form.regionId"></el-input> -->
|
|
|
+ <el-select style="width:200px" v-model="form.regionId" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in regionIdOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
|
- <el-form-item label="风电装机数量陆地" prop="windQuantityLd">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.windQuantityLd" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入风电装机容量" prop="jrwindCapacity">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindCapacity" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入风电容量单位" prop="jrwindCapacityUnit">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindCapacityUnit" autocomplete="off">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入风电装机数量海上" prop="jrwindQuantityHs">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindQuantityHs" autocomplete="off">
|
|
|
- </el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入风电装机数量陆地" prop="jrwindQuantityLd">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindQuantityLd" autocomplete="off">
|
|
|
- </el-input>
|
|
|
+ <el-form-item label="集团编号" prop="groupId">
|
|
|
+ <!-- <el-input placeholder="请输入" class="inputs" v-model.trim="form.groupId"></el-input> -->
|
|
|
+ <el-select style="width:200px" v-model="form.groupId" placeholder="请选择">
|
|
|
+ <el-option
|
|
|
+ v-for="item in groupIdOptions"
|
|
|
+ :key="item.id"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.id">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="是否可用" prop="isAble"><el-input placeholder="请输入" class="inputs" v-model.trim="form.isAble"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="核准容量" prop="appCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.appCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="在建容量" prop="conCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.conCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="并网容量" prop="gridCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.gridCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="吊装容量" prop="hoiCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.hoiCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="首批并网时间" prop="firstGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.firstGridTime"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="整场投运时间" prop="wholeGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.wholeGridTime"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="测风塔数量" prop="anemoNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.anemoNumber"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="升压站数量" prop="stationNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.stationNumber"></el-input></el-form-item></el-col>
|
|
|
+ </el-row>
|
|
|
+ <!-- 风电 -->
|
|
|
+ <el-divider><span>风电信息</span></el-divider>
|
|
|
+ <el-row>
|
|
|
+ <el-col :span="12"><el-form-item label="风电装机容量" prop="windCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.windCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="风电容量单位" prop="windCapacityUnit"><el-input placeholder="请输入" class="inputs" v-model.trim="form.windCapacityUnit"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="风电装机数量海上" prop="windQuantityHs"><el-input placeholder="请输入" class="inputs" v-model.trim="form.windQuantityHs"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="风电装机数量陆地" prop="windQuantityLd"><el-input placeholder="请输入" class="inputs" v-model.trim="form.windQuantityLd"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入风电装机容量" prop="jrwindCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入风电容量单位" prop="jrwindCapacityUnit"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindCapacityUnit"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入风电装机数量海上" prop="jrwindQuantityHs"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindQuantityHs"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入风电装机数量陆地" prop="jrwindQuantityLd"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrwindQuantityLd"></el-input></el-form-item></el-col>
|
|
|
</el-row>
|
|
|
<!-- 光伏 -->
|
|
|
<el-divider><span>光伏信息</span></el-divider>
|
|
|
<el-row>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="光伏装机容量" prop="capacity">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.capacity" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="光伏容量单位" prop="capacityUnit">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.capacityUnit" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入光伏装机容量" prop="jrCapacity">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacity" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入光伏容量单位" prop="jrCapacityUnit">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacityUnit" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入光伏装机数量集中" prop="jrquantityJz">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrquantityJz" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="接入光伏装机数量组串" prop="jrquantityZc">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.jrquantityZc" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="光伏装机数量集中" prop="quantityJz">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityJz" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="12">
|
|
|
- <el-form-item label="光伏装机数量组串" prop="quantityZc">
|
|
|
- <el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityZc" autocomplete="off"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="光伏装机容量" prop="capacity2"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacity2"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="光伏容量单位" prop="capacityUnit2"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacityUnit2"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="光伏装机数量集中" prop="quantityJz"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityJz"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="光伏装机数量组串" prop="quantityZc"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityZc"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入光伏装机容量" prop="jrCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacity"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入光伏容量单位" prop="jrCapacityUnit"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacityUnit"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入光伏装机数量集中" prop="jrquantityJz"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrquantityJz"></el-input></el-form-item></el-col>
|
|
|
+ <el-col :span="12"><el-form-item label="接入光伏装机数量组串" prop="jrquantityZc"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrquantityZc"></el-input></el-form-item></el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
@@ -209,62 +113,68 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ groupIdOptions: [],
|
|
|
+ regionIdOptions: [],
|
|
|
+ companyIdOptions: [],
|
|
|
stationList: [],
|
|
|
form: {
|
|
|
- id: '',
|
|
|
- name: '',
|
|
|
- aname: '',
|
|
|
- cascaderSel: '',
|
|
|
- address: '',
|
|
|
- telephone: '',
|
|
|
- longitude: '',
|
|
|
- latitude: '',
|
|
|
- photo: '',
|
|
|
- systemManufact: '',
|
|
|
- headfarm: '',
|
|
|
- headfarmPhone: '',
|
|
|
- model: '',
|
|
|
- orderNum: '',
|
|
|
- height: '',
|
|
|
- windCapacity: '',
|
|
|
- windCapacityUnit: '',
|
|
|
- windQuantityHs: '',
|
|
|
- windQuantityLd: '',
|
|
|
- capacity: '',
|
|
|
- capacityUnit: '',
|
|
|
- quantityJz: '',
|
|
|
- quantityZc: '',
|
|
|
- jrwindCapacity: '',
|
|
|
- jrwindCapacityUnit: '',
|
|
|
- jrwindQuantityHs: '',
|
|
|
- jrwindQuantityLd: '',
|
|
|
- jrCapacity: '',
|
|
|
- jrCapacityUnit: '',
|
|
|
- jrquantityJz: '',
|
|
|
- jrquantityZc: '',
|
|
|
+ id: "",
|
|
|
+ nemCode: "",
|
|
|
+ name: "",
|
|
|
+ address: "",
|
|
|
+ telephone: "",
|
|
|
+ windCapacity: "",
|
|
|
+ windCapacityUnit: "",
|
|
|
+ windQuantityHs: "",
|
|
|
+ windQuantityLd: "",
|
|
|
+ capacity2: "",
|
|
|
+ capacityUnit2: "",
|
|
|
+ quantityJz: "",
|
|
|
+ quantityZc: "",
|
|
|
+ jrwindCapacity: "",
|
|
|
+ jrwindCapacityUnit: "",
|
|
|
+ jrwindQuantityHs: "",
|
|
|
+ jrwindQuantityLd: "",
|
|
|
+ jrCapacity: "",
|
|
|
+ jrCapacityUnit: "",
|
|
|
+ jrquantityJz: "",
|
|
|
+ jrquantityZc: "",
|
|
|
+ aname: "",
|
|
|
+ longitude: "",
|
|
|
+ latitude: "",
|
|
|
+ photo: "",
|
|
|
+ systemManufact: "",
|
|
|
+ headfarm: "",
|
|
|
+ headfarmPhone: "",
|
|
|
+ model: "",
|
|
|
+ orderNum: "",
|
|
|
+ height: "",
|
|
|
+ windType: "",
|
|
|
+ companyId: "",
|
|
|
+ regionId: "",
|
|
|
+ groupId: "",
|
|
|
+ isAble: "",
|
|
|
+ appCapacity: "",
|
|
|
+ conCapacity: "",
|
|
|
+ gridCapacity: "",
|
|
|
+ hoiCapacity: "",
|
|
|
+ firstGridTime: "",
|
|
|
+ wholeGridTime: "",
|
|
|
+ anemoNumber: "",
|
|
|
+ stationNumber: "",
|
|
|
},
|
|
|
rules: {
|
|
|
id: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ nemCode: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
name: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- aname: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- cascaderSel: [{ required: true, trigger: 'blur', message: '请选择场站' }],
|
|
|
address: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
telephone: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- longitude: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- latitude: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- photo: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- systemManufact: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- headfarm: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- headfarmPhone: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- model: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- orderNum: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- height: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
windCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
windCapacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
windQuantityHs: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
windQuantityLd: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- capacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- capacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ capacity2: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ capacityUnit2: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
quantityJz: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
quantityZc: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
jrwindCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
@@ -275,14 +185,54 @@ export default {
|
|
|
jrCapacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
jrquantityJz: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
jrquantityZc: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ aname: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ longitude: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ latitude: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ photo: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ systemManufact: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ headfarm: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ headfarmPhone: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ model: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ orderNum: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ height: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ windType: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ companyId: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ regionId: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ groupId: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ isAble: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ appCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ conCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ gridCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ hoiCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ firstGridTime: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ wholeGridTime: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ anemoNumber: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ stationNumber: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
},
|
|
|
title: '',
|
|
|
dialogFormVisible: false,
|
|
|
idAdd: true,
|
|
|
}
|
|
|
},
|
|
|
- created() { },
|
|
|
+ created() { this.optionsData()},
|
|
|
methods: {
|
|
|
+ optionsData(){
|
|
|
+ api.companys({id:"",name:"", pageNum: 1,pageSize: 1000,}).then(res => {
|
|
|
+ if (res.data) {
|
|
|
+ this.companyIdOptions = res.data.records
|
|
|
+ }
|
|
|
+ })
|
|
|
+ apis.regiontreels({ tag: 1 }).then(res => {
|
|
|
+ if (res.data) {
|
|
|
+ this.regionIdOptions = res.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+ apis.newtreeTreels({ tag: 1 }).then(res => {
|
|
|
+ if (res.data) {
|
|
|
+ this.groupIdOptions = res.data
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
showEdit(row) {
|
|
|
this.getTree()
|
|
|
if (!row) {
|