From d0641cdfc93fd66776e3dc423842a94d1f03be25 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 2 Aug 2024 14:02:44 +0800 Subject: [PATCH] =?UTF-8?q?PM=E9=A1=B9=E7=9B=AE=E6=80=BB=E8=A7=88=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E8=AE=B0=E5=BD=95=E6=95=B0=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/feedBackTable/index.vue | 6 ++++-- src/views/feedBack/index.vue | 9 +++++++++ .../trial-summary/trial-information/index.vue | 7 ++++++- 3 files changed, 19 insertions(+), 3 deletions(-) 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, }, }); },