Browse Source

merge "feature/1001837" into "main"
feature/1001837

Kevin 2 years ago
parent
commit
243fe8e012

+ 1 - 0
src/types/search.types.ts

@@ -62,6 +62,7 @@ export interface ChapterSearchDocResponse {
   year?: string;
   page: number;
   orderNum: number;
+  journalName?: string;
 }
 
 export interface ChapterSearchResponse {

+ 1 - 0
src/views/report/components/reference/ReferenceSearchResultItem.vue

@@ -62,6 +62,7 @@ function onInsertion() {
   <h4 class="section-title" v-html="data.section"></h4>
   <div class="meta">
     <a-space>
+      <span v-if="data.journalName">期刊名称:{{ data.journalName }}</span> <br />
       <span v-if="data.year">时间:{{ data.year }}</span>
       <span v-for="(item, index) in data.unitScholars" :key="index">
         {{ item.scholarName }} {{ item.unitName }}