fix: update some files
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m20s

This commit is contained in:
luo
2026-08-19 15:53:55 +08:00
parent 4e3ea6c6d6
commit 2cb961fd1b
25 changed files with 131 additions and 75 deletions

View File

@@ -1,10 +1,10 @@
<template> <template>
<ElDialog v-model="visible" title="批量修改实名顺序" width="520px" @closed="resetPolicy"> <ElDialog v-model="visible" title="批量修改实名顺序" width="40%" @closed="resetPolicy">
<ElForm label-width="110px"> <ElForm label-width="80px">
<ElFormItem label="已选数量"> <ElFormItem label="已选数量">
<span class="selected-count">{{ selectedCount }} {{ assetUnit }}</span> <span class="selected-count">{{ selectedCount }} {{ assetUnit }}</span>
</ElFormItem> </ElFormItem>
<ElFormItem label="实名认证策略"> <ElFormItem label="认证策略">
<ElRadioGroup v-model="policy" :disabled="loading"> <ElRadioGroup v-model="policy" :disabled="loading">
<ElRadio value="none">无需实名</ElRadio> <ElRadio value="none">无需实名</ElRadio>
<ElRadio value="before_order">先实名后购买</ElRadio> <ElRadio value="before_order">先实名后购买</ElRadio>

View File

@@ -1,6 +1,6 @@
<template> <template>
<ElDialog v-model="dialogVisible" title="创建退款申请" width="40%" @closed="handleDialogClosed"> <ElDialog v-model="dialogVisible" title="创建退款申请" width="40%" @closed="handleDialogClosed">
<ElForm ref="formRef" :model="formData" :rules="formRules" label-width="120px"> <ElForm ref="formRef" :model="formData" :rules="formRules" label-width="80px">
<ElFormItem label="订单号" prop="order_id"> <ElFormItem label="订单号" prop="order_id">
<ElSelect <ElSelect
v-if="!hasInitialOrder" v-if="!hasInitialOrder"
@@ -23,7 +23,7 @@
</ElSelect> </ElSelect>
<ElInput v-else :model-value="props.initialOrderNo" disabled style="width: 100%" /> <ElInput v-else :model-value="props.initialOrderNo" disabled style="width: 100%" />
</ElFormItem> </ElFormItem>
<ElFormItem label="申请退款金额" prop="requested_refund_amount"> <ElFormItem label="退款金额" prop="requested_refund_amount">
<ElInputNumber <ElInputNumber
v-model="formData.requested_refund_amount" v-model="formData.requested_refund_amount"
:min="0" :min="0"

View File

@@ -1,10 +1,10 @@
<template> <template>
<ElDialog v-model="visible" :title="title" width="520px" destroy-on-close> <ElDialog v-model="visible" :title="title" width="40%" destroy-on-close>
<ElAlert type="info" :closable="false" show-icon class="export-rule-alert"> <ElAlert type="info" :closable="false" show-icon class="export-rule-alert">
<template #title>{{ description }}</template> <template #title>{{ description }}</template>
</ElAlert> </ElAlert>
<ElForm label-width="100px" class="export-task-form"> <ElForm label-width="80px" class="export-task-form">
<ElFormItem label="导出场景"> <ElFormItem label="导出场景">
<ElTag>{{ sceneName }}</ElTag> <ElTag>{{ sceneName }}</ElTag>
</ElFormItem> </ElFormItem>

View File

@@ -2,11 +2,11 @@
<ElDialog <ElDialog
v-model="dialogVisible" v-model="dialogVisible"
title="手动更新卡实名状态" title="手动更新卡实名状态"
width="400px" width="30%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
@closed="handleDialogClosed" @closed="handleDialogClosed"
> >
<ElForm ref="formRef" :model="formData" :rules="formRules" label-width="100px"> <ElForm ref="formRef" :model="formData" :rules="formRules" label-width="80px">
<ElFormItem label="资产标识"> <ElFormItem label="资产标识">
<span style="font-weight: bold; color: #409eff">{{ assetIdentifier }}</span> <span style="font-weight: bold; color: #409eff">{{ assetIdentifier }}</span>
</ElFormItem> </ElFormItem>

View File

