diff --git a/jeecgboot-vue3-master/src/views/system/user/user.api.js b/jeecgboot-vue3-master/src/views/system/user/user.api.js index 42a0236d..08ebfe28 100644 --- a/jeecgboot-vue3-master/src/views/system/user/user.api.js +++ b/jeecgboot-vue3-master/src/views/system/user/user.api.js @@ -3,6 +3,7 @@ import { Modal } from 'ant-design-vue'; var Api; (function (Api) { Api["listNoCareTenant"] = "/sys/user/listAll"; + Api["listzdzx"] = "/sys/user/listzdzx"; Api["list"] = "/sys/user/list"; Api["save"] = "/sys/user/add"; Api["edit"] = "/sys/user/edit"; @@ -70,6 +71,13 @@ export const list = (params) => defHttp.get({ url: Api.list, params }); * @param params */ export const listNoCareTenant = (params) => defHttp.get({ url: Api.listNoCareTenant, params }); + +/** + * 列表接口(查询全部用户,不通过租户隔离) + * 适用于专家、学生、组委会查看自己的信息 + * @param params + */ +export const listzdzx = (params) => defHttp.get({ url: Api.listzdzx, params }); /** * 用户角色接口 * @param params diff --git a/jeecgboot-vue3-master/src/views/system/user/user.api.ts b/jeecgboot-vue3-master/src/views/system/user/user.api.ts index 48f56ab5..83525f87 100644 --- a/jeecgboot-vue3-master/src/views/system/user/user.api.ts +++ b/jeecgboot-vue3-master/src/views/system/user/user.api.ts @@ -3,6 +3,7 @@ import { Modal } from 'ant-design-vue'; enum Api { listNoCareTenant = '/sys/user/listAll', + listzdzx = '/sys/user/listzdzx', list = '/sys/user/list', save = '/sys/user/add', edit = '/sys/user/edit', @@ -67,6 +68,13 @@ export const list = (params) => defHttp.get({ url: Api.list, params }); */ export const listNoCareTenant = (params) => defHttp.get({ url: Api.listNoCareTenant, params }); +/** + * 列表接口(查询全部用户,不通过租户隔离) + * 适用于专家、学生、组委会查看自己的信息 + * @param params + */ +export const listzdzx = (params) => defHttp.get({ url: Api.listzdzx, params }); + /** * 用户角色接口 * @param params