Commit 7d922e53 authored by xinzhedeai's avatar xinzhedeai

微震事件 波形图表显示不出来问题

parent 2f9c2a35
...@@ -52,9 +52,11 @@ ...@@ -52,9 +52,11 @@
<el-dialog :title="title" :visible.sync="open" append-to-body > <el-dialog :title="title" :visible.sync="open" append-to-body >
<el-tabs v-model="activeName" type="card" @tab-click="handleClick"> <el-tabs v-model="activeName" type="card" @tab-click="handleClick">
<el-tab-pane label="波形" name="first"> <el-tab-pane label="波形" name="first">
<div class="wrapper" v-for="(item,index) in chartData" :key="index"> <div class="pannelFirst4wave">
<div class="roseChart"></div> <div class="wrapper" v-for="(item,index) in chartData" :key="index">
</div> <div class="roseChart" style="width:99.999%;height:300px;"></div>
</div>
</div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane label="事件详情" name="second"> <el-tab-pane label="事件详情" name="second">
<el-form ref="form" :model="form" label-width="140px" style="width:100%;height: 100%;display: flex;"> <el-form ref="form" :model="form" label-width="140px" style="width:100%;height: 100%;display: flex;">
...@@ -366,6 +368,11 @@ export default { ...@@ -366,6 +368,11 @@ export default {
}; };
</script> </script>
<style rel="stylesheet/scss" lang="scss" scope> <style rel="stylesheet/scss" lang="scss" scope>
.pannelFirst4wave{
height: 300px;
overflow-y: auto;
overflow-x: hidden;
}
.app-container{ .app-container{
display: flex; display: flex;
flex: 1; flex: 1;
......
...@@ -35,7 +35,7 @@ module.exports = { ...@@ -35,7 +35,7 @@ module.exports = {
proxy: { proxy: {
[process.env.VUE_APP_BASE_API]: { [process.env.VUE_APP_BASE_API]: {
target: `http://192.168.0.103:8085/lswz`, // 线上内网 target: `http://192.168.0.103:8085/lswz`, // 线上内网
// target: `http://192.168.3.188:8085/lswz`, // target: `http://192.168.2.18:8085/lswz`, // 广建本地
//target: `http://192.168.3.37:8085/lswz`, //target: `http://192.168.3.37:8085/lswz`,
// target: `http://10.50.70.100:8085/lswz`, // target: `http://10.50.70.100:8085/lswz`,
changeOrigin: true, changeOrigin: true,
......
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