企业证件管理人员类型检索输入框修复

This commit is contained in:
lc 2024-06-17 16:22:55 +08:00
parent a5174d5a6a
commit c9432479fa
1 changed files with 7 additions and 3 deletions

View File

@ -49,7 +49,7 @@
class="!w-240px" class="!w-240px"
> >
<el-option <el-option
v-for="dict in getIntDictOptions(DICT_TYPE.CREDENTIAL_PERSONNEL_TYPE)" v-for="dict in getStrDictOptions(DICT_TYPE.CREDENTIAL_PERSONNEL_TYPE)"
:key="dict.value" :key="dict.value"
:label="dict.label" :label="dict.label"
:value="dict.value" :value="dict.value"
@ -79,7 +79,11 @@
<dict-tag :type="DICT_TYPE.CREDENTIAL_SEX" :value="scope.row.sex" /> <dict-tag :type="DICT_TYPE.CREDENTIAL_SEX" :value="scope.row.sex" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="人员类型" align="center" prop="personnelType" /> <el-table-column label="人员类型" align="center" prop="personnelType">
<template #default="scope">
<dict-tag :type="DICT_TYPE.CREDENTIAL_PERSONNEL_TYPE" :value="scope.row.personnelType" />
</template>
</el-table-column>
<el-table-column label="发证机关" align="center" prop="licenceIssuingAuthority" /> <el-table-column label="发证机关" align="center" prop="licenceIssuingAuthority" />
<el-table-column <el-table-column
label="发证日期" label="发证日期"
@ -127,7 +131,7 @@
<script setup lang="ts"> <script setup lang="ts">
import {dateFormatter2} from '@/utils/formatTime' import {dateFormatter2} from '@/utils/formatTime'
import { DICT_TYPE, getIntDictOptions } from '@/utils/dict' import {DICT_TYPE, getIntDictOptions, getStrDictOptions} from '@/utils/dict'
import download from '@/utils/download' import download from '@/utils/download'
import { CredentialManagementApi, CredentialManagementVO } from '@/api/fta/credentialmanagement' import { CredentialManagementApi, CredentialManagementVO } from '@/api/fta/credentialmanagement'