@@ -2,10 +2,10 @@
<ElDialog <ElDialog
v-model="visible" v-model="visible"
title="设置实名认证策略" title="设置实名认证策略"
width="35%" width="40%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
> >
<ElForm ref="formRef" :model="form" :rules="rules" label-width="120px"> <ElForm ref="formRef" :model="form" :rules="rules" label-width="80px">
<ElFormItem label="资产标识"> <ElFormItem label="资产标识">
<span style="font-weight: bold; color: #409eff">{{ assetIdentifier }}</span> <span style="font-weight: bold; color: #409eff">{{ assetIdentifier }}</span>
</ElFormItem> </ElFormItem>
@@ -14,7 +14,7 @@
{{ getPolicyName(currentPolicy) }} {{ getPolicyName(currentPolicy) }}
</ElTag> </ElTag>
</ElFormItem> </ElFormItem>
<ElFormItem label="实名认证策略" prop="realname_policy"> <ElFormItem label="认证策略" prop="realname_policy">
<ElRadioGroup v-model="form.realname_policy"> <ElRadioGroup v-model="form.realname_policy">
<ElRadio value="none">无需实名</ElRadio> <ElRadio value="none">无需实名</ElRadio>
<ElRadio value="before_order">先实名后充值/购买</ElRadio> <ElRadio value="before_order">先实名后充值/购买</ElRadio>

View File

@@ -2,7 +2,7 @@
<ElDialog <ElDialog
v-model="visible" v-model="visible"
title="切换SIM卡" title="切换SIM卡"
width="600px" width="40%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
@close="handleClose" @close="handleClose"
> >
@@ -30,7 +30,7 @@
ref="formRef" ref="formRef"
:model="formData" :model="formData"
:rules="rules" :rules="rules"
label-width="120px" label-width="90px"
> >
<ElFormItem label="设备信息"> <ElFormItem label="设备信息">
<span style="font-weight: bold; color: #409eff">{{ deviceInfo }}</span> <span style="font-weight: bold; color: #409eff">{{ deviceInfo }}</span>

View File

@@ -90,6 +90,58 @@ declare module 'vue' {
CreateRefundDialog: typeof import('./../components/business/CreateRefundDialog.vue')['default'] CreateRefundDialog: typeof import('./../components/business/CreateRefundDialog.vue')['default']
CustomerAccountDialog: typeof import('./../components/business/CustomerAccountDialog.vue')['default'] CustomerAccountDialog: typeof import('./../components/business/CustomerAccountDialog.vue')['default']
DetailPage: typeof import('./../components/common/DetailPage.vue')['default'] DetailPage: typeof import('./../components/common/DetailPage.vue')['default']
ElAlert: typeof import('element-plus/es')['ElAlert']
ElAvatar: typeof import('element-plus/es')['ElAvatar']
ElButton: typeof import('element-plus/es')['ElButton']
ElCalendar: typeof import('element-plus/es')['ElCalendar']
ElCard: typeof import('element-plus/es')['ElCard']
ElCascader: typeof import('element-plus/es')['ElCascader']
ElCheckbox: typeof import('element-plus/es')['ElCheckbox']
ElCheckboxGroup: typeof import('element-plus/es')['ElCheckboxGroup']
ElCol: typeof import('element-plus/es')['ElCol']
ElCollapse: typeof import('element-plus/es')['ElCollapse']
ElCollapseItem: typeof import('element-plus/es')['ElCollapseItem']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDescriptions: typeof import('element-plus/es')['ElDescriptions']
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']
ElDropdown: typeof import('element-plus/es')['ElDropdown']
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem']
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu']
ElEmpty: typeof import('element-plus/es')['ElEmpty']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElIcon: typeof import('element-plus/es')['ElIcon']
ElInput: typeof import('element-plus/es')['ElInput']
ElInputNumber: typeof import('element-plus/es')['ElInputNumber']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElOption: typeof import('element-plus/es')['ElOption']
ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopover: typeof import('element-plus/es')['ElPopover']
ElProgress: typeof import('element-plus/es')['ElProgress']
ElRadio: typeof import('element-plus/es')['ElRadio']
ElRadioButton: typeof import('element-plus/es')['ElRadioButton']
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup']
ElRow: typeof import('element-plus/es')['ElRow']
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
ElSelect: typeof import('element-plus/es')['ElSelect']
ElSubMenu: typeof import('element-plus/es')['ElSubMenu']
ElSwitch: typeof import('element-plus/es')['ElSwitch']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
ElTabPane: typeof import('element-plus/es')['ElTabPane']
ElTabs: typeof import('element-plus/es')['ElTabs']
ElTag: typeof import('element-plus/es')['ElTag']
ElTimeline: typeof import('element-plus/es')['ElTimeline']
ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem']
ElTooltip: typeof import('element-plus/es')['ElTooltip']
ElTreeSelect: typeof import('element-plus/es')['ElTreeSelect']
ElUpload: typeof import('element-plus/es')['ElUpload']
ElWatermark: typeof import('element-plus/es')['ElWatermark']
ExportTaskCreateDialog: typeof import('./../components/business/ExportTaskCreateDialog.vue')['default'] ExportTaskCreateDialog: typeof import('./../components/business/ExportTaskCreateDialog.vue')['default']
HorizontalSubmenu: typeof import('./../components/core/layouts/art-menus/art-horizontal-menu/widget/HorizontalSubmenu.vue')['default'] HorizontalSubmenu: typeof import('./../components/core/layouts/art-menus/art-horizontal-menu/widget/HorizontalSubmenu.vue')['default']
ImportDialog: typeof import('./../components/business/ImportDialog.vue')['default'] ImportDialog: typeof import('./../components/business/ImportDialog.vue')['default']
@@ -117,4 +169,7 @@ declare module 'vue' {
UpdateRealnameStatusDialog: typeof import('./../components/business/UpdateRealnameStatusDialog.vue')['default'] UpdateRealnameStatusDialog: typeof import('./../components/business/UpdateRealnameStatusDialog.vue')['default']
VoucherUpload: typeof import('./../components/business/VoucherUpload.vue')['default'] VoucherUpload: typeof import('./../components/business/VoucherUpload.vue')['default']
} }
export interface ComponentCustomProperties {
vLoading: typeof import('element-plus/es')['ElLoadingDirective']
}
} }

