部分功能

This commit is contained in:
liuxi 2024-12-24 11:27:17 +08:00
parent b5bee11889
commit c46626b7f6
10 changed files with 54 additions and 53 deletions

View File

@ -33,17 +33,17 @@
<div class="mt-16 case-trace-cont"> <div class="mt-16 case-trace-cont">
<!-- 短信发送追踪明细 --> <!-- 短信发送追踪明细 -->
<smsDialogDetail v-if="activeName == '1'" :eventTraDialog="eventTraDialog" /> <smsDialogDetail v-if="activeName == '1'" :DialogDetail="eventTraDialog" />
<!-- 呼叫记录 --> <!-- 呼叫记录 -->
<CalllogDialog v-if="activeName == '2'" :eventTraDialog.sync="calllogDialog" /> <CalllogDialog v-if="activeName == '2'" :eventTraDialog.sync="eventTraDialog" />
<!-- 视频调解追踪 --> <!-- 视频调解追踪 -->
<voideDialog v-if="activeName == '3'" :eventTraDialog="eventTraDialog" /> <voideDialog v-if="activeName == '3'" :eventTraDialog="eventTraDialog" />
<!-- 文书生成追踪明细 --> <!-- 文书生成追踪明细 -->
<officeDialogDetail v-if="activeName == '4'" :eventTraDialog="eventTraDialog" /> <officeDialogDetail v-if="activeName == '4'" :DialogDetail="eventTraDialog" />
<!-- 文书签字追踪明细 --> <!-- 文书签字追踪明细 -->
<officeWDialogDetail v-if="activeName == '5'" :eventTraDialog="eventTraDialog" /> <officeWDialogDetail v-if="activeName == '5'" :DialogDetail="eventTraDialog" />
<!-- 文书送达追踪明细 --> <!-- 文书送达追踪明细 -->
<officeDeliveryDialogDetail v-if="activeName == '6'" :eventTraDialog="eventTraDialog" /> <officeDeliveryDialogDetail v-if="activeName == '6'" :DialogDetail="eventTraDialog" />
<!-- 还款计划 --> <!-- 还款计划 -->
<RepaymentDialog v-if="activeName == '7'" :eventTraDialog.sync="repaymentDialog" /> <RepaymentDialog v-if="activeName == '7'" :eventTraDialog.sync="repaymentDialog" />
<!-- 还款凭证 --> <!-- 还款凭证 -->
@ -136,7 +136,7 @@ import api from "@/services/caseManagement";
} }
.dialog-case-trace{ .dialog-case-trace{
padding: 16px 20px; padding: 16px 20px;
max-height:500px min-height:500px
} }
.dialog-case-trace .zd-el-tabs-custom{ .dialog-case-trace .zd-el-tabs-custom{
margin-top: -61px ; margin-top: -61px ;

View File

@ -114,6 +114,7 @@ import api from "@/services/eventTracingApi";
}; };
}, },
mounted () { mounted () {
this.queryParam.caseNo = this.DialogDetail.caseNo
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -101,6 +101,7 @@ import api from "@/services/eventTracingApi";
}, },
mounted () { mounted () {
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.queryParam.caseNo = this.DialogDetail.caseNo
this.getList(1) this.getList(1)
}, },
methods: { methods: {

View File

@ -101,6 +101,7 @@ import api from "@/services/eventTracingApi";
}; };
}, },
mounted () { mounted () {
this.queryParam.caseNo = this.DialogDetail.caseNo
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -128,6 +128,8 @@ import api from "@/services/eventTracingApi";
}; };
}, },
mounted () { mounted () {
console.log(this.DialogDetail,'this.DialogDetail.caseNo')
if(this.DialogDetail.caseNo !=undefined && this.DialogDetail.caseNo !=''){this.queryParam.caseNo = this.DialogDetail.caseNo}
this.queryParam.traceId = this.DialogDetail.id this.queryParam.traceId = this.DialogDetail.id
this.getList(1) this.getList(1)
}, },

View File

