|
@@ -12,15 +12,6 @@
|
|
|
/>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
- <el-col :span="6">
|
|
|
- <el-form-item label="策略编号" prop="planid">
|
|
|
- <el-input
|
|
|
- v-model="form.planid"
|
|
|
- placeholder="请输入策略编号"
|
|
|
- clearable
|
|
|
- />
|
|
|
- </el-form-item>
|
|
|
- </el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="起测水位" prop="wlevel">
|
|
|
<el-input-number
|
|
@@ -103,13 +94,9 @@ export default {
|
|
|
siteId: '',
|
|
|
siteName: '',
|
|
|
type: '',
|
|
|
- planid: '',
|
|
|
wlevel: 0,
|
|
|
},
|
|
|
rules: {
|
|
|
- planid: [
|
|
|
- {required: true, message: "策略编号不能为空", trigger: "blur"}
|
|
|
- ],
|
|
|
wlevel: [
|
|
|
{required: true, message: "起测水位不能为空", trigger: "blur"}
|
|
|
],
|
|
@@ -124,7 +111,7 @@ export default {
|
|
|
methods: {
|
|
|
loadPlainPoint() {
|
|
|
getPlainPoint(this.stopId).then((res) => {
|
|
|
- const { stopId, planid, siteId, wlevel, positions, factors } = res.data || {};
|
|
|
+ const { stopId, siteId, wlevel, positions, factors } = res.data || {};
|
|
|
|
|
|
const positions1 = JSON.parse(positions);
|
|
|
const factors1 = JSON.parse(factors);
|
|
@@ -135,7 +122,6 @@ export default {
|
|
|
this.points = positions1.map((p, index) => ({ ...p, factor: factors1[index] }))
|
|
|
|
|
|
this.form.stopId = stopId;
|
|
|
- this.form.planid = planid;
|
|
|
|
|
|
this.siteId = siteId;
|
|
|
this.loadSite();
|