合并
This commit is contained in:
commit
dbd60f639f
@ -148,7 +148,7 @@ import caseManagement from "@/services/caseManagement";
|
||||
this.$emit('handleUploadFile')
|
||||
|
||||
}catch (e) {
|
||||
this.$message.error(e.msg)
|
||||
// this.$message.error(e.msg)
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
@ -73,12 +73,14 @@
|
||||
</el-table-column>
|
||||
<el-table-column label="跟进情况" width="140">
|
||||
<template slot-scope="scope">
|
||||
{{$util.getTelephoneTypeData(scope.row.linkedSituation).label}}
|
||||
{{scope.row.linkedSituation != null ? $util.getTelephoneTypeData(scope.row.linkedSituation).label :''}}
|
||||
<!-- {{$util.getTelephoneTypeData(scope.row.linkedSituation).label}} -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="调解进度" width="140">
|
||||
<template slot-scope="scope">
|
||||
{{ materialTypeOptions.find(item => item.value == scope.row.mediateStatus).label }}
|
||||
{{scope.row.mediateStatus != null ? materialTypeOptions.find(item => item.value == scope.row.mediateStatus).label : ''}}
|
||||
<!-- {{ materialTypeOptions.find(item => item.value == scope.row.mediateStatus).label }} -->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="沟通对象" width="350" show-overflow-tooltip>
|
||||
@ -593,6 +595,7 @@ export default {
|
||||
this.communicationRecord.push(item)
|
||||
})
|
||||
})
|
||||
console.log(this.communicationRecord,'this.communicationRecord')
|
||||
// this.communicationRecord = res
|
||||
}
|
||||
})
|
||||
|
||||
@ -163,7 +163,7 @@
|
||||
<el-input v-model.trim="queryParam.creditorCode"
|
||||
clearable placeholder="请输入被申请人证件号"
|
||||
@keydown.enter.native="handleSearch"
|
||||
maxlength="11"
|
||||
maxlength="18"
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
@ -206,8 +206,8 @@
|
||||
<div class="flex-row">
|
||||
<!-- <el-button size="small" @click="handleImport">导入</el-button>
|
||||
<el-button size="small" @click="handleBatchDelete">删除</el-button>-->
|
||||
<el-button size="small" @click="handleConclude">案件办结</el-button>
|
||||
<el-button size="small" type="primary" @click="handleCaseAllocation">案件分配</el-button>
|
||||
<el-button size="small" @click="handleConclude"><i class="el-icon-receiving f14 mr-4"></i>案件办结</el-button>
|
||||
<el-button size="small" type="primary" @click="handleCaseAllocation"><i class="el-icon-rank f14 mr-4"></i>案件分配</el-button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="height-56 flex-row align-items-center justify-content-between" style="height: 22px;margin-left: 10px;margin-top: -10px;margin-bottom: 5px">
|
||||
|
||||
@ -165,7 +165,6 @@ import apipk from "@/services/casePackageManagement";
|
||||
|
||||
handleSubmit(){
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
|
||||
this.$refs.ruleFormBase.validate((valid) => {
|
||||
if (valid){
|
||||
let data = {
|
||||
@ -176,9 +175,7 @@ import apipk from "@/services/casePackageManagement";
|
||||
this.$parent.getCaseInfoList(1)
|
||||
this.$message.success("批量导入案件成功,导入错误案件请在错误修复里面进行查看!");
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
},
|
||||
|
||||
@ -95,9 +95,9 @@
|
||||
<div class="height-56 flex-row align-items-center justify-content-between">
|
||||
<div class="f22 color-text-primary">列表</div>
|
||||
<div class="flex-row">
|
||||
<el-button size="small" type="primary" @click="handleImport">批量导入案件</el-button>
|
||||
<el-button size="small" @click="handleAddForm">添加案件</el-button>
|
||||
<el-button size="small" @click="jumpUrl(`/case-mistake`)">错误修复</el-button>
|
||||
<el-button size="small" type="primary" @click="handleImport"><i class="el-icon-upload f14 mr-4"></i>批量导入案件</el-button>
|
||||
<!-- <el-button size="small" @click="handleAddForm"><i class="el-icon-plus f14 mr-4"></i>添加案件</el-button> -->
|
||||
<el-button size="small" @click="jumpUrl(`/case-mistake`)"><i class="el-icon-takeaway-box f14 mr-4"></i>错误修复</el-button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@ -72,11 +72,11 @@
|
||||
</template>
|
||||
</el-table-column> -->
|
||||
|
||||
<el-table-column label="操作" width="160">
|
||||
<el-table-column label="操作" width="200">
|
||||
<template slot-scope="scope">
|
||||
<div class="flex-row align-items-center">
|
||||
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handleEnterqueue(scope.row)">进入外呼队列</el-button>
|
||||
<!-- <el-button size="mini" v-if="scope.row.notCalledCount != 0" @click="handleBackCase(scope)">取消</el-button> -->
|
||||
<el-button size="mini" v-if="scope.row.status.code == 1" @click="handleBackCase(scope.row)">取消</el-button>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
@ -216,7 +216,13 @@ import caseapi from "@/services/caseManagement";
|
||||
}).catch(() => {});
|
||||
},
|
||||
handleCaseShow(scope){
|
||||
this.fileDialog = {showfile:{url:scope.row.proofUrl},filelist:[]}
|
||||
|
||||
//还款凭证相关
|
||||
this.$fetchApi.viewFullFile({path: scope.row.proofUrl}).then((res) => {
|
||||
this.fileDialog = {showfile: {url: res}, filelist: []}
|
||||
});
|
||||
|
||||
// this.fileDialog = {showfile:{url:scope.row.proofUrl},filelist:[]}
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
@ -175,7 +175,7 @@
|
||||
<el-input v-model.trim="queryParam.creditorCode"
|
||||
clearable placeholder="请输入被申请人证件号"
|
||||
@keydown.enter.native="handleSearch"
|
||||
maxlength="11"
|
||||
maxlength="18"
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
@ -217,13 +217,13 @@
|
||||
<div class="height-56 flex-row align-items-center justify-content-between">
|
||||
<div class="f22 color-text-primary">案件列表</div>
|
||||
<div class="flex-row">
|
||||
<el-button size="small" @click="handleConclude">案件办结</el-button>
|
||||
<el-button size="small" @click="handleSMSSend">发送短信</el-button>
|
||||
<el-button size="small" @click="handleBrainCall">智能外呼</el-button>
|
||||
<el-button size="small" @click="handleOffice">文书生成</el-button>
|
||||
<el-button size="small" @click="handleOfficeWrite">发起签字</el-button>
|
||||
<el-button size="small" @click="handleOfficeSeal">发起签章</el-button>
|
||||
<el-button size="small" @click="handleOfficeDelivery">文书送达</el-button>
|
||||
<el-button size="small" @click="handleConclude"><i class="el-icon-receiving f14 mr-4"></i>案件办结</el-button>
|
||||
<el-button size="small" @click="handleSMSSend"><i class="el-icon-message f14 mr-4"></i>发送短信</el-button>
|
||||
<el-button size="small" @click="handleBrainCall"><i class="el-icon-service f14 mr-4"></i>智能外呼</el-button>
|
||||
<el-button size="small" @click="handleOffice"><i class="el-icon-document-checked f14 mr-4"></i>文书生成</el-button>
|
||||
<el-button size="small" @click="handleOfficeWrite"><i class="el-icon-reading f14 mr-4"></i>发起签字</el-button>
|
||||
<el-button size="small" @click="handleOfficeSeal"><i class="el-icon-coordinate f14 mr-4"></i>发起签章</el-button>
|
||||
<el-button size="small" @click="handleOfficeDelivery"><i class="el-icon-mobile-phone f14 mr-4"></i>文书送达</el-button>
|
||||
<!-- <el-button size="small" @click="handleCaseAllocation">案件下载</el-button> -->
|
||||
</div>
|
||||
</div>
|
||||
@ -281,7 +281,7 @@
|
||||
</span>
|
||||
<span>
|
||||
<p>委案日期:</p>
|
||||
<p class="color-000">{{ scope.row.planStartTime }}</p>
|
||||
<p class="color-000">{{ scope.row.planStartTime | formaDate('yyyy-MM-dd') }}</p>
|
||||
</span>
|
||||
<span>
|
||||
<p>所属调解员:</p>
|
||||
|
||||
@ -96,7 +96,7 @@
|
||||
v-model="singlesmsvisible"
|
||||
title="发送短信"
|
||||
trigger="click">
|
||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<singlesmsPopover :caseId="caseId" :sendPhone="(baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR')).phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<span slot="reference" class="flex-row align-items-center cursor-pointer">
|
||||
<div class="f32 color-FF7D00 mr-8"><i class="el-icon-message"></i></div>
|
||||
<div>发送短信</div>
|
||||
@ -121,8 +121,62 @@
|
||||
<div class="descriptions-t-item-l color-86909C">{{item.name}}:</div>
|
||||
<div class="descriptions-t-item-r">{{item.fieldValue}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="descriptions-t mt-16">
|
||||
<div class="f16 f-weight600 descriptions-t-title">案件信息</div>
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">案件包名称:</div>
|
||||
<div class="descriptions-t-item-r">{{baseInfo.casePkg.pkgName}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
|
||||
<div class="descriptions-t-item-l color-86909C">金融机构:</div>
|
||||
<div class="descriptions-t-item-r">{{baseInfo.casePkg.entrustingAgencyName}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">委案开始日期:</div>
|
||||
<div class="descriptions-t-item-r">{{baseInfo.casePkg.planStartTime}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
|
||||
<div class="descriptions-t-item-l color-86909C">委案结束日期:</div>
|
||||
<div class="descriptions-t-item-r">{{baseInfo.casePkg.planEndTime}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">委案渠道:</div>
|
||||
<div class="descriptions-t-item-r">{{baseInfo.casePkg.channel}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="descriptions-t mt-16">
|
||||
<div class="f16 f-weight600 descriptions-t-title">代理人信息</div>
|
||||
<div v-for="(item,index) in AgentData" :key="index">
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">姓名:</div>
|
||||
<div class="descriptions-t-item-r">{{item.name}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
|
||||
<div class="descriptions-t-item-l color-86909C">身份证号:</div>
|
||||
<div class="descriptions-t-item-r">{{item.cardNo}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">手机号码:</div>
|
||||
<div class="descriptions-t-item-r">{{item.phone}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
|
||||
<div class="descriptions-t-item-l color-86909C">电子邮箱:</div>
|
||||
<div class="descriptions-t-item-r">{{item.mail}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item">
|
||||
<div class="descriptions-t-item-l color-86909C">地址:</div>
|
||||
<div class="descriptions-t-item-r">{{item.addr}}</div>
|
||||
</div>
|
||||
<div class="flex-row descriptions-t-item bgColor-F7F8FA">
|
||||
<div class="descriptions-t-item-l color-86909C">代理人类型:</div>
|
||||
<div class="descriptions-t-item-r">{{item.type}}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<!-- 共债 -->
|
||||
@ -306,6 +360,7 @@
|
||||
</template>
|
||||
<script>
|
||||
import api from "@/services/caseManagement";
|
||||
import contactPerson from "@/services/contactPerson";
|
||||
export default {
|
||||
components: {
|
||||
showFile: () => import('../../../components/showFile.vue'),//
|
||||
@ -340,6 +395,7 @@ export default {
|
||||
visiblemediatRecordObj:null,
|
||||
eventDialog: {caseId: ''},
|
||||
leftActive: 1,
|
||||
AgentData:[],
|
||||
fileList: [],
|
||||
mediationRecord: [],//调解记录
|
||||
baseInfo: {},//基本信息
|
||||
@ -381,6 +437,7 @@ export default {
|
||||
this.eventDialog.caseId = this.caseId
|
||||
|
||||
this.getCaseInfoById();//获取详情
|
||||
this.getAgentList()
|
||||
this.getmediate_record()
|
||||
},
|
||||
beforeDestroy() {
|
||||
@ -395,6 +452,21 @@ export default {
|
||||
this.leftActive = val
|
||||
if (val !== 1) this.singlesmsvisible = false
|
||||
},
|
||||
// 代理人列表数据
|
||||
getAgentList() {
|
||||
let dataJson = {
|
||||
size: 9999,
|
||||
current: 1,
|
||||
caseId: this.caseId
|
||||
}
|
||||
|
||||
contactPerson.agentPage(dataJson).then(res => {
|
||||
if (!res.code) {
|
||||
this.AgentData = res.records
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
debtorEntityCardNo(datalist, len) {
|
||||
let datacardno = ''
|
||||
let dataphone = ''
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
v-model="singlesmsvisible"
|
||||
title="发送短信"
|
||||
trigger="click">
|
||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<singlesmsPopover :caseId="caseId" :sendPhone="(baseInfo.debtorEntityList.find(item => item.role == 'DEBTOR')).phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<el-button slot="reference" type="warning" icon="el-icon-message" circle></el-button>
|
||||
</el-popover>
|
||||
|
||||
|
||||
@ -46,7 +46,7 @@
|
||||
</upload-file>
|
||||
</el-form-item>
|
||||
<el-form-item label="">
|
||||
<el-button @click="AddFlag = false" size="small">取消</el-button>
|
||||
<el-button @click="AddFlag = false;fileList=[]" size="small">取消</el-button>
|
||||
<el-button type="primary" @click="handleSubmitRepayment()" size="small">保存</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@ -70,7 +70,7 @@
|
||||
<span class="color-86909C mt-8">上传时间:<a>{{ proofitem.createAt }}</a></span>
|
||||
</div>
|
||||
</div>
|
||||
<span class="color-86909C mt-8 pt12-pb10">凭证金额:<a>{{ proofitem.amount }}</a>元</span>
|
||||
<span class="color-86909C mt-8 pt12-pb10">凭证金额:<a>{{ proofitem.amount }}</a>{{ proofitem.amount != null ? '元' : '' }}</span>
|
||||
<span class="color-86909C mt-8 pt12-pb10 bgColor-F7F8FA">还款日期:<a>{{ proofitem.paybackTime | formaDate('yyyy-MM-dd hh:mm:ss') }}</a></span>
|
||||
<span class="color-86909C mt-8 pt12-pb10">备注说明:<a>{{ proofitem.remark }}</a></span>
|
||||
</div>
|
||||
@ -80,7 +80,7 @@
|
||||
width="400"
|
||||
title="凭证效验"
|
||||
trigger="click">
|
||||
<el-form :ref="`ruleFormEffect${index}`"
|
||||
<el-form class="mt-8" :ref="`ruleFormEffect${index}`"
|
||||
:model="proofitem"
|
||||
:rules="rulesClientRepayment"
|
||||
label-width="130px">
|
||||
@ -115,8 +115,9 @@
|
||||
</el-form>
|
||||
<span slot="reference" class="color-86909C"><i class="el-icon-medal"></i> 效验</span>
|
||||
</el-popover>
|
||||
<span class="color-86909C ml-16" v-if="proofitem.status.code != 1" @click="updateClick(index,proofitem)"><i class="el-icon-edit"></i> 编辑</span>
|
||||
<span class="color-86909C ml-16" v-if="proofitem.status.code != 1" @click="DeleteClick(proofitem)"><i class="el-icon-delete"></i> 删除</span>
|
||||
<span class="color-86909C ml-16 cursor-pointer" v-if="proofitem.status.code == 1" @click="handEffectCancel(proofitem)"><i class="el-icon-warning-outline"></i> 取消</span>
|
||||
<span class="color-86909C ml-16 cursor-pointer" v-if="proofitem.status.code != 1" @click="updateClick(index,proofitem)"><i class="el-icon-edit"></i> 编辑</span>
|
||||
<span class="color-86909C ml-16 cursor-pointer" v-if="proofitem.status.code != 1" @click="DeleteClick(proofitem)"><i class="el-icon-delete"></i> 删除</span>
|
||||
</div>
|
||||
</div>
|
||||
</el-form>
|
||||
@ -265,6 +266,7 @@ import api from "@/services/caseManagement";
|
||||
updateClick(index,proofitem){
|
||||
this.updateRow = index;
|
||||
this.repaymentObj = proofitem
|
||||
this.repaymentObj.mediaPath = [proofitem.proofUrl]
|
||||
this.fileList = [{url: proofitem.proofUrl,fileName:'上传'}]
|
||||
},
|
||||
// 效验
|
||||
@ -289,6 +291,23 @@ import api from "@/services/caseManagement";
|
||||
}
|
||||
})
|
||||
},
|
||||
// 取消效验
|
||||
handEffectCancel(proofitem){
|
||||
this.$confirm("请确定是否取消效验这些数据?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
type: "warning",
|
||||
}).then(() => {
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
let data = {
|
||||
id:proofitem.id
|
||||
}
|
||||
api.gettraceProof_cancel(data).then((res) => {
|
||||
this.$message.success("取消成功");
|
||||
this.getProofList()
|
||||
});
|
||||
}).catch(() => {});
|
||||
},
|
||||
// 删除
|
||||
DeleteClick(proofitem){
|
||||
|
||||
@ -319,6 +338,7 @@ import api from "@/services/caseManagement";
|
||||
this.repaymentObj.updateAt =undefined
|
||||
this.repaymentObj.updateBy =undefined
|
||||
this.repaymentObj.uploaderName =undefined
|
||||
this.repaymentObj.proofUrl = this.repaymentObj.mediaPath[0]
|
||||
api.gettraceProof_edit(this.repaymentObj).then(res => {
|
||||
if(!res.code){
|
||||
this.updateRow = -1
|
||||
|
||||
@ -3,8 +3,9 @@
|
||||
<div class="mb-16 flex-row justify-content-between">
|
||||
<span class="f-weight500 f18">还款计划</span>
|
||||
<span class="cursor-pointer" v-if="planList.length == 0" @click="updateFlag = true"><i class="el-icon-plus"></i> 添加还款计划</span>
|
||||
<span class="cursor-pointer" v-else @click="updateFlag = true"><i class="el-icon-plus"></i> 编辑还款计划</span>
|
||||
<span class="cursor-pointer" v-else @click="UpdatePlanClick"><i class="el-icon-plus"></i> 编辑还款计划</span>
|
||||
</div>
|
||||
|
||||
<div v-if="planList.length >0 && !updateFlag" class="case-detail-des flex-column mb-16 p-16 border-radius-8">
|
||||
<div class="flex-column justify-content-between">
|
||||
<el-form ref="ruleFormRepayment"
|
||||
@ -47,7 +48,8 @@
|
||||
type="date"
|
||||
placeholder="选择先还日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd">
|
||||
format="yyyy-MM-dd"
|
||||
:picker-options="pickerOptions">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="repaymentObj.type == 'MIX'" label="分期部分金额" prop="productTypeId">
|
||||
@ -93,7 +95,8 @@
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd">
|
||||
format="yyyy-MM-dd"
|
||||
:picker-options="pickerOptions">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注说明" prop="remark">
|
||||
@ -150,7 +153,8 @@
|
||||
type="date"
|
||||
placeholder="选择先还日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd">
|
||||
format="yyyy-MM-dd"
|
||||
:picker-options="pickerOptions">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item v-if="repaymentObj.type == 'MIX'" label="分期部分金额" prop="productTypeId">
|
||||
@ -196,7 +200,8 @@
|
||||
type="date"
|
||||
placeholder="选择日期"
|
||||
value-format="yyyy-MM-dd"
|
||||
format="yyyy-MM-dd">
|
||||
format="yyyy-MM-dd"
|
||||
:picker-options="pickerOptions">
|
||||
</el-date-picker>
|
||||
</el-form-item>
|
||||
<el-form-item label="备注说明" prop="remark">
|
||||
@ -208,7 +213,7 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
<el-form-item label="">
|
||||
<el-button @click="updateFlag = false" size="small">取消</el-button>
|
||||
<el-button @click="cancelPlanClick" size="small">取消</el-button>
|
||||
<el-button type="primary" @click="handleSubmitRepayment()" size="small">保存</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@ -230,18 +235,40 @@ import api from "@/services/caseManagement";
|
||||
},
|
||||
},
|
||||
data() {
|
||||
|
||||
var validatePass2 = (rule, value, callback) => {
|
||||
if (value === '') {
|
||||
callback(new Error('请输入分期前偿还金额'));
|
||||
} else if (!/^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0.\d{1,2}$/.test(value)) {
|
||||
callback(new Error('只能输入2位小数金额'));
|
||||
} else if (value > this.repaymentObj.totalAmount) {
|
||||
} else if (value*1 > this.repaymentObj.totalAmount*1) {
|
||||
callback(new Error('分期前偿还金额不能大于还款金额!'));
|
||||
} else {
|
||||
callback();
|
||||
}
|
||||
};
|
||||
var 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();
|
||||
}
|
||||
};
|
||||
return {
|
||||
pickerOptions: {
|
||||
disabledDate(v) {
|
||||
return v.getTime() < new Date().getTime() - 86400000;// - 86400000是否包括当天
|
||||
}
|
||||
},
|
||||
updateFlag:false,
|
||||
repaymentObj:{type:'ALL'},
|
||||
RepaymentOptions:[{label:'一次性还款',value:'ALL'},{label:'全部分期',value:'STAGES'},{label:'部分先还加分期',value:'MIX'},{label:'其他',value:'OTHER'}],
|
||||
@ -253,8 +280,11 @@ import api from "@/services/caseManagement";
|
||||
{ required: true, message: '请输入还款金额', trigger: 'change',},
|
||||
{ pattern: /^[1-9]\d*(,\d{3})*(\.\d{1,2})?$|^0.\d{1,2}$/, message: '请输入2位小数金额', trigger: ['blur', 'change']}
|
||||
],
|
||||
// paybackDate: [
|
||||
// { required: true, message: '请选择还款截止日期', trigger: 'change',},
|
||||
// ],
|
||||
paybackDate: [
|
||||
{ required: true, message: '请选择还款截止日期', trigger: 'change',},
|
||||
{ required: true, validator: validatePass3, trigger: 'change',},
|
||||
],
|
||||
stagesDay: [
|
||||
{ required: true, message: '请选择每期还款日期', trigger: 'change',},
|
||||
@ -274,7 +304,8 @@ import api from "@/services/caseManagement";
|
||||
{ pattern: /^[1-9]\d*$/, message: '只能输入正整数', trigger: ['blur', 'change']}
|
||||
],
|
||||
},
|
||||
planList:[]
|
||||
planList:[],
|
||||
oldrepaymentObj:{},
|
||||
|
||||
};
|
||||
},
|
||||
@ -321,9 +352,17 @@ import api from "@/services/caseManagement";
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
|
||||
// 编辑
|
||||
UpdatePlanClick()
|
||||
{
|
||||
this.updateFlag = true
|
||||
this.oldrepaymentObj = JSON.parse(JSON.stringify(this.repaymentObj))
|
||||
},
|
||||
// 取消保存,还原数据
|
||||
cancelPlanClick(){
|
||||
this.updateFlag = false
|
||||
this.repaymentObj = JSON.parse(JSON.stringify(this.oldrepaymentObj))
|
||||
},
|
||||
//
|
||||
handleClose() {
|
||||
this.$emit('update:eventTraDialog', null)
|
||||
|
||||
@ -40,7 +40,7 @@
|
||||
v-model="singlesmsvisible"
|
||||
title="发送短信"
|
||||
trigger="click">
|
||||
<singlesmsPopover :caseId="caseId" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<singlesmsPopover :caseId="caseId" :sendPhone="item.phone" :singlesmsvisible.sync="singlesmsvisible"/>
|
||||
<span slot="reference" class="ml-8 cursor-pointer">
|
||||
<i class="el-icon-message"></i> 短信
|
||||
</span>
|
||||
|
||||
@ -57,6 +57,11 @@ import api from "@/services/caseManagement";
|
||||
type: String,
|
||||
default: () => {},
|
||||
},
|
||||
singleofficevisible: {
|
||||
type: Boolean,
|
||||
default: () => {return false},
|
||||
},
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -70,8 +75,18 @@ import api from "@/services/caseManagement";
|
||||
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
singleofficevisible: {
|
||||
deep: true,
|
||||
handler: function (val) {
|
||||
if (this.singleofficevisible){
|
||||
this.getWritCaseList()
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
this.getWritCaseList()
|
||||
// this.getWritCaseList()
|
||||
},
|
||||
methods: {
|
||||
// 列表数据
|
||||
|
||||
@ -45,6 +45,10 @@ import caseManagement from "@/services/caseManagement";
|
||||
type: String,
|
||||
default: () => {},
|
||||
},
|
||||
sendPhone: {
|
||||
type: String,
|
||||
default: () => {},
|
||||
},
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@ -84,7 +88,7 @@ import caseManagement from "@/services/caseManagement";
|
||||
}
|
||||
if(!this.$clickThrottle()) { return }//防止重复点击
|
||||
let caseIdList = [this.caseId];
|
||||
caseManagement.smsBatchSend({...this.ObjectInfo, caseIdList: caseIdList}).then(res => {
|
||||
caseManagement.smsBatchSend({...this.ObjectInfo, caseIdList: caseIdList,phones:[this.sendPhone]}).then(res => {
|
||||
this.$message.success("发起短信成功");
|
||||
this.handleClose()
|
||||
this.$parent.getWritCaseList()
|
||||
|
||||
@ -83,7 +83,7 @@
|
||||
<el-input v-model.trim="queryParam.respondentIdcard"
|
||||
clearable placeholder="请输入被申请人证件号"
|
||||
@keydown.enter.native="handleSearch"
|
||||
maxlength="11"
|
||||
maxlength="18"
|
||||
>
|
||||
</el-input>
|
||||
</div>
|
||||
|
||||
@ -159,10 +159,10 @@
|
||||
<span>视频调解追踪</span><span><a>{{traceData.videoAppointmentTrackingCount.failed}}</a>/<a>{{traceData.videoAppointmentTrackingCount.total}}</a></span>
|
||||
</div>
|
||||
<div class="flex-row justify-content-between cursor-pointer" @click="eventTraDialog={traceType:3,title:'文书生成追踪'}">
|
||||
<span>文书生成追踪</span><span><a>{{traceData.videoAppointmentTrackingCount.failed}}</a>/<a>{{traceData.videoAppointmentTrackingCount.total}}</a></span>
|
||||
<span>文书生成追踪</span><span><a>{{traceData.documentGenerationTrackingCount.failed}}</a>/<a>{{traceData.documentGenerationTrackingCount.total}}</a></span>
|
||||
</div>
|
||||
<div class="flex-row justify-content-between cursor-pointer" @click="eventTraDialog={traceType:4,title:'文书签字追踪'}">
|
||||
<span>文书签字追踪</span><span><a>{{traceData.videoAppointmentTrackingCount.failed}}</a>/<a>{{traceData.videoAppointmentTrackingCount.total}}</a></span>
|
||||
<span>文书签字追踪</span><span><a>{{traceData.documentSignatureTrackingCount.failed}}</a>/<a>{{traceData.documentSignatureTrackingCount.total}}</a></span>
|
||||
</div>
|
||||
<div class="flex-row justify-content-between cursor-pointer" @click="eventTraDialog={traceType:5,title:'文书签章追踪'}">
|
||||
<span>文书签章追踪</span><span><a>{{traceData.electronicSealTrackingCount.failed}}</a>/<a>{{traceData.electronicSealTrackingCount.total}}</a></span>
|
||||
@ -361,10 +361,6 @@
|
||||
}
|
||||
})
|
||||
},
|
||||
getCaseInfoList(val){
|
||||
this.getCaseapkList(2)
|
||||
this.getCaseInfoList()
|
||||
},
|
||||
// 所有案件包数据
|
||||
getCaseapkList(type =1){
|
||||
workApi.getmy_case_pkg({size:100,current:1}).then(res => {
|
||||
@ -385,7 +381,12 @@
|
||||
})
|
||||
},
|
||||
// 列表数据
|
||||
getCaseInfoList(){
|
||||
getCaseInfoList(val){
|
||||
console.log(val,'getCaseInfoListgetCaseInfoListgetCaseInfoList')
|
||||
if(val == 1){
|
||||
this.getCaseapkList(2)
|
||||
}
|
||||
|
||||
pkapi.getCasePkgQuery({current:1,size:100,pkgName:this.queryParamFP.pkgName}).then(res => {
|
||||
if (!res.code) {
|
||||
this.tableData = res.records;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user