diff --git a/src/api/fta/enterpriseinformation/index.ts b/src/api/fta/enterpriseinformation/index.ts
index a697f95..286c9c2 100644
--- a/src/api/fta/enterpriseinformation/index.ts
+++ b/src/api/fta/enterpriseinformation/index.ts
@@ -1,53 +1,54 @@
-import request from '@/config/axios'
-
-// 企业信息 VO
-export interface EnterpriseInformationVO {
- id: number // 编号
- name: string // 企业名称
- legalPerson: string // 企业法定代表人
- unifiedCreditCode: string // 统一信用代码
- telephone: string // 电话
- mailbox: string // 邮箱
- registerAddress: string // 注册地址
- communicationAddress: string // 通信地址
- operateState: boolean // 经营状态
- establishDate: Date // 成立日期
- enterpriseType: boolean // 企业类型
- enterpriseBelongingToRegion: string // 企业所属地区
- enterpriseBelongingToIndustry: string // 企业所属行业
- registerOffice: string // 登记机关
- operatePermitRange: string // 经营许可范围
-}
-
-// 企业信息 API
-export const EnterpriseInformationApi = {
- // 查询企业信息分页
- getEnterpriseInformationPage: async (params: any) => {
- return await request.get({ url: `/fta/enterprise-information/page`, params })
- },
-
- // 查询企业信息详情
- getEnterpriseInformation: async (id: number) => {
- return await request.get({ url: `/fta/enterprise-information/get?id=` + id })
- },
-
- // 新增企业信息
- createEnterpriseInformation: async (data: EnterpriseInformationVO) => {
- return await request.post({ url: `/fta/enterprise-information/create`, data })
- },
-
- // 修改企业信息
- updateEnterpriseInformation: async (data: EnterpriseInformationVO) => {
- return await request.put({ url: `/fta/enterprise-information/update`, data })
- },
-
- // 删除企业信息
- deleteEnterpriseInformation: async (id: number) => {
- return await request.delete({ url: `/fta/enterprise-information/delete?id=` + id })
- },
-
- // 导出企业信息 Excel
- exportEnterpriseInformation: async (params) => {
- return await request.download({ url: `/fta/enterprise-information/export-excel`, params })
- },
-}
\ No newline at end of file
+import request from '@/config/axios'
+
+// 企业信息 VO
+export interface EnterpriseInformationVO {
+ id: number // 编号
+ name: string // 企业名称
+ legalPerson: string // 企业法定代表人
+ unifiedCreditCode: string // 统一信用代码
+ telephone: string // 电话
+ mailbox: string // 邮箱
+ registerAddress: string // 注册地址
+ communicationAddress: string // 通信地址
+ operateState: number // 经营状态
+ isSecure: number //是否涉及危化证
+ establishDate: Date // 成立日期
+ enterpriseType: number // 企业类型
+ enterpriseBelongingToRegion: string // 企业所属地区
+ enterpriseBelongingToIndustry: string // 企业所属行业
+ registerOffice: string // 登记机关
+ operatePermitRange: string // 经营许可范围
+}
+
+// 企业信息 API
+export const EnterpriseInformationApi = {
+ // 查询企业信息分页
+ getEnterpriseInformationPage: async (params: any) => {
+ return await request.get({ url: `/fta/enterprise-information/page`, params })
+ },
+
+ // 查询企业信息详情
+ getEnterpriseInformation: async (id: number) => {
+ return await request.get({ url: `/fta/enterprise-information/get?id=` + id })
+ },
+
+ // 新增企业信息
+ createEnterpriseInformation: async (data: EnterpriseInformationVO) => {
+ return await request.post({ url: `/fta/enterprise-information/create`, data })
+ },
+
+ // 修改企业信息
+ updateEnterpriseInformation: async (data: EnterpriseInformationVO) => {
+ return await request.put({ url: `/fta/enterprise-information/update`, data })
+ },
+
+ // 删除企业信息
+ deleteEnterpriseInformation: async (id: number) => {
+ return await request.delete({ url: `/fta/enterprise-information/delete?id=` + id })
+ },
+
+ // 导出企业信息 Excel
+ exportEnterpriseInformation: async (params) => {
+ return await request.download({ url: `/fta/enterprise-information/export-excel`, params })
+ },
+}
diff --git a/src/utils/dict.ts b/src/utils/dict.ts
index 9c4f6a8..af9528b 100644
--- a/src/utils/dict.ts
+++ b/src/utils/dict.ts
@@ -213,5 +213,6 @@ export enum DICT_TYPE {
// ========== FTA - 自贸区模块 ==========
ENTERPRISE_OPERATE_STATE = 'enterprise_operate_state', // 企业经营状态
+ ENTERPRISE_IS_SECURITY = 'enterprise_is_secure', //是否涉及危化证
ENTERPRISE_TYPE = 'enterprise_type' // 企业类型
}
diff --git a/src/views/fta/enterpriseinformation/create.vue b/src/views/fta/enterpriseinformation/create.vue
index 0f6b443..ce41844 100644
--- a/src/views/fta/enterpriseinformation/create.vue
+++ b/src/views/fta/enterpriseinformation/create.vue
@@ -67,6 +67,16 @@
+
+
+
+
+
指定审批人
@@ -126,6 +136,7 @@ const formData = ref({
registerAddress: undefined,
communicationAddress: undefined,
operateState: undefined,
+ isSecure: undefined,
establishDate: undefined,
enterpriseType: undefined,
enterpriseBelongingToRegion: undefined,
@@ -148,6 +159,7 @@ const formRules = reactive({
enterpriseBelongingToIndustry: [{ required: true, message: '企业所属行业不能为空', trigger: 'blur' }],
registerOffice: [{ required: true, message: '登记机关不能为空', trigger: 'blur' }],
operatePermitRange: [{ required: true, message: '经营许可范围不能为空', trigger: 'blur' }],
+ isSecure: [{ required: true, message: '是否涉及危化证不能为空', trigger: 'blur' }]
})
const formRef = ref() // 表单 Ref
diff --git a/src/views/fta/enterpriseinformation/detail.vue b/src/views/fta/enterpriseinformation/detail.vue
index 917d695..6a3bfca 100644
--- a/src/views/fta/enterpriseinformation/detail.vue
+++ b/src/views/fta/enterpriseinformation/detail.vue
@@ -43,6 +43,9 @@
{{ detailData.operatePermitRange }}
+
+
+
diff --git a/src/views/fta/enterpriseinformation/index.vue b/src/views/fta/enterpriseinformation/index.vue
index da6a62a..911873a 100644
--- a/src/views/fta/enterpriseinformation/index.vue
+++ b/src/views/fta/enterpriseinformation/index.vue
@@ -54,7 +54,7 @@
class="!w-240px"
>
+
+
+
+
+
搜索
重置
@@ -121,14 +136,6 @@
发起创建
-
- 新增
-
+
+
+
+
+