This commit is contained in:
RenCheng 2025-06-22 16:11:32 +08:00
parent df4ed43422
commit 62f73281cc
2 changed files with 6 additions and 4 deletions

View File

@ -62,8 +62,8 @@
</a-row>
<a-row :gutter="24">
<a-col :md="4" :sm="4">
<a-form-item label="编目文字" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目文字" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-form-item label="编目" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-select-option v-for="d in datatagSources" :key="d.id">
{{ d.tagName }}
</a-select-option>
@ -240,6 +240,7 @@ export default {
idcTableTaglist(this.tagqueryParam).then((res) => {
if (res.success) {
this.datatagSources = res.result.records;
this.datatagSources.unshift({tagName:'全部',id:null})
this.queryParam.tagId = res.result.records[0].id;
} else {
this.$message.warning(res.message);

View File

@ -61,8 +61,8 @@
</a-row>
<a-row :gutter="24">
<a-col :md="4" :sm="4">
<a-form-item label="编目文字" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目文字" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-form-item label="编目" :label-col="{ span: 10 }" :wrapper-col="{ span: 14 }">
<a-select placeholder="选择编目" option-filter-prop="children" @change="getMetaDataTypeTree" v-model="queryParam.tagId">
<a-select-option v-for="d in datatagSources" :key="d.id">
{{ d.tagName }}
</a-select-option>
@ -236,6 +236,7 @@ export default {
idcTableTaglist(this.tagqueryParam).then((res) => {
if (res.success) {
this.datatagSources = res.result.records;
this.datatagSources.unshift({tagName:'全部',id:null})
this.queryParam.tagId = res.result.records[0].id;
} else {
this.$message.warning(res.message);