@@ -130,19 +130,46 @@ import api from "@/services/caseManagement";
};
+
diff --git a/src/pages/case-management/detail/index.vue b/src/pages/case-management/detail/index.vue
index c90e3f8..0fd48b0 100644
--- a/src/pages/case-management/detail/index.vue
+++ b/src/pages/case-management/detail/index.vue
@@ -19,7 +19,7 @@
基本信息
债务信息
diff --git a/src/pages/mediation-management/index.vue b/src/pages/mediation-management/index.vue
index 11aac4a..7319992 100644
--- a/src/pages/mediation-management/index.vue
+++ b/src/pages/mediation-management/index.vue
@@ -307,7 +307,7 @@
{{ scope.row.mediatorName }}
- 立即调解
+ 立即调解
diff --git a/src/pages/mediation-page-old/components/LayoutContent.vue b/src/pages/mediation-page-old/components/LayoutContent.vue
new file mode 100644
index 0000000..83f2bea
--- /dev/null
+++ b/src/pages/mediation-page-old/components/LayoutContent.vue
@@ -0,0 +1,695 @@
+
+
+
+
+
+
+
+
+

+

+
+
+
+
+
+
+
![]()
+
![]()
+
+
+
+
+
+
+

+
+
+
+
+
+
+
+
{{baseInfo.financialOrgName || '-'}}
+
{{baseInfo.financialOrgCode || '-'}}
+
+
+

案件名称
+
{{baseInfo.caseName ||'-'}}
+
+
+

案件编号
+
{{baseInfo.caseNo ||'-'}}
+
+
+

金融产品类型
+
{{productType ||'-'}}
+
+
+

逾期次数
+
{{baseInfo.overdueTimes}}
+
+
+

标的金额
+
{{baseInfo.moneyAmount ||'-'}}
+
+
+

计划开始时间
+
{{baseInfo.planStartTime ||'-'}}
+
+
+

计划结束时间
+
{{baseInfo.planEndTime ||'-'}}
+
+
+

