页面优化
parent
a7bc7944d3
commit
63e2873198
|
@ -102,8 +102,8 @@ export function carDel(data) {
|
|||
// 解绑车辆
|
||||
export function carButton() {
|
||||
return request({
|
||||
url: '/electronic/carFence/aaa',
|
||||
method: 'post',
|
||||
url: '/electronic/RunText/text',
|
||||
method: 'get',
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
<div class="app-container home">
|
||||
<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>
|
||||
<button @click="carButton">111</button>
|
||||
|
||||
<div>
|
||||
<el-chart :options="chartOptions"></el-chart>
|
||||
|
@ -53,16 +52,13 @@ export default {
|
|||
};
|
||||
|
||||
},
|
||||
|
||||
mounted() {
|
||||
// 初始化图表
|
||||
this.drawLine();
|
||||
},
|
||||
methods: {
|
||||
carButton(){
|
||||
carButton(res=>{
|
||||
alert(res)
|
||||
})
|
||||
},
|
||||
|
||||
navigateToPage(url) {
|
||||
this.$router.push(url);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue