追踪相关
This commit is contained in:
parent
48a60adfe4
commit
216a00f28c
@ -59,10 +59,10 @@
|
|||||||
<el-table-column prop="connectedCount" label="接通数" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="connectedCount" label="接通数" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="notConnectedCount" label="未接通数" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="notConnectedCount" label="未接通数" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="notCalledCount" label="未呼数" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="notCalledCount" label="未呼数" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="channel" label="操作人" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="createByName" label="操作人" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="planStartTime" label="操作时间" show-overflow-tooltip >
|
<el-table-column label="操作时间" show-overflow-tooltip >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
|
|||||||
@ -64,21 +64,30 @@
|
|||||||
<el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="channel" label="发起方式" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="channel" label="发起方式" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="documentType" label="文书送达范围" show-overflow-tooltip ></el-table-column>
|
<!-- <el-table-column prop="documentType" label="文书送达范围" show-overflow-tooltip ></el-table-column> -->
|
||||||
<el-table-column prop="status" label="送达状态" show-overflow-tooltip ></el-table-column>
|
<el-table-column label="文书送达范围" show-overflow-tooltip>
|
||||||
<el-table-column prop="channel" label="操作人" show-overflow-tooltip ></el-table-column>
|
|
||||||
<el-table-column prop="planStartTime" label="操作时间" show-overflow-tooltip >
|
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span>{{ scope.row.documentType.desc != undefined ? scope.row.documentType.desc :'' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="status" label="送达状态" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.status.desc }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="createByName" label="操作人" show-overflow-tooltip ></el-table-column>
|
||||||
|
<el-table-column label="操作时间" show-overflow-tooltip >
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="操作" width="120">
|
<el-table-column label="操作" width="220">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="flex-row align-items-center">
|
<div class="flex-row align-items-center">
|
||||||
<el-button size="mini" @click="handleDetail(scope)">明细</el-button>
|
<el-button size="mini" @click="handleDetail(scope)">明细</el-button>
|
||||||
<el-button size="mini" @click="handleDelete(scope)">重试</el-button>
|
<el-button size="mini" @click="handleAgain(scope.row)">重试</el-button>
|
||||||
<el-button size="mini" @click="handleBackCase(scope)">取消</el-button>
|
<el-button size="mini" @click="handleCancel(scope.row)">取消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
@ -169,6 +178,32 @@ import api from "@/services/eventTracingApi";
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
handleAgain(row) {
|
||||||
|
this.$confirm("确定重试?", "提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning",
|
||||||
|
}).then(() => {
|
||||||
|
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||||
|
api.posttrace_served_retry({id: row.id}).then(res => {
|
||||||
|
this.getList(1);
|
||||||
|
this.$message.success("成功");
|
||||||
|
})
|
||||||
|
}).catch(() => {});
|
||||||
|
},
|
||||||
|
handleCancel(row) {
|
||||||
|
this.$confirm("确定取消?", "提示", {
|
||||||
|
confirmButtonText: "确定",
|
||||||
|
cancelButtonText: "取消",
|
||||||
|
type: "warning",
|
||||||
|
}).then(() => {
|
||||||
|
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||||
|
api.posttrace_served_cancel({id: row.id}).then(res => {
|
||||||
|
this.getList(1);
|
||||||
|
this.$message.success("成功");
|
||||||
|
})
|
||||||
|
}).catch(() => {});
|
||||||
|
},
|
||||||
handleDetail(scope){
|
handleDetail(scope){
|
||||||
this.DialogDetail = scope.row
|
this.DialogDetail = scope.row
|
||||||
}
|
}
|
||||||
|
|||||||
@ -69,19 +69,19 @@
|
|||||||
<el-table-column prop="countOk" label="发送成功" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="countOk" label="发送成功" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="countFail" label="发送失败" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="countFail" label="发送失败" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="countPending" label="获取回执中" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="countPending" label="获取回执中" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="updateAt" label="操作人" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="createByName" label="操作人" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="planStartTime" label="操作时间" show-overflow-tooltip >
|
<el-table-column label="操作时间" show-overflow-tooltip >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span >{{ scope.row.createAt | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column label="操作" width="220">
|
<el-table-column label="操作" width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<div class="flex-row align-items-center">
|
<div class="flex-row align-items-center">
|
||||||
<el-button size="mini" @click="handleDetail(scope)">明细</el-button>
|
<el-button size="mini" @click="handleDetail(scope)">明细</el-button>
|
||||||
<el-button size="mini" @click="handleAgain(scope)">重试</el-button>
|
<!-- <el-button size="mini" @click="handleAgain(scope)">重试</el-button>
|
||||||
<el-button size="mini" @click="handleDelete(scope)">取消</el-button>
|
<el-button size="mini" @click="handleDelete(scope)">取消</el-button> -->
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
|||||||
@ -53,8 +53,17 @@
|
|||||||
<el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="channel" label="文书接收人" show-overflow-tooltip ></el-table-column>
|
<el-table-column prop="channel" label="文书接收人" show-overflow-tooltip ></el-table-column>
|
||||||
<el-table-column prop="documentType" label="文书类型" show-overflow-tooltip ></el-table-column>
|
<el-table-column label="文书类型" show-overflow-tooltip>
|
||||||
<el-table-column prop="status" label="送达状态" show-overflow-tooltip ></el-table-column>
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.documentType.desc != undefined ? scope.row.documentType.desc :'' }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
<el-table-column prop="status" label="送达状态" show-overflow-tooltip>
|
||||||
|
<template slot-scope="scope">
|
||||||
|
<span>{{ scope.row.status.desc }}</span>
|
||||||
|
</template>
|
||||||
|
</el-table-column>
|
||||||
|
|
||||||
<el-table-column prop="planStartTime" label="送达时间" show-overflow-tooltip >
|
<el-table-column prop="planStartTime" label="送达时间" show-overflow-tooltip >
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span >{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
|
|||||||
@ -61,18 +61,18 @@
|
|||||||
<el-table-column type="index" label="序号" width="55"></el-table-column>
|
<el-table-column type="index" label="序号" width="55"></el-table-column>
|
||||||
<!-- <el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column> -->
|
<!-- <el-table-column prop="pkgName" label="案件包名称" show-overflow-tooltip ></el-table-column> -->
|
||||||
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="caseNo" label="案件编号" width="200" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="channel" label="短信模板" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="templateId" label="短信模板" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="receiver" label="短信接收人" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="contact" label="短信接收人" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="phone" label="电话号码" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="phone" label="电话号码" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="channel" label="短信接收对象" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="sendObjectType" label="短信接收对象" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="status" label="发送状态" show-overflow-tooltip>
|
<el-table-column prop="status" label="发送状态" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.status.desc }}</span>
|
<span>{{ scope.row.status.desc }}</span>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="failureReason" label="失败原因" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="failureReason" label="失败原因" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="channel" label="操作人" show-overflow-tooltip></el-table-column>
|
<el-table-column prop="createByName" label="操作人" show-overflow-tooltip></el-table-column>
|
||||||
<el-table-column prop="planStartTime" label="操作时间" show-overflow-tooltip>
|
<el-table-column label="操作时间" show-overflow-tooltip>
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<span>{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
<span>{{ scope.row.planStartTime | formaDate("yyyy-MM-dd hh:mm:ss") }}</span>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@ -49,6 +49,15 @@ const traceApi = {
|
|||||||
posttrace_served_detail: data => {
|
posttrace_served_detail: data => {
|
||||||
return service.service.post(`${apiMediate}workbench/trace-served-detail`, data)
|
return service.service.post(`${apiMediate}workbench/trace-served-detail`, data)
|
||||||
},
|
},
|
||||||
|
// 送达追踪重试
|
||||||
|
posttrace_served_retry: data => {
|
||||||
|
return service.service.post(`${apiMediate}api/trace/traceServed/retry`, data)
|
||||||
|
},
|
||||||
|
// 送达追踪取消
|
||||||
|
posttrace_served_cancel: data => {
|
||||||
|
return service.service.post(`${apiMediate}api/trace/traceServed/cancel`, data)
|
||||||
|
},
|
||||||
|
|
||||||
// 外呼追踪记录
|
// 外呼追踪记录
|
||||||
posttrace_calling: data => {
|
posttrace_calling: data => {
|
||||||
return service.service.post(`${apiMediate}workbench/trace-calling`, data)
|
return service.service.post(`${apiMediate}workbench/trace-calling`, data)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user