From 9402749e7e8bd7d7be88084a55323c748ea02cc6 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 17 二月 2025 14:45:50 +0800
Subject: [PATCH] feat: api
---
src/views/Permission/RoleManage.vue | 117 +-
config/openapi.json | 2
src/services/api/Common.ts | 45 +
src/services/api/FlexWorker.ts | 105 ++
src/hooks/useUser.ts | 25
src/services/api/typings.d.ts | 984 ++++++++++++--------------
src/utils/oss/index.ts | 4
src/store/modules/user.ts | 3
.env.development | 4
/dev/null | 160 ----
src/services/api/index.ts | 14
src/services/api/SearchSetting.ts | 86 ++
src/services/api/Account.ts | 394 ++++++++++
src/services/api/UserResume.ts | 134 +++
src/views/Account/AccountManageList.vue | 69
15 files changed, 1,342 insertions(+), 804 deletions(-)
diff --git a/.env.development b/.env.development
index eeaaa71..e5b43b1 100644
--- a/.env.development
+++ b/.env.development
@@ -1,5 +1,5 @@
# 椤圭洰鏈湴杩愯绔彛鍙�
-VITE_PORT = 8388
+VITE_PORT = 8188
# 寮�鍙戠幆澧冭鍙栭厤缃枃浠惰矾寰�
VITE_PUBLIC_PATH = /
@@ -22,4 +22,4 @@
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"
diff --git a/config/openapi.json b/config/openapi.json
index f3cf91c..821b74c 100644
--- a/config/openapi.json
+++ b/config/openapi.json
@@ -2,7 +2,7 @@
"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"
}
]
diff --git a/src/hooks/useUser.ts b/src/hooks/useUser.ts
index d522656..fafac84 100644
--- a/src/hooks/useUser.ts
+++ b/src/hooks/useUser.ts
@@ -1,7 +1,6 @@
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() {
@@ -23,17 +22,21 @@
}
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: () => {},
};
}
diff --git a/src/services/api/Account.ts b/src/services/api/Account.ts
index c72e047..fe200c0 100644
--- a/src/services/api/Account.ts
+++ b/src/services/api/Account.ts
@@ -2,6 +2,400 @@
// @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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}),
+ });
+}
+
+/** 瑙g粦鐢ㄦ埛鎵嬫満鍙� 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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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', {
diff --git a/src/services/api/Common.ts b/src/services/api/Common.ts
new file mode 100644
index 0000000..93aa15e
--- /dev/null
+++ b/src/services/api/Common.ts
@@ -0,0 +1,45 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鑾峰彇棰勮鏁版嵁 GET /api/Common/GetPreViewCache */
+export async function getPreViewCache(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}),
+ });
+}
diff --git a/src/services/api/FlexWorker.ts b/src/services/api/FlexWorker.ts
new file mode 100644
index 0000000..8124d65
--- /dev/null
+++ b/src/services/api/FlexWorker.ts
@@ -0,0 +1,105 @@
+/* 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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}),
+ });
+}
diff --git a/src/services/api/InsuranceClaim.ts b/src/services/api/InsuranceClaim.ts
deleted file mode 100644
index 889fe08..0000000
--- a/src/services/api/InsuranceClaim.ts
+++ /dev/null
@@ -1,155 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鏂板淇濋櫓鐞嗚禂 POST /api/InsuranceClaim/AddInsuranceClaim */
-export async function addInsuranceClaim(
- body: API.AddInsuranceClaimInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/InsuranceClaim/AddInsuranceClaim', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瀵煎嚭淇濋櫓鐞嗚禂鍒楄〃 POST /api/InsuranceClaim/ExportInsuranceClaimList */
-export async function exportInsuranceClaimList(
- body: API.QueryInsuranceClaimPageInput,
- options?: API.RequestConfig
-) {
- return request<any>('/api/InsuranceClaim/ExportInsuranceClaimList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂闄勪欢url闆嗗悎 POST /api/InsuranceClaim/GetInsuranceClaimAttachmentUrlList */
-export async function getInsuranceClaimAttachmentUrlList(
- body: API.QueryInsuranceClaimPageInput,
- options?: API.RequestConfig
-) {
- return request<string[]>('/api/InsuranceClaim/GetInsuranceClaimAttachmentUrlList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂娓犻亾鍒楄〃 GET /api/InsuranceClaim/GetInsuranceClaimChannelList */
-export async function getInsuranceClaimChannelList(options?: API.RequestConfig) {
- return request<string[]>('/api/InsuranceClaim/GetInsuranceClaimChannelList', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂缁熻鏁伴噺 POST /api/InsuranceClaim/GetInsuranceClaimCount */
-export async function getInsuranceClaimCount(
- body: API.QueryInsuranceClaimCountInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/InsuranceClaim/GetInsuranceClaimCount', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂璇︽儏 GET /api/InsuranceClaim/GetInsuranceClaimDetail */
-export async function getInsuranceClaimDetail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetInsuranceClaimDetailParams,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceClaimDetailOutput>('/api/InsuranceClaim/GetInsuranceClaimDetail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁淇濆崟id鑾峰彇淇濋櫓鐞嗚禂璇︽儏 GET /api/InsuranceClaim/GetInsuranceClaimDetailByOrderId */
-export async function getInsuranceClaimDetailByOrderId(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetInsuranceClaimDetailByOrderIdParams,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceClaimDetailOutput>(
- '/api/InsuranceClaim/GetInsuranceClaimDetailByOrderId',
- {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂鍒嗛〉鍒楄〃 POST /api/InsuranceClaim/GetInsuranceClaimPage */
-export async function getInsuranceClaimPage(
- body: API.QueryInsuranceClaimPageInput,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceClaimListOutputPageOutput>(
- '/api/InsuranceClaim/GetInsuranceClaimPage',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇淇濋櫓鐞嗚禂骞存湀鏁伴噺缁熻鍒楄〃 GET /api/InsuranceClaim/GetInsuranceClaimYearMonthCountList */
-export async function getInsuranceClaimYearMonthCountList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetInsuranceClaimYearMonthCountListParams,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceClaimYearMonthCountListOutput[]>(
- '/api/InsuranceClaim/GetInsuranceClaimYearMonthCountList',
- {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- }
- );
-}
-
-/** 鏇存柊淇濋櫓鐞嗚禂 POST /api/InsuranceClaim/UpdateInsuranceClaim */
-export async function updateInsuranceClaim(
- body: API.UpdateInsuranceClaimInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/InsuranceClaim/UpdateInsuranceClaim', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/InsuranceOrder.ts b/src/services/api/InsuranceOrder.ts
deleted file mode 100644
index 822cf42..0000000
--- a/src/services/api/InsuranceOrder.ts
+++ /dev/null
@@ -1,129 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 娣诲姞淇濆崟鏉愭枡 POST /api/InsuranceOrder/AddInsuranceOrderMaterial */
-export async function addInsuranceOrderMaterial(
- body: API.AddInsuranceOrderMaterialInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/InsuranceOrder/AddInsuranceOrderMaterial', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鍒犻櫎淇濆崟鏉愭枡 POST /api/InsuranceOrder/DeleteInsuranceOrderMaterial */
-export async function deleteInsuranceOrderMaterial(body: string, options?: API.RequestConfig) {
- return request<number>('/api/InsuranceOrder/DeleteInsuranceOrderMaterial', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瀵煎嚭淇濆崟鍒楄〃 POST /api/InsuranceOrder/ExportInsuranceOrderList */
-export async function exportInsuranceOrderList(
- body: API.QueryInsuranceOrderPageInput,
- options?: API.RequestConfig
-) {
- return request<any>('/api/InsuranceOrder/ExportInsuranceOrderList', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇淇濆崟璇︽儏 GET /api/InsuranceOrder/GetInsuranceOrderDetail */
-export async function getInsuranceOrderDetail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetInsuranceOrderDetailParams,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceOrderListOutput>('/api/InsuranceOrder/GetInsuranceOrderDetail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鏍规嵁鏍囪瘑鏌ヨ鐩稿叧淇濆崟鍒楄〃 POST /api/InsuranceOrder/GetInsuranceOrderListByOrderRelevance */
-export async function getInsuranceOrderListByOrderRelevance(
- body: API.QueryInsuranceOrderListByOrderRelevanceInput,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceOrderListOutput[]>(
- '/api/InsuranceOrder/GetInsuranceOrderListByOrderRelevance',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇淇濆崟鏉愭枡 GET /api/InsuranceOrder/GetInsuranceOrderMaterialList */
-export async function getInsuranceOrderMaterialList(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetInsuranceOrderMaterialListParams,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceOrderMaterialListOutput[]>(
- '/api/InsuranceOrder/GetInsuranceOrderMaterialList',
- {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- }
- );
-}
-
-/** 鑾峰彇淇濆崟鍒嗛〉鍒楄〃 POST /api/InsuranceOrder/GetInsuranceOrderPage */
-export async function getInsuranceOrderPage(
- body: API.QueryInsuranceOrderPageInput,
- options?: API.RequestConfig
-) {
- return request<API.InsuranceOrderListOutputPageOutput>(
- '/api/InsuranceOrder/GetInsuranceOrderPage',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
-
-/** 瀵煎叆淇濆崟鏁版嵁 POST /api/InsuranceOrder/ImportInsuranceOrderData */
-export async function importInsuranceOrderData(body: string, options?: API.RequestConfig) {
- return request<API.ImportInsuranceOrderDataOutput[]>(
- '/api/InsuranceOrder/ImportInsuranceOrderData',
- {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- }
- );
-}
diff --git a/src/services/api/SearchSetting.ts b/src/services/api/SearchSetting.ts
new file mode 100644
index 0000000..1e18b19
--- /dev/null
+++ b/src/services/api/SearchSetting.ts
@@ -0,0 +1,86 @@
+/* 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 || {}),
+ });
+}
diff --git a/src/services/api/User.ts b/src/services/api/User.ts
deleted file mode 100644
index a1d348f..0000000
--- a/src/services/api/User.ts
+++ /dev/null
@@ -1,160 +0,0 @@
-/* eslint-disable */
-// @ts-ignore
-import { request } from '@/utils/request';
-
-/** 鏂板璐﹀彿淇℃伅 POST /api/User/CreateAccount */
-export async function createAccount(body: API.CreateAccountInput, options?: API.RequestConfig) {
- return request<string>('/api/User/CreateAccount', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/CreateRole */
-export async function createRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) {
- return request<string>('/api/User/CreateRole', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/DeleteRole */
-export async function deleteRole(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIdeleteRoleParams,
- options?: API.RequestConfig
-) {
- return request<number>('/api/User/DeleteRole', {
- method: 'POST',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鎵�鏈夎鑹� GET /api/User/GetAllRoles */
-export async function getAllRoles(options?: API.RequestConfig) {
- return request<API.RoleInfo[]>('/api/User/GetAllRoles', {
- method: 'GET',
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/GetOssSTS */
-export async function getOssSTS(options?: API.RequestConfig) {
- return request<API.OssSTSReponse>('/api/User/GetOssSTS', {
- method: 'POST',
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇瑙掕壊鍒嗛〉鍒楄〃 POST /api/User/GetRoles */
-export async function getRoles(body: API.GetRolesInput, options?: API.RequestConfig) {
- return request<API.RoleInfoPageOutput>('/api/User/GetRoles', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇token POST /api/User/GetTokenForWeb */
-export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/User/GetTokenForWeb', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鐢ㄦ埛璇︽儏 GET /api/User/GetUserDetail */
-export async function getUserDetail(
- // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
- params: API.APIgetUserDetailParams,
- options?: API.RequestConfig
-) {
- return request<API.UserDetailOutput>('/api/User/GetUserDetail', {
- method: 'GET',
- params: {
- ...params,
- },
- ...(options || {}),
- });
-}
-
-/** 鑾峰彇鐢ㄦ埛鍒嗛〉鍒楄〃 POST /api/User/GetUserPage */
-export async function getUserPage(body: API.QueryUserPageInput, options?: API.RequestConfig) {
- return request<API.UserListOutputPageOutput>('/api/User/GetUserPage', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 瀵嗙爜鐧诲綍 POST /api/User/PasswordLogin */
-export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) {
- return request<API.IdentityModelTokenCacheItem>('/api/User/PasswordLogin', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/RoleEnableOrForbid */
-export async function roleEnableOrForbid(
- body: API.RoleEnableOrForbidInput,
- options?: API.RequestConfig
-) {
- return request<number>('/api/User/RoleEnableOrForbid', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 鏇存柊璐﹀彿淇℃伅 POST /api/User/UpdateAccount */
-export async function updateAccount(body: API.UpdateAccountInput, options?: API.RequestConfig) {
- return request<number>('/api/User/UpdateAccount', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
-
-/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/User/UpdateRole */
-export async function updateRole(body: API.CreateOrUpdateRoleInput, options?: API.RequestConfig) {
- return request<number>('/api/User/UpdateRole', {
- method: 'POST',
- headers: {
- 'Content-Type': 'application/json',
- },
- data: body,
- ...(options || {}),
- });
-}
diff --git a/src/services/api/UserResume.ts b/src/services/api/UserResume.ts
new file mode 100644
index 0000000..b10d921
--- /dev/null
+++ b/src/services/api/UserResume.ts
@@ -0,0 +1,134 @@
+/* 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(
+ // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟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 || {}),
+ });
+}
diff --git a/src/services/api/index.ts b/src/services/api/index.ts
index 637fa08..94b7246 100644
--- a/src/services/api/index.ts
+++ b/src/services/api/index.ts
@@ -6,33 +6,35 @@
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,
};
diff --git a/src/services/api/typings.d.ts b/src/services/api/typings.d.ts
index f04a84b..efb90c7 100644
--- a/src/services/api/typings.d.ts
+++ b/src/services/api/typings.d.ts
@@ -28,86 +28,37 @@
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 {
pageButton?: ModuleButtonDto[];
dataButton?: ModuleButtonDto[];
column?: ModuleColumnDto[];
+ }
+
+ interface AnyUserByPhoneNumberInput {
+ /** 鎵嬫満鍙� */
+ phoneNumber: string;
}
interface APIaddOrEditModuleStatusParams {
@@ -135,6 +86,10 @@
id?: string;
}
+ interface APIdeleteFlexTaskParams {
+ id?: string;
+ }
+
interface APIdeleteModuleButtonParams {
id?: string;
}
@@ -144,10 +99,6 @@
}
interface APIdeleteModuleParams {
- id?: string;
- }
-
- interface APIdeleteRoleParams {
id?: string;
}
@@ -213,23 +164,7 @@
moduleId?: string;
}
- interface APIgetInsuranceClaimDetailByOrderIdParams {
- orderId?: string;
- }
-
- interface APIgetInsuranceClaimDetailParams {
- id?: string;
- }
-
- interface APIgetInsuranceClaimYearMonthCountListParams {
- year?: number;
- }
-
- interface APIgetInsuranceOrderDetailParams {
- id?: string;
- }
-
- interface APIgetInsuranceOrderMaterialListParams {
+ interface APIgetFlexTaskDtoParams {
id?: string;
}
@@ -270,12 +205,17 @@
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 {
@@ -293,12 +233,26 @@
objectType?: number;
}
+ interface APIgetUserResumeCertificateDetailByIdParams {
+ id?: string;
+ }
+
interface APIgetVersionModuleListParams {
versionId?: string;
}
interface APIgetVersionSubModuleParams {
versionId?: string;
+ }
+
+ interface APIgetWxIndentityParams {
+ /** 鐢ㄦ埛鐧诲綍鍑瘉 */
+ code?: string;
+ wxMiniApp?: WxMiniAppEnum;
+ }
+
+ interface APIisRepeatByPhoneNumberParams {
+ phoneNumber?: string;
}
interface APIsearchParams {
@@ -349,6 +303,16 @@
interface APIupdateRolesParams {
id?: string;
+ }
+
+ interface APIvatLicenseParams {
+ url?: string;
+ }
+
+ interface APIwxMiniAppUserLoginParams {
+ /** 鐢ㄦ埛鐧诲綍鍑瘉 */
+ code?: string;
+ wxMiniApp?: WxMiniAppEnum;
}
interface ApplicationApiDescriptionModel {
@@ -405,9 +369,33 @@
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 {
@@ -418,6 +406,23 @@
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;
@@ -426,6 +431,12 @@
interface ClockDto {
kind?: string;
+ }
+
+ interface ConditionInfo {
+ id?: string;
+ name?: string;
+ sort?: number;
}
interface ControllerApiDescriptionModel {
@@ -440,38 +451,16 @@
type?: string;
}
- interface CreateAccountInput {
- /** 鍚嶇О */
- name?: string;
- /** 鐢ㄦ埛鍚� */
- userName: string;
- /** 澶囨敞 */
- remark?: string;
- /** 瀵嗙爜 */
- password: string;
- /** 鎵嬫満鍙� */
- phoneNumber?: string;
- /** 娓犻亾 */
- channel?: string;
- /** 鐢ㄦ埛绔疘d */
- 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 {
@@ -518,6 +507,11 @@
dateSeparator?: string;
shortTimePattern?: string;
longTimePattern?: string;
+ }
+
+ interface EnableSearchSettingInput {
+ id: string;
+ status: boolean;
}
interface EntityExtensionDto {
@@ -614,8 +608,93 @@
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 {
@@ -623,10 +702,44 @@
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 {
@@ -765,233 +878,9 @@
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 {
@@ -1019,6 +908,19 @@
uiCultureName?: string;
displayName?: string;
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 {
@@ -1120,6 +1022,11 @@
sequence?: number;
}
+ interface MyResumeOutput {
+ resumeBaseInfo?: UserResumeBaseInfoOutput;
+ resumeExpectationJob?: UserResumeExpectationJobOutput;
+ }
+
interface NameValue {
name?: string;
value?: string;
@@ -1177,7 +1084,7 @@
}
interface PasswordLoginInput {
- /** 璐﹀彿 */
+ /** 鐧诲綍鍚� */
loginName: string;
/** 鐧诲綍瀵嗙爜 */
password: string;
@@ -1196,6 +1103,22 @@
name?: string;
displayName?: string;
permissions?: PermissionGrantInfoDto[];
+ }
+
+ interface PhoneMesssageCodeLoginInput {
+ /** 鎵嬫満鍙� */
+ phoneNumber: string;
+ /** 楠岃瘉鐮� */
+ code: string;
+ type?: UserTypeEnum;
+ }
+
+ interface PhoneMesssageCodeRegisterInput {
+ /** 鎵嬫満鍙� */
+ phoneNumber: string;
+ /** 楠岃瘉鐮� */
+ code: string;
+ type?: UserTypeEnum;
}
interface PhoneToken {
@@ -1228,40 +1151,11 @@
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 {
@@ -1290,6 +1184,10 @@
members?: string[];
}
+ interface ResetPasswordBaseInput {
+ userId?: string;
+ }
+
interface ResetPasswordDto {
userId?: string;
resetToken: string;
@@ -1309,36 +1207,49 @@
typeSimple?: string;
}
- interface RoleEnableOrForbidInput {
- /** 瑙掕壊Id */
- id?: string;
- /** 鍚敤锛歵rue锛岀鐢細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 {
@@ -1353,6 +1264,17 @@
phoneNumber: string;
}
+ interface SendPhoneMesssageCodeInput {
+ /** 鎵嬫満鍙� */
+ phoneNumber: string;
+ }
+
+ interface SendPhoneVerificationCodeByBusinessTypeInput {
+ /** 鎵嬫満鍙� */
+ phoneNumber: string;
+ businessType?: VerificationCodeBusinessTypeEnum;
+ }
+
interface SetMyModule {
moduleId?: string;
sequence?: number;
@@ -1360,6 +1282,10 @@
interface SetMyModuleInput {
moduleIds?: SetMyModule[];
+ }
+
+ interface SetPreViewCacheInput {
+ preViewData?: string;
}
interface SetRoleUserInput {
@@ -1408,22 +1334,8 @@
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 {
@@ -1433,65 +1345,6 @@
interface UpdateFeaturesDto {
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 {
@@ -1523,6 +1376,11 @@
phoneNumber?: string;
}
+ interface UpdateTaskReleaseStatusInput {
+ taskId?: string;
+ releaseStatus?: FlexTaskReleaseStatusEnum;
+ }
+
interface UserData {
id?: string;
tenantId?: string;
@@ -1545,47 +1403,63 @@
items?: UserData[];
}
- interface UserDetailOutput {
- id?: string;
- /** 鍚嶇О */
+ interface UserResumeBaseInfoOutput {
name?: string;
- /** 鐢ㄦ埛鍚� */
- userName?: string;
- /** 澶囨敞 */
- remark?: string;
- /** 鎵嬫満鍙� */
phoneNumber?: string;
- /** 娓犻亾 */
- channel?: string;
- /** 鐢ㄦ埛绔疘d */
- 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;
- /** 鐢ㄦ埛绔疘d */
- 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;
@@ -1628,4 +1502,58 @@
interface WindowsTimeZone {
timeZoneId?: string;
}
+
+ type WxMiniAppEnum = 10;
+
+ interface WxMiniAppIndentityInfo {
+ /** 浼氳瘽瀵嗛挜 */
+ sessionKey?: string;
+ /** 灏忕▼搴廜penId */
+ 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;
+ /** 灏忕▼搴廜penId */
+ openId: string;
+ wxMiniApp?: WxMiniAppEnum;
+ }
+
+ interface WxMiniAppPhoneLoginInput {
+ /** 鍖呮嫭鏁忔劅鏁版嵁鍦ㄥ唴鐨勫畬鏁寸敤鎴蜂俊鎭殑鍔犲瘑鏁版嵁 */
+ encryptedData: string;
+ /** 鍔犲瘑绠楁硶鐨勫垵濮嬪悜閲� */
+ iv: string;
+ /** 鑾峰彇浼氳瘽瀵嗛挜 */
+ sessionKey: string;
+ /** 灏忕▼搴廜penId */
+ openId: string;
+ wxMiniApp?: WxMiniAppEnum;
+ }
+
+ interface WxMiniAppUserLoginFromScanInput {
+ /** 锛堟壂鐮侊級鐧诲綍Id */
+ uId: string;
+ /** 鐢ㄦ埛鍚� */
+ userName: string;
+ /** 灏忕▼搴廜penId */
+ openId: string;
+ }
}
diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts
index 4cf1068..49bd21d 100644
--- a/src/store/modules/user.ts
+++ b/src/store/modules/user.ts
@@ -4,7 +4,6 @@
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';
@@ -64,7 +63,7 @@
// 鐢ㄦ埛鐧诲叆
loginByUsername(data: API.AccessRequestDto) {
return new Promise<void>((resolve, reject) => {
- userServices
+ accountServices
.getTokenForWeb(data, { showLoading: false })
.then((res) => {
if (res) {
diff --git a/src/utils/oss/index.ts b/src/utils/oss/index.ts
index 9501e36..2dd5d98 100644
--- a/src/utils/oss/index.ts
+++ b/src/utils/oss/index.ts
@@ -1,13 +1,13 @@
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,
});
}
diff --git a/src/views/Account/AccountManageList.vue b/src/views/Account/AccountManageList.vue
index e4ae234..0aad4b1 100644
--- a/src/views/Account/AccountManageList.vue
+++ b/src/views/Account/AccountManageList.vue
@@ -43,7 +43,7 @@
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';
@@ -80,18 +80,19 @@
} = 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) {}
},
{
@@ -141,27 +142,27 @@
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>
diff --git a/src/views/Permission/RoleManage.vue b/src/views/Permission/RoleManage.vue
index 7b52a54..b6f857e 100644
--- a/src/views/Permission/RoleManage.vue
+++ b/src/views/Permission/RoleManage.vue
@@ -46,7 +46,7 @@
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';
@@ -101,25 +101,26 @@
} = 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) {}
},
{
@@ -156,54 +157,54 @@
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) {}
}
--
Gitblit v1.9.1