This commit is contained in:
quantulr
2024-03-11 17:20:00 +08:00
parent ce7f7e4b8b
commit 1c3bfc1610
4 changed files with 185 additions and 180 deletions

View File

@ -9,10 +9,10 @@
>
<el-form-item
:label="t('admin.form.name', { type: t('admin.common.expert') })"
prop="title"
prop="name"
>
<el-input
v-model="queryParams.title"
v-model="queryParams.name"
clearable
:placeholder="
t('admin.form.placeholder', {
@ -60,7 +60,7 @@
<el-dialog
v-model="showExpertDialog"
:title="t('admin.table.relatedExperts')"
@close="resetQuery"
@close="resetNotBindExpertQuery"
>
<el-form
ref="notBindExpertQueryRef"
@ -70,10 +70,10 @@
>
<el-form-item
:label="t('admin.form.name', { type: t('admin.common.expert') })"
prop="name"
prop="expertName"
>
<el-input
v-model="notBindExpertQueryParams.name"
v-model="notBindExpertQueryParams.expertName"
clearable
:placeholder="
t('admin.form.placeholder', {
@ -296,7 +296,7 @@ const data = reactive({
queryParams: {
pageNum: 1,
pageSize: 10,
inventor: undefined,
name: undefined,
},
form: {},
rules: {},
@ -329,6 +329,11 @@ const handleQuery = () => {
/** 重置按钮操作 */
function resetQuery() {
queryRef.value.resetFields();
queryParams.value = {
pageNum: 1,
pageSize: 10,
name: undefined,
}
handleQuery();
}
@ -387,7 +392,7 @@ const notBindExpertTotal = ref(0);
const notBindExpertQueryParams = reactive({
pageNum: 1,
pageSize: 10,
name: undefined,
expertName: undefined,
});
const notBindExpertQueryRef = ref();
@ -410,7 +415,7 @@ const handleAddBind = () => {
const resetNotBindExpertQuery = () => {
notBindExpertQueryParams.pageNum = 1;
notBindExpertQueryParams.pageSize = 10;
notBindExpertQueryParams.name = undefined;
notBindExpertQueryParams.expertName = undefined;
notBindExpertQueryRef.value.resetFields();
getNotBindExpertList();
};

View File

@ -9,10 +9,10 @@
>
<el-form-item
:label="t('admin.form.name', { type: t('admin.common.achievement') })"
prop="title"
prop="name"
>
<el-input
v-model="queryParams.title"
v-model="queryParams.name"
clearable
:placeholder="
t('admin.form.placeholder', { type: t('admin.common.patent') })
@ -52,7 +52,7 @@
<el-dialog
v-model="showExpertDialog"
:title="t('admin.table.relatedExperts')"
@close="resetQuery"
@close="resetNotBindExpertQuery"
>
<el-form
ref="notBindExpertQueryRef"
@ -62,10 +62,10 @@
>
<el-form-item
:label="t('admin.form.name', { type: t('admin.common.expert') })"
prop="name"
prop="expertName"
>
<el-input
v-model="notBindExpertQueryParams.name"
v-model="notBindExpertQueryParams.expertName"
clearable
:placeholder="
t('admin.form.placeholder', {
@ -284,7 +284,7 @@ const notBindExpertTotal = ref(0);
const notBindExpertQueryParams = reactive({
pageNum: 1,
pageSize: 10,
name: undefined,
expertName: undefined,
});
const data = reactive({
queryParams: {
@ -427,7 +427,7 @@ const handleAddBind = () => {
const resetNotBindExpertQuery = () => {
notBindExpertQueryParams.pageNum = 1;
notBindExpertQueryParams.pageSize = 10;
notBindExpertQueryParams.name = undefined;
notBindExpertQueryParams.expertName = undefined;
notBindExpertQueryRef.value.resetFields();
getNotBindExpertList();
};

View File

@ -209,16 +209,16 @@
@submit.prevent
>
<el-form-item
:label="t('admin.form.name', { type: t('admin.common.expert') })"
:label="t('admin.form.name', { type: t('admin.common.lab') })"
prop="name"
>
<el-input
v-model="notBindExpertQueryParams.name"
v-model="notBindExpertQueryParams.laboratoryName"
clearable
:placeholder="
t('admin.form.placeholder', {
type: t('admin.form.name', {
type: t('admin.common.expert'),
type: t('admin.common.lab'),
}),
})
"
@ -331,7 +331,7 @@ const notBindExpertTotal = ref(0);
const notBindExpertQueryParams = reactive({
pageNum: 1,
pageSize: 10,
name: undefined,
laboratoryName: undefined,
});
const data = reactive({
@ -529,7 +529,7 @@ const handleAddBind = () => {
const resetNotBindExpertQuery = () => {
notBindExpertQueryParams.pageNum = 1;
notBindExpertQueryParams.pageSize = 10;
notBindExpertQueryParams.name = undefined;
notBindExpertQueryParams.laboratoryName = undefined;
notBindExpertQueryRef.value.resetFields();
getNotBindExpertList();
};

View File

@ -51,7 +51,7 @@
</div>
<div class="line">
{{ t("webSearch.researchInstitute") }}
<span>{{ data.organization }}</span>
<span>{{ data.researchName }}</span>
</div>
<!-- <div
v-if="data.patent_title"