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) { if (actionList.length <= props.inlineActionsCount) {
return h( return h(
'div', 'div',
{ style: 'display: flex; gap: 8px;' }, { style: 'display: flex; gap: 20px;' },
actionList.map((action) => actionList.map((action) =>
h( h(
'span', 'span',
@@ -396,7 +396,7 @@
const inlineActions = actionList.slice(0, props.inlineActionsCount) const inlineActions = actionList.slice(0, props.inlineActionsCount)
const moreActions = actionList.slice(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) => ...inlineActions.map((action) =>
h( h(
'span', 'span',
@@ -418,9 +418,9 @@
'span', 'span',
{ {
style: 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: () => dropdown: () =>
h(ElDropdownMenu, {}, () => h(ElDropdownMenu, {}, () =>

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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