fix: iccid列适配
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 4m44s

This commit is contained in:
sexygoat
2026-04-24 11:48:52 +08:00
parent ceecc07ffc
commit 2d6b5d7903
4 changed files with 11 additions and 11 deletions

View File

@@ -105,7 +105,7 @@
</ElDialog> </ElDialog>
<!-- 分配角色对话框 --> <!-- 分配角色对话框 -->
<ElDialog v-model="roleDialogVisible" width="900px"> <ElDialog v-model="roleDialogVisible" width="50%">
<template #header> <template #header>
<div class="dialog-header"> <div class="dialog-header">
<span class="dialog-title">分配角色</span> <span class="dialog-title">分配角色</span>
@@ -278,7 +278,7 @@
// 响应式表单数据 // 响应式表单数据
const formFilters = reactive({ ...initialSearchState }) const formFilters = reactive({ ...initialSearchState })
// 店铺和企业列表 // 店铺和企业列表
const shopList = ref<any[]>([]) const shopList = ref<any[]>([])
const enterpriseList = ref<any[]>([]) const enterpriseList = ref<any[]>([])

View File

@@ -154,16 +154,16 @@
border border
style="width: 100%; margin-top: 16px" style="width: 100%; margin-top: 16px"
> >
<ElTableColumn label="ICCID" min-width="180" show-overflow-tooltip> <ElTableColumn label="ICCID" width="220" show-overflow-tooltip>
<template #default="scope"> <template #default="scope">
<div style="display: flex; align-items: center; gap: 8px"> <div style="display: flex; align-items: center; justify-content: space-between">
<ElButton type="primary" link @click="handleNavigateToCardInfo(scope.row.iccid)"> <ElButton type="primary" link @click="handleNavigateToCardInfo(scope.row.iccid)">
{{ scope.row.iccid }} {{ scope.row.iccid }}
</ElButton> </ElButton>
<el-icon <el-icon
class="copy-icon" class="copy-icon"
@click="handleCopyICCID(scope.row.iccid)" @click="handleCopyICCID(scope.row.iccid)"
style="cursor: pointer; color: #409eff" style="cursor: pointer; color: var(--el-color-primary)"
> >
<CopyDocument /> <CopyDocument />
</el-icon> </el-icon>
@@ -171,7 +171,7 @@
</template> </template>
</ElTableColumn> </ElTableColumn>
<ElTableColumn prop="msisdn" label="MSISDN" min-width="120" /> <ElTableColumn prop="msisdn" label="MSISDN" min-width="120" />
<ElTableColumn prop="carrier_name" label="运营商" min-width="120" /> <ElTableColumn prop="carrier_name" label="运营商" min-width="120" showOverflowTooltip />
<ElTableColumn prop="slot_position" label="卡槽位置" width="130"> <ElTableColumn prop="slot_position" label="卡槽位置" width="130">
<template #default="scope"> <template #default="scope">
<div style="display: flex; gap: 10px"> <div style="display: flex; gap: 10px">
@@ -194,7 +194,7 @@
</ElTag> </ElTag>
</template> </template>
</ElTableColumn> </ElTableColumn>
<ElTableColumn label="实名认证策略" width="120"> <ElTableColumn label="实名认证策略" width="120" showOverflowTooltip>
<template #default="scope"> <template #default="scope">
{{ getRealnamePolicyName(scope.row.realname_policy) }} {{ getRealnamePolicyName(scope.row.realname_policy) }}
</template> </template>

View File

@@ -857,11 +857,11 @@
prop: 'dateRange', prop: 'dateRange',
type: 'date', type: 'date',
config: { config: {
type: 'datetimerange', type: 'daterange',
rangeSeparator: '至', rangeSeparator: '至',
startPlaceholder: '开始时间', startPlaceholder: '开始时间',
endPlaceholder: '结束时间', endPlaceholder: '结束时间',
valueFormat: 'YYYY-MM-DDTHH:mm:ssZZ' valueFormat: 'YYYY-MM-DD'
} }
} }
] ]

View File

@@ -92,7 +92,7 @@
</ElDialog> </ElDialog>
<!-- 分配权限对话框 --> <!-- 分配权限对话框 -->
<ElDialog v-model="permissionDialogVisible" width="800px"> <ElDialog v-model="permissionDialogVisible" width="60%">
<template #header> <template #header>
<div class="dialog-header"> <div class="dialog-header">
<span class="dialog-title">分配权限</span> <span class="dialog-title">分配权限</span>
@@ -1126,7 +1126,7 @@
display: flex; display: flex;
flex: 1; flex: 1;
flex-direction: column; flex-direction: column;
max-width: 340px; max-width: 440px;
overflow: hidden; overflow: hidden;
border: 1px solid var(--el-border-color); border: 1px solid var(--el-border-color);
border-radius: 4px; border-radius: 4px;