View File

@@ -44,9 +44,7 @@
<!-- 卡专属字段 --> <!-- 卡专属字段 -->
<template v-if="cardInfo?.asset_type === 'card'"> <template v-if="cardInfo?.asset_type === 'card'">
<ElDescriptionsItem label="ICCID">{{ cardInfo?.iccid || '-' }}</ElDescriptionsItem> <ElDescriptionsItem label="ICCID">{{ cardInfo?.iccid || '-' }}</ElDescriptionsItem>
<ElDescriptionsItem label="IMEI">{{ <ElDescriptionsItem label="MSISDN">{{ cardInfo?.msisdn || '-' }}</ElDescriptionsItem>
cardInfo?.gateway_card_imei || '-'
}}</ElDescriptionsItem>
<ElDescriptionsItem label="运营商账户">{{ carrierAccountDisplay }}</ElDescriptionsItem> <ElDescriptionsItem label="运营商账户">{{ carrierAccountDisplay }}</ElDescriptionsItem>
<ElDescriptionsItem label="实名状态"> <ElDescriptionsItem label="实名状态">
<ElTag :type="getRealNameStatusType(cardInfo?.real_name_status)" size="small"> <ElTag :type="getRealNameStatusType(cardInfo?.real_name_status)" size="small">
@@ -79,7 +77,9 @@
formatDateTime(cardInfo?.last_real_name_check_at) || '-' formatDateTime(cardInfo?.last_real_name_check_at) || '-'
}}</ElDescriptionsItem> }}</ElDescriptionsItem>
<ElDescriptionsItem label="MSISDN">{{ cardInfo?.msisdn || '-' }}</ElDescriptionsItem> <ElDescriptionsItem label="IMEI">{{
cardInfo?.gateway_card_imei || '-'
}}</ElDescriptionsItem>
<ElDescriptionsItem label="资产状态"> <ElDescriptionsItem label="资产状态">
<ElTag :type="getAssetStatusType(cardInfo?.status)" size="small"> <ElTag :type="getAssetStatusType(cardInfo?.status)" size="small">
{{ getAssetStatusName(cardInfo?.status) }} {{ getAssetStatusName(cardInfo?.status) }}

