parent
07164903d6
commit
21f8ad9061
|
@ -10,9 +10,10 @@ export interface EnterpriseInformationVO {
|
|||
mailbox: string // 邮箱
|
||||
registerAddress: string // 注册地址
|
||||
communicationAddress: string // 通信地址
|
||||
operateState: boolean // 经营状态
|
||||
operateState: number // 经营状态
|
||||
isSecure: number //是否涉及危化证
|
||||
establishDate: Date // 成立日期
|
||||
enterpriseType: boolean // 企业类型
|
||||
enterpriseType: number // 企业类型
|
||||
enterpriseBelongingToRegion: string // 企业所属地区
|
||||
enterpriseBelongingToIndustry: string // 企业所属行业
|
||||
registerOffice: string // 登记机关
|
||||
|
|
|
@ -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' // 企业类型
|
||||
}
|
||||
|
|
|
@ -67,6 +67,16 @@
|
|||
<el-form-item label="经营许可范围" prop="operatePermitRange">
|
||||
<el-input v-model="formData.operatePermitRange" placeholder="请输入经营许可范围" />
|
||||
</el-form-item>
|
||||
<el-form-item label="是否涉及危化证" prop="isSecure">
|
||||
<el-select v-model="formData.isSecure" placeholder="请选择是否涉及危化证">
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.ENTERPRISE_IS_SECURITY)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-col v-if="startUserSelectTasks.length > 0">
|
||||
<el-card class="mb-10px">
|
||||
<template #header>指定审批人</template>
|
||||
|
@ -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
|
||||
|
||||
|
|
|
@ -43,6 +43,9 @@
|
|||
<el-descriptions-item label="经营许可范围">
|
||||
{{ detailData.operatePermitRange }}
|
||||
</el-descriptions-item>
|
||||
<el-descriptions-item label="是否涉及危化证">
|
||||
<dict-tag :type="DICT_TYPE.ENTERPRISE_IS_SECURITY" :value="detailData.isSecure" />
|
||||
</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
</ContentWrap>
|
||||
</template>
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
class="!w-240px"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getBoolDictOptions(DICT_TYPE.ENTERPRISE_OPERATE_STATE)"
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.ENTERPRISE_OPERATE_STATE)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
|
@ -80,7 +80,7 @@
|
|||
class="!w-240px"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getBoolDictOptions(DICT_TYPE.ENTERPRISE_TYPE)"
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.ENTERPRISE_TYPE)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
|
@ -114,6 +114,21 @@
|
|||
class="!w-240px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="是否涉及危化证" prop="operateState">
|
||||
<el-select
|
||||
v-model="queryParams.isSecure"
|
||||
placeholder="请选择是否涉及危化证"
|
||||
clearable
|
||||
class="!w-240px"
|
||||
>
|
||||
<el-option
|
||||
v-for="dict in getIntDictOptions(DICT_TYPE.ENTERPRISE_IS_SECURITY)"
|
||||
:key="dict.value"
|
||||
:label="dict.label"
|
||||
:value="dict.value"
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button @click="handleQuery"><Icon icon="ep:search" class="mr-5px" /> 搜索</el-button>
|
||||
<el-button @click="resetQuery"><Icon icon="ep:refresh" class="mr-5px" /> 重置</el-button>
|
||||
|
@ -121,14 +136,6 @@
|
|||
<Icon class="mr-5px" icon="ep:plus" />
|
||||
发起创建
|
||||
</el-button>
|
||||
<el-button
|
||||
type="primary"
|
||||
plain
|
||||
@click="openForm('create')"
|
||||
v-hasPermi="['fta:enterprise-information:create']"
|
||||
>
|
||||
<Icon icon="ep:plus" class="mr-5px" /> 新增
|
||||
</el-button>
|
||||
<el-button
|
||||
type="success"
|
||||
plain
|
||||
|
@ -183,6 +190,11 @@
|
|||
<el-table-column label="企业所属行业" align="center" prop="enterpriseBelongingToIndustry" />
|
||||
<el-table-column label="登记机关" align="center" prop="registerOffice" />
|
||||
<el-table-column label="经营许可范围" align="center" prop="operatePermitRange" />
|
||||
<el-table-column label="是否涉及危化证" align="center" prop="isSecure">
|
||||
<template #default="scope">
|
||||
<dict-tag :type="DICT_TYPE.ENTERPRISE_IS_SECURITY" :value="scope.row.isSecure" />
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="操作">
|
||||
<template #default="scope">
|
||||
<el-button
|
||||
|
@ -224,7 +236,7 @@
|
|||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { getBoolDictOptions, DICT_TYPE } from '@/utils/dict'
|
||||
import { getIntDictOptions, DICT_TYPE } from '@/utils/dict'
|
||||
import { dateFormatter } from '@/utils/formatTime'
|
||||
import download from '@/utils/download'
|
||||
import { EnterpriseInformationApi, EnterpriseInformationVO } from '@/api/fta/enterpriseinformation'
|
||||
|
@ -249,6 +261,7 @@ const queryParams = reactive({
|
|||
legalPerson: undefined,
|
||||
unifiedCreditCode: undefined,
|
||||
operateState: undefined,
|
||||
isSecure: undefined,
|
||||
establishDate: [],
|
||||
enterpriseType: undefined,
|
||||
enterpriseBelongingToIndustry: undefined,
|
||||
|
|
Loading…
Reference in New Issue