外呼记录新增列
This commit is contained in:
parent
aef0a89b45
commit
9716080532
@ -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" &&
|
||||
|
||||
Loading…
Reference in New Issue
Block a user