PM项目总览反馈记录数量
continuous-integration/drone/push Build is passing Details

uat_us
DESKTOP-6C3NK6N\WXS 2024-08-02 14:02:44 +08:00
parent 32274c4a37
commit d0641cdfc9
3 changed files with 19 additions and 3 deletions

View File

@ -10,7 +10,7 @@
<div slot="title">
{{ title }}
</div>
<feedBackTable />
<feedBackTable :trialId="trialId" />
</el-dialog>
</div>
</template>
@ -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() {

View File

@ -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;

View File

@ -120,7 +120,11 @@
</el-descriptions-item>
</el-descriptions>
<el-badge :value="200" :max="99" class="inBox">
<el-badge
:value="trialInfo.UserFeedBackUnDealedCount || 0"
:max="99"
class="inBox"
>
<i class="el-icon-message" @click.stop="openFeedBack"></i>
</el-badge>
</div>
@ -173,6 +177,7 @@ export default {
data: {
code: this.$route.query.trialCode,
name: this.$route.query.researchProgramNo,
trialId: this.trialId,
},
});
},