diff --git a/src/views/asset-management/asset-information/components/BasicInfoCard.vue b/src/views/asset-management/asset-information/components/BasicInfoCard.vue index c873057..979339e 100644 --- a/src/views/asset-management/asset-information/components/BasicInfoCard.vue +++ b/src/views/asset-management/asset-information/components/BasicInfoCard.vue @@ -150,13 +150,22 @@ v-if="cardInfo.cards && cardInfo.cards.length > 0" :data="sortedDeviceCards" border - style="margin-top: 16px" + style="width: 100%; margin-top: 16px" > - + - - {{ scope.row.iccid }} - + + + {{ scope.row.iccid }} + + + + + @@ -188,7 +197,7 @@ {{ scope.row.real_name_at ? formatDateTime(scope.row.real_name_at) : '-' }} - + { + try { + await navigator.clipboard.writeText(iccid) + ElMessage.success('ICCID已复制') + } catch { + ElMessage.error('复制失败') + } + } + // 卡操作 const handleEnableCard = () => { emit('enableCard')