|
@@ -441,13 +441,18 @@
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
|
|
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
|
|
+ <span style="margin-right: 8px;">只看待执行外呼任务</span>
|
|
|
|
|
+ <el-checkbox v-model="execLogs.onlyCallNode"></el-checkbox>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+
|
|
|
|
|
+ <div style="margin-right:auto;">
|
|
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
|
<el-button type="primary" icon="el-icon-search" @click="handleSearch">
|
|
|
查询
|
|
查询
|
|
|
</el-button>
|
|
</el-button>
|
|
|
<el-button icon="el-icon-refresh" @click="handleReset">
|
|
<el-button icon="el-icon-refresh" @click="handleReset">
|
|
|
重置
|
|
重置
|
|
|
</el-button>
|
|
</el-button>
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
+ </div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
|
|
|
|
@@ -522,6 +527,16 @@
|
|
|
<span class="meta-item node">
|
|
<span class="meta-item node">
|
|
|
<i class="el-icon-s-operation"></i>
|
|
<i class="el-icon-s-operation"></i>
|
|
|
当前节点:<strong>{{ record.currentNodeTypeName }}</strong>
|
|
当前节点:<strong>{{ record.currentNodeTypeName }}</strong>
|
|
|
|
|
+ <!-- 外呼未执行标识 -->
|
|
|
|
|
+ <el-button
|
|
|
|
|
+ v-if="record.waitCallNode"
|
|
|
|
|
+ type="danger"
|
|
|
|
|
+ size="mini"
|
|
|
|
|
+ icon="el-icon-phone"
|
|
|
|
|
+ style="margin-left: 8px;"
|
|
|
|
|
+ @click.stop="handleManualCall(record)">
|
|
|
|
|
+ 开始人工外呼
|
|
|
|
|
+ </el-button>
|
|
|
</span>
|
|
</span>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -758,7 +773,8 @@ export default {
|
|
|
total: 0,
|
|
total: 0,
|
|
|
currentTaskId: null,
|
|
currentTaskId: null,
|
|
|
customerName: '',
|
|
customerName: '',
|
|
|
- customerPhone: ''
|
|
|
|
|
|
|
+ customerPhone: '',
|
|
|
|
|
+ onlyCallNode: false
|
|
|
},
|
|
},
|
|
|
// 表单校验
|
|
// 表单校验
|
|
|
rules: {
|
|
rules: {
|
|
@@ -845,6 +861,7 @@ export default {
|
|
|
this.execLogs.customerName = ''
|
|
this.execLogs.customerName = ''
|
|
|
this.execLogs.customerPhone = ''
|
|
this.execLogs.customerPhone = ''
|
|
|
this.execLogs.pageNum = 1
|
|
this.execLogs.pageNum = 1
|
|
|
|
|
+ this.execLogs.onlyCallNode = false
|
|
|
|
|
|
|
|
// 可选:重置分页
|
|
// 可选:重置分页
|
|
|
this.execLogs.pageSize = 10
|
|
this.execLogs.pageSize = 10
|
|
@@ -1269,7 +1286,8 @@ export default {
|
|
|
pageNum: this.execLogs.pageNum,
|
|
pageNum: this.execLogs.pageNum,
|
|
|
pageSize: this.execLogs.pageSize,
|
|
pageSize: this.execLogs.pageSize,
|
|
|
customerName: this.execLogs.customerName,
|
|
customerName: this.execLogs.customerName,
|
|
|
- customerPhone: this.execLogs.customerPhone
|
|
|
|
|
|
|
+ customerPhone: this.execLogs.customerPhone,
|
|
|
|
|
+ onlyCallNode: this.execLogs.onlyCallNode
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
this.execLogs.list = res.rows || []
|
|
this.execLogs.list = res.rows || []
|
|
@@ -1307,7 +1325,26 @@ export default {
|
|
|
this.execLogs.customerName = ''
|
|
this.execLogs.customerName = ''
|
|
|
this.execLogs.customerPhone = ''
|
|
this.execLogs.customerPhone = ''
|
|
|
this.execLogs.pageNum = 1
|
|
this.execLogs.pageNum = 1
|
|
|
|
|
+ this.execLogs.onlyCallNode = false
|
|
|
this.getExecLogs()
|
|
this.getExecLogs()
|
|
|
|
|
+ },
|
|
|
|
|
+ handleManualCall(record) {
|
|
|
|
|
+ this.$confirm(
|
|
|
|
|
+ `确认对客户【${record.customerName}】进行人工外呼吗?`,
|
|
|
|
|
+ '提示',
|
|
|
|
|
+ {
|
|
|
|
|
+ confirmButtonText: '确认',
|
|
|
|
|
+ cancelButtonText: '取消',
|
|
|
|
|
+ type: 'warning'
|
|
|
|
|
+ }
|
|
|
|
|
+ ).then(() => {
|
|
|
|
|
+
|
|
|
|
|
+ // 调用后端接口
|
|
|
|
|
+ this.$message.success('已发起人工外呼');
|
|
|
|
|
+
|
|
|
|
|
+ // TODO: 调接口
|
|
|
|
|
+
|
|
|
|
|
+ }).catch(() => {});
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|