|
|
|
@ -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;
|
|
|
|
|