diff --git a/src/api/fta/enterprisechange/index.ts b/src/api/fta/enterprisechange/index.ts new file mode 100644 index 0000000..caca7f3 --- /dev/null +++ b/src/api/fta/enterprisechange/index.ts @@ -0,0 +1,57 @@ +import request from '@/config/axios' + +// 企业信息变更 VO +export interface EnterpriseChangeVO { + id: number // 编号 + oldEnterpriseJson: string // 变更前企业信息Json字符串 + oldEnterpriseName: string // 变更前企业名称 + oldLegalPerson: string // 变更前企业法定代表人 + name: string // 企业名称 + legalPerson: string // 企业法定代表人 + unifiedCreditCode: string // 统一社会信用代码 + telephone: string // 电话 + mailbox: string // 邮箱 + registerAddress: string // 注册地址 + communicationAddress: string // 通信地址 + operateState: number // 经营状态 + establishDate: Date // 成立日期 + enterpriseType: number // 企业类型 + enterpriseBelongingToRegion: string // 企业所属地区 + enterpriseBelongingToIndustry: string // 企业所属行业 + registerOffice: string // 登记机关 + operatePermitRange: string // 经营许可范围 + isSecure: number // 是否涉及危化证 +} + +// 企业信息变更 API +export const EnterpriseChangeApi = { + // 查询企业信息变更分页 + getEnterpriseChangePage: async (params: any) => { + return await request.get({ url: `/fta/enterprise-change/page`, params }) + }, + + // 查询企业信息变更详情 + getEnterpriseChange: async (id: number) => { + return await request.get({ url: `/fta/enterprise-change/get?id=` + id }) + }, + + // 新增企业信息变更 + createEnterpriseChange: async (data: EnterpriseChangeVO) => { + return await request.post({ url: `/fta/enterprise-change/create`, data }) + }, + + // 修改企业信息变更 + updateEnterpriseChange: async (data: EnterpriseChangeVO) => { + return await request.put({ url: `/fta/enterprise-change/update`, data }) + }, + + // 删除企业信息变更 + deleteEnterpriseChange: async (id: number) => { + return await request.delete({ url: `/fta/enterprise-change/delete?id=` + id }) + }, + + // 导出企业信息变更 Excel + exportEnterpriseChange: async (params) => { + return await request.download({ url: `/fta/enterprise-change/export-excel`, params }) + }, +} \ No newline at end of file diff --git a/src/api/fta/enterpriseinformation/index.ts b/src/api/fta/enterpriseinformation/index.ts index 286c9c2..7900f6f 100644 --- a/src/api/fta/enterpriseinformation/index.ts +++ b/src/api/fta/enterpriseinformation/index.ts @@ -18,6 +18,29 @@ export interface EnterpriseInformationVO { enterpriseBelongingToIndustry: string // 企业所属行业 registerOffice: string // 登记机关 operatePermitRange: string // 经营许可范围 + principalImageUrl: undefined // 主要负责人证图片 + securityImageUrl: undefined // 安全员证图片 + dangerImageUrl: undefined // 危化证图片 + principalCertificateNumber: undefined // 负责人证号 + principalName: undefined // 负责人姓名 + principalPersonnelType: undefined // 负责人员类型 + principalSex: undefined // 负责人性别 + principalCategoryOfEmployment: undefined // 负责人行业类别 + principalDateOfIssue: undefined // 负责人证初领日期 + principalExpiryDate: undefined // 负责人证到期日期 + principalLicenceIssuingAuthority: undefined // 负责人证签发机关 + securityCertificateNumber: undefined // 安全员证号 + securityName: undefined // 安全员姓名 + securityPersonnelType: undefined // 安全员人员类型 + securitySex: undefined // 安全员性别 + securityCategoryOfEmployment: undefined // 安全员行业类别 + securityDateOfIssue: undefined // 安全员初领日期 + securityExpiryDate: undefined // 安全员证到期日期 + securityLicenceIssuingAuthority: undefined // 安全员证签发机关 + dangerBusinessPattern: undefined // 危化证经营方式 + dangerLicenceIssuingAuthority: undefined // 危化证发证机关 + dangerDateOfIssue: undefined // 危化证初领日期 + dangerExpiryDate: undefined // 危化证到期日期 } // 企业信息 API @@ -27,6 +50,11 @@ export const EnterpriseInformationApi = { return await request.get({ url: `/fta/enterprise-information/page`, params }) }, + // 查询已经通过审核的企业信息分页 + getEnterpriseInformationPassPage: async (params: any) => { + return await request.get({ url: `/fta/enterprise-information/passPage`, params }) + }, + // 查询企业信息详情 getEnterpriseInformation: async (id: number) => { return await request.get({ url: `/fta/enterprise-information/get?id=` + id }) diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 4dc14f0..8087db6 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -333,7 +333,7 @@ const remainingRouter: AppRouteRecordRaw[] = [ noCache: true, hidden: true, canTo: true, - title: '发起 企业信息填报 请假', + title: '发起 企业信息 填报', activeMenu: '/enterpriseInformation/enterprise-information' } }, @@ -345,9 +345,33 @@ const remainingRouter: AppRouteRecordRaw[] = [ noCache: true, hidden: true, canTo: true, - title: '查看 企业信息填报 请假', + title: '查看 企业信息 填报', activeMenu: '/enterpriseInformation/enterprise-information' } + }, + { + path: 'fta/enterprisechange/create', + component: () => import('@/views/fta/enterprisechange/create.vue'), + name: 'FtaEnterpriseChangeCreate', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '发起 企业信息 变更', + activeMenu: '/enterpriseInformation/enterprise-change' + } + }, + { + path: 'fta/enterprisechange/detail', + component: () => import('@/views/fta/enterprisechange/detail.vue'), + name: 'FtaEnterpriseChangeDetail', + meta: { + noCache: true, + hidden: true, + canTo: true, + title: '查看 企业信息 变更', + activeMenu: '/enterpriseInformation/enterprise-change' + } } ] }, diff --git a/src/utils/dict.ts b/src/utils/dict.ts index af9528b..eef124f 100644 --- a/src/utils/dict.ts +++ b/src/utils/dict.ts @@ -214,5 +214,11 @@ export enum DICT_TYPE { // ========== FTA - 自贸区模块 ========== ENTERPRISE_OPERATE_STATE = 'enterprise_operate_state', // 企业经营状态 ENTERPRISE_IS_SECURITY = 'enterprise_is_secure', //是否涉及危化证 - ENTERPRISE_TYPE = 'enterprise_type' // 企业类型 + ENTERPRISE_TYPE = 'enterprise_type', // 企业类型 + CREDENTIAL_SEX = 'credential_sex', // 证书性别 + CREDENTIAL_PERSONNEL_TYPE = 'credential_personnel_type', // 人员类型 + CREDENTIAL_CATEGORY_OF_EMPLOYMENT = 'credential_category_of_employment', //行业类别 + CREDENTIAL_BUSINESS_PATTERN = 'credential_business_pattern', // 经营方式 + + } diff --git a/src/views/fta/enterprisechange/EnterpriseChangeForm.vue b/src/views/fta/enterprisechange/EnterpriseChangeForm.vue new file mode 100644 index 0000000..8fa7d4b --- /dev/null +++ b/src/views/fta/enterprisechange/EnterpriseChangeForm.vue @@ -0,0 +1,221 @@ + + \ No newline at end of file diff --git a/src/views/fta/enterprisechange/create.vue b/src/views/fta/enterprisechange/create.vue new file mode 100644 index 0000000..e4ad4ef --- /dev/null +++ b/src/views/fta/enterprisechange/create.vue @@ -0,0 +1,249 @@ + + diff --git a/src/views/fta/enterprisechange/detail.vue b/src/views/fta/enterprisechange/detail.vue new file mode 100644 index 0000000..6a3bfca --- /dev/null +++ b/src/views/fta/enterprisechange/detail.vue @@ -0,0 +1,84 @@ + + diff --git a/src/views/fta/enterprisechange/index.vue b/src/views/fta/enterprisechange/index.vue new file mode 100644 index 0000000..3b59cdb --- /dev/null +++ b/src/views/fta/enterprisechange/index.vue @@ -0,0 +1,338 @@ + + + diff --git a/src/views/fta/enterprisechange/selectEnterprise.vue b/src/views/fta/enterprisechange/selectEnterprise.vue new file mode 100644 index 0000000..b68762f --- /dev/null +++ b/src/views/fta/enterprisechange/selectEnterprise.vue @@ -0,0 +1,113 @@ + + + diff --git a/src/views/fta/enterpriseinformation/ImageFileForm.vue b/src/views/fta/enterpriseinformation/ImageFileForm.vue new file mode 100644 index 0000000..8ca3ba7 --- /dev/null +++ b/src/views/fta/enterpriseinformation/ImageFileForm.vue @@ -0,0 +1,106 @@ + + diff --git a/src/views/fta/enterpriseinformation/create.vue b/src/views/fta/enterpriseinformation/create.vue index ce41844..2605d0a 100644 --- a/src/views/fta/enterpriseinformation/create.vue +++ b/src/views/fta/enterpriseinformation/create.vue @@ -6,6 +6,8 @@ :rules="formRules" label-width="100px" > + + @@ -77,6 +79,140 @@ /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上传文件 + + 删除图片 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 上传文件 + + 删除图片 + + + + + + + + + + + + + + + + + + + + 上传文件 + + 删除图片 + + @@ -111,13 +247,16 @@ 确 定 + +