View File

@@ -316,7 +316,7 @@
<ElDialog <ElDialog
v-model="expiresAtDialogVisible" v-model="expiresAtDialogVisible"
title="修改过期时间" title="修改过期时间"
width="420px" width="40%"
@closed="resetExpiresAtForm" @closed="resetExpiresAtForm"
> >
<ElForm <ElForm

View File

@@ -2,7 +2,7 @@
<ElDialog <ElDialog
v-model="visible" v-model="visible"
title="套餐充值" title="套餐充值"
width="30%" width="40%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
@closed="handleDialogClosed" @closed="handleDialogClosed"
> >

View File

@@ -2,10 +2,10 @@
<ElDialog <ElDialog
v-model="visible" v-model="visible"
title="设置切卡模式" title="设置切卡模式"
width="500px" width="45%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
> >
<ElForm ref="formRef" :model="form" :rules="rules" label-width="96px"> <ElForm ref="formRef" :model="form" :rules="rules" label-width="80px">
<ElFormItem label="设备标识"> <ElFormItem label="设备标识">
<span class="device-identifier">{{ deviceIdentifier || '-' }}</span> <span class="device-identifier">{{ deviceIdentifier || '-' }}</span>
</ElFormItem> </ElFormItem>

View File

@@ -2,7 +2,7 @@
<ElDialog <ElDialog
v-model="visible" v-model="visible"
title="设置WiFi" title="设置WiFi"
width="30%" width="40%"
modal-class="asset-information-dialog" modal-class="asset-information-dialog"
:append-to-body="true" :append-to-body="true"
> >

View File

@@ -93,17 +93,17 @@
</ArtTable> </ArtTable>
<!-- 批量分配对话框 --> <!-- 批量分配对话框 -->
<ElDialog v-model="allocateDialogVisible" title="批量分配设备" width="600px"> <ElDialog v-model="allocateDialogVisible" title="批量分配设备" width="40%">
<ElForm <ElForm
ref="allocateFormRef" ref="allocateFormRef"
:model="allocateForm" :model="allocateForm"
:rules="allocateRules" :rules="allocateRules"
label-width="120px" label-width="90px"
> >
<ElFormItem label="已选设备数"> <ElFormItem label="已选设备数">
<span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span> <span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span>
</ElFormItem> </ElFormItem>
<ElFormItem label="店铺" prop="target_shop_id"> <ElFormItem label="目标店铺" prop="target_shop_id">
<ElCascader <ElCascader
v-model="allocateForm.target_shop_id" v-model="allocateForm.target_shop_id"
:options="shopCascadeOptions" :options="shopCascadeOptions"
@@ -166,8 +166,8 @@
</ElDialog> </ElDialog>
<!-- 批量回收对话框 --> <!-- 批量回收对话框 -->
<ElDialog v-model="recallDialogVisible" title="批量回收设备" width="600px"> <ElDialog v-model="recallDialogVisible" title="批量回收设备" width="40%">
<ElForm ref="recallFormRef" :model="recallForm" label-width="120px"> <ElForm ref="recallFormRef" :model="recallForm" label-width="90px">
<ElFormItem label="已选设备数"> <ElFormItem label="已选设备数">
<span style="font-weight: bold; color: #e6a23c">{{ selectedDevices.length }}</span> <span style="font-weight: bold; color: #e6a23c">{{ selectedDevices.length }}</span>
</ElFormItem> </ElFormItem>
@@ -225,14 +225,14 @@
<ElDialog <ElDialog
v-model="seriesBindingDialogVisible" v-model="seriesBindingDialogVisible"
title="批量设置设备套餐系列绑定" title="批量设置设备套餐系列绑定"
width="35%" width="40%"
@close="handleCloseSeriesBindingDialog" @close="handleCloseSeriesBindingDialog"
> >
<ElForm <ElForm
ref="seriesBindingFormRef" ref="seriesBindingFormRef"
:model="seriesBindingForm" :model="seriesBindingForm"
:rules="seriesBindingRules" :rules="seriesBindingRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="已选设备数"> <ElFormItem label="已选设备数">
<span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span> <span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span>
@@ -406,10 +406,10 @@
/> />
</ElFormItem> </ElFormItem>
<ElFormItem label="目标套餐系列" prop="series_id"> <ElFormItem label="套餐系列" prop="series_id">
<ElSelect <ElSelect
v-model="seriesBindingForm.series_id" v-model="seriesBindingForm.series_id"
placeholder="请选择或搜索套餐系列" placeholder="请选择或搜索目标套餐系列"
style="width: 100%" style="width: 100%"
filterable filterable
remote remote
@@ -706,14 +706,14 @@
<ElDialog <ElDialog
v-model="enterpriseDeviceAuthorizeDialogVisible" v-model="enterpriseDeviceAuthorizeDialogVisible"
title="授权设备给企业" title="授权设备给企业"
width="620px" width="40%"
@close="handleEnterpriseDeviceAuthorizeDialogClose" @close="handleEnterpriseDeviceAuthorizeDialogClose"
> >
<ElForm <ElForm
ref="enterpriseDeviceAuthorizeFormRef" ref="enterpriseDeviceAuthorizeFormRef"
:model="enterpriseDeviceAuthorizeForm" :model="enterpriseDeviceAuthorizeForm"
:rules="enterpriseDeviceAuthorizeRules" :rules="enterpriseDeviceAuthorizeRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="授权企业" prop="enterprise_id"> <ElFormItem label="授权企业" prop="enterprise_id">
<ElSelect <ElSelect
@@ -812,14 +812,14 @@
<ElDialog <ElDialog
v-model="enterpriseDeviceRecallDialogVisible" v-model="enterpriseDeviceRecallDialogVisible"
title="撤销设备授权" title="撤销设备授权"
width="620px" width="40%"
@close="handleEnterpriseDeviceRecallDialogClose" @close="handleEnterpriseDeviceRecallDialogClose"
> >
<ElForm <ElForm
ref="enterpriseDeviceRecallFormRef" ref="enterpriseDeviceRecallFormRef"
:model="enterpriseDeviceRecallForm" :model="enterpriseDeviceRecallForm"
:rules="enterpriseDeviceRecallRules" :rules="enterpriseDeviceRecallRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="授权企业" prop="enterprise_id"> <ElFormItem label="授权企业" prop="enterprise_id">
<ElSelect <ElSelect

