优化搜索接收器

master
夜笙歌 2 years ago
parent fc7fea0b7a
commit 1493a6f333

@ -154,7 +154,7 @@ export default {
carIdParent: '车头ID',
userId: '司机ID',
userName: '司机姓名',
deviceId: '接收器ID',
deviceId: '接收器物联网卡号',
deviceBindTime: '接收器绑定时间',
firstChangeDate: '初换日期',
trailerNum: '布局挂数',

@ -105,11 +105,12 @@
<el-table-column align="center" width="25">
<template #default="scope">
<el-radio-group v-model="bindValue">
<el-radio :label="scope.row.id" @click="bindHandleSelectionChange(scope.row.internetThingsNo)"></el-radio>
<el-radio :label="scope.row.internetThingsNo"
@click="bindHandleSelectionChange(scope.row.internetThingsNo)"></el-radio>
</el-radio-group>
</template>
</el-table-column>
<el-table-column align="center" label="接收器编号" prop="internetThingsNo" width="150"/>
<el-table-column align="center" label="物联网卡号" prop="internetThingsNo" width="150"/>
<el-table-column align="center" label="设备类型" prop="deviceType"/>
</el-table>
<template #footer>
@ -310,7 +311,11 @@ const bindOk = () => {
internetThingsNo: bindValue.value,
id: waitBind.value
}
console.log(params)
updateBaseCar(params).then(() => {
bindValue.value = '';
bindInput.value = '';
bangOpen.value = false
})
}
/** 新增按钮操作 */
@ -331,6 +336,10 @@ function handleAdd() {
function handleUpdate(row) {
reset();
const postId = row.id || ids.value;
getCarQueueList().then(response => {
carQueue.value = response.CarQueueList;
carType.value = response.CarTypeList;
})
getBaseCar(postId).then(response => {
form.value = response.data;
open.value = true;

Loading…
Cancel
Save