diff --git a/src/components/feedBackTable/index.vue b/src/components/feedBackTable/index.vue
index 90e2f230..d4bb1d11 100644
--- a/src/components/feedBackTable/index.vue
+++ b/src/components/feedBackTable/index.vue
@@ -10,7 +10,7 @@
{{ title }}
-
+
@@ -23,13 +23,15 @@ export default {
return {
title: null,
visible: false,
+ trialId: null,
};
},
computed: {},
methods: {
open(data) {
- let { code, name } = data;
+ let { code, name, trialId } = data;
this.title = this.setTitle(code, name);
+ this.trialId = trialId;
this.visible = true;
},
cancel() {
diff --git a/src/views/feedBack/index.vue b/src/views/feedBack/index.vue
index deb446d8..d5a6e827 100644
--- a/src/views/feedBack/index.vue
+++ b/src/views/feedBack/index.vue
@@ -301,6 +301,12 @@ const searchDataDefault = () => {
};
export default {
components: { Pagination },
+ props: {
+ trialId: {
+ required: true,
+ default: "",
+ },
+ },
dicts: [
"NoticeApplicableTrial",
"NoteLevel",
@@ -362,6 +368,9 @@ export default {
},
async getList() {
try {
+ if (this.trialId) {
+ this.searchData.TrialId = this.trialId;
+ }
this.loading = true;
let res = await getUserFeedBackList(this.searchData);
this.loading = false;
diff --git a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue
index 59a0b3d6..17553d56 100644
--- a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue
+++ b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue
@@ -120,7 +120,11 @@
-
+
@@ -173,6 +177,7 @@ export default {
data: {
code: this.$route.query.trialCode,
name: this.$route.query.researchProgramNo,
+ trialId: this.trialId,
},
});
},