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

This commit is contained in:
sexygoat
2026-04-25 17:00:11 +08:00
parent f0f054390a
commit 819fe9080a
7 changed files with 21 additions and 15 deletions

View File

@@ -378,7 +378,7 @@
if (actionList.length <= props.inlineActionsCount) {
return h(
'div',
{ style: 'display: flex; gap: 8px;' },
{ style: 'display: flex; gap: 20px;' },
actionList.map((action) =>
h(
'span',
@@ -396,7 +396,7 @@
const inlineActions = actionList.slice(0, props.inlineActionsCount)
const moreActions = actionList.slice(props.inlineActionsCount)
return h('div', { style: 'display: flex; gap: 12px; align-items: center;' }, [
return h('div', { style: 'display: flex; gap: 20px; align-items: center;' }, [
...inlineActions.map((action) =>
h(
'span',
@@ -418,9 +418,9 @@
'span',
{
style:
'display: flex; align-items: center; cursor: pointer; color: var(--el-color-primary);'
'display: flex; align-items: center; cursor: pointer; color: var(--el-color-warning);'
},
[h('span', '更多操作')]
[h('span', '更多')]
),
dropdown: () =>
h(ElDropdownMenu, {}, () =>

View File

@@ -282,7 +282,7 @@
{
prop: 'iccid',
label: 'ICCID',
minWidth: 200,
width: 200,
formatter: (row: AuthorizationItem) => {
return h(
'span',
@@ -299,8 +299,8 @@
},
{
prop: 'msisdn',
label: '手机号',
width: 130,
label: 'MSISDN',
width: 180,
formatter: (row: AuthorizationItem) => row.msisdn || '-'
},
{

View File

@@ -288,7 +288,7 @@
{
prop: 'task_no',
label: '任务编号',
width: 180,
width: 220,
showOverflowTooltip: true,
formatter: (row: DeviceImportTask) => {
return h(

View File

@@ -425,7 +425,7 @@
{
prop: 'carrier_name',
label: '运营商',
width: 120,
width: 180,
showOverflowTooltip: true
},
{

View File

@@ -35,6 +35,7 @@
:total="pagination.total"
:marginTop="10"
:actions="getActions"
:inlineActionsCount="2"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>

View File

@@ -36,6 +36,7 @@
:total="pagination.total"
:marginTop="10"
:actions="getActions"
:inlineActionsCount="2"
@size-change="handleSizeChange"
@current-change="handleCurrentChange"
>
@@ -292,12 +293,13 @@
</div>
<ElFormItem label="启用强充">
<ElSwitch
v-model="form.one_time_commission_config.enable_force_recharge"
/>
<ElSwitch v-model="form.one_time_commission_config.enable_force_recharge" />
</ElFormItem>
<ElFormItem label="强充金额" v-if="form.one_time_commission_config.enable_force_recharge">
<ElFormItem
label="强充金额"
v-if="form.one_time_commission_config.enable_force_recharge"
>
<ElInputNumber
v-model="form.one_time_commission_config.force_amount"
:min="0"
@@ -311,7 +313,10 @@
>
</ElFormItem>
<ElFormItem label="强充计算类型" v-if="form.one_time_commission_config.enable_force_recharge">
<ElFormItem
label="强充计算类型"
v-if="form.one_time_commission_config.enable_force_recharge"
>
<ElRadioGroup v-model="form.one_time_commission_config.force_calc_type">
<ElRadio value="fixed">固定</ElRadio>
<ElRadio value="dynamic">动态</ElRadio>

View File

@@ -405,7 +405,7 @@
h(
ElButton,
{
type: 'primary',
type: 'warning',
link: true,
onClick: () => showPermissionDialog(row)
},