修改任务待办提示
This commit is contained in:
parent
432d4ba332
commit
a3c0886564
@ -869,8 +869,9 @@ export default {
|
|||||||
async questionlook(row) {
|
async questionlook(row) {
|
||||||
// this.totalScoredata=0,
|
// this.totalScoredata=0,
|
||||||
await selectPatientQuestionSubmit(row.taskExecuteRecordId).then((res) => {
|
await selectPatientQuestionSubmit(row.taskExecuteRecordId).then((res) => {
|
||||||
this.questiondata = res.data;
|
if(res.data){
|
||||||
this.questiondata.subjectResultList.forEach((e) => {
|
this.questiondata = res.data;
|
||||||
|
this.questiondata?.subjectResultList.forEach((e) => {
|
||||||
// if(e.whetherScore==1){
|
// if(e.whetherScore==1){
|
||||||
// e.optionResults.forEach((el) => {
|
// e.optionResults.forEach((el) => {
|
||||||
// if(el.optionChooseSign=="0"){
|
// if(el.optionChooseSign=="0"){
|
||||||
@ -904,6 +905,12 @@ export default {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
this.questionshow = true;
|
this.questionshow = true;
|
||||||
|
|
||||||
|
}else{
|
||||||
|
this.$message.error("未查到问卷提交信息");
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
audiohandleClose() {
|
audiohandleClose() {
|
||||||
@ -921,14 +928,23 @@ export default {
|
|||||||
// }).then(() => {
|
// }).then(() => {
|
||||||
getPhoneDialVideo(row.manageRouteNodeId).then((res) => {
|
getPhoneDialVideo(row.manageRouteNodeId).then((res) => {
|
||||||
console.log(res, "res");
|
console.log(res, "res");
|
||||||
this.audioshow = true;
|
|
||||||
|
if(res.data.record){
|
||||||
|
this.audioshow = true;
|
||||||
this.audiourl = process.env.VUE_APP_BASE_API + res.data.phoneDialRecordVideo;
|
this.audiourl = process.env.VUE_APP_BASE_API + res.data.phoneDialRecordVideo;
|
||||||
this.formlist = res.data.record;
|
this.formlist = res.data.record;
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
this.$refs.audioPlayer.load(); // 重新加载音频,以确保每次播放都是新的音频文件
|
this.$refs.audioPlayer.load(); // 重新加载音频,以确保每次播放都是新的音频文件
|
||||||
// this.$refs.audioPlayer.play();
|
// this.$refs.audioPlayer.play();
|
||||||
// }, 1000);
|
// }, 1000);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
}else{
|
||||||
|
this.$message.error("未查到回放信息");
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
Outbound(row) {
|
Outbound(row) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user