From 38e9817bf1fc021a8b2b786db762e00ba446a500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Wed, 19 Apr 2023 10:37:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=A0=E9=99=A4=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/deviceManagement/info/index.vue | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-ui/src/views/deviceManagement/info/index.vue b/ruoyi-ui/src/views/deviceManagement/info/index.vue index 27f1185..8147ad0 100644 --- a/ruoyi-ui/src/views/deviceManagement/info/index.vue +++ b/ruoyi-ui/src/views/deviceManagement/info/index.vue @@ -220,6 +220,7 @@ const loading = ref(true); const showSearch = ref(true); // 选择行id const ids = ref([]); +const internetThingsNos = ref([]) // 修改按钮是否可用标识 const single = ref(true); // 删除按钮是否可用标识 @@ -309,6 +310,7 @@ const resetQuery = () => { /** 多选框选中数据 */ function handleSelectionChange(selection) { ids.value = selection.map(item => item.id); + internetThingsNos.value = selection.map(item => item.internetThingsNo); single.value = selection.length !== 1; multiple.value = !selection.length; } @@ -357,8 +359,8 @@ function submitForm() { function handleDelete(row) { const postIds = row.postId || ids.value; proxy.$modal.confirm(t('option.confirmDeletion', { - key: t('baseDevice.baseDevice.tyreFacCode'), - value: postIds + key: t('baseDevice.baseDevice.internetThingsNo'), + value: internetThingsNos.value })).then(function () { return delBaseDevice(postIds); }).then(() => {