View File

@@ -56,11 +56,11 @@
<ElDialog <ElDialog
v-model="createDialogVisible" v-model="createDialogVisible"
title="创建换货单" title="创建换货单"
width="600px" width="40%"
:close-on-click-modal="false" :close-on-click-modal="false"
@closed="handleCloseCreateDialog" @closed="handleCloseCreateDialog"
> >
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="120px"> <ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="110px">
<ElFormItem label="流程类型" prop="flow_type"> <ElFormItem label="流程类型" prop="flow_type">
<ElSelect <ElSelect
v-model="createForm.flow_type" v-model="createForm.flow_type"
@@ -121,7 +121,7 @@
</ElFormItem> </ElFormItem>
<ElFormItem <ElFormItem
v-if="createForm.old_asset_type === 'iot_card'" v-if="createForm.old_asset_type === 'iot_card'"
label="旧资产标识" label="旧资产标识"
prop="old_identifier" prop="old_identifier"
> >
<ElSelect <ElSelect
@@ -193,7 +193,7 @@
{{ oldDeviceEmptyMessage }} {{ oldDeviceEmptyMessage }}
</div> </div>
</ElFormItem> </ElFormItem>
<ElFormItem v-if="createOldAssetShopDisplay" label="旧资产所属店铺"> <ElFormItem v-if="createOldAssetShopDisplay" label="旧资产店铺">
<ElInput :model-value="createOldAssetShopDisplay" readonly disabled /> <ElInput :model-value="createOldAssetShopDisplay" readonly disabled />
</ElFormItem> </ElFormItem>
<ElFormItem <ElFormItem
@@ -303,14 +303,14 @@
<ElDialog <ElDialog
v-model="shipDialogVisible" v-model="shipDialogVisible"
title="换货发货" title="换货发货"
width="600px" width="40%"
:close-on-click-modal="false" :close-on-click-modal="false"
@closed="handleCloseShipDialog" @closed="handleCloseShipDialog"
> >
<ElForm ref="shipFormRef" :model="shipForm" :rules="shipRules" label-width="120px"> <ElForm ref="shipFormRef" :model="shipForm" :rules="shipRules" label-width="100px">
<ElFormItem <ElFormItem
v-if="shipAssetType === 'iot_card'" v-if="shipAssetType === 'iot_card'"
label="新资产标识" label="新资产标识"
prop="new_identifier" prop="new_identifier"
> >
<ElSelect <ElSelect
@@ -347,7 +347,7 @@
</ElFormItem> </ElFormItem>
<ElFormItem <ElFormItem
v-else-if="shipAssetType === 'device'" v-else-if="shipAssetType === 'device'"
label="新资产标识" label="新资产标识"
prop="new_identifier" prop="new_identifier"
> >
<ElSelect <ElSelect

