|
@@ -51,130 +51,134 @@ enum Api {
|
|
|
sceneApplyHandle = '/service/manage/sceneApply/handle',
|
|
|
getInfoMail = '/service/manage/getInfo',
|
|
|
updateMail = '/service/manage/update',
|
|
|
- caseaddOrUpdate='/service/manage/case/addOrUpdate',
|
|
|
+ caseaddOrUpdate = '/service/manage/case/addOrUpdate',
|
|
|
caseList = '/service/manage/case/list',
|
|
|
- caseDel='/service/manage/case/del',
|
|
|
- caseRelease='/service/manage/case/isShow',
|
|
|
- caseWithdraw='/service/manage/case/release',
|
|
|
+ caseDel = '/service/manage/case/del',
|
|
|
+ caseRelease = '/service/manage/case/isShow',
|
|
|
+ caseWithdraw = '/service/manage/case/release',
|
|
|
+ getAuthList = '/service/manage/jy/sceneUserAuth/getAuthList',
|
|
|
+ getByRyId = '/service/manage/jy/user/getByRyId',
|
|
|
+ addAuth = '/service/manage/jy/sceneUserAuth/addAuth',
|
|
|
+ delAuth = '/service/manage/jy/sceneUserAuth/delAuth',
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* @description: Get sample list value
|
|
|
*/
|
|
|
|
|
|
- export const agentAuditList = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.agentAuditList,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const agentAuditHandle = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.agentAuditHandle,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const sendEmail = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.sendEmail,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const sceneApplyList = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.sceneApplyList,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const sceneApplyHandle = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.sceneApplyHandle,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
-
|
|
|
- export const caseListApi = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.caseList,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
-
|
|
|
- export const caseaddOrUpdateApi = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.caseaddOrUpdate,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
-
|
|
|
- export const casePublicApi = (params: PageParams) =>
|
|
|
- defHttp.get<RentListGetResultModel>({
|
|
|
- url: Api.caseWithdraw,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const caseReleaseApi = (params: PageParams) =>
|
|
|
- defHttp.get<RentListGetResultModel>({
|
|
|
- url: Api.caseRelease,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const caseDelApi = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.caseDel,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
- export const ListApi = (params: PageParams) =>
|
|
|
- defHttp.post<RentListGetResultModel>({
|
|
|
- url: Api.pageList,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
- });
|
|
|
+export const agentAuditList = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.agentAuditList,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const agentAuditHandle = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.agentAuditHandle,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const sendEmail = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.sendEmail,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const sceneApplyList = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.sceneApplyList,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const sceneApplyHandle = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.sceneApplyHandle,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+export const caseListApi = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.caseList,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+export const caseaddOrUpdateApi = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.caseaddOrUpdate,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+export const casePublicApi = (params: PageParams) =>
|
|
|
+ defHttp.get<RentListGetResultModel>({
|
|
|
+ url: Api.caseWithdraw,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const caseReleaseApi = (params: PageParams) =>
|
|
|
+ defHttp.get<RentListGetResultModel>({
|
|
|
+ url: Api.caseRelease,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const caseDelApi = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.caseDel,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+export const ListApi = (params: PageParams) =>
|
|
|
+ defHttp.post<RentListGetResultModel>({
|
|
|
+ url: Api.pageList,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
//显示隐藏
|
|
|
export const NewDisplay = (params: PageParams) =>
|
|
|
defHttp.post<RentListGetResultModel>({
|
|
@@ -341,17 +345,17 @@ export const sceneDelete = (params: sceneControlParams) =>
|
|
|
ignoreCancelToken: true,
|
|
|
},
|
|
|
});
|
|
|
-
|
|
|
+
|
|
|
export const qjsceneDelete = (params: overallDelete) =>
|
|
|
-defHttp.post<Result>({
|
|
|
- url: Api.qjsceneDelete,
|
|
|
- params: params,
|
|
|
- // data: params,
|
|
|
- headers: {
|
|
|
- // @ts-ignore
|
|
|
- ignoreCancelToken: true,
|
|
|
- },
|
|
|
-});
|
|
|
+ defHttp.post<Result>({
|
|
|
+ url: Api.qjsceneDelete,
|
|
|
+ params: params,
|
|
|
+ // data: params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
export const checkDownLoad = (params: sceneControlParams) =>
|
|
|
defHttp.get<checkDownLoadResult>({
|
|
|
url: Api.checkDownLoad,
|
|
@@ -462,4 +466,48 @@ export const intercomMessageHandle = (params: updateParams) =>
|
|
|
// @ts-ignore
|
|
|
ignoreCancelToken: true,
|
|
|
},
|
|
|
- });
|
|
|
+ });
|
|
|
+
|
|
|
+// 根据场景码获取授权用户列表
|
|
|
+export const getAuthList = (params) =>
|
|
|
+ defHttp.post<Result>({
|
|
|
+ url: Api.getAuthList,
|
|
|
+ params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+// 根据警员ID获取用户列表
|
|
|
+export const getByRyId = (params) =>
|
|
|
+ defHttp.post<Result>({
|
|
|
+ url: Api.getByRyId,
|
|
|
+ params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+// 根据警员ID获取用户列表
|
|
|
+export const addAuth = (params) =>
|
|
|
+ defHttp.post<Result>({
|
|
|
+ url: Api.addAuth,
|
|
|
+ params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|
|
|
+
|
|
|
+// 根据警员ID获取用户列表
|
|
|
+export const delAuth = (params) =>
|
|
|
+ defHttp.post<Result>({
|
|
|
+ url: Api.delAuth,
|
|
|
+ params,
|
|
|
+ headers: {
|
|
|
+ // @ts-ignore
|
|
|
+ ignoreCancelToken: true,
|
|
|
+ },
|
|
|
+ });
|