优化搜索接收器

master
夜笙歌 2 years ago
parent e5e2a4d3d5
commit 5090b11d10

@ -50,10 +50,10 @@ export function getCarQueueList() {
}) })
} }
// 获取接收器 // 获取接收器
export function getBindList(params) { export function getBindList(data) {
return request({ return request({
url: '/basecar/car/getDeviceList', url: '/basecar/car/getDeviceList',
method: 'get', method: 'post',
params data
}) })
} }

@ -98,7 +98,7 @@
@pagination="getList" @pagination="getList"
/> />
<el-dialog v-model="bangOpen" append-to-body title="绑定接收器" width="500px" @close="()=>{bindValue='';bindInput=''}"> <el-dialog v-model="bangOpen" append-to-body title="绑定接收器" width="1000px" @close="()=>{bindValue='';bindInput=''}">
<el-input v-model="bindInput" style="width:200px"/> <el-input v-model="bindInput" style="width:200px"/>
<el-button type="primary" @click="bindSearch"></el-button> <el-button type="primary" @click="bindSearch"></el-button>
<el-table ref="bindRef" v-loading="loading" :data="bindList"> <el-table ref="bindRef" v-loading="loading" :data="bindList">

Loading…
Cancel
Save