View File

@@ -98,16 +98,16 @@
<ElDialog <ElDialog
v-model="allocateDialogVisible" v-model="allocateDialogVisible"
title="批量分配" title="批量分配"
width="600px" width="40%"
@close="handleAllocateDialogClose" @close="handleAllocateDialogClose"
> >
<ElForm <ElForm
ref="allocateFormRef" ref="allocateFormRef"
:model="allocateForm" :model="allocateForm"
:rules="allocateRules" :rules="allocateRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="店铺" prop="to_shop_id"> <ElFormItem label="目标店铺" prop="to_shop_id">
<ElCascader <ElCascader
v-model="allocateForm.to_shop_id" v-model="allocateForm.to_shop_id"
:options="shopCascadeOptions" :options="shopCascadeOptions"
@@ -241,10 +241,10 @@
<ElDialog <ElDialog
v-model="recallDialogVisible" v-model="recallDialogVisible"
title="批量回收" title="批量回收"
width="600px" width="40%"
@close="handleRecallDialogClose" @close="handleRecallDialogClose"
> >
<ElForm ref="recallFormRef" :model="recallForm" :rules="recallRules" label-width="120px"> <ElForm ref="recallFormRef" :model="recallForm" :rules="recallRules" label-width="100px">
<ElFormItem label="选卡方式" prop="selection_type"> <ElFormItem label="选卡方式" prop="selection_type">
<ElRadioGroup v-model="recallForm.selection_type"> <ElRadioGroup v-model="recallForm.selection_type">
<ElRadio label="list">ICCID列表</ElRadio> <ElRadio label="list">ICCID列表</ElRadio>
@@ -385,14 +385,14 @@
<ElDialog <ElDialog
v-model="enterpriseCardAuthorizeDialogVisible" v-model="enterpriseCardAuthorizeDialogVisible"
title="授权卡给企业" title="授权卡给企业"
width="640px" width="40%"
@close="handleEnterpriseCardAuthorizeDialogClose" @close="handleEnterpriseCardAuthorizeDialogClose"
> >
<ElForm <ElForm
ref="enterpriseCardAuthorizeFormRef" ref="enterpriseCardAuthorizeFormRef"
:model="enterpriseCardAuthorizeForm" :model="enterpriseCardAuthorizeForm"
:rules="enterpriseCardAuthorizeRules" :rules="enterpriseCardAuthorizeRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="授权企业" prop="enterprise_id"> <ElFormItem label="授权企业" prop="enterprise_id">
<ElSelect <ElSelect
@@ -538,14 +538,14 @@
<ElDialog <ElDialog
v-model="enterpriseCardRecallDialogVisible" v-model="enterpriseCardRecallDialogVisible"
title="回收卡授权" title="回收卡授权"
width="640px" width="40%"
@close="handleEnterpriseCardRecallDialogClose" @close="handleEnterpriseCardRecallDialogClose"
> >
<ElForm <ElForm
ref="enterpriseCardRecallFormRef" ref="enterpriseCardRecallFormRef"
:model="enterpriseCardRecallForm" :model="enterpriseCardRecallForm"
:rules="enterpriseCardRecallRules" :rules="enterpriseCardRecallRules"
label-width="120px" label-width="100px"
> >
<ElFormItem label="授权企业" prop="enterprise_id"> <ElFormItem label="授权企业" prop="enterprise_id">
<ElSelect <ElSelect

View File

