fix: 岗位搜索标签positionCode显示不对
This commit is contained in:
@@ -406,7 +406,11 @@ function fnGetList(pageNum?: number) {
|
||||
}
|
||||
tablePagination.total = res.total;
|
||||
tableState.data = res.rows;
|
||||
if (tablePagination.total <=(queryParams.pageNum - 1) * tablePagination.pageSize &&queryParams.pageNum !== 1) {
|
||||
if (
|
||||
tablePagination.total <=
|
||||
(queryParams.pageNum - 1) * tablePagination.pageSize &&
|
||||
queryParams.pageNum !== 1
|
||||
) {
|
||||
tableState.loading = false;
|
||||
fnGetList(queryParams.pageNum - 1);
|
||||
}
|
||||
@@ -439,22 +443,22 @@ onMounted(() => {
|
||||
<a-row :gutter="16">
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.system.post.positionId')"
|
||||
name="postCode"
|
||||
:label="t('views.system.post.positionName')"
|
||||
name="postName"
|
||||
>
|
||||
<a-input
|
||||
v-model:value="queryParams.postCode"
|
||||
v-model:value="queryParams.postName"
|
||||
allow-clear
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
</a-col>
|
||||
<a-col :lg="6" :md="12" :xs="24">
|
||||
<a-form-item
|
||||
:label="t('views.system.post.positionName')"
|
||||
name="postName"
|
||||
:label="t('views.system.post.positionCode')"
|
||||
name="postCode"
|
||||
>
|
||||
<a-input
|
||||
v-model:value="queryParams.postName"
|
||||
v-model:value="queryParams.postCode"
|
||||
allow-clear
|
||||
></a-input>
|
||||
</a-form-item>
|
||||
|
||||
Reference in New Issue
Block a user