Compare commits
2 Commits
0f21d85439
...
e3a50535e4
Author | SHA1 | Date |
---|---|---|
|
e3a50535e4 | |
|
859c896170 |
|
@ -197,6 +197,8 @@ export default {
|
|||
var lineArr = [];
|
||||
// 遍历需要多少条类型折线
|
||||
if (this.typeValue) {
|
||||
console.log("this.typeValue.type_data",this.typeValue.type_data)
|
||||
if (this.typeValue.type_data!=undefined) {
|
||||
this.typeValue.type_data.forEach(ele => {
|
||||
lineArr.push({
|
||||
name: ele.name,
|
||||
|
@ -205,6 +207,7 @@ export default {
|
|||
smooth: true
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 筛选类型的数量
|
||||
|
@ -238,6 +241,7 @@ export default {
|
|||
show: true,
|
||||
confine: true
|
||||
};
|
||||
console.log("newVal",newVal)
|
||||
this.series[0].data = newVal.map(val => {
|
||||
return val.speed;
|
||||
});
|
||||
|
|
|
@ -417,7 +417,7 @@ destroyed: function () {
|
|||
message: res.data.msg,
|
||||
type: 'success'
|
||||
});
|
||||
}, 5000);
|
||||
}, 15000);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
|
|
@ -82,8 +82,8 @@
|
|||
</div>
|
||||
</el-drawer>
|
||||
<!-- 组件弹框 -->
|
||||
<el-dialog :title="componentTitle + '指标组件'" width="40%" :visible.sync="component" :close-on-click-modal="false">
|
||||
<el-form ref="form" :model="componentForm" label-width="150px" @close="closeComponentForm()">
|
||||
<el-dialog :title="componentTitle + '指标组件'" width="40%" :visible.sync="component" :close-on-click-modal ="false" @close="closeComponentForm()">
|
||||
<el-form ref="form" :model="componentForm" label-width="150px" >
|
||||
<el-form-item label="名称:">
|
||||
<el-input v-model="componentForm.componentName"></el-input>
|
||||
</el-form-item>
|
||||
|
@ -1166,7 +1166,9 @@ export default {
|
|||
}
|
||||
},
|
||||
closeComponentForm() {
|
||||
console.log("111")
|
||||
this.component = false;
|
||||
|
||||
document.getElementById('mapModule').contentWindow.editComponent('');
|
||||
},
|
||||
closeForm(form) {
|
||||
|
|
Loading…
Reference in New Issue