| | |
| | | # é¡¹ç®æ¬å°è¿è¡ç«¯å£å· |
| | | VITE_PORT = 8388 |
| | | VITE_PORT = 8188 |
| | | |
| | | # å¼åç¯å¢è¯»åé
ç½®æä»¶è·¯å¾ |
| | | VITE_PUBLIC_PATH = / |
| | |
| | | VITE_OSS_URL_BUCKET = "waterdroptest2" |
| | | VITE_WEMAP_KEY = "T2UBZ-N563J-ZCHFF-XDOXN-VCH7S-CJB2T" |
| | | |
| | | VITE_CLIENT_ORIGIN = "http://localhost:8388" |
| | | VITE_CLIENT_ORIGIN = "http://localhost:8188" |
| | |
| | | "config": [ |
| | | { |
| | | "requestLibPath": "import { request } from '@/utils/request'", |
| | | "schemaPath": "http://localhost:57190/swagger/v1/swagger.json", |
| | | "schemaPath": "http://localhost:58190/swagger/v1/swagger.json", |
| | | "serversPath": "./src/services" |
| | | } |
| | | ] |
| | |
| | | import { useUserStore } from '@/store/modules/user'; |
| | | import { UserUtils } from '@bole-core/core'; |
| | | // import * as userRoleServices from '@/services/api/UserRole'; |
| | | import * as userServices from '@/services/api/User'; |
| | | import { useQuery, useQueryClient } from '@tanstack/vue-query'; |
| | | |
| | | export function useIsSystemAdmin() { |
| | |
| | | } |
| | | |
| | | export function useAllRoleList() { |
| | | const { data: allRoleList, refetch } = useQuery({ |
| | | queryKey: ['userServices/getAllRoles'], |
| | | queryFn: async () => { |
| | | let res = await userServices.getAllRoles({ showLoading: false }); |
| | | return res; |
| | | }, |
| | | placeholderData: () => [] as API.RoleInfo[], |
| | | }); |
| | | // const { data: allRoleList, refetch } = useQuery({ |
| | | // queryKey: ['userServices/getAllRoles'], |
| | | // queryFn: async () => { |
| | | // let res = await userServices.getAllRoles({ showLoading: false }); |
| | | // return res; |
| | | // }, |
| | | // placeholderData: () => [] as API.RoleInfo[], |
| | | // }); |
| | | |
| | | // return { |
| | | // allRoleList, |
| | | // refetch, |
| | | // }; |
| | | return { |
| | | allRoleList, |
| | | refetch, |
| | | allRoleList: [], |
| | | refetch: () => {}, |
| | | }; |
| | | } |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** æ ¹æ®ææºå·å¤æç¨æ·æ¯å¦å·²åå¨ POST /api/Account/AnyUserByPhoneNumber */ |
| | | export async function anyUserByPhoneNumber( |
| | | body: API.AnyUserByPhoneNumberInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/Account/AnyUserByPhoneNumber', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** C端éªè¯ç ç»å½ POST /api/Account/CClientPhoneMesssageCodeLogin */ |
| | | export async function cClientPhoneMesssageCodeLogin( |
| | | body: API.PhoneMesssageCodeLoginInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/CClientPhoneMesssageCodeLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** Cç«¯ææºå·éªè¯ç æ³¨åæ³¨å POST /api/Account/CClientPhoneMesssageCodeRegister */ |
| | | export async function cClientPhoneMesssageCodeRegister( |
| | | body: API.PhoneMesssageCodeRegisterInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/CClientPhoneMesssageCodeRegister', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ç¨æ·æ ¹æ®å½åå¯ç ä¿®æ¹å¯ç POST /api/Account/ChangePasswordFromCurrentPwd */ |
| | | export async function changePasswordFromCurrentPwd( |
| | | body: API.ChangePasswordFromCurrentPwdInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ChangePasswordFromCurrentPwd', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ç¨æ·æ ¹æ®ææºå·ä¿®æ¹å¯ç éªè¯ç POST /api/Account/ChangePasswordFromPhoneNumber */ |
| | | export async function changePasswordFromPhoneNumber( |
| | | body: API.ChangePasswordFromPhoneNumberInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ChangePasswordFromPhoneNumber', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æªç»å½ä¸æ ¹æ®ææºå·ä¿®æ¹å¯ç éªè¯ç (å¿è®°å¯ç ) POST /api/Account/ChangePasswordWithNoLogin */ |
| | | export async function changePasswordWithNoLogin( |
| | | body: API.ChangePasswordFromPhoneNumberInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ChangePasswordWithNoLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ä¿®æ¹è´¦å· POST /api/Account/ChangeUserName */ |
| | | export async function changeUserName(body: API.ChangeUserNameInput, options?: API.RequestConfig) { |
| | | return request<number>('/api/Account/ChangeUserName', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 管çåæ´æ¹ç¨æ·ç»å½ææºå· POST /api/Account/ChangeUserPhoneNumberForAdmin */ |
| | | export async function changeUserPhoneNumberForAdmin( |
| | | body: API.ChangePhoneNumberInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ChangeUserPhoneNumberForAdmin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ç¨æ·æ´æ¹ç»å½ææºå· POST /api/Account/ChangeUserPhoneNumberForUser */ |
| | | export async function changeUserPhoneNumberForUser( |
| | | body: API.ChangeUserPhoneNumberForUserInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ChangeUserPhoneNumberForUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** çæè´¦å· POST /api/Account/GenerateUserName */ |
| | | export async function generateUserName( |
| | | body: API.GenerateUserNameInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/Account/GenerateUserName', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/Account/GetOssSTS */ |
| | | export async function getOssSTS(options?: API.RequestConfig) { |
| | | return request<API.OssSTSReponse>('/api/Account/GetOssSTS', { |
| | | method: 'POST', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åæ«ç ç»å½äºç»´ç ä¿¡æ¯ GET /api/Account/GetQrCodeForLogin */ |
| | | export async function getQrCodeForLogin(options?: API.RequestConfig) { |
| | | return request<API.QrCodeLogin>('/api/Account/GetQrCodeForLogin', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åæ«ç ç»å½ç»æ GET /api/Account/GetQrCodeLoginResult */ |
| | | export async function getQrCodeLoginResult( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetQrCodeLoginResultParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.WxMiniAppLoginInfo>('/api/Account/GetQrCodeLoginResult', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** çµåç¾ç»å½ POST /api/Account/GetTokenForUserSign */ |
| | | export async function getTokenForUserSign(body: API.AccessRequestDto, options?: API.RequestConfig) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForUserSign', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/Account/GetTokenForWeb */ |
| | | export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·å微信å°ç¨åºç¨æ·èº«ä»½ä¼è¯ä¿¡æ¯ GET /api/Account/GetWxIndentity */ |
| | | export async function getWxIndentity( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetWxIndentityParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.WxMiniAppIndentityInfo>('/api/Account/GetWxIndentity', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å¤æç¨æ·ææºå·æ¯å¦éå¤ GET /api/Account/IsRepeatByPhoneNumber */ |
| | | export async function isRepeatByPhoneNumber( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIisRepeatByPhoneNumberParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/Account/IsRepeatByPhoneNumber', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å¯ç ç»å½ POST /api/Account/PasswordLogin */ |
| | | export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** éªè¯ç ç»å½ POST /api/Account/PhoneMesssageCodeLogin */ |
| | | export async function phoneMesssageCodeLogin( |
| | | body: API.PhoneMesssageCodeLoginInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/PhoneMesssageCodeLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ææºå·éªè¯ç æ³¨åæ³¨å POST /api/Account/PhoneMesssageCodeRegister */ |
| | | export async function phoneMesssageCodeRegister( |
| | | body: API.PhoneMesssageCodeRegisterInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/PhoneMesssageCodeRegister', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** éç½®å¯ç å¹¶åéææºéç¥æ°å¯ç POST /api/Account/ResetPasswordWithMicroNotify */ |
| | | export async function resetPasswordWithMicroNotify( |
| | | body: API.ResetPasswordBaseInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/ResetPasswordWithMicroNotify', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** åéç»å½æ³¨åçä¿¡éªè¯ç POST /api/Account/SendPhoneMesssageCode */ |
| | | export async function sendPhoneMesssageCode( |
| | | body: API.SendPhoneMesssageCodeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/SendPhoneMesssageCode', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è§£ç»ç¨æ·ææºå· POST /api/Account/UnbindingUserPhoneNumber */ |
| | | export async function unbindingUserPhoneNumber( |
| | | body: API.UnbindingUserPhoneNumber, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Account/UnbindingUserPhoneNumber', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è¯å«è¥ä¸æ§ç
§ GET /api/Account/VatLicense */ |
| | | export async function vatLicense( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIvatLicenseParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.LicenseOcrModel>('/api/Account/VatLicense', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å°ç¨åºææºæææ³¨åç»å½ POST /api/Account/WxMiniAppPhoneAuthLogin */ |
| | | export async function wxMiniAppPhoneAuthLogin( |
| | | body: API.WxMiniAppPhoneLoginInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLogin', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å°ç¨åºæ«ç ææºæææ³¨åç»å½ POST /api/Account/WxMiniAppPhoneAuthLoginFromScan */ |
| | | export async function wxMiniAppPhoneAuthLoginFromScan( |
| | | body: API.WxMiniAppPhoneAuthLoginFromScanInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppPhoneAuthLoginFromScan', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å·²æå°ç¨åºç¨æ·ç¡®è®¤ç»å½ GET /api/Account/WxMiniAppUserLogin */ |
| | | export async function wxMiniAppUserLogin( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIwxMiniAppUserLoginParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/Account/WxMiniAppUserLogin', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** å·²æå°ç¨åºç¨æ·æ«ç 确认ç»å½ POST /api/Account/WxMiniAppUserLoginFromScan */ |
| | | export async function wxMiniAppUserLoginFromScan( |
| | | body: API.WxMiniAppUserLoginFromScanInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.IdentityModelTokenCacheItem>('/api/Account/WxMiniAppUserLoginFromScan', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/accountAuth/GetCode */ |
| | | export async function getCode(options?: API.RequestConfig) { |
| | | return request<any>('/api/accountAuth/GetCode', { |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** è·åé¢è§æ°æ® GET /api/Common/GetPreViewCache */ |
| | | export async function getPreViewCache( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetPreViewCacheParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/Common/GetPreViewCache', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** åééªè¯ç POST /api/Common/SendVerificationCode */ |
| | | export async function sendVerificationCode( |
| | | body: API.SendPhoneVerificationCodeByBusinessTypeInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/Common/SendVerificationCode', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** åå
¥é¢è§æ°æ® POST /api/Common/SetPreViewCache */ |
| | | export async function setPreViewCache(body: API.SetPreViewCacheInput, options?: API.RequestConfig) { |
| | | return request<string>('/api/Common/SetPreViewCache', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** åå¸/ç¼è¾ä»»å¡ POST /api/FlexWorker/AddEidtFlexTask */ |
| | | export async function addEidtFlexTask(body: API.AddEidtFlexTaskInput, options?: API.RequestConfig) { |
| | | return request<number>('/api/FlexWorker/AddEidtFlexTask', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ä»»å¡å é¤ DELETE /api/FlexWorker/DeleteFlexTask */ |
| | | export async function deleteFlexTask( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIdeleteFlexTaskParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/FlexWorker/DeleteFlexTask', { |
| | | method: 'DELETE', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** B端å°ç¨åº-è·åä»»å¡ç®¡ç(æªå®æ/已宿) POST /api/FlexWorker/GetFlexTaskByArrange */ |
| | | export async function getFlexTaskByArrange( |
| | | body: API.GetFlexTaskListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByArrange', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** B端å°ç¨åº-è·åéªæ¶ç®¡ç(å¾
éªæ¶/å·²éªæ¶) POST /api/FlexWorker/GetFlexTaskByIsOverCheck */ |
| | | export async function getFlexTaskByIsOverCheck( |
| | | body: API.GetFlexTaskListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskByIsOverCheck', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åæèä»»å¡è¯¦æ
GET /api/FlexWorker/GetFlexTaskDto */ |
| | | export async function getFlexTaskDto( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetFlexTaskDtoParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetFlexTaskDtoOutput>('/api/FlexWorker/GetFlexTaskDto', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åæè管çå表(åå¸ä¸/已忢) POST /api/FlexWorker/GetFlexTaskList */ |
| | | export async function getFlexTaskList( |
| | | body: API.GetFlexTaskListByStatusInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetFlexTaskListOutputPageOutput>('/api/FlexWorker/GetFlexTaskList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ´æ°æèä»»å¡åå¸ç¶æ POST /api/FlexWorker/UpdateFlexTaskReleaseStatus */ |
| | | export async function updateFlexTaskReleaseStatus( |
| | | body: API.UpdateTaskReleaseStatusInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/FlexWorker/UpdateFlexTaskReleaseStatus', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** æç´¢ç®¡ç--æ°å»ºç¼è¾ POST /api/SearchSetting/CreateOrEditSearchSetting */ |
| | | export async function createOrEditSearchSetting( |
| | | body: API.CreateOrEditSearchInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/SearchSetting/CreateOrEditSearchSetting', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æç´¢ç®¡ç--ç¦ç¨å¯ç¨ POST /api/SearchSetting/EnableSearchSetting */ |
| | | export async function enableSearchSetting( |
| | | body: API.EnableSearchSettingInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/SearchSetting/EnableSearchSetting', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ ¹æ®è·å¾å
¨é¨æå®ç±»åæç´¢æ¡ä»¶ POST /api/SearchSetting/GetAllSearchSettingList */ |
| | | export async function getAllSearchSettingList( |
| | | body: API.GetSearchSettingListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetSearchSettingList[]>('/api/SearchSetting/GetAllSearchSettingList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åæ¥è¯¢æ¡ä»¶å表 GET /api/SearchSetting/GetSearchConditionList */ |
| | | export async function getSearchConditionList(options?: API.RequestConfig) { |
| | | return request<API.SearchConditionList[]>('/api/SearchSetting/GetSearchConditionList', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æç´¢ç®¡ç--å表 POST /api/SearchSetting/GetSearchSettingList */ |
| | | export async function getSearchSettingList( |
| | | body: API.GetSearchSettingListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetSearchSettingListPageOutput>('/api/SearchSetting/GetSearchSettingList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ ¹æ®ç±»åè·å¾æå®ç±»åæç´¢æ¡ä»¶ POST /api/SearchSetting/GetTypeSearchSettingList */ |
| | | export async function getTypeSearchSettingList( |
| | | body: API.GetTypeSearchSettingListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetTypeSearchSettingList[]>('/api/SearchSetting/GetTypeSearchSettingList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | /* eslint-disable */ |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/UserResume/GetUserResume */ |
| | | export async function getUserResume(options?: API.RequestConfig) { |
| | | return request<API.MyResumeOutput>('/api/UserResume/GetUserResume', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/UserResume/GetUserResumeCertificateDetailById */ |
| | | export async function getUserResumeCertificateDetailById( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetUserResumeCertificateDetailByIdParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.UserResumeCertificateDetailOutput>( |
| | | '/api/UserResume/GetUserResumeCertificateDetailById', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/UserResume/GetUserResumeCertificateList */ |
| | | export async function getUserResumeCertificateList(options?: API.RequestConfig) { |
| | | return request<API.UserResumeCertificateListOutput[]>( |
| | | '/api/UserResume/GetUserResumeCertificateList', |
| | | { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/UserResume/GetUserResumeDetailInfo */ |
| | | export async function getUserResumeDetailInfo(options?: API.RequestConfig) { |
| | | return request<API.UserResumeDetailInfoOutput>('/api/UserResume/GetUserResumeDetailInfo', { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é GET /api/UserResume/GetUserResumeWorkExperience */ |
| | | export async function getUserResumeWorkExperience(options?: API.RequestConfig) { |
| | | return request<API.UserResumeWorkExperienceOutput>( |
| | | '/api/UserResume/GetUserResumeWorkExperience', |
| | | { |
| | | method: 'GET', |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/UserResume/SaveUserResumeBaseInfo */ |
| | | export async function saveUserResumeBaseInfo( |
| | | body: API.SaveUserResumeBaseInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/UserResume/SaveUserResumeBaseInfo', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/UserResume/SaveUserResumeCertificate */ |
| | | export async function saveUserResumeCertificate( |
| | | body: API.SaveUserResumeCertificateInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/UserResume/SaveUserResumeCertificate', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/UserResume/SaveUserResumeDetailInfo */ |
| | | export async function saveUserResumeDetailInfo( |
| | | body: API.SaveUserResumeDetailInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/UserResume/SaveUserResumeDetailInfo', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/UserResume/SaveUserResumeExpectationJob */ |
| | | export async function saveUserResumeExpectationJob( |
| | | body: API.SaveUserResumeExpectationJobInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/UserResume/SaveUserResumeExpectationJob', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¤å¤å端没ææä¾æ³¨é POST /api/UserResume/SaveUserResumeWorkExperience */ |
| | | export async function saveUserResumeWorkExperience( |
| | | body: API.SaveUserResumeWorkExperienceInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<any>('/api/UserResume/SaveUserResumeWorkExperience', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | import * as AbpApplicationConfiguration from './AbpApplicationConfiguration'; |
| | | import * as Account from './Account'; |
| | | import * as BaseModule from './BaseModule'; |
| | | import * as Common from './Common'; |
| | | import * as Features from './Features'; |
| | | import * as FlexWorker from './FlexWorker'; |
| | | import * as IdentityRole from './IdentityRole'; |
| | | import * as IdentityUser from './IdentityUser'; |
| | | import * as IdentityUserLookup from './IdentityUserLookup'; |
| | | import * as InsuranceClaim from './InsuranceClaim'; |
| | | import * as InsuranceOrder from './InsuranceOrder'; |
| | | import * as Permissions from './Permissions'; |
| | | import * as PhoneMessage from './PhoneMessage'; |
| | | import * as Profile from './Profile'; |
| | | import * as SearchSetting from './SearchSetting'; |
| | | import * as Tenant from './Tenant'; |
| | | import * as User from './User'; |
| | | import * as UserResume from './UserResume'; |
| | | import * as Version from './Version'; |
| | | export default { |
| | | AbpApiDefinition, |
| | | AbpApplicationConfiguration, |
| | | Account, |
| | | BaseModule, |
| | | Common, |
| | | Features, |
| | | FlexWorker, |
| | | IdentityRole, |
| | | IdentityUser, |
| | | IdentityUserLookup, |
| | | InsuranceClaim, |
| | | InsuranceOrder, |
| | | Permissions, |
| | | PhoneMessage, |
| | | Profile, |
| | | SearchSetting, |
| | | Tenant, |
| | | User, |
| | | UserResume, |
| | | Version, |
| | | }; |
| | |
| | | implementFrom?: string; |
| | | } |
| | | |
| | | interface AddInsuranceClaimAttachmentInput { |
| | | /** æä»¶åç§° */ |
| | | fileName?: string; |
| | | /** æä»¶å°å */ |
| | | url?: string; |
| | | businessType?: InsuranceClaimAttachmentBusinessTypeEnum; |
| | | } |
| | | |
| | | interface AddInsuranceClaimInput { |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** å§å */ |
| | | name: string; |
| | | /** 身份è¯å· */ |
| | | idNumber: string; |
| | | /** å·¥ç§ */ |
| | | workType: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTime: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTime: string; |
| | | /** åä¿æºæ */ |
| | | insuredInstitution: string; |
| | | /** æä¿æ¹æ¡ */ |
| | | insuranceScheme: string; |
| | | /** å¨èæ è¯ */ |
| | | onJobFlag?: string; |
| | | /** æ§å« */ |
| | | gender?: string; |
| | | /** å¹´é¾ */ |
| | | age?: number; |
| | | /** ä¿è´¹éé¢ */ |
| | | premiumAmount?: number; |
| | | /** å¢åè´¹ç¨ */ |
| | | incDecAmount?: number; |
| | | /** ä¿åid */ |
| | | insuranceOrderId?: string; |
| | | /** æ¥æ¡æ¶é´ */ |
| | | reportedTime: string; |
| | | /** èç³»çµè¯ */ |
| | | contactNumber: string; |
| | | /** å¤ç¨èç³»çµè¯ */ |
| | | bakContactNumber?: string; |
| | | /** äºæ
ç±»å */ |
| | | accidentType: string; |
| | | /** äºæ
åçæ¶é´ */ |
| | | accidentTime: string; |
| | | /** ä¼¤æ®æ¯ä¾ */ |
| | | disabilityRatio?: number; |
| | | /** äºåå°ç¹ */ |
| | | accidentAddress: string; |
| | | /** äºæ
ç»è¿ */ |
| | | accidentProcess: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | /** 䏿¬¾éé¢ */ |
| | | downPaymentAmount?: number; |
| | | /** çèµç»ææ¶é´ */ |
| | | claimResultTime?: string; |
| | | /** éä»¶éå */ |
| | | attachments?: AddInsuranceClaimAttachmentInput[]; |
| | | } |
| | | |
| | | interface AddInsuranceOrderMaterialInput { |
| | | insuranceOrderId?: string; |
| | | /** æä»¶åç§° */ |
| | | fileName?: string; |
| | | /** æä»¶å°å */ |
| | | url?: string; |
| | | /** ææåç§° */ |
| | | materialName: string; |
| | | interface AddEidtFlexTaskInput { |
| | | taskId?: string; |
| | | taskName?: string; |
| | | feeType?: FlexTaskFeeTypeEnum; |
| | | /** æå¡è´¹ å
/æ */ |
| | | fee?: number; |
| | | settleType?: FlexTaskSettleTypeEnum; |
| | | /** ç¦å©Id */ |
| | | listAideIds?: string[]; |
| | | minAge?: number; |
| | | maxAge?: number; |
| | | sexType?: GenderTypeEnum; |
| | | /** è¯ä¹¦Id */ |
| | | listCertionIds?: string[]; |
| | | provinceId?: string; |
| | | cityId?: string; |
| | | areaId?: string; |
| | | address?: string; |
| | | startDate?: string; |
| | | endDate?: string; |
| | | } |
| | | |
| | | interface AllSubModule { |
| | |
| | | column?: ModuleColumnDto[]; |
| | | } |
| | | |
| | | interface AnyUserByPhoneNumberInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface APIaddOrEditModuleStatusParams { |
| | | id?: string; |
| | | isMenu?: number; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteFlexTaskParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteModuleButtonParams { |
| | | id?: string; |
| | | } |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteRoleParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIdeleteTenantParams { |
| | | id?: string; |
| | | } |
| | |
| | | moduleId?: string; |
| | | } |
| | | |
| | | interface APIgetInsuranceClaimDetailByOrderIdParams { |
| | | orderId?: string; |
| | | } |
| | | |
| | | interface APIgetInsuranceClaimDetailParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetInsuranceClaimYearMonthCountListParams { |
| | | year?: number; |
| | | } |
| | | |
| | | interface APIgetInsuranceOrderDetailParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetInsuranceOrderMaterialListParams { |
| | | interface APIgetFlexTaskDtoParams { |
| | | id?: string; |
| | | } |
| | | |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetRolesIdRolesParams { |
| | | id: string; |
| | | interface APIgetPreViewCacheParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetUserDetailParams { |
| | | id?: string; |
| | | interface APIgetQrCodeLoginResultParams { |
| | | /** æ«ç ç»å½Id */ |
| | | uId?: string; |
| | | } |
| | | |
| | | interface APIgetRolesIdRolesParams { |
| | | id: string; |
| | | } |
| | | |
| | | interface APIgetUserListByPhoneNumberParams { |
| | |
| | | objectType?: number; |
| | | } |
| | | |
| | | interface APIgetUserResumeCertificateDetailByIdParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetVersionModuleListParams { |
| | | versionId?: string; |
| | | } |
| | |
| | | versionId?: string; |
| | | } |
| | | |
| | | interface APIgetWxIndentityParams { |
| | | /** ç¨æ·ç»å½åè¯ */ |
| | | code?: string; |
| | | wxMiniApp?: WxMiniAppEnum; |
| | | } |
| | | |
| | | interface APIisRepeatByPhoneNumberParams { |
| | | phoneNumber?: string; |
| | | } |
| | | |
| | | interface APIsearchParams { |
| | | filter?: string; |
| | | sorting?: string; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIvatLicenseParams { |
| | | url?: string; |
| | | } |
| | | |
| | | interface APIwxMiniAppUserLoginParams { |
| | | /** ç¨æ·ç»å½åè¯ */ |
| | | code?: string; |
| | | wxMiniApp?: WxMiniAppEnum; |
| | | } |
| | | |
| | | interface ApplicationApiDescriptionModel { |
| | | modules?: Record<string, any>; |
| | | types?: Record<string, any>; |
| | |
| | | objectId?: string; |
| | | } |
| | | |
| | | interface ChangePasswordFromCurrentPwdInput { |
| | | /** æ°å¯ç */ |
| | | newPassword?: string; |
| | | userId?: string; |
| | | /** å½åå¯ç */ |
| | | currentPassword: string; |
| | | } |
| | | |
| | | interface ChangePasswordFromPhoneNumberInput { |
| | | /** æ°å¯ç */ |
| | | newPassword?: string; |
| | | userId?: string; |
| | | /** çä¿¡éªè¯ç */ |
| | | verificationCode: string; |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface ChangePasswordInput { |
| | | currentPassword?: string; |
| | | newPassword: string; |
| | | } |
| | | |
| | | interface ChangePhoneNumberInput { |
| | | userId?: string; |
| | | /** æ°ææºå· */ |
| | | newPhoneNumber: string; |
| | | } |
| | | |
| | | interface ChangeSortInput { |
| | | id1?: string; |
| | | sortCode1?: number; |
| | |
| | | type?: number; |
| | | } |
| | | |
| | | interface ChangeUserNameInput { |
| | | /** æ°è´¦å· */ |
| | | newUserName?: string; |
| | | /** ç¨æ·id */ |
| | | userId?: string; |
| | | } |
| | | |
| | | interface ChangeUserPhoneNumberForUserInput { |
| | | userId?: string; |
| | | /** æ°ææºå· */ |
| | | newPhoneNumber: string; |
| | | /** å½åå¯ç */ |
| | | currentPassword: string; |
| | | /** çä¿¡éªè¯ç */ |
| | | verificationCode: string; |
| | | } |
| | | |
| | | interface CheckLoginVerificationCodeInput { |
| | | messageType?: string; |
| | | phoneNumber: string; |
| | |
| | | kind?: string; |
| | | } |
| | | |
| | | interface ConditionInfo { |
| | | id?: string; |
| | | name?: string; |
| | | sort?: number; |
| | | } |
| | | |
| | | interface ControllerApiDescriptionModel { |
| | | controllerName?: string; |
| | | controllerGroupName?: string; |
| | |
| | | type?: string; |
| | | } |
| | | |
| | | interface CreateAccountInput { |
| | | /** åç§° */ |
| | | name?: string; |
| | | /** ç¨æ·å */ |
| | | userName: string; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | /** å¯ç */ |
| | | password: string; |
| | | /** ææºå· */ |
| | | phoneNumber?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** ç¨æ·ç«¯Id */ |
| | | clientId?: string; |
| | | /** è§è² */ |
| | | roleNames?: string[]; |
| | | } |
| | | |
| | | interface CreateOrUpdateRoleInput { |
| | | /** åç§° */ |
| | | name?: string; |
| | | /** æåº */ |
| | | sequence?: number; |
| | | /** é¨é¨Id */ |
| | | departmentId?: number; |
| | | /** æ°æ®èå´ å
¨é¨æ°æ®100 ä¸ªäººæ°æ® 10 */ |
| | | dataRange?: number; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | /** è§è²Id */ |
| | | interface CreateOrEditSearchInput { |
| | | id?: string; |
| | | parentId?: string; |
| | | searchType: number; |
| | | belongType?: number; |
| | | name: string; |
| | | sort: number; |
| | | status: boolean; |
| | | src?: string; |
| | | isRecommend?: boolean; |
| | | } |
| | | |
| | | interface CurrentCultureDto { |
| | |
| | | longTimePattern?: string; |
| | | } |
| | | |
| | | interface EnableSearchSettingInput { |
| | | id: string; |
| | | status: boolean; |
| | | } |
| | | |
| | | interface EntityExtensionDto { |
| | | properties?: Record<string, any>; |
| | | configuration?: Record<string, any>; |
| | |
| | | key?: string; |
| | | } |
| | | |
| | | interface FlexTaskAideDto { |
| | | id?: string; |
| | | aideType?: FlexTaskAideEnum; |
| | | name?: string; |
| | | } |
| | | |
| | | type FlexTaskAideEnum = 10 | 20; |
| | | |
| | | type FlexTaskFeeTypeEnum = 10 | 20 | 30 | 40; |
| | | |
| | | type FlexTaskReleaseStatusEnum = 10 | 20; |
| | | |
| | | type FlexTaskSettleTypeEnum = 10 | 20 | 30; |
| | | |
| | | type GenderTypeEnum = 1 | 2; |
| | | |
| | | interface GenerateUserNameInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface GetFeatureListResultDto { |
| | | groups?: FeatureGroupDto[]; |
| | | } |
| | | |
| | | interface GetFlexTaskDtoOutput { |
| | | taskId?: string; |
| | | taskName?: string; |
| | | isArrange?: boolean; |
| | | startDate?: string; |
| | | endDate?: string; |
| | | feeType?: FlexTaskFeeTypeEnum; |
| | | feeTypeName?: string; |
| | | settleType?: FlexTaskSettleTypeEnum; |
| | | settleTypeName?: string; |
| | | taskWeals?: FlexTaskAideDto[]; |
| | | taskCerts?: FlexTaskAideDto[]; |
| | | fee?: number; |
| | | provinceId?: string; |
| | | cityId?: string; |
| | | areaId?: string; |
| | | provinceName?: string; |
| | | cityName?: string; |
| | | areaName?: string; |
| | | address?: string; |
| | | creationDate?: string; |
| | | minAge?: number; |
| | | maxAge?: number; |
| | | sexType?: GenderTypeEnum; |
| | | } |
| | | |
| | | interface GetFlexTaskListByStatusInput { |
| | | pageModel?: Pagination; |
| | | releaseStatus?: FlexTaskReleaseStatusEnum; |
| | | } |
| | | |
| | | interface GetFlexTaskListInput { |
| | | pageModel?: Pagination; |
| | | /** æ¯å¦å·²å®æä»»å¡ */ |
| | | isArrange?: boolean; |
| | | /** æ¯å¦å·²éªæ¶ */ |
| | | isOverCheck?: boolean; |
| | | } |
| | | |
| | | interface GetFlexTaskListOutput { |
| | | taskId?: string; |
| | | taskName?: string; |
| | | isArrange?: boolean; |
| | | startDate?: string; |
| | | endDate?: string; |
| | | feeType?: FlexTaskFeeTypeEnum; |
| | | feeTypeName?: string; |
| | | settleType?: FlexTaskSettleTypeEnum; |
| | | settleTypeName?: string; |
| | | fee?: number; |
| | | provinceName?: string; |
| | | cityName?: string; |
| | | areaName?: string; |
| | | address?: string; |
| | | applyWorkerCount?: number; |
| | | creationDate?: string; |
| | | } |
| | | |
| | | interface GetFlexTaskListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetFlexTaskListOutput[]; |
| | | } |
| | | |
| | | interface GetPermissionListResultDto { |
| | | entityDisplayName?: string; |
| | | groups?: PermissionGroupDto[]; |
| | | } |
| | | |
| | | interface GetRolesInput { |
| | | interface GetSearchSettingList { |
| | | id?: string; |
| | | parentId?: string; |
| | | parentName?: string; |
| | | belongType?: number; |
| | | name?: string; |
| | | sort?: number; |
| | | status?: boolean; |
| | | clickCount?: number; |
| | | src?: string; |
| | | isRecommend?: boolean; |
| | | } |
| | | |
| | | interface GetSearchSettingListInput { |
| | | pageModel?: Pagination; |
| | | /** æ¥è¯¢æ¡ä»¶ï¼è§è²åç§° */ |
| | | queryCondition?: string; |
| | | searchType: number; |
| | | belongType?: number; |
| | | name?: string; |
| | | isRecommend?: boolean; |
| | | status?: boolean; |
| | | parentId?: string; |
| | | } |
| | | |
| | | interface GetSearchSettingListPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetSearchSettingList[]; |
| | | } |
| | | |
| | | interface GetTypeSearchSettingList { |
| | | id?: string; |
| | | name?: string; |
| | | src?: string; |
| | | } |
| | | |
| | | interface GetTypeSearchSettingListInput { |
| | | searchType: number; |
| | | belongType?: number; |
| | | } |
| | | |
| | | interface IanaTimeZone { |
| | |
| | | roleNames: string[]; |
| | | } |
| | | |
| | | interface ImportInsuranceOrderDataOutput { |
| | | /** æ¸ é */ |
| | | channel: string; |
| | | /** å§å */ |
| | | name: string; |
| | | /** 身份è¯å· */ |
| | | idNumber: string; |
| | | /** å·¥ç§ */ |
| | | workType: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTimeStr: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTimeStr: string; |
| | | insuranceEndTime?: string; |
| | | insuranceBeginTime?: string; |
| | | /** åä¿æºæ */ |
| | | insuredInstitution: string; |
| | | /** æä¿æ¹æ¡ */ |
| | | insuranceScheme: string; |
| | | /** å¨èæ è¯ */ |
| | | onJobFlag: string; |
| | | /** æ§å« */ |
| | | gender: string; |
| | | /** å¹´é¾ */ |
| | | ageStr: string; |
| | | age?: number; |
| | | /** èº«ä»½è¯æ ¡éªç»æ */ |
| | | idCardCheckResult: string; |
| | | /** 身份è¯é夿 ¡éªç»æ */ |
| | | idCardRepeatResult: string; |
| | | /** ä¿è´¹éé¢ */ |
| | | premiumAmountStr: string; |
| | | /** å¢åè´¹ç¨ */ |
| | | incDecAmountStr: string; |
| | | incDecAmount?: number; |
| | | premiumAmount?: number; |
| | | /** ä¸å¡ååç§° */ |
| | | salesmanName?: string; |
| | | /** ä¿åå· */ |
| | | orderNo?: string; |
| | | /** ä¿åå
³èå¯ä¸å符串 */ |
| | | orderRelevanceStr?: string; |
| | | /** ä¿åæ è¯å段 */ |
| | | orderFlagStr?: string; |
| | | /** å¼å¸¸æ¶æ¯ */ |
| | | erroMsg?: string; |
| | | } |
| | | |
| | | type InsuranceClaimAttachmentBusinessTypeEnum = 10 | 20 | 30 | 40 | 50; |
| | | |
| | | interface InsuranceClaimAttachmentOutput { |
| | | /** æä»¶åç§° */ |
| | | fileName?: string; |
| | | /** æä»¶å°å */ |
| | | url?: string; |
| | | businessType?: InsuranceClaimAttachmentBusinessTypeEnum; |
| | | } |
| | | |
| | | interface InsuranceClaimDetailOutput { |
| | | interface IdNameOutput { |
| | | id?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** 身份è¯å· */ |
| | | idNumber?: string; |
| | | /** å·¥ç§ */ |
| | | workType?: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise?: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise?: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTime?: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTime?: string; |
| | | /** åä¿æºæ */ |
| | | insuredInstitution?: string; |
| | | /** æä¿æ¹æ¡ */ |
| | | insuranceScheme?: string; |
| | | /** å¨èæ è¯ */ |
| | | onJobFlag?: string; |
| | | /** è¡å« */ |
| | | gender?: string; |
| | | /** å¹´é¾ */ |
| | | age?: number; |
| | | /** ä¿è´¹éé¢ */ |
| | | premiumAmount?: number; |
| | | /** å¢åè´¹ç¨ */ |
| | | incDecAmount?: number; |
| | | /** ä¿åid */ |
| | | insuranceOrderId?: string; |
| | | /** æ¥æ¡æ¶é´ */ |
| | | reportedTime?: string; |
| | | /** èç³»çµè¯ */ |
| | | contactNumber?: string; |
| | | /** å¤ç¨èç³»çµè¯ */ |
| | | bakContactNumber?: string; |
| | | /** äºæ
ç±»å */ |
| | | accidentType?: string; |
| | | /** äºæ
åçæ¶é´ */ |
| | | accidentTime?: string; |
| | | /** ä¼¤æ®æ¯ä¾ */ |
| | | disabilityRatio?: number; |
| | | /** äºåå°ç¹ */ |
| | | accidentAddress?: string; |
| | | /** äºæ
ç»è¿ */ |
| | | accidentProcess?: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | /** 䏿¬¾éé¢ */ |
| | | downPaymentAmount?: number; |
| | | /** çèµç»ææ¶é´ */ |
| | | claimResultTime?: string; |
| | | /** éä»¶éå */ |
| | | attachments?: InsuranceClaimAttachmentOutput[]; |
| | | } |
| | | |
| | | interface InsuranceClaimListOutput { |
| | | id?: string; |
| | | /** 身份è¯å· */ |
| | | idNumber?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** æ¥æ¡æ¶é´ */ |
| | | reportedTime?: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTime?: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTime?: string; |
| | | /** äºæ
ç±»å */ |
| | | accidentType?: string; |
| | | /** äºæ
åçæ¶é´ */ |
| | | accidentTime?: string; |
| | | /** ä¼¤æ®æ¯ä¾ */ |
| | | disabilityRatio?: number; |
| | | /** çèµæ¸ é */ |
| | | claimChannel?: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | /** 䏿¬¾éé¢ */ |
| | | downPaymentAmount?: number; |
| | | /** çèµç»ææ¶é´ */ |
| | | claimResultTime?: string; |
| | | /** ä¿åid */ |
| | | insuranceOrderId?: string; |
| | | } |
| | | |
| | | interface InsuranceClaimListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: InsuranceClaimListOutput[]; |
| | | } |
| | | |
| | | type InsuranceClaimResultEnum = 10 | 20 | 30; |
| | | |
| | | interface InsuranceClaimYearMonthCountListOutput { |
| | | year?: number; |
| | | month?: number; |
| | | count?: number; |
| | | } |
| | | |
| | | interface InsuranceOrderListOutput { |
| | | id?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** 身份è¯å· */ |
| | | idNumber?: string; |
| | | /** å·¥ç§ */ |
| | | workType?: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise?: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise?: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTime?: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTime?: string; |
| | | /** åä¿æºæ */ |
| | | insuredInstitution?: string; |
| | | /** æä¿æ¹æ¡ */ |
| | | insuranceScheme?: string; |
| | | /** å¨èæ è¯ */ |
| | | onJobFlag?: string; |
| | | /** æ§å« */ |
| | | gender?: string; |
| | | /** å¹´é¾ */ |
| | | age?: number; |
| | | /** èº«ä»½è¯æ ¡éªç»æ */ |
| | | idCardCheckResult?: string; |
| | | /** 身份è¯é夿 ¡éªç»æ */ |
| | | idCardRepeatResult?: string; |
| | | /** ä¿è´¹éé¢ */ |
| | | premiumAmount?: number; |
| | | /** å¢åè´¹ç¨ */ |
| | | incDecAmount?: number; |
| | | /** 导å
¥æ¸ é */ |
| | | importChannel?: string; |
| | | /** 导å
¥æ¥æ */ |
| | | createTime?: string; |
| | | isIndustrialInjury?: string; |
| | | /** å建人 */ |
| | | creatorId?: string; |
| | | /** ä¸å¡ååç§° */ |
| | | salesmanName?: string; |
| | | /** ä¿åå· */ |
| | | orderNo?: string; |
| | | /** ä¿åå
³èå¯ä¸å符串 */ |
| | | orderRelevanceStr?: string; |
| | | } |
| | | |
| | | interface InsuranceOrderListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: InsuranceOrderListOutput[]; |
| | | } |
| | | |
| | | interface InsuranceOrderMaterialListOutput { |
| | | id?: string; |
| | | /** æä»¶å°å */ |
| | | url?: string; |
| | | /** ææåç§° */ |
| | | materialName?: string; |
| | | } |
| | | |
| | | interface IStringValueType { |
| | |
| | | flagIcon?: string; |
| | | } |
| | | |
| | | interface LicenseOcrModel { |
| | | name?: string; |
| | | cardNum?: string; |
| | | address?: string; |
| | | type?: string; |
| | | dateFrom?: string; |
| | | dateTo?: string; |
| | | societyCode?: string; |
| | | registerMoney?: string; |
| | | businessRange?: string; |
| | | legalPerson?: string; |
| | | } |
| | | |
| | | interface LocalizableStringDto { |
| | | name?: string; |
| | | resource?: string; |
| | |
| | | sequence?: number; |
| | | } |
| | | |
| | | interface MyResumeOutput { |
| | | resumeBaseInfo?: UserResumeBaseInfoOutput; |
| | | resumeExpectationJob?: UserResumeExpectationJobOutput; |
| | | } |
| | | |
| | | interface NameValue { |
| | | name?: string; |
| | | value?: string; |
| | |
| | | } |
| | | |
| | | interface PasswordLoginInput { |
| | | /** è´¦å· */ |
| | | /** ç»å½å */ |
| | | loginName: string; |
| | | /** ç»å½å¯ç */ |
| | | password: string; |
| | |
| | | permissions?: PermissionGrantInfoDto[]; |
| | | } |
| | | |
| | | interface PhoneMesssageCodeLoginInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | /** éªè¯ç */ |
| | | code: string; |
| | | type?: UserTypeEnum; |
| | | } |
| | | |
| | | interface PhoneMesssageCodeRegisterInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | /** éªè¯ç */ |
| | | code: string; |
| | | type?: UserTypeEnum; |
| | | } |
| | | |
| | | interface PhoneToken { |
| | | phone?: string; |
| | | phoneCode?: string; |
| | |
| | | providerKey?: string; |
| | | } |
| | | |
| | | interface QueryInsuranceClaimCountInput { |
| | | year?: number; |
| | | month?: number; |
| | | /** çèµæ¸ é */ |
| | | claimChannel?: string; |
| | | } |
| | | |
| | | interface QueryInsuranceClaimPageInput { |
| | | pageModel?: Pagination; |
| | | /** çèµæ¸ é */ |
| | | claimChannel?: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise?: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise?: string; |
| | | /** 身份è¯å· */ |
| | | idNumber?: string; |
| | | } |
| | | |
| | | interface QueryInsuranceOrderListByOrderRelevanceInput { |
| | | idIdNumber?: string; |
| | | reportedTime?: string; |
| | | } |
| | | |
| | | interface QueryInsuranceOrderPageInput { |
| | | pageModel?: Pagination; |
| | | beginCreationTime?: string; |
| | | endCreationTime?: string; |
| | | importChannel?: string; |
| | | } |
| | | |
| | | interface QueryUserPageInput { |
| | | pageModel?: Pagination; |
| | | searchKey?: string; |
| | | interface QrCodeLogin { |
| | | /** æ«ç ç»å½Id */ |
| | | uId?: string; |
| | | /** äºç»´ç å°å */ |
| | | url?: string; |
| | | } |
| | | |
| | | interface RegisterDto { |
| | |
| | | members?: string[]; |
| | | } |
| | | |
| | | interface ResetPasswordBaseInput { |
| | | userId?: string; |
| | | } |
| | | |
| | | interface ResetPasswordDto { |
| | | userId?: string; |
| | | resetToken: string; |
| | |
| | | typeSimple?: string; |
| | | } |
| | | |
| | | interface RoleEnableOrForbidInput { |
| | | /** è§è²Id */ |
| | | id?: string; |
| | | /** å¯ç¨ï¼trueï¼ç¦ç¨ï¼false */ |
| | | isEnable?: boolean; |
| | | } |
| | | |
| | | interface RoleInfo { |
| | | /** è§è²Id */ |
| | | id?: string; |
| | | /** åç§° */ |
| | | interface SaveUserResumeBaseInfoInput { |
| | | name?: string; |
| | | /** æåº */ |
| | | sequence?: number; |
| | | /** æ¯å¦å¯ç¨ */ |
| | | isEnable?: boolean; |
| | | /** é¨é¨Id */ |
| | | departmentId?: number; |
| | | /** æ°æ®èå´ å
¨é¨æ°æ®ï¼100 ä¸ªäººæ°æ®ï¼10 */ |
| | | dataRange?: number; |
| | | /** è´¦å·æ°é */ |
| | | userCount?: number; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | socialIdentity?: string; |
| | | educationalLevel?: string; |
| | | residentProvinceCode?: number; |
| | | residentCityCode?: number; |
| | | residentProvinceName?: string; |
| | | residentCityName?: string; |
| | | } |
| | | |
| | | interface RoleInfoPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: RoleInfo[]; |
| | | interface SaveUserResumeCertificateInput { |
| | | id?: string; |
| | | certificateTypeId?: string; |
| | | certificateNo?: string; |
| | | beginTime?: string; |
| | | endTime?: string; |
| | | isPermanent?: boolean; |
| | | certificateUnit?: string; |
| | | certificateFrontImgUrl?: string; |
| | | certificateBackImgUrl?: string; |
| | | } |
| | | |
| | | interface SaveUserResumeDetailInfoInput { |
| | | lifeCircleImgUrlList?: string[]; |
| | | height?: string; |
| | | weight?: string; |
| | | } |
| | | |
| | | interface SaveUserResumeExpectationJobInput { |
| | | jobIdList?: string[]; |
| | | freeTime?: UserResumeFreeTimeEnum; |
| | | jobSeekingStatus?: UserResumeJobSeekingStatusEnum; |
| | | } |
| | | |
| | | interface SaveUserResumeWorkExperienceInput { |
| | | workingSeniority?: string; |
| | | workExperience?: string; |
| | | } |
| | | |
| | | interface SearchConditionList { |
| | | searchType?: number; |
| | | belongType?: number; |
| | | conditionList?: ConditionInfo[]; |
| | | } |
| | | |
| | | interface SendPasswordResetCodeDto { |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface SendPhoneMesssageCodeInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface SendPhoneVerificationCodeByBusinessTypeInput { |
| | | /** ææºå· */ |
| | | phoneNumber: string; |
| | | businessType?: VerificationCodeBusinessTypeEnum; |
| | | } |
| | | |
| | | interface SetMyModule { |
| | | moduleId?: string; |
| | | sequence?: number; |
| | |
| | | moduleIds?: SetMyModule[]; |
| | | } |
| | | |
| | | interface SetPreViewCacheInput { |
| | | preViewData?: string; |
| | | } |
| | | |
| | | interface SetRoleUserInput { |
| | | userId?: string[]; |
| | | roleId?: string; |
| | |
| | | properties?: PropertyApiDescriptionModel[]; |
| | | } |
| | | |
| | | interface UpdateAccountInput { |
| | | id?: string; |
| | | /** åç§° */ |
| | | name?: string; |
| | | /** ç¨æ·å */ |
| | | userName: string; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | /** å¯ç */ |
| | | password?: string; |
| | | /** ææºå· */ |
| | | phoneNumber?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** è§è² */ |
| | | roleNames?: string[]; |
| | | interface UnbindingUserPhoneNumber { |
| | | userId?: string; |
| | | } |
| | | |
| | | interface UpdateFeatureDto { |
| | |
| | | features?: UpdateFeatureDto[]; |
| | | } |
| | | |
| | | interface UpdateInsuranceClaimInput { |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** å§å */ |
| | | name: string; |
| | | /** 身份è¯å· */ |
| | | idNumber: string; |
| | | /** å·¥ç§ */ |
| | | workType: string; |
| | | /** å³å¨åååä½ */ |
| | | laborContractEnterprise: string; |
| | | /** å®é
å·¥ä½åä½ */ |
| | | workEnterprise: string; |
| | | /** ä¿é©èµ·å§æ¶é´ */ |
| | | insuranceBeginTime: string; |
| | | /** ä¿é©ç»ææ¶é´ */ |
| | | insuranceEndTime: string; |
| | | /** åä¿æºæ */ |
| | | insuredInstitution: string; |
| | | /** æä¿æ¹æ¡ */ |
| | | insuranceScheme: string; |
| | | /** å¨èæ è¯ */ |
| | | onJobFlag?: string; |
| | | /** æ§å« */ |
| | | gender?: string; |
| | | /** å¹´é¾ */ |
| | | age?: number; |
| | | /** ä¿è´¹éé¢ */ |
| | | premiumAmount?: number; |
| | | /** å¢åè´¹ç¨ */ |
| | | incDecAmount?: number; |
| | | /** ä¿åid */ |
| | | insuranceOrderId?: string; |
| | | /** æ¥æ¡æ¶é´ */ |
| | | reportedTime: string; |
| | | /** èç³»çµè¯ */ |
| | | contactNumber: string; |
| | | /** å¤ç¨èç³»çµè¯ */ |
| | | bakContactNumber?: string; |
| | | /** äºæ
ç±»å */ |
| | | accidentType: string; |
| | | /** äºæ
åçæ¶é´ */ |
| | | accidentTime: string; |
| | | /** ä¼¤æ®æ¯ä¾ */ |
| | | disabilityRatio?: number; |
| | | /** äºåå°ç¹ */ |
| | | accidentAddress: string; |
| | | /** äºæ
ç»è¿ */ |
| | | accidentProcess: string; |
| | | claimResult?: InsuranceClaimResultEnum; |
| | | /** 䏿¬¾éé¢ */ |
| | | downPaymentAmount?: number; |
| | | /** çèµç»ææ¶é´ */ |
| | | claimResultTime?: string; |
| | | /** éä»¶éå */ |
| | | attachments?: AddInsuranceClaimAttachmentInput[]; |
| | | id?: string; |
| | | } |
| | | |
| | | interface UpdatePassWordInput { |
| | | id?: string; |
| | | passWord?: string; |
| | |
| | | phoneNumber?: string; |
| | | } |
| | | |
| | | interface UpdateTaskReleaseStatusInput { |
| | | taskId?: string; |
| | | releaseStatus?: FlexTaskReleaseStatusEnum; |
| | | } |
| | | |
| | | interface UserData { |
| | | id?: string; |
| | | tenantId?: string; |
| | |
| | | items?: UserData[]; |
| | | } |
| | | |
| | | interface UserDetailOutput { |
| | | id?: string; |
| | | /** åç§° */ |
| | | interface UserResumeBaseInfoOutput { |
| | | name?: string; |
| | | /** ç¨æ·å */ |
| | | userName?: string; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | /** ææºå· */ |
| | | phoneNumber?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** ç¨æ·ç«¯Id */ |
| | | clientId?: string; |
| | | /** è§è² */ |
| | | roleNames?: string[]; |
| | | socialIdentity?: string; |
| | | socialIdentityName?: string; |
| | | educationalLevel?: string; |
| | | educationalLevelName?: string; |
| | | residentProvinceCode?: number; |
| | | residentCityCode?: number; |
| | | residentProvinceName?: string; |
| | | residentCityName?: string; |
| | | } |
| | | |
| | | interface UserListOutput { |
| | | interface UserResumeCertificateDetailOutput { |
| | | id?: string; |
| | | /** åç§° */ |
| | | name?: string; |
| | | /** ç¨æ·å */ |
| | | userName?: string; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | /** ææºå· */ |
| | | phoneNumber?: string; |
| | | /** æ¸ é */ |
| | | channel?: string; |
| | | /** ç¨æ·ç«¯Id */ |
| | | clientId?: string; |
| | | /** è§è² */ |
| | | roleNames?: string[]; |
| | | userResumeId?: string; |
| | | certificateTypeId?: string; |
| | | certificateNo?: string; |
| | | beginTime?: string; |
| | | endTime?: string; |
| | | isPermanent?: boolean; |
| | | certificateUnit?: string; |
| | | certificateFrontImgUrl?: string; |
| | | certificateBackImgUrl?: string; |
| | | } |
| | | |
| | | interface UserListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: UserListOutput[]; |
| | | interface UserResumeCertificateListOutput { |
| | | id?: string; |
| | | certificateTypeId?: string; |
| | | certificateTypeName?: string; |
| | | userResumeId?: string; |
| | | } |
| | | |
| | | interface UserResumeDetailInfoOutput { |
| | | height?: string; |
| | | weight?: string; |
| | | lifeCircleImgUrlList?: string[]; |
| | | } |
| | | |
| | | interface UserResumeExpectationJobOutput { |
| | | jobIdList?: IdNameOutput[]; |
| | | freeTime?: UserResumeFreeTimeEnum; |
| | | jobSeekingStatus?: UserResumeJobSeekingStatusEnum; |
| | | } |
| | | |
| | | type UserResumeFreeTimeEnum = 1 | 2 | 3 | 4 | 5; |
| | | |
| | | type UserResumeJobSeekingStatusEnum = 1 | 2 | 3; |
| | | |
| | | interface UserResumeWorkExperienceOutput { |
| | | workingSeniority?: string; |
| | | workExperience?: string; |
| | | } |
| | | |
| | | type UserTypeEnum = 1 | 2; |
| | | |
| | | type VerificationCodeBusinessTypeEnum = 10 | 11 | 20 | 30 | 40 | 70 | 900 | 910 | 920; |
| | | |
| | | interface VersionCache { |
| | | name?: string; |
| | | departmentCount?: number; |
| | |
| | | interface WindowsTimeZone { |
| | | timeZoneId?: string; |
| | | } |
| | | |
| | | type WxMiniAppEnum = 10; |
| | | |
| | | interface WxMiniAppIndentityInfo { |
| | | /** ä¼è¯å¯é¥ */ |
| | | sessionKey?: string; |
| | | /** å°ç¨åºOpenId */ |
| | | openId?: string; |
| | | /** ç¨æ·åï¼è¯¥å¼ä¸ºç©ºåéææºææç»å½ï¼ä¸ä¸ºç©ºåå·²æè¯¥å°ç¨åºç¨æ·ï¼ */ |
| | | userName?: string; |
| | | } |
| | | |
| | | interface WxMiniAppLoginInfo { |
| | | /** ç¶æï¼-10ï¼äºç»´ç è¿æ/ç»å½æ¶æè¿æï¼0ï¼ç»å½åå§/äºç»´ç åçæï¼10ï¼ç»å½ç¡®è®¤ */ |
| | | status?: number; |
| | | /** ç¨æ·å */ |
| | | userName?: string; |
| | | accessToken?: IdentityModelTokenCacheItem; |
| | | } |
| | | |
| | | interface WxMiniAppPhoneAuthLoginFromScanInput { |
| | | /** ï¼æ«ç ï¼ç»å½Id */ |
| | | uId: string; |
| | | /** å
æ¬æææ°æ®å¨å
ç宿´ç¨æ·ä¿¡æ¯çå 坿°æ® */ |
| | | encryptedData: string; |
| | | /** å å¯ç®æ³çåå§åé */ |
| | | iv: string; |
| | | /** è·åä¼è¯å¯é¥ */ |
| | | sessionKey: string; |
| | | /** å°ç¨åºOpenId */ |
| | | openId: string; |
| | | wxMiniApp?: WxMiniAppEnum; |
| | | } |
| | | |
| | | interface WxMiniAppPhoneLoginInput { |
| | | /** å
æ¬æææ°æ®å¨å
ç宿´ç¨æ·ä¿¡æ¯çå 坿°æ® */ |
| | | encryptedData: string; |
| | | /** å å¯ç®æ³çåå§åé */ |
| | | iv: string; |
| | | /** è·åä¼è¯å¯é¥ */ |
| | | sessionKey: string; |
| | | /** å°ç¨åºOpenId */ |
| | | openId: string; |
| | | wxMiniApp?: WxMiniAppEnum; |
| | | } |
| | | |
| | | interface WxMiniAppUserLoginFromScanInput { |
| | | /** ï¼æ«ç ï¼ç»å½Id */ |
| | | uId: string; |
| | | /** ç¨æ·å */ |
| | | userName: string; |
| | | /** å°ç¨åºOpenId */ |
| | | openId: string; |
| | | } |
| | | } |
| | |
| | | import { resetRouter, router } from '@/router'; |
| | | import { useTagsViewStoreHook } from './tagsView'; |
| | | import * as accountServices from '@/services/api/Account'; |
| | | import * as userServices from '@/services/api/User'; |
| | | import { usePermissionStoreHook } from './permission'; |
| | | import { getAccountInfoFromAccessToken, AccountInfo } from '@bole-core/core'; |
| | | import { useClearSubModule } from '@/hooks'; |
| | |
| | | // ç¨æ·ç»å
¥ |
| | | loginByUsername(data: API.AccessRequestDto) { |
| | | return new Promise<void>((resolve, reject) => { |
| | | userServices |
| | | accountServices |
| | | .getTokenForWeb(data, { showLoading: false }) |
| | | .then((res) => { |
| | | if (res) { |
| | |
| | | import { BoleOss } from '@bole-core/core'; |
| | | import { loadEnv } from '@build/index'; |
| | | import AliOSS from 'ali-oss'; |
| | | import * as userServices from '@/services/api/User'; |
| | | import * as accountServices from '@/services/api/Account'; |
| | | |
| | | export class OssManager { |
| | | private static OssInstance: BoleOss; |
| | | |
| | | private static async getOssSTS() { |
| | | return await userServices.getOssSTS({ |
| | | return await accountServices.getOssSTS({ |
| | | showLoading: false, |
| | | }); |
| | | } |
| | |
| | | useFormDialog, |
| | | } from '@bole-core/components'; |
| | | import { useAccess } from '@/hooks'; |
| | | import * as userServices from '@/services/api/User'; |
| | | // import * as userServices from '@/services/api/User'; |
| | | import { RoleClientType } from '@/constants'; |
| | | import { Message, OrderInputType } from '@bole-core/core'; |
| | | import AddOrEditAccountDialog from './components/AddOrEditAccountDialog.vue'; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.QueryUserPageInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | searchKey: extraParamState.keyword, |
| | | }; |
| | | let res = await userServices.getUserPage(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | | // let params: API.QueryUserPageInput = { |
| | | // pageModel: { |
| | | // rows: pageSize, |
| | | // page: pageIndex, |
| | | // orderInput: extraParamState.orderInput, |
| | | // }, |
| | | // searchKey: extraParamState.keyword, |
| | | // }; |
| | | // let res = await userServices.getUserPage(params, { |
| | | // showLoading: !state.loading, |
| | | // }); |
| | | // return res; |
| | | return {}; |
| | | } catch (error) {} |
| | | }, |
| | | { |
| | |
| | | async function handleAddOrEdit() { |
| | | try { |
| | | let isEdit = !!editForm.id; |
| | | let params: API.CreateAccountInput = { |
| | | name: editForm.name, |
| | | userName: editForm.userName, |
| | | remark: editForm.remark, |
| | | password: editForm.password, |
| | | phoneNumber: editForm.phoneNumber, |
| | | channel: editForm.channel, |
| | | // clientId: RoleClientType.RoleBackendClientId, |
| | | roleNames: [editForm.roleName], |
| | | }; |
| | | let res; |
| | | if (isEdit) { |
| | | (params as API.UpdateAccountInput).id = editForm.id; |
| | | res = await userServices.updateAccount(params); |
| | | } else { |
| | | res = await userServices.createAccount(params); |
| | | } |
| | | if (res) { |
| | | Message.successMessage('æä½æå'); |
| | | getList(isEdit ? paginationState.pageIndex : 1); |
| | | } |
| | | // let params: API.CreateAccountInput = { |
| | | // name: editForm.name, |
| | | // userName: editForm.userName, |
| | | // remark: editForm.remark, |
| | | // password: editForm.password, |
| | | // phoneNumber: editForm.phoneNumber, |
| | | // channel: editForm.channel, |
| | | // // clientId: RoleClientType.RoleBackendClientId, |
| | | // roleNames: [editForm.roleName], |
| | | // }; |
| | | // let res; |
| | | // if (isEdit) { |
| | | // (params as API.UpdateAccountInput).id = editForm.id; |
| | | // res = await userServices.updateAccount(params); |
| | | // } else { |
| | | // res = await userServices.createAccount(params); |
| | | // } |
| | | // if (res) { |
| | | // Message.successMessage('æä½æå'); |
| | | // getList(isEdit ? paginationState.pageIndex : 1); |
| | | // } |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | |
| | | useFormDialog, |
| | | } from '@bole-core/components'; |
| | | import { useAccess, useAllRoleList } from '@/hooks'; |
| | | import * as userServices from '@/services/api/User'; |
| | | // import * as userServices from '@/services/api/User'; |
| | | import { Message, OrderInputType } from '@bole-core/core'; |
| | | import AddOrEditRoleDialog from './components/AddOrEditRoleDialog.vue'; |
| | | import { DataRangeEnum, DataRangeEnumText } from '@/constants'; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetRolesInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: [{ property: 'sequence', order: OrderInputType.Asc }], |
| | | }, |
| | | queryCondition: extraParamState.queryCondition, |
| | | }; |
| | | let res = await userServices.getRoles(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return { |
| | | data: res.data, |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | totalCount: res.pageModel.totalCount, |
| | | }, |
| | | }; |
| | | // let params: API.GetRolesInput = { |
| | | // pageModel: { |
| | | // rows: pageSize, |
| | | // page: pageIndex, |
| | | // orderInput: [{ property: 'sequence', order: OrderInputType.Asc }], |
| | | // }, |
| | | // queryCondition: extraParamState.queryCondition, |
| | | // }; |
| | | // let res = await userServices.getRoles(params, { |
| | | // showLoading: !state.loading, |
| | | // }); |
| | | // return { |
| | | // data: res.data, |
| | | // pageModel: { |
| | | // rows: pageSize, |
| | | // page: pageIndex, |
| | | // totalCount: res.pageModel.totalCount, |
| | | // }, |
| | | // }; |
| | | return {}; |
| | | } catch (error) {} |
| | | }, |
| | | { |
| | |
| | | async function handleAddOrEdit() { |
| | | try { |
| | | const isEdit = editForm.id; |
| | | let params: API.CreateOrUpdateRoleInput = { |
| | | name: editForm.name, |
| | | remark: editForm.remark, |
| | | dataRange: editForm.dataRange, |
| | | }; |
| | | let res; |
| | | if (isEdit) { |
| | | params.id = editForm.id; |
| | | res = await userServices.updateRole(params); |
| | | } else { |
| | | res = await userServices.createRole(params); |
| | | } |
| | | if (res) { |
| | | Message.successMessage('æä½æå'); |
| | | getList(isEdit ? paginationState.pageIndex : 1); |
| | | refetch({ type: 'inactive' }); |
| | | } |
| | | // let params: API.CreateOrUpdateRoleInput = { |
| | | // name: editForm.name, |
| | | // remark: editForm.remark, |
| | | // dataRange: editForm.dataRange, |
| | | // }; |
| | | // let res; |
| | | // if (isEdit) { |
| | | // params.id = editForm.id; |
| | | // res = await userServices.updateRole(params); |
| | | // } else { |
| | | // res = await userServices.createRole(params); |
| | | // } |
| | | // if (res) { |
| | | // Message.successMessage('æä½æå'); |
| | | // getList(isEdit ? paginationState.pageIndex : 1); |
| | | // refetch({ type: 'inactive' }); |
| | | // } |
| | | } catch (error) {} |
| | | } |
| | | |
| | | async function handleDeleteRole(row: API.RoleInfo) { |
| | | try { |
| | | await Message.deleteMessage(); |
| | | let params = { |
| | | id: row.id, |
| | | }; |
| | | let res = await userServices.deleteRole(params); |
| | | if (res) { |
| | | Message.successMessage('æä½æå'); |
| | | getList(paginationState.pageIndex); |
| | | refetch({ type: 'inactive' }); |
| | | } |
| | | // await Message.deleteMessage(); |
| | | // let params = { |
| | | // id: row.id, |
| | | // }; |
| | | // let res = await userServices.deleteRole(params); |
| | | // if (res) { |
| | | // Message.successMessage('æä½æå'); |
| | | // getList(paginationState.pageIndex); |
| | | // refetch({ type: 'inactive' }); |
| | | // } |
| | | } catch (error) {} |
| | | } |
| | | |
| | | async function roleEnableOrForbid(row: API.RoleInfo) { |
| | | try { |
| | | await Message.tipMessage(`æ¯å¦${!row.isEnable ? 'å¯ç¨' : 'ç¦ç¨'}è§è²`); |
| | | let res = await userServices.roleEnableOrForbid({ |
| | | id: row.id, |
| | | isEnable: !row.isEnable, |
| | | }); |
| | | if (res) { |
| | | Message.successMessage('æä½æå'); |
| | | getList(paginationState.pageIndex); |
| | | refetch({ type: 'inactive' }); |
| | | return !!res; |
| | | } |
| | | // await Message.tipMessage(`æ¯å¦${!row.isEnable ? 'å¯ç¨' : 'ç¦ç¨'}è§è²`); |
| | | // let res = await userServices.roleEnableOrForbid({ |
| | | // id: row.id, |
| | | // isEnable: !row.isEnable, |
| | | // }); |
| | | // if (res) { |
| | | // Message.successMessage('æä½æå'); |
| | | // getList(paginationState.pageIndex); |
| | | // refetch({ type: 'inactive' }); |
| | | // return !!res; |
| | | // } |
| | | } catch (error) {} |
| | | } |
| | | |