|
@@ -95,11 +95,11 @@
|
|
|
<div class="right-bottom">
|
|
|
<div class="column">
|
|
|
<div class="title">点评</div>
|
|
|
- <div class="note">{{ reportDetails._comments?.toString() }}</div>
|
|
|
+ <div class="note">{{ reportDetails._comments?.toString() || reportDetails.comments }}</div>
|
|
|
</div>
|
|
|
<div class="column">
|
|
|
<div class="title">建议</div>
|
|
|
- <div class="note">{{ reportDetails._recommends?.toString() }}</div>
|
|
|
+ <div class="note">{{ reportDetails._recommends?.toString() || reportDetails.recommends }}</div>
|
|
|
</div>
|
|
|
<div class="column column2">
|
|
|
<div class="title2">数据查看</div>
|
|
@@ -144,10 +144,10 @@ const getReportDetails = async () => {
|
|
|
reportDetails.value = {};
|
|
|
let params: any = {
|
|
|
exam_name: type.value,
|
|
|
- result_id_info: faceCheckStu.value.result_id_info,
|
|
|
- student_ids: faceCheckStu.value.student_id
|
|
|
+ student_ids: faceCheckStu.value.student_id,
|
|
|
+ result_id_info: faceCheckStu.value.result_id_info
|
|
|
};
|
|
|
- await proxy?.$http.common.reportDetails(params).then((res: any) => {
|
|
|
+ await proxy?.$http.common.reportDetailsOld(params).then((res: any) => {
|
|
|
if (res.data.length > 0) {
|
|
|
reportDetails.value = res.data[0];
|
|
|
}
|
|
@@ -161,6 +161,11 @@ const getChoose = (data: any) => {
|
|
|
|
|
|
//打开
|
|
|
const open = async (typeData: any, data: any) => {
|
|
|
+ console.log("data", data)
|
|
|
+ if (faceCheckStu.value.result_id_info == undefined) {
|
|
|
+ proxy?.$modal.msgWarning("查询参数错误");
|
|
|
+ return false;
|
|
|
+ }
|
|
|
type.value = typeData;
|
|
|
faceCheckStu.value = data;
|
|
|
await getReportDetails();
|