PM项目总览反馈记录数量
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
32274c4a37
commit
d0641cdfc9
|
@ -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() {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue