| | |
| | | * 短信通道配置 |
| | | */ |
| | | ShortMessage = 4, |
| | | // /** |
| | | // * 微信支付配置 |
| | | // */ |
| | | // Wechat = 5, |
| | | /** |
| | | * 微信支付配置 |
| | | */ |
| | | Wechat = 5, |
| | | } |
| | | |
| | | export const EnterpriseConfigureTypeText = { |
| | |
| | | [EnterpriseConfigureType.AliPay]: '支付宝配置', |
| | | [EnterpriseConfigureType.Electronic]: '电子签配置', |
| | | [EnterpriseConfigureType.ShortMessage]: '短信通道配置', |
| | | // [EnterpriseConfigureType.Wechat]: '微信支付配置', |
| | | [EnterpriseConfigureType.Wechat]: '微信支付配置', |
| | | }; |
| | | |
| | | export enum VerifyStatus { |
| | |
| | | <el-tab-pane lazy :name="EnterpriseConfigureType.AliPay"> |
| | | <AliPayConfigureView :id="form.id" ref="aliPayConfigureViewRef" /> |
| | | </el-tab-pane> |
| | | <!-- <el-tab-pane lazy :name="EnterpriseConfigureType.Wechat"> |
| | | <el-tab-pane lazy :name="EnterpriseConfigureType.Wechat"> |
| | | <WechatConfigureView :id="form.id" ref="wechatConfigureViewRef" /> |
| | | </el-tab-pane> --> |
| | | </el-tab-pane> |
| | | <el-tab-pane lazy :name="EnterpriseConfigureType.Electronic"> |
| | | <ElectronicConfigureView :id="form.id" ref="electronicConfigureViewRef" /> |
| | | </el-tab-pane> |
| | |
| | | res = await electronicConfigureViewRef.value?.onConfirm?.(); |
| | | } else if (form.value.enterpriseConfigureType === EnterpriseConfigureType.ShortMessage) { |
| | | res = await shortMessageConfigureViewRef.value?.onConfirm?.(); |
| | | } else if (form.value.enterpriseConfigureType === EnterpriseConfigureType.Wechat) { |
| | | res = await wechatConfigureViewRef.value?.onConfirm?.(); |
| | | } |
| | | // else if (form.value.enterpriseConfigureType === EnterpriseConfigureType.Wechat) { |
| | | // res = await wechatConfigureViewRef.value?.onConfirm?.(); |
| | | // } |
| | | if (res) { |
| | | emit('onConfirm'); |
| | | } |
| | |
| | | <template> |
| | | <LoadingLayout :loading="isLoading"> |
| | | <ProForm :model="form" ref="dialogForm" label-width="120px"> |
| | | <ProForm :model="form" ref="dialogForm" label-width="130px"> |
| | | <ProFormItemV2 |
| | | label="联系人姓名:" |
| | | prop="name" |
| | |
| | | <ProFormRadio v-model.trim="form.name" :value-enum="[]" button-style /> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="业务办理授权函:" |
| | | prop="url" |
| | | :check-rules="[{ type: 'upload', message: '请上传业务办理授权函' }]" |
| | | > |
| | | <ProFormUpload |
| | | v-model:file-url="form.url" |
| | | :limit="1" |
| | | :limitFileSize="10" |
| | | accept="png,jpg,jpeg,pdf" |
| | | ></ProFormUpload> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | label="手机号:" |
| | | prop="name" |
| | | :checkRules="[{ type: 'phone', message: '请输入手机号' }]" |