@ -311,35 +311,35 @@
</span> </span>
</div> </div>
<div class="flex-row justify-content-between case-bg"> <div class="flex-row justify-content-between case-bg">
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'1',title:'短信发送记录',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'1',title:'短信发送记录',caseNo:scope.row.caseNo}">
<p>短信</p> <p>短信</p>
<p class="color-000"><a class="color-274ea4">成功{{scope.row.statistics.SMS}}1</a>/发送1</p> <p class="color-000"><a class="color-274ea4">成功{{scope.row.statistics.SMS}}1</a>/发送1</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'2',title:'电话呼叫记录',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'2',title:'电话呼叫记录',caseNo:scope.row.caseNo}">
<p>外呼</p> <p>外呼</p>
<p class="color-000"><a class="color-274ea4">接通0</a>/外呼0</p> <p class="color-000"><a class="color-274ea4">接通0</a>/外呼0</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'3',title:'视频调解记录'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'3',title:'视频调解记录',caseNo:scope.row.caseNo}">
<p>调解视频</p> <p>调解视频</p>
<p class="color-000"><a class="color-274ea4">结束0</a>/预约0</p> <p class="color-000"><a class="color-274ea4">结束0</a>/预约0</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'4',title:'文书生成记录',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'4',title:'文书生成记录',caseNo:scope.row.caseNo}">
<p>文书</p> <p>文书</p>
<p class="color-000">0</p> <p class="color-000">0</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'5',title:'文书签字记录',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'5',title:'文书签字记录',caseNo:scope.row.caseNo}">
<p>文书签字</p> <p>文书签字</p>
<p class="color-000"><a class="color-274ea4">成功0</a>/发起0</p> <p class="color-000"><a class="color-274ea4">成功0</a>/发起0</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'6',title:'文书送达记录',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'6',title:'文书送达记录',caseNo:scope.row.caseNo}">
<p>文书送达</p> <p>文书送达</p>
<p class="color-000">0</p> <p class="color-000">0</p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'7',title:'还款计划',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'7',title:'还款计划',caseNo:scope.row.caseNo}">
<p>还款计划</p> <p>还款计划</p>
<p class="color-000"><a class="color-274ea4">已设置</a></p> <p class="color-000"><a class="color-274ea4">已设置</a></p>
</span> </span>
<span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'8',title:'还款凭证',caseNo:'123'}"> <span class="cursor-pointer" @click="CaseTraceDialog = {activeName:'8',title:'还款凭证',caseNo:scope.row.caseNo}">
<p>还款凭证</p> <p>还款凭证</p>
<p class="color-000"><a class="color-274ea4">已填0</a></p> <p class="color-000"><a class="color-274ea4">已填0</a></p>
</span> </span>

View File

