diff --git a/src/views/seo/components/searchMore.vue b/src/views/seo/components/searchMore.vue index b1abe5a..de3e519 100644 --- a/src/views/seo/components/searchMore.vue +++ b/src/views/seo/components/searchMore.vue @@ -77,7 +77,7 @@ v-for="item in caseBigTypeList" :key="'caseType_'+item.id" :label="item.typeName" - :value="item.id" + :value="item.typeCode" /> @@ -334,9 +334,15 @@ }, // 获取案卷小类 getCaseDetailType() { + let typeId = '' + this.caseBigTypeList.forEach(item => { + if (item.typeCode === this.listQuery.casetypeCode) { + typeId = item.id + } + }) const params = { eorc: this.listQuery.eorc, - typeId: this.listQuery.casetypeCode + typeId: typeId } getCaseDetailTypeList(params).then(response => { this.caseDetailTypeList = response.data