|
|
@ -10,59 +10,109 @@ export default { |
|
|
|
}, |
|
|
|
data() { |
|
|
|
return { |
|
|
|
isEdit: false, |
|
|
|
segmentationForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
size: '', |
|
|
|
waterLevel: '', |
|
|
|
createTime: '', |
|
|
|
creator: '' |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
size: '网格大小', |
|
|
|
waterLevel: '网格水位', |
|
|
|
createTime: '创建时间', |
|
|
|
creator: '创建人' |
|
|
|
}, |
|
|
|
waterTreatmentForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
waterLevel: '', |
|
|
|
flowVelocity: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
waterLevel: '平均水位', |
|
|
|
flowVelocity: '平均流速', |
|
|
|
}, |
|
|
|
preDirectionForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
direction: '', |
|
|
|
flowVelocity: '', |
|
|
|
time: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
direction: '流向', |
|
|
|
flowVelocity: '流速', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
directionForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
x: '', |
|
|
|
y: '', |
|
|
|
flowVelocity: '', |
|
|
|
time: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
x: 'x轴坐标', |
|
|
|
y: 'y轴坐标', |
|
|
|
flowVelocity: '流速', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
correlationForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
configName: '', |
|
|
|
function: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
configName: '配置名', |
|
|
|
function: '网格关联函数', |
|
|
|
}, |
|
|
|
terrainForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
position: '', |
|
|
|
elevation: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
position: '网格坐标', |
|
|
|
elevation: '网格点高程', |
|
|
|
}, |
|
|
|
colorForm: { |
|
|
|
planName: '', |
|
|
|
code: '', |
|
|
|
id: '', |
|
|
|
RGB: '', |
|
|
|
opacity: '', |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
RGB: 'RGB值', |
|
|
|
opacity: '透明度', |
|
|
|
}, |
|
|
|
waterFlowForm: { |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
time: '时间', |
|
|
|
rate: '进度', |
|
|
|
gridVector: '网格矢量信息', |
|
|
|
}, |
|
|
|
gridVectorForm: { |
|
|
|
planName: '渲染项目名', |
|
|
|
code: '编号', |
|
|
|
id: '网格id', |
|
|
|
waterLevel: '平均水位', |
|
|
|
flowVelocity: '平均流速', |
|
|
|
x: 'X轴坐标', |
|
|
|
y: 'Y轴坐标', |
|
|
|
z: 'Z轴坐标', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
gateOpenForm: { |
|
|
|
enginName: '工程名称', |
|
|
|
enginId: '工程ID', |
|
|
|
gateNum: '闸门编号', |
|
|
|
time: '时间', |
|
|
|
gateOpenChange: '闸门开度变化过程', |
|
|
|
}, |
|
|
|
gateOpenChangeForm: { |
|
|
|
enginName: '工程名称', |
|
|
|
enginId: '工程ID', |
|
|
|
gateNum: '闸门编号', |
|
|
|
gateOpen: '闸门开度', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
deformationForm: { |
|
|
|
enginName: '工程名称', |
|
|
|
enginId: '工程ID', |
|
|
|
enginType: '工程类型', |
|
|
|
dikeForm: '坝体形式', |
|
|
|
dikeSection: '坝体断面位移信息', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
sectionForm: { |
|
|
|
enginName: '工程名称', |
|
|
|
enginId: '工程ID', |
|
|
|
sectionName: '断面名称', |
|
|
|
coors: '坐标', |
|
|
|
displacement: '相对位移', |
|
|
|
time: '时间', |
|
|
|
}, |
|
|
|
} |
|
|
|
}, |
|
|
@ -76,6 +126,19 @@ export default { |
|
|
|
} |
|
|
|
}) |
|
|
|
}, |
|
|
|
handleEdit() { |
|
|
|
this.isEdit = true |
|
|
|
}, |
|
|
|
handleSave() { |
|
|
|
this.$message.success('保存成功') |
|
|
|
}, |
|
|
|
handleClear() { |
|
|
|
this.isEdit = false |
|
|
|
this.$refs.segmentationForm.resetFields() |
|
|
|
this.$refs.waterTreatmentForm.resetFields() |
|
|
|
this.$refs.preDirectionForm.resetFields() |
|
|
|
this.$refs.directionForm.resetFields() |
|
|
|
}, |
|
|
|
}, |
|
|
|
mounted() { |
|
|
|
if (this.model) { |
|
|
@ -92,7 +155,8 @@ export default { |
|
|
|
|
|
|
|
<template> |
|
|
|
<div class="edit"> |
|
|
|
<div style="display: flex; margin-bottom: 16px"> |
|
|
|
<div style="display: flex; margin-bottom: 16px; justify-content: space-between"> |
|
|
|
<div style="display: flex;"> |
|
|
|
<div |
|
|
|
style=" |
|
|
|
width: 5px; |
|
|
@ -103,13 +167,37 @@ export default { |
|
|
|
></div> |
|
|
|
<span style="font-weight: 600">水流渲染配置</span> |
|
|
|
</div> |
|
|
|
<div> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
@click="handleEdit" |
|
|
|
style="margin-left: 16px" |
|
|
|
> |
|
|
|
编辑 |
|
|
|
</el-button> |
|
|
|
<el-button |
|
|
|
type="primary" |
|
|
|
@click="handleSave" |
|
|
|
style="margin-left: 16px" |
|
|
|
> |
|
|
|
保存 |
|
|
|
</el-button> |
|
|
|
<el-button |
|
|
|
type="danger" |
|
|
|
@click="handleClear" |
|
|
|
style="margin-left: 16px" |
|
|
|
> |
|
|
|
取消 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div style="display: flex; margin-bottom: 16px"> |
|
|
|
<span style="font-weight: 600">网格分割配置</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="segmentationForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="segmentationForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
@ -155,8 +243,8 @@ export default { |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="waterTreatmentForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="waterTreatmentForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
@ -192,8 +280,8 @@ export default { |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="preDirectionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="preDirectionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
@ -234,8 +322,8 @@ export default { |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
@ -280,35 +368,35 @@ export default { |
|
|
|
<span style="font-weight: 600">网格关联配置</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="correlationForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-input v-model="correlationForm.planName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-input v-model="correlationForm.code"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-input v-model="correlationForm.id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="配置名" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="配置名" prop="configName"> |
|
|
|
<el-input v-model="correlationForm.configName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格关联函数" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="网格关联函数" prop="function"> |
|
|
|
<el-input v-model="correlationForm.function"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -317,72 +405,73 @@ export default { |
|
|
|
<span style="font-weight: 600">网格地形配置</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="terrainForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-input v-model="terrainForm.planName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-input v-model="terrainForm.code"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-input v-model="terrainForm.id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格坐标" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="网格坐标" prop="position"> |
|
|
|
<el-input v-model="terrainForm.position"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格点高程" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="网格点高程" prop="elevation"> |
|
|
|
<el-input v-model="terrainForm.elevation"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</el-form> |
|
|
|
<div style="display: flex; margin-bottom: 16px"> |
|
|
|
<span style="font-weight: 600">网格水体颜色信息</span> |
|
|
|
</div> |
|
|
|
</div>: '透明度', |
|
|
|
}, |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="colorForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-input v-model="colorForm.planName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-input v-model="colorForm.code"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-input v-model="colorForm.id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="RGB"> |
|
|
|
<el-input v-model="colorForm.RGB"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="opacity"> |
|
|
|
<el-input v-model="colorForm.opacity"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -402,35 +491,40 @@ export default { |
|
|
|
<span style="font-weight: 600">水体流动信息</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="waterFlowForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-input v-model="waterFlowForm.planName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-input v-model="waterFlowForm.code"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-input v-model="waterFlowForm.id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="waterFlowForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="进度" prop="rate"> |
|
|
|
<el-input v-model="waterFlowForm.rate"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="18"> |
|
|
|
<el-form-item label-width="120px" label="网格矢量信息" prop="gridVector"> |
|
|
|
<el-input v-model="waterFlowForm.gridVector"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -439,35 +533,55 @@ export default { |
|
|
|
<span style="font-weight: 600">网格矢量信息</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="gridVectorForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-input v-model="gridVectorForm.planName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-input v-model="gridVectorForm.code"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-input v-model="gridVectorForm.id"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="平均水位" prop="waterLevel"> |
|
|
|
<el-input v-model="gridVectorForm.waterLevel"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="平均流速" prop="flowVelocity"> |
|
|
|
<el-input v-model="gridVectorForm.flowVelocity"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="x轴坐标" prop="x"> |
|
|
|
<el-input v-model="gridVectorForm.x"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="y轴坐标" prop="y"> |
|
|
|
<el-input v-model="gridVectorForm.y"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="z轴坐标" prop="z"> |
|
|
|
<el-input v-model="gridVectorForm.z"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="gridVectorForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -476,35 +590,35 @@ export default { |
|
|
|
<span style="font-weight: 600">闸门启闭信息</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="gateOpenForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程名称" prop="enginName"> |
|
|
|
<el-input v-model="gateOpenForm.enginName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程ID" prop="enginId"> |
|
|
|
<el-input v-model="gateOpenForm.enginId"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-form-item label-width="120px" label="闸门编号" prop="gateNum"> |
|
|
|
<el-input v-model="gateOpenForm.gateNum"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="gateOpenForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="闸门开度变化" prop="gateOpenChange"> |
|
|
|
<el-input v-model="gateOpenForm.gateOpenChange"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -513,35 +627,35 @@ export default { |
|
|
|
<span style="font-weight: 600">闸门开度变化过程</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="gateOpenChangeForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程名称" prop="enginName"> |
|
|
|
<el-input v-model="gateOpenChangeForm.enginName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程ID" prop="enginId"> |
|
|
|
<el-input v-model="gateOpenChangeForm.enginId"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-form-item label-width="120px" label="闸门编号" prop="gateNum"> |
|
|
|
<el-input v-model="gateOpenChangeForm.gateNum"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="闸门开度" prop="闸门开度"> |
|
|
|
<el-input v-model="gateOpenChangeForm.gateOpen"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="gateOpenChangeForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -550,35 +664,40 @@ export default { |
|
|
|
<span style="font-weight: 600">坝体变形仿真信息</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="deformationForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程名称" prop="enginName"> |
|
|
|
<el-input v-model="deformationForm.enginName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程ID" prop="enginId"> |
|
|
|
<el-input v-model="deformationForm.enginId"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程类型" prop="enginType"> |
|
|
|
<el-input v-model="deformationForm.enginType"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="坝体形式" prop="dikeForm"> |
|
|
|
<el-input v-model="deformationForm.dikeForm"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="坝体断面位移信息" prop="dikeSection"> |
|
|
|
<el-input v-model="deformationForm.dikeSection"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="deformationForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -587,35 +706,40 @@ export default { |
|
|
|
<span style="font-weight: 600">坝体断面位移信息</span> |
|
|
|
</div> |
|
|
|
<el-form |
|
|
|
:model="directionForm" |
|
|
|
:disabled="!!model && model.eventType !== 'edit'" |
|
|
|
ref="ruleForm" |
|
|
|
:model="sectionForm" |
|
|
|
:disabled="!isEdit" |
|
|
|
ref="directionForm" |
|
|
|
label-width="100px" |
|
|
|
> |
|
|
|
<el-row> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="渲染项目名" prop="planName"> |
|
|
|
<el-input v-model="directionForm.planName"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程名称" prop="enginName"> |
|
|
|
<el-input v-model="sectionForm.enginName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="编号" prop="code"> |
|
|
|
<el-input v-model="directionForm.code"></el-input> |
|
|
|
<el-form-item label-width="120px" label="工程ID" prop="enginId"> |
|
|
|
<el-input v-model="sectionForm.enginId"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="网格ID" prop="id"> |
|
|
|
<el-input v-model="directionForm.id"></el-input> |
|
|
|
<el-form-item label-width="120px" label="断面名称" prop="sectionName"> |
|
|
|
<el-input v-model="sectionForm.sectionName"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="RGB值" prop="direction"> |
|
|
|
<el-input v-model="directionForm.x"></el-input> |
|
|
|
<el-form-item label-width="120px" label="坐标" prop="coors"> |
|
|
|
<el-input v-model="sectionForm.coors"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="透明度" prop="direction"> |
|
|
|
<el-input v-model="directionForm.y"></el-input> |
|
|
|
<el-form-item label-width="120px" label="相对位移" prop="displacement"> |
|
|
|
<el-input v-model="sectionForm.displacement"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="6"> |
|
|
|
<el-form-item label-width="120px" label="时间" prop="time"> |
|
|
|
<el-input v-model="sectionForm.time"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
@ -623,7 +747,7 @@ export default { |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
|
|
|
|
<style scoped lang="scss"> |
|
|
|
<style scoped lang="less"> |
|
|
|
.edit { |
|
|
|
height: 100%; |
|
|
|
overflow-y: auto; |
|
|
|