|
|
@ -118,6 +118,14 @@
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<pagination
|
|
|
|
|
|
|
|
v-show="total1 > 0"
|
|
|
|
|
|
|
|
v-model:limit="queryParams1.pageSize"
|
|
|
|
|
|
|
|
v-model:page="queryParams1.pageNum"
|
|
|
|
|
|
|
|
:total="total1"
|
|
|
|
|
|
|
|
@pagination="bindSearch"
|
|
|
|
|
|
|
|
/>
|
|
|
|
<template #footer>
|
|
|
|
<template #footer>
|
|
|
|
<div class="dialog-footer">
|
|
|
|
<div class="dialog-footer">
|
|
|
|
<el-button type="primary" @click="bindOk">{{ t('option.ok') }}</el-button>
|
|
|
|
<el-button type="primary" @click="bindOk">{{ t('option.ok') }}</el-button>
|
|
|
@ -217,6 +225,7 @@ const single = ref(true);
|
|
|
|
const multiple = ref(true);
|
|
|
|
const multiple = ref(true);
|
|
|
|
// 总条数
|
|
|
|
// 总条数
|
|
|
|
const total = ref(0);
|
|
|
|
const total = ref(0);
|
|
|
|
|
|
|
|
const total1 = ref(0);
|
|
|
|
// 模态框标题
|
|
|
|
// 模态框标题
|
|
|
|
const title = ref("");
|
|
|
|
const title = ref("");
|
|
|
|
// 要绑定的行信息
|
|
|
|
// 要绑定的行信息
|
|
|
@ -234,6 +243,11 @@ const queryParams = ref({
|
|
|
|
pageSize: 10,
|
|
|
|
pageSize: 10,
|
|
|
|
carLicense: undefined,
|
|
|
|
carLicense: undefined,
|
|
|
|
})
|
|
|
|
})
|
|
|
|
|
|
|
|
// 搜索参数
|
|
|
|
|
|
|
|
const queryParams1 = ref({
|
|
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
// 表单验证规则
|
|
|
|
// 表单验证规则
|
|
|
|
const rules = {
|
|
|
|
const rules = {
|
|
|
@ -310,9 +324,10 @@ const bindHandleSelectionChange = (selection) => {
|
|
|
|
|
|
|
|
|
|
|
|
// 搜索接收器
|
|
|
|
// 搜索接收器
|
|
|
|
const bindSearch = () => {
|
|
|
|
const bindSearch = () => {
|
|
|
|
let params = {deviceId: bindInput.value}
|
|
|
|
let params = {deviceId: bindInput.value,...queryParams1.value}
|
|
|
|
getBindList(params).then(response => {
|
|
|
|
getBindList(params).then(response => {
|
|
|
|
bindList.value = response.rows;
|
|
|
|
bindList.value = response.rows;
|
|
|
|
|
|
|
|
total1.value = response.total;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// 绑定接收器确定
|
|
|
|
// 绑定接收器确定
|
|
|
@ -362,6 +377,10 @@ function handleUpdate(row) {
|
|
|
|
function handleBang(row) {
|
|
|
|
function handleBang(row) {
|
|
|
|
bangOpen.value = true;
|
|
|
|
bangOpen.value = true;
|
|
|
|
waitBind.value = row
|
|
|
|
waitBind.value = row
|
|
|
|
|
|
|
|
queryParams1.value = {
|
|
|
|
|
|
|
|
pageNum: 1,
|
|
|
|
|
|
|
|
pageSize: 10,
|
|
|
|
|
|
|
|
}
|
|
|
|
bindSearch()
|
|
|
|
bindSearch()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|