|
|
@@ -11,6 +11,10 @@ import { CompLog } from "@/libs/log.lib";
|
|
|
import SpinComponent from "@/components/SpinComponent.vue";
|
|
|
|
|
|
const props = defineProps({
|
|
|
+ reportName: {
|
|
|
+ type: String,
|
|
|
+ required: true,
|
|
|
+ },
|
|
|
reportKeywords: {
|
|
|
type: String,
|
|
|
required: true,
|
|
|
@@ -57,6 +61,7 @@ function getDefaultKeywords(): string[] {
|
|
|
|
|
|
function getSearchRequest(): ChapterSearchRequest {
|
|
|
const request: ChapterSearchRequest = {
|
|
|
+ reportName: props.reportName || '',
|
|
|
reportKeywords: props.reportKeywords || '',
|
|
|
chapterKeywords: getDefaultKeywords(),
|
|
|
queryKeywords: queryKeywords.value,
|