案件描述
+
{{baseInfo.caseDescr ||'-'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
债权人
+
+
+
+
{{baseInfo.creditorName ||'-'}}
+
债权人
+
+
+
+
+
+
社会统一信用代码
+
{{baseInfo.creditorOrgCode ||'-'}}
+
+
+
+
+
法人姓名
+
{{baseInfo.creditorLegal ||'-'}}
+
+
+
+
+
法人手机号
+
{{baseInfo.creditorPhone ||'-'}}
+
+
+
+
+
+
+
法人身份证号
+
{{baseInfo.creditorIdcard ||'-'}}
+
+
+
+
+
公司地址
+
{{baseInfo.creditorAddr ||'-'}}
+
+
+
+
+
邮编
+
{{baseInfo.creditorMail ||'-'}}
+
+
+
+
+
+
+
+
+
+
债务人
+
+
+
+
+
{{item.name ||'-'}}
+
债务人
+
+
+
+
+
+
身份证号码
+
{{item.cardNo ||'-'}}
+
+
+
+
+
手机号码
+
{{item.phone ||'-'}}
+
+
+
+
+
+
+
公司地址
+
{{item.addr ||'-'}}
+
+
+
+
+
邮编
+
{{item.mail ||'-'}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
{{item.createAt}}
+
+ {{item.content}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

+

+
+
+
+
+
+
+
+
+ 下载调解模板
+ 调解失败
+ 调解成功
+ 暂存
+
+
+ 上一个案件
+ 下一个案件
+ 退出当前调解
+
+
+
+
+
+
+
+
diff --git a/src/pages/mediation-page-old/index.vue b/src/pages/mediation-page-old/index.vue
new file mode 100644
index 0000000..a9e9801
--- /dev/null
+++ b/src/pages/mediation-page-old/index.vue
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/pages/mediation-page/components/LayoutContent.vue b/src/pages/mediation-page/components/LayoutContent.vue
index 83f2bea..5a15718 100644
--- a/src/pages/mediation-page/components/LayoutContent.vue
+++ b/src/pages/mediation-page/components/LayoutContent.vue
@@ -1,273 +1,188 @@
-
-
-
-
-
-
-
-

-

-
-
-
-
-
-
-
![]()
-
![]()
-
+
+
+
+
+
+ 退出当前调解
+ 上一个
+ 下一个
+ IP电话
+ 发送短信
+ 视频预约
+
+ 发起送达
+ 发起签章
+ 案件办结
+
+
+
+ 沟通记录
+ 案件文书
+ 案件材料
+ 备注
+ 日志
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 案件信息
+
+
+
+ 联系人
+
+
+
+ 案件材料
+
+
+
+ 还款方案
+
+
+
+ 还款计划
+
+
+
+ 还款凭证
+
+
+
+
+
-
-

-
-
-
-
-
-
-
-
{{baseInfo.financialOrgName || '-'}}
-
{{baseInfo.financialOrgCode || '-'}}
-
-
-

案件名称
-
{{baseInfo.caseName ||'-'}}
-
-
-

案件编号
-
{{baseInfo.caseNo ||'-'}}
-
-
-

金融产品类型
-
{{productType ||'-'}}
-
-
-

逾期次数
-
{{baseInfo.overdueTimes}}
-
-
-

标的金额
-
{{baseInfo.moneyAmount ||'-'}}
-
-
-

计划开始时间
-
{{baseInfo.planStartTime ||'-'}}
-
-
-

计划结束时间
-
{{baseInfo.planEndTime ||'-'}}
-
-
-

案件描述
-
{{baseInfo.caseDescr ||'-'}}
+
债务信息
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
债权人
-
-
-
-
{{baseInfo.creditorName ||'-'}}
-
债权人
-
-
-
-
-
-
社会统一信用代码
-
{{baseInfo.creditorOrgCode ||'-'}}
-
-
-
-
-
法人姓名
-
{{baseInfo.creditorLegal ||'-'}}
-
-
-
-
-
法人手机号
-
{{baseInfo.creditorPhone ||'-'}}
-
-
-
-
-
-
-
法人身份证号
-
{{baseInfo.creditorIdcard ||'-'}}
-
-
-
-
-
公司地址
-
{{baseInfo.creditorAddr ||'-'}}
-
-
-
-
-
邮编
-
{{baseInfo.creditorMail ||'-'}}
-
-
-
-
-
-
-
-
-
-
债务人
-
-
-
-
-
{{item.name ||'-'}}
-
债务人
-
-
-
-
-
-
身份证号码
-
{{item.cardNo ||'-'}}
-
-
-
-
-
手机号码
-
{{item.phone ||'-'}}
-
-
-
-
-
-
-
公司地址
-
{{item.addr ||'-'}}
-
-
-
-
-
邮编
-
{{item.mail ||'-'}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
{{item.createAt}}
-
- {{item.content}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
调解话术
-
-
-
{{speechContent}}
-
+
+
+
+
+
新增沟通记录
+
+ 刷新
+ 已视频1
+ 电话沟通2
+
+
+
+
+
+ 张三 发起电话沟通 2023-09-09 12:12:12
+
+
编辑沟通记录
+
+
+
+
+ 被申请人
+ 李四
+ 1388888888888
+
+
+ 通话44秒
+ 播放录音
+
+
+
+ 沟通备注:
+ 李四
-
-
-
-
-
-

-

+
+
+
+ 文书类型
+ 文书
+ 是否签章
+ 是否完成签字
+ 签字人
+ 操作
+
+
+
+
调解申请书
+
dsadasdsadada.pdf
+
未签章
+
未签字
+
--
+
+ 预览
+ 下载模板
+ 上传
+ 文书生成
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
- 下载调解模板
- 调解失败
- 调解成功
- 暂存
-
-
- 上一个案件
- 下一个案件
- 退出当前调解
-
-
-
@@ -279,28 +194,12 @@ import api from "@/services/caseManagement";
},
data() {
return {
- currentIndex:0,
- imgArr:[
- {id:0,imgUrl:require('@/assets/image/mediate/group-img-1.png'),imgText:require('@/assets/image/mediate/group-text-1.png')},
- {id:1,imgUrl:require('@/assets/image/mediate/group-img-2.png'),imgText:require('@/assets/image/mediate/group-text-2.png')},
- {id:2,imgUrl:require('@/assets/image/mediate/group-img-3.png'),imgText:require('@/assets/image/mediate/group-text-3.png')},
- {id:3,imgUrl:require('@/assets/image/mediate/group-img-4.png'),imgText:require('@/assets/image/mediate/group-text-4.png')},
- ],
- timer:null,
- activeName:'caseParty',
- isShow:true,
- defaultHeadUrl:'https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png',//默认图片
+ rightActive:1,
fileList:[],
- mediateNote:'',//调解笔记
mediationRecord:[],//调解记录
baseInfo:{},//基本信息
obligorInfo:[],//债务人信息
caseId:'',//案件id
- speechId:'',//话术模板id
- speechContent:'',//话术内容
- templateUrl:'',//调解模板url
- financialProductsTypeOptions:[],//金融产品类型
- productType:'',
};
},
computed:{
@@ -320,181 +219,63 @@ import api from "@/services/caseManagement";
let oh = document.documentElement.clientHeight;
return oh-56-56-65-20
},
+ // 获取抽屉drawer的内容高度
+ OfficecontentHeight(){
+ let oh = document.documentElement.clientHeight;
+ return oh-185
+
+ } ,
},
async created() {
- await this.getDict()
- this.startInterval()
this.caseId = this.$route.query.caseId
await this.getCaseInfoById();//获取详情
- console.log('this.getDict()===',this.getDict())
+
},
beforeDestroy() {
- if(this.timer) { //如果定时器还在运行 或者直接关闭,不用判断
- clearInterval(this.timer); //关闭
- }
+ // if(this.timer) { //如果定时器还在运行 或者直接关闭,不用判断
+ // clearInterval(this.timer); //关闭
+ // }
},
methods: {
- // 获取金融产品类型
- getDict(){
- let data = {
- type:'financial'
- }
- return api.getDict(data).then(res => {
- if (!res.code) {
- this.financialProductsTypeOptions = res;
+
+
+ debtorEntityCardNo(datalist,len){
+ let datacardno=''
+ let dataphone=''
+ datalist.forEach((item,index) =>{
+ if(index == 0){
+ datacardno = item.cardNo
+ dataphone = item.phone
+ }
+ else{
+ datacardno += ','+item.cardNo
+ dataphone += ','+item.phone
}
})
- },
- // 定时器
- startInterval(){
- clearInterval(this.timer);
- this.timer = setInterval(()=>{
- this.currentIndex++
- if(this.currentIndex>this.imgArr.length-1){
- this.currentIndex=0
- }
- },3000)
- },
- handleChangeImg(val){
- if(val=='right'){
- this.currentIndex++
- if(this.currentIndex == this.imgArr.length){
- this.currentIndex =0
- }
- }else{
- if(this.currentIndex == 0){
- this.currentIndex = this.imgArr.length
- }
- this.currentIndex--
- }
- },
- handleChangeTextarea(){
- // console.log('内容',this.mediateNote)
- // sessionStorage.setItem('mediateNote', this.mediateNote)
- },
- handleClick(tab, event) {
+ return {cardNo:datacardno.substring(0,len),phone:dataphone.substring(0,len)};
},
- handleToggleShow(){
- this.isShow = !this.isShow
- },
- // 获取详情
- getCaseInfoById(){
- const _that = this
- return api.getCaseInfoById(_that.caseId).then(res => {
+ // 获取详情
+ getCaseInfoById(){
+ let _that = this
+ api.getCaseInfoById(this.caseId).then(res => {
+ console.log(res,'res')
if(!res.code){
- _that.detailData(res)
+ this.baseInfo=res
+
+ // 材料
+ // console.log('获取图片',res.caseFileEntityList)
+ let caseFileEntityList = []
+ res.caseFileEntityList.forEach((item)=>{
+ caseFileEntityList.push({name:item.name,fileName:item.name,url:item.url})
+ })
+ _that.fileList = caseFileEntityList
+
}
})
},
- // 详情展示内容
- detailData(res){
- // 证据材料
- let caseFileEntityList = []
- res.caseFileEntityList.forEach((item)=>{
- caseFileEntityList.push({name:item.name,fileName:item.name,url:item.url})
- })
- this.fileList = caseFileEntityList
- // 调解记录
- this.mediationRecord = res.logEntityList
- // 基本信息
- this.baseInfo = res
- // 债务人
- this.obligorInfo = res.debtorEntityList
-
- // 获取话术模板id
- this.speechId = res.tpSpeechcraftId
- if(this.speechId){
- this.getTemplateById()
- }
-
- // 获取调解模板url
- if(res.caseAgreement){
- this.templateUrl = res.caseAgreement.url
- }
-
- this.caseId = res.id
- // 获取金融产品类型
- console.log('financialProductsTypeOptions',this.financialProductsTypeOptions)
- let obj = this.financialProductsTypeOptions.find((item)=>{
- return item.code == res.productTypeId
- })
- this.productType = obj.codeName||'-'//获取金融产品名称
- console.log('this.productType====',this.productType)
- },
- handleUploadFile(fileList){
- console.log('fileList===',fileList)
- fileList = JSON.parse(JSON.stringify(fileList))
-
- this.fileList = fileList.map((item,i) => {
- return {
- url: item.url,
- fileName:item.name,
- name:item.name
- }
- })
- },
- // 获取话术内容
- getTemplateById(){
- let data={
- id:this.speechId
- }
- api.getTemplateById(data).then(res => {
- if (!res.code) {
- this.speechContent = res.content;
- }
- })
- },
-
-
- //-------------------------------------------------------------底部按钮接口-------------------------------------------------
- // // 调解成功或者失败
- // handleChangeMediation(resultStatus){
- // if(!this.$clickThrottle()) { return }//防止重复点击
- // let data={
- // id:this.caseId,
- // resultStatus:resultStatus
- // }
- // api.updateResultStatus(data).then(res => {
-
- // if(resultStatus==1){
- // this.$message({message: '调解成功', type: "success",customClass:'messageZindex'})
- // }else{
- // this.$message({message: '调解失败', type: "error",customClass:'messageZindex'})
- // }
-
- // })
- // },
- // 暂存2 调解成功1 失败0
- updateCaseLog(status){
- if(!this.$clickThrottle()) { return }//防止重复点击
- let data = {
- caseId:this.caseId,
- content:this.mediateNote,
- status:status
- }
- if(this.mediateNote){
- api.updateCaseLog(data).then(res => {
-
- if(status==0){
- this.$message({message: '调解失败', type: "success",customClass:'messageZindex'})
- }else if(status==1){
- this.$message({message: '调解成功', type: "success",customClass:'messageZindex'})
- }else{
- this.$message({message: '暂存成功', type: "success",customClass:'messageZindex'})
- }
- this.mediateNote = ''
- this.getCaseInfoById()
- })
- }else{
- this.$message({message: '请先输入调解笔记内容', type: "warning",customClass:'messageZindex'})
- }
-
- },
-
-
// 获取上一件案件
getFrontCaseById(){
if(!this.$clickThrottle()) { return }//防止重复点击
@@ -534,12 +315,8 @@ import api from "@/services/caseManagement";
}
},
handleBack(){
- // console.log('页面来源',this.$route.query.sourcePage)
- if(this.$route.query.sourcePage == 'mediationManagement'){
- this.$router.push('/mediation-management')
- }else{
- this.$router.push('/workbench')
- }
+ // this.$route.query.sourcePage == 'mediationManagement'
+ this.$router.push('/mediation-management')
},
@@ -555,141 +332,192 @@ import api from "@/services/caseManagement";
diff --git a/src/pages/mediation-page/index.vue b/src/pages/mediation-page/index.vue
index a9e9801..3a78b3c 100644
--- a/src/pages/mediation-page/index.vue
+++ b/src/pages/mediation-page/index.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/src/router/index.js b/src/router/index.js
index c2261f4..ff36279 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -107,7 +107,7 @@ const routes = [
path: "/event-tracing",
name: "/event-tracing",
component: () => import("@/pages/event-tracing"),
- meta: { title: "调解管理", icon: 'menu-mediat-management' },
+ meta: { title: "事项追踪", icon: 'menu-mediat-management' },
},