diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/index.ts b/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/index.ts index 99eef84e..e9026fcf 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/index.ts +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/index.ts @@ -8,7 +8,12 @@ import { LegalTechRecordsDetailResponse, SaveOrEditLegalTechRecordsRequest, SaveOrEditLegalTechRecordsResponse, - LawEnforcementAgencyOption + LawEnforcementAgencyOption, + NosLawEnforcementTaskSaveRequest, + NosLawEnforcementTaskSaveResponse, + BureauUnitUserPageResponse, + EnterpriseInfoPageResponse, + EnterpriseInfoQuery } from './type'; import { AxiosPromise } from 'axios'; @@ -28,6 +33,41 @@ export function getTaskDetail(taskId: Number): AxiosPromise { method: 'get' }); } +// 新增非现场执法任务 +export function addLawEnforcementTask(data: NosLawEnforcementTaskSaveRequest): AxiosPromise { + return request({ + url: `/app-enf/nos-law-enforcement-task/add`, + method: 'post', + data + }); +} + +// 查询执法单位下的人员 +export function getBureauUnitUsers(params: { + sysDeptId?: string; + userName?: string; + globalSearch?: string; + pageNum?: number; + pageSize?: number; + dataScopeId?: string | number; + isShowCardId?: string; +}): AxiosPromise { + return request({ + url: `/enforcementcode/bureauUnit/queryUsersByPage`, + method: 'get', + params + }); +} + +// 查询企业信息 +export function queryEnterpriseList(data: EnterpriseInfoQuery): AxiosPromise { + return request({ + url: `/app-enf/enterpriseInfo/queryListAndQrInfo`, + method: 'post', + data + }); +} + // 分页查询法制与技术材料留存 export function getLegalTechRecordsPage(data: LegalTechRecordsPageRequest): AxiosPromise { return request({ diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/type.ts b/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/type.ts index 9da853b2..86cacbb0 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/type.ts +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/api/nos/type.ts @@ -56,8 +56,8 @@ export interface Response { } /** -* NosLawEnforcementTaskPageVO -*/ + * NosLawEnforcementTaskPageVO + */ export interface NosLawEnforcementTaskPageVO { /** * 创建时间 @@ -107,10 +107,13 @@ export interface NosLawEnforcementTaskPageVO { * 类别名称 */ taskTypeName?: string; + /** + * 检查项 + */ + taskItemList?: NosLawEnforcementTaskItem[]; [property: string]: any; } - /** * 任务详情 * @@ -127,8 +130,8 @@ export interface DatailResponse { } /** -* NosLawEnforcementTaskDetailVO -*/ + * NosLawEnforcementTaskDetailVO + */ export interface NosLawEnforcementTaskDetailVO { /** * 检查结果(0-已完成,1-转为待核实处置案件,2-退回企业补正材料) @@ -256,8 +259,8 @@ export interface NosLawEnforcementTaskDetailVO { } /** -* NosLawEnforcementTaskCommentItem -*/ + * NosLawEnforcementTaskCommentItem + */ export interface NosLawEnforcementTaskCommentItem { id?: string; name?: string; @@ -267,8 +270,8 @@ export interface NosLawEnforcementTaskCommentItem { } /** -* LawEnforcer -*/ + * LawEnforcer + */ export interface LawEnforcer { lawEnforcerId: number; /** @@ -281,8 +284,8 @@ export interface LawEnforcer { } /** -* TaskProclamation -*/ + * TaskProclamation + */ export interface TaskProclamation { fileName: string; filePath: string; @@ -290,10 +293,10 @@ export interface TaskProclamation { } /** -* 非现场执法任务项 -* -* NosLawEnforcementTaskItem -*/ + * 非现场执法任务项 + * + * NosLawEnforcementTaskItem + */ export interface NosLawEnforcementTaskItem { /** * 执法单位id @@ -356,8 +359,8 @@ export interface NosLawEnforcementTaskItem { } /** -* MapObject -*/ + * MapObject + */ export interface MapObject { key?: { [key: string]: any }; [property: string]: any; @@ -386,7 +389,6 @@ export interface LegalTechRecordsPageRequest { [property: string]: any; } - /** * 分页结果 * @@ -401,8 +403,8 @@ export interface LegalTechRecordsPageResponse { } /** -* NosLawEnforcementFilingPageVO -*/ + * NosLawEnforcementFilingPageVO + */ export interface NosLawEnforcementFilingPageVO { /** * 创建时间 @@ -448,8 +450,8 @@ export interface LegalTechRecordsDetailResponse { } /** -* NosLawEnforcementFilingDetailVO -*/ + * NosLawEnforcementFilingDetailVO + */ export interface NosLawEnforcementFilingDetailVO { /** * 创建时间 @@ -478,7 +480,6 @@ export interface NosLawEnforcementFilingDetailVO { [property: string]: any; } - /** * 执法单位选项 */ @@ -538,3 +539,94 @@ export interface SaveOrEditLegalTechRecordsResponse { success?: boolean; [property: string]: any; } + +/** + * 非现场执法任务新增参数 + */ +export interface NosLawEnforcementTaskSaveRequest { + checkItemList: string[]; + deadline: string; + enterpriseName: string; + enterpriseId: string; + lawEnforcementAgency: string; + lawEnforcementMatters: string; + lawEnforcer: LawEnforcer[]; + legalBasis: string[]; + proclamation: TaskProclamation[]; + taskSourceId: string; + taskTypeId: number; + usciCode: string; + [property: string]: any; +} + +/** + * 非现场执法任务新增结果 + */ +export interface NosLawEnforcementTaskSaveResponse { + code?: number; + data?: string | boolean; + errorCode?: number; + message?: string; + msg?: string; + success?: boolean; + [property: string]: any; +} + +/** + * 执法单位人员 + */ +export interface BureauUnitUserOption { + userId: number | string; + userName: string; + phonenumber?: string; + mobileNumber?: string; + lawCertificateNum?: string; + [property: string]: any; +} + +/** + * 执法单位人员分页结果 + */ +export interface BureauUnitUserPageResponse { + code?: number; + data?: BureauUnitUserOption[] | { rows?: BureauUnitUserOption[]; total?: number; count?: number }; + rows?: BureauUnitUserOption[]; + total?: number; + count?: number; + msg?: string; + [property: string]: any; +} + +/** + * 企业查询参数 + */ +export interface EnterpriseInfoQuery { + pageNum: number; + pageSize: number; + enterpriseName?: string; + searchValue?: string; + [property: string]: any; +} + +/** + * 企业信息选项 + */ +export interface EnterpriseInfoOption { + id: string; + enterpriseName: string; + enterpriseNumber?: string; + usciCode?: string; + creditCode?: string; + [property: string]: any; +} + +/** + * 企业信息分页结果 + */ +export interface EnterpriseInfoPageResponse { + code?: number; + rows?: EnterpriseInfoOption[]; + total?: number; + msg?: string; + [property: string]: any; +} diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts b/zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts index 7cef7bc6..4db174e7 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/router/index.ts @@ -262,6 +262,20 @@ export const constantRoutes: RouteRecordRaw[] = [ ] }, + // 新增非现场备案 + { + path: '/non/non-enforcement-filing/add', + component: Layout, + hidden: true, + children: [ + { + path: '', + component: () => import('@/views/nos/nosFiling/add.vue'), + name: 'NosAddFiling', + meta: { title: '新增备案', icon: 'plus' } + } + ] + }, // 非现场查证监督详情 { path: '/non/non-enforcement-filing/detail/:id', diff --git a/zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue b/zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue index b349cdd8..ab8dd06e 100644 --- a/zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue +++ b/zdxt-web-client/zdxt-admin-plus-ui/src/views/nos/nosFiling/index.vue @@ -61,6 +61,10 @@ 重置 + + + 新增备案 + @@ -103,7 +107,7 @@ @@ -113,14 +117,109 @@ - + + + + + + + 通过 + 未通过 + + + + + + + + + + + +
+
+
+ + +
+
+
+ 企业提交 + {{ formatDateTime(progressRow.enterpriseHandleTime || progressRow.createTime) || '--' }} + {{ progressRow.enterpriseName || '--' }} +
+
+
+ +
+
+ +
+
+
+ {{ progressView.label }} + + +
+
+
+ {{ progressView.resultLabel }}: + {{ progressView.state }} +
+
{{ progressView.comment }}
+
+
+
+
+
+
共 {{ total }} 项数据 @@ -139,9 +238,10 @@