fix(operator): fix operator edit issue
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m51s

This commit is contained in:
sexygoat
2026-04-10 14:00:21 +08:00
parent 9a6f085cde
commit 2b3119c549
53 changed files with 547 additions and 418 deletions

View File

@@ -157,11 +157,7 @@
</ElDialog>
<!-- 结果对话框 -->
<ElDialog
v-model="resultDialogVisible"
title="操作结果"
width="700px"
>
<ElDialog v-model="resultDialogVisible" title="操作结果" width="700px">
<ElDescriptions :column="2" border>
<ElDescriptionsItem label="成功数量">
<ElTag type="success">{{ operationResult.success_count }}</ElTag>
@@ -178,11 +174,7 @@
>
<ElDivider content-position="left">失败项</ElDivider>
<ElTable :data="operationResult.failed_items" border max-height="300">
<ElTableColumn
prop="virtual_no"
label="设备号"
width="180"
/>
<ElTableColumn prop="virtual_no" label="设备号" width="180" />
<ElTableColumn prop="reason" label="失败原因" />
</ElTable>
</div>
@@ -196,16 +188,8 @@
>
<ElDivider content-position="left">已授权设备</ElDivider>
<ElTable :data="operationResult.authorized_devices" border max-height="200">
<ElTableColumn
prop="virtual_no"
label="设备号"
width="180"
/>
<ElTableColumn
prop="device_id"
label="设备ID"
width="100"
/>
<ElTableColumn prop="virtual_no" label="设备号" width="180" />
<ElTableColumn prop="device_id" label="设备ID" width="100" />
<ElTableColumn label="绑定卡数">
<template #default="{ row }">
{{ row.card_count || 0 }}
@@ -756,7 +740,7 @@
}
} catch (error) {
console.error(error)
ElMessage.error('撤销授权失败')
console.logr('撤销授权失败')
} finally {
recallLoading.value = false
}