fix: update some files
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m20s
All checks were successful
构建并部署前端到测试环境 / build-and-deploy (push) Successful in 6m20s
This commit is contained in:
@@ -44,9 +44,7 @@
|
||||
<!-- 卡专属字段 -->
|
||||
<template v-if="cardInfo?.asset_type === 'card'">
|
||||
<ElDescriptionsItem label="ICCID">{{ cardInfo?.iccid || '-' }}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="IMEI">{{
|
||||
cardInfo?.gateway_card_imei || '-'
|
||||
}}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="MSISDN">{{ cardInfo?.msisdn || '-' }}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="运营商账户">{{ carrierAccountDisplay }}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="实名状态">
|
||||
<ElTag :type="getRealNameStatusType(cardInfo?.real_name_status)" size="small">
|
||||
@@ -79,7 +77,9 @@
|
||||
formatDateTime(cardInfo?.last_real_name_check_at) || '-'
|
||||
}}</ElDescriptionsItem>
|
||||
|
||||
<ElDescriptionsItem label="MSISDN">{{ cardInfo?.msisdn || '-' }}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="IMEI">{{
|
||||
cardInfo?.gateway_card_imei || '-'
|
||||
}}</ElDescriptionsItem>
|
||||
<ElDescriptionsItem label="资产状态">
|
||||
<ElTag :type="getAssetStatusType(cardInfo?.status)" size="small">
|
||||
{{ getAssetStatusName(cardInfo?.status) }}
|
||||
|
||||
@@ -316,7 +316,7 @@
|
||||
<ElDialog
|
||||
v-model="expiresAtDialogVisible"
|
||||
title="修改过期时间"
|
||||
width="420px"
|
||||
width="40%"
|
||||
@closed="resetExpiresAtForm"
|
||||
>
|
||||
<ElForm
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<ElDialog
|
||||
v-model="visible"
|
||||
title="套餐充值"
|
||||
width="30%"
|
||||
width="40%"
|
||||
modal-class="asset-information-dialog"
|
||||
@closed="handleDialogClosed"
|
||||
>
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
<ElDialog
|
||||
v-model="visible"
|
||||
title="设置切卡模式"
|
||||
width="500px"
|
||||
width="45%"
|
||||
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="设备标识">
|
||||
<span class="device-identifier">{{ deviceIdentifier || '-' }}</span>
|
||||
</ElFormItem>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<ElDialog
|
||||
v-model="visible"
|
||||
title="设置WiFi"
|
||||
width="30%"
|
||||
width="40%"
|
||||
modal-class="asset-information-dialog"
|
||||
:append-to-body="true"
|
||||
>
|
||||
|
||||
@@ -93,17 +93,17 @@
|
||||
</ArtTable>
|
||||
|
||||
<!-- 批量分配对话框 -->
|
||||
<ElDialog v-model="allocateDialogVisible" title="批量分配设备" width="600px">
|
||||
<ElDialog v-model="allocateDialogVisible" title="批量分配设备" width="40%">
|
||||
<ElForm
|
||||
ref="allocateFormRef"
|
||||
:model="allocateForm"
|
||||
:rules="allocateRules"
|
||||
label-width="120px"
|
||||
label-width="90px"
|
||||
>
|
||||
<ElFormItem label="已选设备数">
|
||||
<span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span> 台
|
||||
</ElFormItem>
|
||||
<ElFormItem label="店铺" prop="target_shop_id">
|
||||
<ElFormItem label="目标店铺" prop="target_shop_id">
|
||||
<ElCascader
|
||||
v-model="allocateForm.target_shop_id"
|
||||
:options="shopCascadeOptions"
|
||||
@@ -166,8 +166,8 @@
|
||||
</ElDialog>
|
||||
|
||||
<!-- 批量回收对话框 -->
|
||||
<ElDialog v-model="recallDialogVisible" title="批量回收设备" width="600px">
|
||||
<ElForm ref="recallFormRef" :model="recallForm" label-width="120px">
|
||||
<ElDialog v-model="recallDialogVisible" title="批量回收设备" width="40%">
|
||||
<ElForm ref="recallFormRef" :model="recallForm" label-width="90px">
|
||||
<ElFormItem label="已选设备数">
|
||||
<span style="font-weight: bold; color: #e6a23c">{{ selectedDevices.length }}</span> 台
|
||||
</ElFormItem>
|
||||
@@ -225,14 +225,14 @@
|
||||
<ElDialog
|
||||
v-model="seriesBindingDialogVisible"
|
||||
title="批量设置设备套餐系列绑定"
|
||||
width="35%"
|
||||
width="40%"
|
||||
@close="handleCloseSeriesBindingDialog"
|
||||
>
|
||||
<ElForm
|
||||
ref="seriesBindingFormRef"
|
||||
:model="seriesBindingForm"
|
||||
:rules="seriesBindingRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="已选设备数">
|
||||
<span style="font-weight: bold; color: #409eff">{{ selectedDevices.length }}</span> 台
|
||||
@@ -406,10 +406,10 @@
|
||||
/>
|
||||
</ElFormItem>
|
||||
|
||||
<ElFormItem label="目标套餐系列" prop="series_id">
|
||||
<ElFormItem label="套餐系列" prop="series_id">
|
||||
<ElSelect
|
||||
v-model="seriesBindingForm.series_id"
|
||||
placeholder="请选择或搜索套餐系列"
|
||||
placeholder="请选择或搜索目标套餐系列"
|
||||
style="width: 100%"
|
||||
filterable
|
||||
remote
|
||||
@@ -706,14 +706,14 @@
|
||||
<ElDialog
|
||||
v-model="enterpriseDeviceAuthorizeDialogVisible"
|
||||
title="授权设备给企业"
|
||||
width="620px"
|
||||
width="40%"
|
||||
@close="handleEnterpriseDeviceAuthorizeDialogClose"
|
||||
>
|
||||
<ElForm
|
||||
ref="enterpriseDeviceAuthorizeFormRef"
|
||||
:model="enterpriseDeviceAuthorizeForm"
|
||||
:rules="enterpriseDeviceAuthorizeRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="授权企业" prop="enterprise_id">
|
||||
<ElSelect
|
||||
@@ -812,14 +812,14 @@
|
||||
<ElDialog
|
||||
v-model="enterpriseDeviceRecallDialogVisible"
|
||||
title="撤销设备授权"
|
||||
width="620px"
|
||||
width="40%"
|
||||
@close="handleEnterpriseDeviceRecallDialogClose"
|
||||
>
|
||||
<ElForm
|
||||
ref="enterpriseDeviceRecallFormRef"
|
||||
:model="enterpriseDeviceRecallForm"
|
||||
:rules="enterpriseDeviceRecallRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="授权企业" prop="enterprise_id">
|
||||
<ElSelect
|
||||
|
||||
@@ -56,11 +56,11 @@
|
||||
<ElDialog
|
||||
v-model="createDialogVisible"
|
||||
title="创建换货单"
|
||||
width="600px"
|
||||
width="40%"
|
||||
:close-on-click-modal="false"
|
||||
@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">
|
||||
<ElSelect
|
||||
v-model="createForm.flow_type"
|
||||
@@ -121,7 +121,7 @@
|
||||
</ElFormItem>
|
||||
<ElFormItem
|
||||
v-if="createForm.old_asset_type === 'iot_card'"
|
||||
label="旧资产标识符"
|
||||
label="旧资产标识"
|
||||
prop="old_identifier"
|
||||
>
|
||||
<ElSelect
|
||||
@@ -193,7 +193,7 @@
|
||||
{{ oldDeviceEmptyMessage }}
|
||||
</div>
|
||||
</ElFormItem>
|
||||
<ElFormItem v-if="createOldAssetShopDisplay" label="旧资产所属店铺">
|
||||
<ElFormItem v-if="createOldAssetShopDisplay" label="旧资产店铺">
|
||||
<ElInput :model-value="createOldAssetShopDisplay" readonly disabled />
|
||||
</ElFormItem>
|
||||
<ElFormItem
|
||||
@@ -303,14 +303,14 @@
|
||||
<ElDialog
|
||||
v-model="shipDialogVisible"
|
||||
title="换货发货"
|
||||
width="600px"
|
||||
width="40%"
|
||||
:close-on-click-modal="false"
|
||||
@closed="handleCloseShipDialog"
|
||||
>
|
||||
<ElForm ref="shipFormRef" :model="shipForm" :rules="shipRules" label-width="120px">
|
||||
<ElForm ref="shipFormRef" :model="shipForm" :rules="shipRules" label-width="100px">
|
||||
<ElFormItem
|
||||
v-if="shipAssetType === 'iot_card'"
|
||||
label="新资产标识符"
|
||||
label="新资产标识"
|
||||
prop="new_identifier"
|
||||
>
|
||||
<ElSelect
|
||||
@@ -347,7 +347,7 @@
|
||||
</ElFormItem>
|
||||
<ElFormItem
|
||||
v-else-if="shipAssetType === 'device'"
|
||||
label="新资产标识符"
|
||||
label="新资产标识"
|
||||
prop="new_identifier"
|
||||
>
|
||||
<ElSelect
|
||||
|
||||
@@ -98,16 +98,16 @@
|
||||
<ElDialog
|
||||
v-model="allocateDialogVisible"
|
||||
title="批量分配"
|
||||
width="600px"
|
||||
width="40%"
|
||||
@close="handleAllocateDialogClose"
|
||||
>
|
||||
<ElForm
|
||||
ref="allocateFormRef"
|
||||
:model="allocateForm"
|
||||
:rules="allocateRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="店铺" prop="to_shop_id">
|
||||
<ElFormItem label="目标店铺" prop="to_shop_id">
|
||||
<ElCascader
|
||||
v-model="allocateForm.to_shop_id"
|
||||
:options="shopCascadeOptions"
|
||||
@@ -241,10 +241,10 @@
|
||||
<ElDialog
|
||||
v-model="recallDialogVisible"
|
||||
title="批量回收"
|
||||
width="600px"
|
||||
width="40%"
|
||||
@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">
|
||||
<ElRadioGroup v-model="recallForm.selection_type">
|
||||
<ElRadio label="list">ICCID列表</ElRadio>
|
||||
@@ -385,14 +385,14 @@
|
||||
<ElDialog
|
||||
v-model="enterpriseCardAuthorizeDialogVisible"
|
||||
title="授权卡给企业"
|
||||
width="640px"
|
||||
width="40%"
|
||||
@close="handleEnterpriseCardAuthorizeDialogClose"
|
||||
>
|
||||
<ElForm
|
||||
ref="enterpriseCardAuthorizeFormRef"
|
||||
:model="enterpriseCardAuthorizeForm"
|
||||
:rules="enterpriseCardAuthorizeRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="授权企业" prop="enterprise_id">
|
||||
<ElSelect
|
||||
@@ -538,14 +538,14 @@
|
||||
<ElDialog
|
||||
v-model="enterpriseCardRecallDialogVisible"
|
||||
title="回收卡授权"
|
||||
width="640px"
|
||||
width="40%"
|
||||
@close="handleEnterpriseCardRecallDialogClose"
|
||||
>
|
||||
<ElForm
|
||||
ref="enterpriseCardRecallFormRef"
|
||||
:model="enterpriseCardRecallForm"
|
||||
:rules="enterpriseCardRecallRules"
|
||||
label-width="120px"
|
||||
label-width="100px"
|
||||
>
|
||||
<ElFormItem label="授权企业" prop="enterprise_id">
|
||||
<ElSelect
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
</ArtTable>
|
||||
|
||||
<!-- 修改备注对话框 -->
|
||||
<ElDialog v-model="remarkDialogVisible" title="修改备注" width="500px">
|
||||
<ElForm ref="remarkFormRef" :model="remarkForm" :rules="remarkRules" label-width="80px">
|
||||
<ElDialog v-model="remarkDialogVisible" title="修改备注" width="40%">
|
||||
<ElForm ref="remarkFormRef" :model="remarkForm" :rules="remarkRules">
|
||||
<ElFormItem label="备注" prop="remark">
|
||||
<ElInput
|
||||
v-model="remarkForm.remark"
|
||||
@@ -311,7 +311,7 @@
|
||||
|
||||
if (hasAuth('authorization_records:update_remark')) {
|
||||
actions.push({
|
||||
label: '编辑',
|
||||
label: '修改备注',
|
||||
handler: () => showRemarkDialog(row),
|
||||
type: 'primary'
|
||||
})
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
:close-on-press-escape="!createDrawerBusy"
|
||||
@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">
|
||||
<ElSelect
|
||||
v-model="form.series_id"
|
||||
@@ -33,7 +33,7 @@
|
||||
</ElSelect>
|
||||
</ElFormItem>
|
||||
|
||||
<ElFormItem label="套餐" prop="package_id">
|
||||
<ElFormItem label="相关套餐" prop="package_id">
|
||||
<ElSelect
|
||||
v-model="form.package_id"
|
||||
filterable
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
:close-on-press-escape="!createDrawerBusy"
|
||||
@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">
|
||||
<ElSelect
|
||||
v-model="form.operation_type"
|
||||
@@ -286,7 +286,7 @@
|
||||
form.operation_type === 'assign_shop' ? '请选择启用的目标店铺' : '请选择启用的套餐系列'
|
||||
)
|
||||
const targetLabel = computed(() =>
|
||||
form.operation_type === 'assign_shop' ? '选择店铺' : '选择套餐系列'
|
||||
form.operation_type === 'assign_shop' ? '选择店铺' : '套餐系列'
|
||||
)
|
||||
const createDrawerBusy = computed(() => submitting.value || fileUploading.value)
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@
|
||||
</ElCard>
|
||||
</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">
|
||||
<template #title>
|
||||
<div style="line-height: 1.8">
|
||||
@@ -135,7 +135,7 @@
|
||||
开始导入
|
||||
</ElButton>
|
||||
</template>
|
||||
</ElDialog>
|
||||
</ElDrawer>
|
||||
</ArtTableFullScreen>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
</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">
|
||||
<template #title>
|
||||
<div style="line-height: 1.8">
|
||||
@@ -210,7 +210,7 @@
|
||||
开始导入
|
||||
</ElButton>
|
||||
</template>
|
||||
</ElDialog>
|
||||
</ElDrawer>
|
||||
</ArtTableFullScreen>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -49,12 +49,12 @@
|
||||
v-model="createDialogVisible"
|
||||
title="新建订单套餐作废任务"
|
||||
direction="rtl"
|
||||
size="520px"
|
||||
size="40%"
|
||||
:close-on-click-modal="!createDrawerBusy"
|
||||
:close-on-press-escape="!createDrawerBusy"
|
||||
@closed="handleCreateDialogClosed"
|
||||
>
|
||||
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="100px">
|
||||
<ElForm ref="createFormRef" :model="createForm" :rules="createRules">
|
||||
<ElFormItem label="CSV文件" prop="file">
|
||||
<VoucherUpload
|
||||
ref="csvUploadRef"
|
||||
|
||||
@@ -41,8 +41,8 @@
|
||||
</ArtTable>
|
||||
|
||||
<!-- 拒绝提现对话框 -->
|
||||
<ElDialog v-model="rejectDialogVisible" title="拒绝提现申请" width="500px">
|
||||
<ElForm ref="rejectFormRef" :model="rejectForm" :rules="rejectRules" label-width="100px">
|
||||
<ElDialog v-model="rejectDialogVisible" title="拒绝提现申请" width="40%">
|
||||
<ElForm ref="rejectFormRef" :model="rejectForm" :rules="rejectRules">
|
||||
<ElFormItem label="拒绝原因" prop="reject_reason">
|
||||
<ElInput
|
||||
v-model="rejectForm.reject_reason"
|
||||
@@ -51,7 +51,7 @@
|
||||
placeholder="请输入拒绝原因"
|
||||
/>
|
||||
</ElFormItem>
|
||||
<ElFormItem label="备注" prop="remark">
|
||||
<ElFormItem label="备注信息" prop="remark">
|
||||
<ElInput
|
||||
v-model="rejectForm.remark"
|
||||
type="textarea"
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
<ElDialog
|
||||
v-model="createDialogVisible"
|
||||
:title="createDialogTitle"
|
||||
width="500px"
|
||||
width="40%"
|
||||
@closed="handleCreateDialogClosed"
|
||||
>
|
||||
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="100px">
|
||||
|
||||
@@ -59,7 +59,7 @@
|
||||
<ElDialog
|
||||
v-model="createDialogVisible"
|
||||
:title="'创建订单'"
|
||||
width="30%"
|
||||
width="40%"
|
||||
@closed="handleCreateDialogClosed"
|
||||
>
|
||||
<ElForm ref="createFormRef" :model="createForm" :rules="createRules" label-width="80px">
|
||||
|
||||
@@ -49,11 +49,12 @@
|
||||
</ArtTable>
|
||||
|
||||
<!-- 创建/编辑对话框 -->
|
||||
<ElDialog
|
||||
<ElDrawer
|
||||
v-model="dialogVisible"
|
||||
:title="dialogType === 'add' ? '新增支付配置' : '编辑支付配置'"
|
||||
width="900px"
|
||||
:close-on-click-modal="false"
|
||||
direction="rtl"
|
||||
size="55%"
|
||||
:close-on-click-modal="true"
|
||||
@closed="handleDialogClosed"
|
||||
>
|
||||
<ElForm
|
||||
@@ -352,7 +353,7 @@
|
||||
</ElButton>
|
||||
</div>
|
||||
</template>
|
||||
</ElDialog>
|
||||
</ElDrawer>
|
||||
</ElCard>
|
||||
</div>
|
||||
</ArtTableFullScreen>
|
||||
|
||||
Reference in New Issue
Block a user