|
@@ -1,6 +1,9 @@
|
|
|
<template>
|
|
|
<div class="app-container">
|
|
|
- <el-button type="primary" icon="el-icon-plus" plain @click="handleAdd" class="myButton">新增</el-button>
|
|
|
+ <div class="dark-el-button">
|
|
|
+ <el-button type="primary" icon="el-icon-plus" @click="handleAdd" class="myButton">新增</el-button>
|
|
|
+ </div>
|
|
|
+
|
|
|
<!--上报对象表格-->
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
@@ -80,378 +83,381 @@
|
|
|
</el-pagination>
|
|
|
</div>
|
|
|
<!--编辑框-->
|
|
|
- <el-dialog :title="saveFlag==1?'新增':'编辑'" :visible.sync="visible" width="100%" :fullscreen="true">
|
|
|
+ <div class="dark-el-dialog">
|
|
|
+ <el-dialog :title="saveFlag==1?'新增':'编辑'" :visible.sync="visible" width="100%" :fullscreen="true">
|
|
|
|
|
|
- <el-row :gutter="20">
|
|
|
- <el-col :span="17">
|
|
|
- <div>
|
|
|
+ <el-row :gutter="20">
|
|
|
+ <el-col :span="17">
|
|
|
+ <div>
|
|
|
<span style="color: red">
|
|
|
<font size="4px">灰色文本框需要点击后,在右侧进行编辑录入!</font>
|
|
|
</span>
|
|
|
- </div>
|
|
|
-
|
|
|
- <div class="grid-content bg-purple">
|
|
|
- <el-form v-model="form" ref="form" :key="timer">
|
|
|
- <el-row :gutter="16">
|
|
|
-<!-- <el-col :span="8">-->
|
|
|
-<!-- <el-form-item prop="fileName" label-width="150px">-->
|
|
|
-<!-- <span slot="label">-->
|
|
|
-<!-- <font color="red">*</font>文件名关键字-->
|
|
|
-<!-- </span>-->
|
|
|
-<!-- <el-input v-model="form.fileName" @focus="clearformula"></el-input>-->
|
|
|
-<!-- </el-form-item>-->
|
|
|
-<!-- </el-col>-->
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="dataType" label-width="150px">
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="grid-content bg-purple">
|
|
|
+ <el-form v-model="form" ref="form" :key="timer">
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <!-- <el-col :span="8">-->
|
|
|
+ <!-- <el-form-item prop="fileName" label-width="150px">-->
|
|
|
+ <!-- <span slot="label">-->
|
|
|
+ <!-- <font color="red">*</font>文件名关键字-->
|
|
|
+ <!-- </span>-->
|
|
|
+ <!-- <el-input v-model="form.fileName" @focus="clearformula"></el-input>-->
|
|
|
+ <!-- </el-form-item>-->
|
|
|
+ <!-- </el-col>-->
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="dataType" label-width="150px">
|
|
|
<span slot="label">
|
|
|
<font color="red">*</font>数据类型
|
|
|
</span>
|
|
|
- <el-select popper-class="cpp-popper" v-model="form.dataType" clearable @focus="clearformula">
|
|
|
- <el-option
|
|
|
- v-for="item in this.dataType"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"/>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
-<!-- <el-row>-->
|
|
|
-<!-- <el-col :span="24">-->
|
|
|
-<!-- <el-form-item prop="stationCode" label-width="150px">-->
|
|
|
-<!-- <span slot="label">-->
|
|
|
-<!-- <font color="red">*</font>场站编号-->
|
|
|
-<!-- </span>-->
|
|
|
-<!-- <el-select popper-class="cpp-popper" v-model="form.stationCode" multiple clearable @focus="clearformula" style="width: 100%">-->
|
|
|
-<!-- <el-option-->
|
|
|
-<!-- v-for="item in this.stationCodeList"-->
|
|
|
-<!-- :key="item.stationCode"-->
|
|
|
-<!-- :label="item.stationCode"-->
|
|
|
-<!-- :value="item.stationCode"/>-->
|
|
|
-<!-- </el-select>-->
|
|
|
-<!-- </el-form-item>-->
|
|
|
-<!-- </el-col>-->
|
|
|
-<!-- </el-row>-->
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="time" label-width="150px" class="formulaColor">
|
|
|
+ <el-select popper-class="cpp-popper" v-model="form.dataType" clearable @focus="clearformula">
|
|
|
+ <el-option
|
|
|
+ v-for="item in this.dataType"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <!-- <el-row>-->
|
|
|
+ <!-- <el-col :span="24">-->
|
|
|
+ <!-- <el-form-item prop="stationCode" label-width="150px">-->
|
|
|
+ <!-- <span slot="label">-->
|
|
|
+ <!-- <font color="red">*</font>场站编号-->
|
|
|
+ <!-- </span>-->
|
|
|
+ <!-- <el-select popper-class="cpp-popper" v-model="form.stationCode" multiple clearable @focus="clearformula" style="width: 100%">-->
|
|
|
+ <!-- <el-option-->
|
|
|
+ <!-- v-for="item in this.stationCodeList"-->
|
|
|
+ <!-- :key="item.stationCode"-->
|
|
|
+ <!-- :label="item.stationCode"-->
|
|
|
+ <!-- :value="item.stationCode"/>-->
|
|
|
+ <!-- </el-select>-->
|
|
|
+ <!-- </el-form-item>-->
|
|
|
+ <!-- </el-col>-->
|
|
|
+ <!-- </el-row>-->
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="time" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
<font color="red">*</font>时间公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.time" readonly
|
|
|
- @click.native="ftck(form.time,'form.time','(时间)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="t" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.time" readonly
|
|
|
+ @click.native="ftck(form.time,'form.time','(时间)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="t" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
温度公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.t" readonly
|
|
|
- @click.native="ftck(form.t,'form.t','(温度)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="rh" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.t" readonly
|
|
|
+ @click.native="ftck(form.t,'form.t','(温度)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="rh" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
湿度公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.rh" readonly
|
|
|
- @click.native="ftck(form.rh,'form.rh','(湿度)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="pa" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.rh" readonly
|
|
|
+ @click.native="ftck(form.rh,'form.rh','(湿度)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="pa" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
气压公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.pa" readonly
|
|
|
- @click.native="ftck(form.pa,'form.pa','(气压)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws10" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.pa" readonly
|
|
|
+ @click.native="ftck(form.pa,'form.pa','(气压)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws10" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
10米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws10" readonly
|
|
|
- @click.native="ftck(form.ws10,'form.ws10','(10米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd10" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws10" readonly
|
|
|
+ @click.native="ftck(form.ws10,'form.ws10','(10米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd10" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
10米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd10" readonly
|
|
|
- @click.native="ftck(form.wd10,'form.wd10','(10米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws30" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd10" readonly
|
|
|
+ @click.native="ftck(form.wd10,'form.wd10','(10米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws30" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
30米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws30" readonly
|
|
|
- @click.native="ftck(form.ws30,'form.ws30','(30米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd30" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws30" readonly
|
|
|
+ @click.native="ftck(form.ws30,'form.ws30','(30米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd30" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
30米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd30" readonly
|
|
|
- @click.native="ftck(form.wd30,'form.wd30','(30米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws50" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd30" readonly
|
|
|
+ @click.native="ftck(form.wd30,'form.wd30','(30米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws50" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
50米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws50" readonly
|
|
|
- @click.native="ftck(form.ws50,'form.ws50','(50米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd50" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws50" readonly
|
|
|
+ @click.native="ftck(form.ws50,'form.ws50','(50米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd50" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
50米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd50" readonly
|
|
|
- @click.native="ftck(form.wd50,'form.wd50','(50米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws60" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd50" readonly
|
|
|
+ @click.native="ftck(form.wd50,'form.wd50','(50米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws60" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
60米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws60" readonly
|
|
|
- @click.native="ftck(form.ws60,'form.ws60','(60米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd60" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws60" readonly
|
|
|
+ @click.native="ftck(form.ws60,'form.ws60','(60米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd60" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
60米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd60" readonly
|
|
|
- @click.native="ftck(form.wd60,'form.wd60','(60米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws70" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd60" readonly
|
|
|
+ @click.native="ftck(form.wd60,'form.wd60','(60米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws70" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
70米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws70" readonly
|
|
|
- @click.native="ftck(form.ws70,'form.ws70','(70米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd70" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws70" readonly
|
|
|
+ @click.native="ftck(form.ws70,'form.ws70','(70米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd70" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
70米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd70" readonly
|
|
|
- @click.native="ftck(form.wd70,'form.wd70','(70米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws80" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd70" readonly
|
|
|
+ @click.native="ftck(form.wd70,'form.wd70','(70米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws80" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
80米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws80" readonly
|
|
|
- @click.native="ftck(form.ws80,'form.ws80','(80米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd80" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws80" readonly
|
|
|
+ @click.native="ftck(form.ws80,'form.ws80','(80米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd80" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
80米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd80" readonly
|
|
|
- @click.native="ftck(form.wd80,'form.wd80','(80米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws90" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd80" readonly
|
|
|
+ @click.native="ftck(form.wd80,'form.wd80','(80米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws90" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
90米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws90" readonly
|
|
|
- @click.native="ftck(form.ws90,'form.ws90','(90米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd90" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws90" readonly
|
|
|
+ @click.native="ftck(form.ws90,'form.ws90','(90米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd90" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
90米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd90" readonly
|
|
|
- @click.native="ftck(form.wd90,'form.wd90','(90米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws100" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd90" readonly
|
|
|
+ @click.native="ftck(form.wd90,'form.wd90','(90米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws100" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
100米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws100" readonly
|
|
|
- @click.native="ftck(form.ws100,'form.ws100','(100米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd100" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws100" readonly
|
|
|
+ @click.native="ftck(form.ws100,'form.ws100','(100米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd100" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
100米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd100" readonly
|
|
|
- @click.native="ftck(form.wd100,'form.wd100','(100米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws110" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd100" readonly
|
|
|
+ @click.native="ftck(form.wd100,'form.wd100','(100米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws110" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
110米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws110" readonly
|
|
|
- @click.native="ftck(form.ws110,'form.ws110','(110米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd110" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws110" readonly
|
|
|
+ @click.native="ftck(form.ws110,'form.ws110','(110米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd110" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
110米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd110" readonly
|
|
|
- @click.native="ftck(form.wd110,'form.wd110','(110米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="ws120" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd110" readonly
|
|
|
+ @click.native="ftck(form.wd110,'form.wd110','(110米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="ws120" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
120米风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.ws120" readonly
|
|
|
- @click.native="ftck(form.ws120,'form.ws120','(120米风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wd120" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.ws120" readonly
|
|
|
+ @click.native="ftck(form.ws120,'form.ws120','(120米风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wd120" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
120米风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wd120" readonly
|
|
|
- @click.native="ftck(form.wd120,'form.wd120','(120米风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row :gutter="16">
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wsHubHeight" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wd120" readonly
|
|
|
+ @click.native="ftck(form.wd120,'form.wd120','(120米风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row :gutter="16">
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wsHubHeight" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
轮毂风速公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wsHubHeight" readonly
|
|
|
- @click.native="ftck(form.wsHubHeight,'form.wsHubHeight','(轮毂风速)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- <el-col :span="8">
|
|
|
- <el-form-item prop="wdHubHeight" label-width="150px" class="formulaColor">
|
|
|
+ <el-input v-model="form.wsHubHeight" readonly
|
|
|
+ @click.native="ftck(form.wsHubHeight,'form.wsHubHeight','(轮毂风速)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item prop="wdHubHeight" label-width="150px" class="formulaColor">
|
|
|
<span slot="label">
|
|
|
轮毂风向公式
|
|
|
</span>
|
|
|
- <el-input v-model="form.wdHubHeight" readonly
|
|
|
- @click.native="ftck(form.wdHubHeight,'form.wdHubHeight','(轮毂风向)')"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- <div slot="footer" class="dialog-footer">
|
|
|
- <el-button type="primary" @click="handleSave('form')">
|
|
|
- <span v-if="saveFlag == 1">保 存</span>
|
|
|
- <span v-else>修 改</span>
|
|
|
- </el-button>
|
|
|
- <el-button @click="visible = false">取 消</el-button>
|
|
|
+ <el-input v-model="form.wdHubHeight" readonly
|
|
|
+ @click.native="ftck(form.wdHubHeight,'form.wdHubHeight','(轮毂风向)')"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ <div slot="footer" class="dialog-footer">
|
|
|
+ <el-button type="primary" @click="handleSave('form')">
|
|
|
+ <span v-if="saveFlag == 1">保 存</span>
|
|
|
+ <span v-else>修 改</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button @click="visible = false">取 消</el-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
- </el-col>
|
|
|
- <el-col :span="1">
|
|
|
- <el-divider direction="vertical" style="height: 200px"></el-divider>
|
|
|
- </el-col>
|
|
|
- <el-col :span="5">
|
|
|
- <h2>公式编辑区{{ this.editinfo }}</h2>
|
|
|
- <el-form>
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-form-item prop="rownumber" label-width="150px">
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="1">
|
|
|
+ <el-divider direction="vertical" style="height: 200px"></el-divider>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="5">
|
|
|
+ <h2>公式编辑区{{ this.editinfo }}</h2>
|
|
|
+ <el-form>
|
|
|
+ <el-row>
|
|
|
+ <el-col>
|
|
|
+ <el-form-item prop="rownumber" label-width="150px">
|
|
|
<span slot="label">
|
|
|
<font color="red">*</font>解析行
|
|
|
</span>
|
|
|
- <el-input v-model="pfform.rownumber"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-form-item prop="columnumber" label-width="150px">
|
|
|
+ <el-input v-model="pfform.rownumber"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col>
|
|
|
+ <el-form-item prop="columnumber" label-width="150px">
|
|
|
<span slot="label">
|
|
|
<font color="red">*</font>解析列
|
|
|
</span>
|
|
|
- <el-input v-model="pfform.columnumber"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-form-item label="标签名" prop="signname" label-width="150px">
|
|
|
- <el-input v-model="pfform.signname"></el-input>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-col>
|
|
|
- <el-form-item label="时间格式" prop="timeformat" label-width="150px">
|
|
|
- <el-select popper-class="cpp-popper" v-model="pfform.timeformat" clearable>
|
|
|
- <el-option
|
|
|
- v-for="item in this.timeFormat"
|
|
|
- :key="item.value"
|
|
|
- :label="item.label"
|
|
|
- :value="item.value"/>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- <el-row>
|
|
|
- <el-button type="primary" @click="genformula">
|
|
|
- <span>生成公式</span>
|
|
|
- </el-button>
|
|
|
- <el-button type="primary" @click="destoryformula">
|
|
|
- <span>清除录入</span>
|
|
|
- </el-button>
|
|
|
- </el-row>
|
|
|
- </el-form>
|
|
|
- </el-col>
|
|
|
- </el-row>
|
|
|
- </el-dialog>
|
|
|
+ <el-input v-model="pfform.columnumber"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col>
|
|
|
+ <el-form-item label="标签名" prop="signname" label-width="150px">
|
|
|
+ <el-input v-model="pfform.signname"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-col>
|
|
|
+ <el-form-item label="时间格式" prop="timeformat" label-width="150px">
|
|
|
+ <el-select popper-class="cpp-popper" v-model="pfform.timeformat" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="item in this.timeFormat"
|
|
|
+ :key="item.value"
|
|
|
+ :label="item.label"
|
|
|
+ :value="item.value"/>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ <el-row>
|
|
|
+ <el-button type="primary" @click="genformula">
|
|
|
+ <span>生成公式</span>
|
|
|
+ </el-button>
|
|
|
+ <el-button type="primary" @click="destoryformula">
|
|
|
+ <span>清除录入</span>
|
|
|
+ </el-button>
|
|
|
+ </el-row>
|
|
|
+ </el-form>
|
|
|
+ </el-col>
|
|
|
+ </el-row>
|
|
|
+ </el-dialog>
|
|
|
+ </div>
|
|
|
+
|
|
|
</div>
|
|
|
</template>
|
|
|
|