@ -1,6 +1,5 @@
import service from "./index"; import service from "./index";
const apiAdmin = '/mediate/' const apiAdmin = '/mediate/'
const apiMediate = '/mediate/'
const systemLogApi = { const systemLogApi = {
@ -34,23 +33,23 @@ const systemLogApi = {
//========================start::模板管理====================================== //========================start::模板管理======================================
// 模板查询 // 模板查询
getTemplateList: data => { getTemplateList: data => {
return service.service.post(`${apiMediate}template/getTemplateList`, data) return service.service.post(`${apiAdmin}template/getTemplateList`, data)
}, },
// 新增模板 // 新增模板
addTemplate: data => { addTemplate: data => {
return service.service.post(`${apiMediate}template/addTemplate`, data) return service.service.post(`${apiAdmin}template/addTemplate`, data)
}, },
// 修改模板 // 修改模板
updateTemplateById: data => { updateTemplateById: data => {
return service.service.post(`${apiMediate}template/updateTemplateById`, data) return service.service.post(`${apiAdmin}template/updateTemplateById`, data)
}, },
// 删除模板 // 删除模板
deleteTemplateById: data => { deleteTemplateById: data => {
return service.service.post(`${apiMediate}template/deleteTemplateById`, data) return service.service.post(`${apiAdmin}template/deleteTemplateById`, data)
}, },
// 详情查询 // 详情查询
getTemplateById: data => { getTemplateById: data => {
return service.service.post(`${apiMediate}template/getTemplateById`, data) return service.service.post(`${apiAdmin}template/getTemplateById`, data)
}, },
//========================end::模板管理====================================== //========================end::模板管理======================================

View File

@ -1,6 +1,5 @@
import service from "./index"; import service from "./index";
const apiAdmin = '/mediate/' const apiAdmin = '/mediate/'
const apiMediate = '/mediate/'
const caseManagementApi = { const caseManagementApi = {
@ -20,102 +19,102 @@ const caseManagementApi = {
// 案件各状态数量 // 案件各状态数量
getCaseCount: data => { getCaseCount: data => {
return service.service.post(`${apiMediate}cases/caseInfo/getCaseCount`, data, {hideLoading:true}) return service.service.post(`${apiAdmin}cases/caseInfo/getCaseCount`, data, {hideLoading:true})
}, },
// 案件状态枚举 // 案件状态枚举
getMediateStatusEnum: data => { getMediateStatusEnum: data => {
return service.service.get(`${apiMediate}cases/caseInfo/getMediateStatusEnum`, {hideLoading:true}) return service.service.get(`${apiAdmin}cases/caseInfo/getMediateStatusEnum`, {hideLoading:true})
}, },
// 案件管理列表 // 案件管理列表
getCaseInfoList: data => { getCaseInfoList: data => {
return service.service.post(`${apiMediate}cases/caseInfo/getCaseInfoList`, data) return service.service.post(`${apiAdmin}cases/caseInfo/getCaseInfoList`, data)
}, },
// 单个删除-案件列表 // 单个删除-案件列表
deleteCaseInfoById: data => { deleteCaseInfoById: data => {
return service.service.get(`${apiMediate}cases/caseInfo/deleteCaseInfoById?id=${data}`) return service.service.get(`${apiAdmin}cases/caseInfo/deleteCaseInfoById?id=${data}`)
}, },
// 批量删除-案件列表 // 批量删除-案件列表
deleteCaseBatch: data => { deleteCaseBatch: data => {
return service.service.post(`${apiMediate}/cases/caseInfo/deleteCaseBatch`,data) return service.service.post(`${apiAdmin}/cases/caseInfo/deleteCaseBatch`,data)
}, },
// 通过id获取案件详情 // 通过id获取案件详情
getCaseInfoById: data => { getCaseInfoById: data => {
return service.service.get(`${apiMediate}cases/caseInfo/getCaseInfoById?id=${data}`) return service.service.get(`${apiAdmin}cases/caseInfo/getCaseInfoById?id=${data}`)
}, },
// 新增案件 // 新增案件
addCaseInfo: data => { addCaseInfo: data => {
return service.service.post(`${apiMediate}/cases/caseInfo/addCaseInfo`,data) return service.service.post(`${apiAdmin}/cases/caseInfo/addCaseInfo`,data)
}, },
// 编辑案件 // 编辑案件
updateCaseInfoById: data => { updateCaseInfoById: data => {
return service.service.post(`${apiMediate}cases/caseInfo/updateCaseInfoById`,data) return service.service.post(`${apiAdmin}cases/caseInfo/updateCaseInfoById`,data)
}, },
// 分配案件 // 分配案件
dispatchCase: data => { dispatchCase: data => {
return service.service.post(`${apiMediate}cases/caseInfo/dispatchCase`,data) return service.service.post(`${apiAdmin}cases/caseInfo/dispatchCase`,data)
}, },
// 调解模板 type=1 话术模板 type=2 // 调解模板 type=1 话术模板 type=2
getTemplateList: data => { getTemplateList: data => {
return service.service.post(`${apiMediate}template/getTemplateList`, data) return service.service.post(`${apiAdmin}template/getTemplateList`, data)
}, },
// 导入案件 // 导入案件
getImportCase: data => { getImportCase: data => {
return service.service.post(`${apiMediate}cases/caseInfo/import`, data) return service.service.post(`${apiAdmin}cases/caseInfo/import`, data)
}, },
// 导出案件模板 // 导出案件模板
getExportTemplate: data => { getExportTemplate: data => {
return service.postFile(`${apiMediate}cases/caseInfo/exportTemplate`, data) return service.postFile(`${apiAdmin}cases/caseInfo/exportTemplate`, data)
}, },
// 调解记录-调解成功1/调解失败0 // 调解记录-调解成功1/调解失败0
updateResultStatus: data => { updateResultStatus: data => {
return service.service.post(`${apiMediate}cases/caseInfo/updateResultStatus`, data) return service.service.post(`${apiAdmin}cases/caseInfo/updateResultStatus`, data)
}, },
// 更新调解协议文件(更新调解模板) // 更新调解协议文件(更新调解模板)
updateCaseAgreement: data => { updateCaseAgreement: data => {
return service.service.post(`${apiMediate}cases/caseInfo/updateCaseAgreement`, data) return service.service.post(`${apiAdmin}cases/caseInfo/updateCaseAgreement`, data)
}, },
// 调解中案件状态枚举 // 调解中案件状态枚举
getCaseStatusEnum: data => { getCaseStatusEnum: data => {
return service.service.get(`${apiMediate}cases/caseInfo/getCaseStatusEnum`) return service.service.get(`${apiAdmin}cases/caseInfo/getCaseStatusEnum`)
}, },
// 根据话术id获取话术内容 // 根据话术id获取话术内容
getTemplateById: data => { getTemplateById: data => {
return service.service.post(`${apiMediate}template/getTemplateById`, data) return service.service.post(`${apiAdmin}template/getTemplateById`, data)
}, },
// 暂存 // 暂存
updateCaseLog: data => { updateCaseLog: data => {
return service.service.post(`${apiMediate}cases/caseInfo/updateCaseLog`, data) return service.service.post(`${apiAdmin}cases/caseInfo/updateCaseLog`, data)
}, },
// 上一个案件 // 上一个案件
getFrontCaseById: data => { getFrontCaseById: data => {
return service.service.post(`${apiMediate}cases/caseInfo/getFrontCaseById`, data) return service.service.post(`${apiAdmin}cases/caseInfo/getFrontCaseById`, data)
}, },
// 下一个案件 // 下一个案件
getNextCaseById: data => { getNextCaseById: data => {
return service.service.post(`${apiMediate}cases/caseInfo/getNextCaseById`, data) return service.service.post(`${apiAdmin}cases/caseInfo/getNextCaseById`, data)
}, },
// 回款计划列表,没有分页 // 回款计划列表,没有分页
getcase_payback_planlist: data => { getcase_payback_planlist: data => {
return service.service.post(`${apiMediate}api/case_payback_plan/list`, data) return service.service.post(`${apiAdmin}api/case_payback_plan/list`, data)
}, },
// 新增回款计划 // 新增回款计划
getcase_payback_save: data => { getcase_payback_save: data => {
return service.service.post(`${apiMediate}api/case_payback_plan/save`, data) return service.service.post(`${apiAdmin}api/case_payback_plan/save`, data)
}, },
// 还款凭证列表 // 还款凭证列表
gettraceProof_list: data => { gettraceProof_list: data => {
return service.service.post(`${apiMediate}api/trace/traceProof/list`, data) return service.service.post(`${apiAdmin}api/trace/traceProof/list`, data)
}, },
// 上传还款凭证 // 上传还款凭证
gettraceProof_create: data => { gettraceProof_create: data => {
return service.service.post(`${apiMediate}api/trace/traceProof/create`, data) return service.service.post(`${apiAdmin}api/trace/traceProof/create`, data)
}, },

View File

@ -1,6 +1,5 @@
import service from "./index"; import service from "./index";
const apiAdmin = '/mediate/' const apiAdmin = '/mediate/'
const apiMediate = '/mediate/'
const fetchApi = { const fetchApi = {
//========================start::登录相关====================================== //========================start::登录相关======================================
// 登录 // 登录
@ -24,7 +23,7 @@ const fetchApi = {
//========================start::上传相关====================================== //========================start::上传相关======================================
// 上传文件 // 上传文件
uploadFile: data => { uploadFile: data => {
return service.service.post(`${apiMediate}upload/upload`, data, return service.service.post(`${apiAdmin}upload/upload`, data,
{ {
headers: headers:
{'Content-Type': 'multipart/form-data'}, {'Content-Type': 'multipart/form-data'},
@ -33,7 +32,7 @@ const fetchApi = {
}, },
// 获取附件token // 获取附件token
getMinioToken(data) { getMinioToken(data) {
return service.service.post(`${apiMediate}minio/getMinioToken`, data) return service.service.post(`${apiAdmin}minio/getMinioToken`, data)
}, },
//========================end::上传相关====================================== //========================end::上传相关======================================

View File

@ -1,6 +1,5 @@
import service from "./index"; import service from "./index";
const apiAdmin = '/mediate/' const apiAdmin = '/mediate/'
const apiMediate = '/mediate/'
const statisticalAnalysisApi = { const statisticalAnalysisApi = {
@ -27,32 +26,32 @@ const statisticalAnalysisApi = {
//========================start::业绩统计====================================== //========================start::业绩统计======================================
// 案件统计查询 // 案件统计查询
financialCaseStatistics: data => { financialCaseStatistics: data => {
return service.service.post(`${apiMediate}statistics/financialCaseStatistics`, data) return service.service.post(`${apiAdmin}statistics/financialCaseStatistics`, data)
}, },
// 案件导出(调解员和案件) // 案件导出(调解员和案件)
exportFinancialCaseStatistics: data => { exportFinancialCaseStatistics: data => {
const config = { const config = {
responseType: 'blob', responseType: 'blob',
}; };
return service.service.post(`${apiMediate}statistics/exportFinancialCaseStatistics`, data , config) return service.service.post(`${apiAdmin}statistics/exportFinancialCaseStatistics`, data , config)
}, },
//========================end::业绩统计====================================== //========================end::业绩统计======================================
//========================start::对账统计====================================== //========================start::对账统计======================================
// 对账报表查询 // 对账报表查询
reconciliationList: data => { reconciliationList: data => {
return service.service.post(`${apiMediate}statistics/reconciliationList`, data) return service.service.post(`${apiAdmin}statistics/reconciliationList`, data)
}, },
// 对账报表导出 // 对账报表导出
exportReconciliationList: data => { exportReconciliationList: data => {
const config = { const config = {
responseType: 'blob', responseType: 'blob',
}; };
return service.service.post(`${apiMediate}statistics/exportReconciliationList`, data , config) return service.service.post(`${apiAdmin}statistics/exportReconciliationList`, data , config)
}, },
// 上传文件 // 上传文件
uploadReconciliation: data => { uploadReconciliation: data => {
return service.service.post(`${apiMediate}statistics/reconciliation`, data, return service.service.post(`${apiAdmin}statistics/reconciliation`, data,
{ {
headers: headers:
{'Content-Type': 'multipart/form-data'}, {'Content-Type': 'multipart/form-data'},