| | |
| | | type="text" |
| | | /> |
| | | </NutFormItem> |
| | | <NutFormItem |
| | | label="姓名" |
| | | class="bole-form-item" |
| | | prop="name" |
| | | required |
| | | v-if="form.ispCode === BlLifeRecharge.constants.IspCode.dianxin" |
| | | > |
| | | <NutFormItem label="机主姓名" class="bole-form-item" prop="name" required> |
| | | <NutInput |
| | | v-model.trim="form.name" |
| | | class="bole-input-text" |
| | | placeholder="请填写您的姓名" |
| | | placeholder="请填写充值手机号对应的户主姓名" |
| | | type="text" |
| | | /> |
| | | </NutFormItem> |
| | |
| | | { required: true, message: '请输入充值手机号' }, |
| | | { validator: FormValidator.validatorPhoneNumber, message: '请输入正确的手机号' }, |
| | | ], |
| | | name: [{ required: true, message: '请输入姓名' }], |
| | | name: [{ required: true, message: '请填写充值手机号对应的户主姓名' }], |
| | | }); |
| | | |
| | | const dialogVisible = ref(false); |
| | |
| | | |
| | | useGetPayStatusByOrderNo({ |
| | | orderNo: currentOrderNo, |
| | | enabled: computed(() => props.isFocus && !!currentOrderNo.value), |
| | | enabled: computed( |
| | | () => |
| | | form.lifePayType === LifeRechargeConstants.LifePayTypeEnum.WxPay && |
| | | props.isFocus && |
| | | !!currentOrderNo.value |
| | | ), |
| | | onPaySuccess: (orderNo) => { |
| | | emit('paySuccess', orderNo); |
| | | currentOrderNo.value = ''; |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 添加日志 POST /api/LifePay/AddLogger */ |
| | | export async function addLogger(body: API.LogErrorInput, options?: API.RequestConfig) { |
| | | return request<number>('/api/LifePay/AddLogger', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 添加或修改我的户号 POST /api/LifePay/AddUpdateUserAccount */ |
| | | export async function addUpdateUserAccount( |
| | | body: API.AddUpdateUserAccountInput, |
New file |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 查询日志 POST /api/OperateHistory/GetOperateHistoryByRelationId */ |
| | | export async function getOperateHistoryByRelationId( |
| | | body: API.GetOperateHistoryInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.OperateHistoryDtoPageOutput>( |
| | | '/api/OperateHistory/GetOperateHistoryByRelationId', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** 根据type查询日志 POST /api/OperateHistory/GetOperateHistoryByType */ |
| | | export async function getOperateHistoryByType( |
| | | body: API.QueryOperateHistoryByTypeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.OperateHistoryDtoPageOutput>('/api/OperateHistory/GetOperateHistoryByType', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | import * as IdentityUser from './IdentityUser'; |
| | | import * as IdentityUserLookup from './IdentityUserLookup'; |
| | | import * as LifePay from './LifePay'; |
| | | import * as OperateHistory from './OperateHistory'; |
| | | import * as Permissions from './Permissions'; |
| | | import * as PhoneMessage from './PhoneMessage'; |
| | | import * as Profile from './Profile'; |
| | |
| | | IdentityUser, |
| | | IdentityUserLookup, |
| | | LifePay, |
| | | OperateHistory, |
| | | Permissions, |
| | | PhoneMessage, |
| | | Profile, |
| | |
| | | groups?: FeatureGroupDto[]; |
| | | } |
| | | |
| | | interface GetOperateHistoryInput { |
| | | pageModel?: Pagination; |
| | | relationId?: string; |
| | | operateName?: string; |
| | | } |
| | | |
| | | interface GetPayOrderForJsAPIInput { |
| | | pageModel?: Pagination; |
| | | checkChannelId?: string; |
| | |
| | | resource?: string; |
| | | } |
| | | |
| | | interface LogErrorInput { |
| | | error?: string; |
| | | } |
| | | |
| | | interface MethodParameterApiDescriptionModel { |
| | | name?: string; |
| | | typeAsString?: string; |
| | |
| | | modules?: Record<string, any>; |
| | | enums?: Record<string, any>; |
| | | } |
| | | |
| | | interface OperateHistoryDto { |
| | | /** 关联关系ID */ |
| | | relationId?: string; |
| | | /** 表名 */ |
| | | tableType?: number; |
| | | /** 操作 */ |
| | | operateName?: string; |
| | | /** 操作内容 */ |
| | | operateContent?: string; |
| | | /** 操作人 */ |
| | | creatorName?: string; |
| | | /** 操作时间 */ |
| | | creationTime?: string; |
| | | /** 操作细节 */ |
| | | operateDetail?: string; |
| | | } |
| | | |
| | | interface OperateHistoryDtoPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: OperateHistoryDto[]; |
| | | } |
| | | |
| | | type OperateHistoryTypeEnum = |
| | | | 10 |
| | | | 11 |
| | | | 12 |
| | | | 13 |
| | | | 14 |
| | | | 15 |
| | | | 16 |
| | | | 17 |
| | | | 18 |
| | | | 19 |
| | | | 20 |
| | | | 21 |
| | | | 22 |
| | | | 23 |
| | | | 24 |
| | | | 25 |
| | | | 26 |
| | | | 27 |
| | | | 28 |
| | | | 29 |
| | | | 30 |
| | | | 31 |
| | | | 32 |
| | | | 40 |
| | | | 42; |
| | | |
| | | interface OrderInput { |
| | | property?: string; |
| | |
| | | keyWords?: string; |
| | | } |
| | | |
| | | interface QueryOperateHistoryByTypeInput { |
| | | pageModel?: Pagination; |
| | | typeId?: string; |
| | | operateHistoryType?: OperateHistoryTypeEnum; |
| | | } |
| | | |
| | | interface QueryUserAccountAllListInput { |
| | | pageModel?: Pagination; |
| | | checkChannelId?: string; |