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">
|
<div slot="title">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
</div>
|
</div>
|
||||||
<feedBackTable />
|
<feedBackTable :trialId="trialId" />
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -23,13 +23,15 @@ export default {
|
||||||
return {
|
return {
|
||||||
title: null,
|
title: null,
|
||||||
visible: false,
|
visible: false,
|
||||||
|
trialId: null,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {},
|
computed: {},
|
||||||
methods: {
|
methods: {
|
||||||
open(data) {
|
open(data) {
|
||||||
let { code, name } = data;
|
let { code, name, trialId } = data;
|
||||||
this.title = this.setTitle(code, name);
|
this.title = this.setTitle(code, name);
|
||||||
|
this.trialId = trialId;
|
||||||
this.visible = true;
|
this.visible = true;
|
||||||
},
|
},
|
||||||
cancel() {
|
cancel() {
|
||||||
|
|
|
@ -301,6 +301,12 @@ const searchDataDefault = () => {
|
||||||
};
|
};
|
||||||
export default {
|
export default {
|
||||||
components: { Pagination },
|
components: { Pagination },
|
||||||
|
props: {
|
||||||
|
trialId: {
|
||||||
|
required: true,
|
||||||
|
default: "",
|
||||||
|
},
|
||||||
|
},
|
||||||
dicts: [
|
dicts: [
|
||||||
"NoticeApplicableTrial",
|
"NoticeApplicableTrial",
|
||||||
"NoteLevel",
|
"NoteLevel",
|
||||||
|
@ -362,6 +368,9 @@ export default {
|
||||||
},
|
},
|
||||||
async getList() {
|
async getList() {
|
||||||
try {
|
try {
|
||||||
|
if (this.trialId) {
|
||||||
|
this.searchData.TrialId = this.trialId;
|
||||||
|
}
|
||||||
this.loading = true;
|
this.loading = true;
|
||||||
let res = await getUserFeedBackList(this.searchData);
|
let res = await getUserFeedBackList(this.searchData);
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|
|
@ -120,7 +120,11 @@
|
||||||
</el-descriptions-item>
|
</el-descriptions-item>
|
||||||
</el-descriptions>
|
</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>
|
<i class="el-icon-message" @click.stop="openFeedBack"></i>
|
||||||
</el-badge>
|
</el-badge>
|
||||||
</div>
|
</div>
|
||||||
|
@ -173,6 +177,7 @@ export default {
|
||||||
data: {
|
data: {
|
||||||
code: this.$route.query.trialCode,
|
code: this.$route.query.trialCode,
|
||||||
name: this.$route.query.researchProgramNo,
|
name: this.$route.query.researchProgramNo,
|
||||||
|
trialId: this.trialId,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue