|
|
@ -105,11 +105,12 @@
|
|
|
|
<el-table-column align="center" width="25">
|
|
|
|
<el-table-column align="center" width="25">
|
|
|
|
<template #default="scope">
|
|
|
|
<template #default="scope">
|
|
|
|
<el-radio-group v-model="bindValue">
|
|
|
|
<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>
|
|
|
|
</el-radio-group>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</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-column align="center" label="设备类型" prop="deviceType"/>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
<template #footer>
|
|
|
|
<template #footer>
|
|
|
@ -310,7 +311,11 @@ const bindOk = () => {
|
|
|
|
internetThingsNo: bindValue.value,
|
|
|
|
internetThingsNo: bindValue.value,
|
|
|
|
id: waitBind.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) {
|
|
|
|
function handleUpdate(row) {
|
|
|
|
reset();
|
|
|
|
reset();
|
|
|
|
const postId = row.id || ids.value;
|
|
|
|
const postId = row.id || ids.value;
|
|
|
|
|
|
|
|
getCarQueueList().then(response => {
|
|
|
|
|
|
|
|
carQueue.value = response.CarQueueList;
|
|
|
|
|
|
|
|
carType.value = response.CarTypeList;
|
|
|
|
|
|
|
|
})
|
|
|
|
getBaseCar(postId).then(response => {
|
|
|
|
getBaseCar(postId).then(response => {
|
|
|
|
form.value = response.data;
|
|
|
|
form.value = response.data;
|
|
|
|
open.value = true;
|
|
|
|
open.value = true;
|
|
|
|