Compare commits

..

No commits in common. "e3a50535e45c86be330f525fdf3f27676714fa79" and "0f21d854398923bdb531eb4d8e31a054fb08b5e0" have entirely different histories.

3 changed files with 3 additions and 9 deletions

View File

@ -197,8 +197,6 @@ 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,
@ -208,7 +206,6 @@ export default {
});
});
}
}
//
mapN.forEach(ele => {
@ -241,7 +238,6 @@ export default {
show: true,
confine: true
};
console.log("newVal",newVal)
this.series[0].data = newVal.map(val => {
return val.speed;
});

View File

@ -417,7 +417,7 @@ destroyed: function () {
message: res.data.msg,
type: 'success'
});
}, 15000);
}, 5000);
}
})
},

View File

@ -82,8 +82,8 @@
</div>
</el-drawer>
<!-- 组件弹框 -->
<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-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-form-item label="名称:">
<el-input v-model="componentForm.componentName"></el-input>
</el-form-item>
@ -1166,9 +1166,7 @@ export default {
}
},
closeComponentForm() {
console.log("111")
this.component = false;
document.getElementById('mapModule').contentWindow.editComponent('');
},
closeForm(form) {