页面优化
parent
a7bc7944d3
commit
63e2873198
|
@ -102,8 +102,8 @@ export function carDel(data) {
|
||||||
// 解绑车辆
|
// 解绑车辆
|
||||||
export function carButton() {
|
export function carButton() {
|
||||||
return request({
|
return request({
|
||||||
url: '/electronic/carFence/aaa',
|
url: '/electronic/RunText/text',
|
||||||
method: 'post',
|
method: 'get',
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<div class="app-container home">
|
<div class="app-container home">
|
||||||
<h1 style="text-align: center ;color: #0072c6 ; font-size: 50px;font-weight: bold"> Ⅷ 智汇车联 </h1>
|
<h1 style="text-align: center ;color: #0072c6 ; font-size: 50px;font-weight: bold"> Ⅷ 智汇车联 </h1>
|
||||||
<h2 style="text-align: right ;color: #1f2d3d; font-size: 20px">开发小组:八组</h2>
|
<h2 style="text-align: right ;color: #1f2d3d; font-size: 20px">开发小组:八组</h2>
|
||||||
<button @click="carButton">111</button>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<el-chart :options="chartOptions"></el-chart>
|
<el-chart :options="chartOptions"></el-chart>
|
||||||
|
@ -53,16 +52,13 @@ export default {
|
||||||
};
|
};
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
// 初始化图表
|
// 初始化图表
|
||||||
this.drawLine();
|
this.drawLine();
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
carButton(){
|
|
||||||
carButton(res=>{
|
|
||||||
alert(res)
|
|
||||||
})
|
|
||||||
},
|
|
||||||
navigateToPage(url) {
|
navigateToPage(url) {
|
||||||
this.$router.push(url);
|
this.$router.push(url);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue