fix(operator): fix operator edit issue
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m51s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m51s
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user