@@ -39,8 +39,8 @@
</ArtTable> </ArtTable>
<!-- 修改备注对话框 --> <!-- 修改备注对话框 -->
<ElDialog v-model="remarkDialogVisible" title="修改备注" width="500px"> <ElDialog v-model="remarkDialogVisible" title="修改备注" width="40%">
<ElForm ref="remarkFormRef" :model="remarkForm" :rules="remarkRules" label-width="80px"> <ElForm ref="remarkFormRef" :model="remarkForm" :rules="remarkRules">
<ElFormItem label="备注" prop="remark"> <ElFormItem label="备注" prop="remark">
<ElInput <ElInput
v-model="remarkForm.remark" v-model="remarkForm.remark"
@@ -311,7 +311,7 @@
if (hasAuth('authorization_records:update_remark')) { if (hasAuth('authorization_records:update_remark')) {
actions.push({ actions.push({
label: '编辑', label: '修改备注',
handler: () => showRemarkDialog(row), handler: () => showRemarkDialog(row),
type: 'primary' type: 'primary'
}) })

View File

@@ -10,7 +10,7 @@
:close-on-press-escape="!createDrawerBusy" :close-on-press-escape="!createDrawerBusy"
@closed="handleCreateDrawerClosed" @closed="handleCreateDrawerClosed"
> >
<ElForm ref="formRef" :model="form" :rules="rules" label-width="100px" class="create-form"> <ElForm ref="formRef" :model="form" :rules="rules" class="create-form">
<ElFormItem label="套餐系列" prop="series_id"> <ElFormItem label="套餐系列" prop="series_id">
<ElSelect <ElSelect
v-model="form.series_id" v-model="form.series_id"
@@ -33,7 +33,7 @@
</ElSelect> </ElSelect>
</ElFormItem> </ElFormItem>
<ElFormItem label="套餐" prop="package_id"> <ElFormItem label="相关套餐" prop="package_id">
<ElSelect <ElSelect
v-model="form.package_id" v-model="form.package_id"
filterable filterable

View File

@@ -10,7 +10,7 @@
:close-on-press-escape="!createDrawerBusy" :close-on-press-escape="!createDrawerBusy"
@closed="handleCreateDrawerClosed" @closed="handleCreateDrawerClosed"
> >
<ElForm ref="formRef" :model="form" label-width="100px" class="create-form"> <ElForm ref="formRef" :model="form" class="create-form">
<ElFormItem label="操作类型" prop="operation_type"> <ElFormItem label="操作类型" prop="operation_type">
<ElSelect <ElSelect
v-model="form.operation_type" v-model="form.operation_type"
@@ -286,7 +286,7 @@
form.operation_type === 'assign_shop' ? '请选择启用的目标店铺' : '请选择启用的套餐系列' form.operation_type === 'assign_shop' ? '请选择启用的目标店铺' : '请选择启用的套餐系列'
) )
const targetLabel = computed(() => const targetLabel = computed(() =>
form.operation_type === 'assign_shop' ? '选择店铺' : '选择套餐系列' form.operation_type === 'assign_shop' ? '选择店铺' : '套餐系列'
) )
const createDrawerBusy = computed(() => submitting.value || fileUploading.value) const createDrawerBusy = computed(() => submitting.value || fileUploading.value)

View File

@@ -53,7 +53,7 @@
</ElCard> </ElCard>
</div> </div>
<ElDialog v-model="importDialogVisible" title="批量导入设备" width="40%" align-center> <ElDrawer v-model="importDialogVisible" title="批量导入设备" direction="rtl" size="50%">
<ElAlert type="info" :closable="false" style="margin-bottom: 20px"> <ElAlert type="info" :closable="false" style="margin-bottom: 20px">
<template #title> <template #title>
<div style="line-height: 1.8"> <div style="line-height: 1.8">
@@ -135,7 +135,7 @@
开始导入 开始导入
</ElButton> </ElButton>
</template> </template>
</ElDialog> </ElDrawer>
</ArtTableFullScreen> </ArtTableFullScreen>
</template> </template>

View File

