Commit 8dc91bba authored by 王晓倩's avatar 王晓倩

报警详情、巡检计划详情、工单详情管道上图

parent 9ed181ec
......@@ -14,7 +14,7 @@
<el-row style="padding-left: 50px;">
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" style="width: 100%;">
<el-form ref="form" v-model="form" style="width: 100%;">
<el-form-item label="设备类型:" prop="deviceType">
<font>{{form.deviceType}}</font>
</el-form-item>
......@@ -24,7 +24,7 @@
</el-form>
</el-col>
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" style="width: 100%;">
<el-form ref="form" v-model="form" style="width: 100%;">
<el-form-item label="报警类型:" prop="alarmType">
<font>{{form.alarmType}}</font>
</el-form-item>
......@@ -34,7 +34,7 @@
</el-form>
</el-col>
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" style="width: 100%;">
<el-form ref="form" v-model="form" style="width: 100%;">
<el-form-item label="报警开始时间:" prop="startTime">
<font>{{form.startTime}}</font>
</el-form-item>
......@@ -44,7 +44,7 @@
</el-form>
</el-col>
<el-col :span="6">
<el-form ref="form" v-model="form" :rules="rules" style="width: 100%;">
<el-form ref="form" v-model="form" style="width: 100%;">
<el-form-item label="工单编号:" prop="orderId">
<font>{{form.orderId}}</font>
</el-form-item>
......@@ -187,6 +187,7 @@ export default {
title: "",
// 表单参数
form: { },
rule: { },
};
},
created() {
......@@ -532,7 +533,10 @@ export default {
console.log("this.form", this.form)
this.active = parseInt(response.data.orderStatus) + 1;
this.gaoMap.resetMapCenter([this.form.longitude, this.form.latitude]);
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, this.form)
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, this.form);
this.form.pipeName = this.form.deviceName;
this.gaoMap.onlyLine(this.form);
var getData1 = [];
var getData2 = [];
......
......@@ -212,7 +212,10 @@ export default {
let obj = this.form.deviceList[i];
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, obj)
}
for(var i = 0; i < this.form.pipeList.length; i++){
let obj = this.form.pipeList[i];
this.gaoMap.onlyLine(obj);
}
if(this.form.orderType == '1') {
// 获取设备列表树
......
......@@ -427,7 +427,11 @@ export default {
}
for(var i = 0; i < this.form.deviceInfoList.length; i++){
let obj = this.form.deviceInfoList[i];
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, obj)
this.gaoMap.addMarker(DEVICE_TYPE.WORKORDER, obj);
}
for(var i = 0; i < this.form.pipeList.length; i++){
let obj = this.form.pipeList[i];
this.gaoMap.onlyLine(obj);
}
if(this.form.orderType == '1') {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment