diff --git a/src/pages/layout/components/MenuTree.vue b/src/pages/layout/components/MenuTree.vue index 4933a3c..79295d2 100644 --- a/src/pages/layout/components/MenuTree.vue +++ b/src/pages/layout/components/MenuTree.vue @@ -30,7 +30,7 @@ } }, mounted() { - console.log(this.menu,'menu') + // console.log(this.menu,'menu') }, methods: { handleRoute(menu) { diff --git a/src/pages/mediation-page/components/RepaymentSchedule.vue b/src/pages/mediation-page/components/RepaymentSchedule.vue index b427cac..38f5c05 100644 --- a/src/pages/mediation-page/components/RepaymentSchedule.vue +++ b/src/pages/mediation-page/components/RepaymentSchedule.vue @@ -142,9 +142,7 @@ + > + > + > + > this.repaymentObj.totalAmount*1) { - callback(new Error('分期前偿还金额不能大于还款金额!')); - } else { - callback(); - } - }, - validatePass3 (rule, value, callback){ - if (value === '') { - callback(new Error('请选择还款截止日期')); - } else if (this.repaymentObj.partDate != '' && this.repaymentObj.partDate != undefined) { - let date1 = new Date(value);//还款截止日期 - let date2 = new Date(this.repaymentObj.partDate);//分期前偿还日期 - let timestamp1 = date1.getTime(); - let timestamp2 = date2.getTime(); - if(timestamp2 > timestamp1) - { - callback(new Error('还款截止日期不能小于分期前偿还日期!')); - } - } else { - callback(); - } - }, handleSubmitRepayment(){ - console.log(1,'handleSubmitRepayment') - this.$refs.ruleFormRepayment.validate((valid) => { + this.$refs.ruleFormRepayment.validate((valid,obj) => { if (valid){ - - console.log(2,'handleSubmitRepayment') this.repaymentObj.caseId = this.eventDialog.caseId api.getcase_payback_save(this.repaymentObj).then(res => { if(!res.code){ @@ -366,16 +329,17 @@ import api from "@/services/caseManagement"; } }) } - else{ - console.log(valid,'valid') - } }) }, getplanlist(){ api.getcase_payback_planlist({caseId:this.eventDialog.caseId}).then(res => { if(!res.code){ this.planList = res - if(this.planList.length > 0 ){this.repaymentObj = this.planList[0]} + if(this.planList.length > 0 ) + { + this.repaymentObj = this.planList[0] + this.inputChange() + } } }) }, @@ -394,6 +358,7 @@ import api from "@/services/caseManagement"; if(this.repaymentObj.totalAmount !='' &&this.repaymentObj.stagesNum !='' && this.repaymentObj.totalAmount !=undefined &&this.repaymentObj.stagesNum !=undefined) { this.repaymentObj.stagesAmount = ((this.repaymentObj.totalAmount*1 - this.repaymentObj.partAmount*1)/(this.repaymentObj.stagesNum*1)).toFixed(2) + this.repaymentObj.moneyAmount = (this.repaymentObj.totalAmount*1 - this.repaymentObj.partAmount*1).toFixed(2) } } }, @@ -424,3 +389,8 @@ import api from "@/services/caseManagement"; } } + diff --git a/src/pages/workbench/case-manage/index.vue b/src/pages/workbench/case-manage/index.vue index 038d63d..dc7e3a4 100644 --- a/src/pages/workbench/case-manage/index.vue +++ b/src/pages/workbench/case-manage/index.vue @@ -28,34 +28,42 @@

案件总量

{{caseprogressObj.caseTotal}}

+

已办结案件

{{caseprogressObj.finishTotal}}

+

未触达

{{caseprogressObj.notReachTotal}}

+
- +

调解中

{{caseprogressObj.mediatingTotal}}

+
- +

调解成功

{{caseprogressObj.mediateSuccess}}

+
- +

已签署协议

{{caseprogressObj.signTotal}}

+
- +

已司法确认

{{caseprogressObj.judicialTotal}}

+
- +

已赋强公证

{{caseprogressObj.notarizationTotal}}

+
@@ -88,16 +96,16 @@ @@ -399,8 +407,8 @@ show: false }, data: [ - { value: this.mediation_success_rate.mediateFail, name: '调解失败',itemStyle:{color:'#FFE7E0'} }, - { value: this.mediation_success_rate.mediateSuccess, name: '调解成功' ,itemStyle:{color:'#E4F3CE'}}, + { value: this.mediation_success_rate.mediateFail, name: '调解失败',itemStyle:{color:'#a7e054'} }, + { value: this.mediation_success_rate.mediateSuccess, name: '调解成功' ,itemStyle:{color:'#bee18adb'}}, ] } ] @@ -453,8 +461,8 @@ show: false }, data: [ - { value: 0, name: '未触达债务人数',itemStyle:{color:'#E1EDF4'} }, - { value: 0, name: '已触达债务人数' ,itemStyle:{color:'#E4F3CE'}}, + { value: 0, name: '未触达债务人数',itemStyle:{color:'#c0def0'} }, + { value: 0, name: '已触达债务人数' ,itemStyle:{color:'#cdeaa2'}}, ] } ] @@ -533,7 +541,7 @@ background:url(../../../assets/image/workbench/work-left-bg.png) no-repeat; background-size: 100% 100%; // min-height:496px; - width: 400px; + width: 412px; padding: 20px; .case-title{ height: 60px; @@ -545,13 +553,14 @@ .case-progress-cont{ background-color: #fff; border-radius: 5px; + font-size: 18px; } .case-progress{ - background:url(../../../assets/image/workbench/icon-bg.png) no-repeat; + // background:url(../../../assets/image/workbench/icon-bg.png) no-repeat; background-size: 100% 100%; height: 460px; margin: auto; - color: #4E5969; + color: #fff; span{ padding: 15px 0 0px 15px; width: 153px; @@ -564,12 +573,56 @@ margin-left: 20px; } span p{padding: 0;margin: 0;} - span a{color: #1D2129;font-size: 22px;} + span a{color: #fff;font-size: 22px;} + .case-pro1,.case-pro2,.case-pro3,.case-pro4,.case-pro5,.case-pro6, + .case-pro7,.case-pro8 + { + width: 157px;height: 105px; + position: relative; + border-radius: 8px; + + img{ + width:50px ; + right:10px; + position:absolute; + } + } + .case-pro1 + { + background-color: #0fdfdc; + } + .case-pro2 + { + background-color: #ffd900; + } + .case-pro3 + { + background-color: #59a8ff; + } + .case-pro4 + { + background-color: #ff87b1; + } + .case-pro5 + { + background-color: #978bff; + } + .case-pro6 + { + background-color: #ffb048; + } + .case-pro7 + { + background-color: #df5965; + } + .case-pro8 + { + background-color: #d69a5e; + } } - .case-pro1{width: 155px;height: 105px;} } .casework-1{ - background-color: #fff; + background-color: #ec9dd82b; border-radius: 8px; margin-top: 15px; @@ -603,7 +656,7 @@ } .casework2{ - width: calc(100% - 830px); + width: calc(100% - 850px); .casework2-1{ background-color: #E1EDF4; min-height:496px; @@ -681,7 +734,7 @@ } .casework2-2{ - background-color: #fff; + background-color: #e2eb5321; border-radius: 8px; margin-top: 15px; } @@ -694,7 +747,7 @@ .pie-chart{ margin-top: 18px; padding: 18px; - background-color: #fff; + background-color: #ef806d42; border-radius: 8px; .case-pk-title{ @@ -725,8 +778,8 @@ } .item-trace{ - padding: 18px; - background-color: #fff; + padding: 14px 18px; + background-color: #d1f1dc4f; border-radius: 8px; .case-pk-title{ span:first-child{ @@ -737,7 +790,7 @@ } .case-pk-cont{ - padding: 21px 0 0px 0; + padding: 20px 0 0px 0; position: relative; .resultplan{ font-size: 32px; @@ -764,6 +817,7 @@ a:first-child{ color: #E8535A; } + span i{color: red;} } } } diff --git a/src/pages/workbench/index.vue b/src/pages/workbench/index.vue index 7b8e264..6a9bdff 100644 --- a/src/pages/workbench/index.vue +++ b/src/pages/workbench/index.vue @@ -494,8 +494,8 @@ show: false }, data: [ - { value: this.mediation_success_rate.mediateFail, name: '调解失败',itemStyle:{color:'#FFE7E0'} }, - { value: this.mediation_success_rate.mediateSuccess, name: '调解成功' ,itemStyle:{color:'#E4F3CE'}}, + { value: this.mediation_success_rate.mediateFail, name: '调解失败',itemStyle:{color:'#a7e054'} }, + { value: this.mediation_success_rate.mediateSuccess, name: '调解成功' ,itemStyle:{color:'#bee18adb'}}, ] } ]