@@ -97,7 +97,7 @@
</ElDialog> </ElDialog>
<!-- 导入对话框 --> <!-- 导入对话框 -->
<ElDialog v-model="importDialogVisible" title="批量导入IoT卡" width="700px" align-center> <ElDrawer v-model="importDialogVisible" title="批量导入IoT卡" direction="rtl" size="50%">
<ElAlert type="info" :closable="false" style="margin-bottom: 20px"> <ElAlert type="info" :closable="false" style="margin-bottom: 20px">
<template #title> <template #title>
<div style="line-height: 1.8"> <div style="line-height: 1.8">
@@ -210,7 +210,7 @@
开始导入 开始导入
</ElButton> </ElButton>
</template> </template>
</ElDialog> </ElDrawer>
</ArtTableFullScreen> </ArtTableFullScreen>
</template> </template>

View File

@@ -49,12 +49,12 @@
v-model="createDialogVisible" v-model="createDialogVisible"
title="新建订单套餐作废任务" title="新建订单套餐作废任务"
direction="rtl" direction="rtl"
size="520px" size="40%"
:close-on-click-modal="!createDrawerBusy" :close-on-click-modal="!createDrawerBusy"
:close-on-press-escape="!createDrawerBusy" :close-on-press-escape="!createDrawerBusy"
@closed="handleCreateDialogClosed" @closed="handleCreateDialogClosed"
> >
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="100px"> <ElForm ref="createFormRef" :model="createForm" :rules="createRules">
<ElFormItem label="CSV文件" prop="file"> <ElFormItem label="CSV文件" prop="file">
<VoucherUpload <VoucherUpload
ref="csvUploadRef" ref="csvUploadRef"

View File

@@ -41,8 +41,8 @@
</ArtTable> </ArtTable>
<!-- 拒绝提现对话框 --> <!-- 拒绝提现对话框 -->
<ElDialog v-model="rejectDialogVisible" title="拒绝提现申请" width="500px"> <ElDialog v-model="rejectDialogVisible" title="拒绝提现申请" width="40%">
<ElForm ref="rejectFormRef" :model="rejectForm" :rules="rejectRules" label-width="100px"> <ElForm ref="rejectFormRef" :model="rejectForm" :rules="rejectRules">
<ElFormItem label="拒绝原因" prop="reject_reason"> <ElFormItem label="拒绝原因" prop="reject_reason">
<ElInput <ElInput
v-model="rejectForm.reject_reason" v-model="rejectForm.reject_reason"
@@ -51,7 +51,7 @@
placeholder="请输入拒绝原因" placeholder="请输入拒绝原因"
/> />
</ElFormItem> </ElFormItem>
<ElFormItem label="备注" prop="remark"> <ElFormItem label="备注信息" prop="remark">
<ElInput <ElInput
v-model="rejectForm.remark" v-model="rejectForm.remark"
type="textarea" type="textarea"

View File

@@ -55,7 +55,7 @@
<ElDialog <ElDialog
v-model="createDialogVisible" v-model="createDialogVisible"
:title="createDialogTitle" :title="createDialogTitle"
width="500px" width="40%"
@closed="handleCreateDialogClosed" @closed="handleCreateDialogClosed"
> >
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="100px"> <ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="100px">

View File

@@ -59,7 +59,7 @@
<ElDialog <ElDialog
v-model="createDialogVisible" v-model="createDialogVisible"
:title="'创建订单'" :title="'创建订单'"
width="30%" width="40%"
@closed="handleCreateDialogClosed" @closed="handleCreateDialogClosed"
> >
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="80px"> <ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="80px">

View File

@@ -49,11 +49,12 @@
</ArtTable> </ArtTable>
<!-- 创建/编辑对话框 --> <!-- 创建/编辑对话框 -->
<ElDialog <ElDrawer
v-model="dialogVisible" v-model="dialogVisible"
:title="dialogType === 'add' ? '新增支付配置' : '编辑支付配置'" :title="dialogType === 'add' ? '新增支付配置' : '编辑支付配置'"
width="900px" direction="rtl"
:close-on-click-modal="false" size="55%"
:close-on-click-modal="true"
@closed="handleDialogClosed" @closed="handleDialogClosed"
> >
<ElForm <ElForm
@@ -352,7 +353,7 @@
</ElButton> </ElButton>
</div> </div>
</template> </template>
</ElDialog> </ElDrawer>
</ElCard> </ElCard>
</div> </div>
</ArtTableFullScreen> </ArtTableFullScreen>