外呼记录新增列

This commit is contained in:
shidongli 2024-12-19 17:26:24 +08:00
parent aef0a89b45
commit 9716080532

View File

@ -170,6 +170,22 @@
</span>
</el-form-item>
<el-form-item label="通话状态" prop="phoneNodeExecuteResultStatus">
<el-select
v-model="queryParams.phoneNodeExecuteResultStatus"
placeholder="请选择通话状态"
clearable
style="width: 220px"
>
<el-option
v-for="item in SUCCESSlist"
:key="item.value"
:label="item.label"
:value="item.value"
>
</el-option>
</el-select>
</el-form-item>
</SearchFilter>
</div>
<div ref="table">
@ -219,7 +235,7 @@
/>
<el-table-column
label="节点任务执行状态"
label="执行状态"
align="center"
prop="nodeExecuteStatus"
width="150"
@ -237,6 +253,16 @@
>
</template>
</el-table-column>
<el-table-column
label="通话状态"
align="center"
prop="phoneNodeExecuteResultStatus"
width="150"
>
<template slot-scope="scope">
{{scope.row.phoneNodeExecuteResultStatus == "SUCCESS" ? "已接通" : "未接通"}}
</template>
</el-table-column>
<el-table-column
label="反馈意见"
align="center"
@ -244,6 +270,8 @@
width="150"
/>
<el-table-column
label="就诊时间"
align="center"
@ -311,7 +339,7 @@
<el-dialog title="问卷查看" :visible.sync="questionshow" width="40%">
<div class="bottomheader">
<div class="right">
<div class="title" v-if="totalScoredata>0">总分{{ totalScoredata }}</div>
<div class="title" v-if="questiondata.totalScore || questiondata.totalScore ==0">总分{{ questiondata.totalScore }}</div>
<div
class="words"
v-for="(item, index) in questiondata.subjectResultList"
@ -497,6 +525,18 @@ export default {
pageNum: 1,
pageSize: 10,
},
//
SUCCESSlist:[
{
value: "SUCCESS",
label: "已接通",
},
{
value: "FAILURE",
label: "未接通",
},
],
//
nodeExecutList: [
{
@ -600,6 +640,7 @@ export default {
nodeExecuteStatus: '',
taskExcuteType: null,
contentedFlag: null,
phoneNodeExecuteResultStatus:null,
sn: null,
},
show: false,
@ -665,17 +706,18 @@ export default {
},
//
async questionlook(row) {
this.totalScoredata=0,
// this.totalScoredata=0,
await selectPatientQuestionSubmit(row.taskExecuteRecordId).then((res) => {
this.questiondata = res.data;
console.log( this.questiondata,' this.questiondata')
this.questiondata.subjectResultList.forEach((e) => {
if(e.whetherScore==1){
e.optionResults.forEach((el) => {
if(el.optionChooseSign=="0"){
this.totalScoredata += el.optionScore
}
})
}
// if(e.whetherScore==1){
// e.optionResults.forEach((el) => {
// if(el.optionChooseSign=="0"){
// this.totalScoredata += el.optionScore
// }
// })
// }
e.optionResults.forEach((el) => {
if (
(el.optionChooseSign == "0" &&