修改bug
This commit is contained in:
parent
cfa91784c0
commit
8189bda00a
@ -139,7 +139,7 @@ let formaDate = (value, fmt) => {
|
||||
|
||||
let secondsToMinutes = (value) => {
|
||||
|
||||
if(value == 0 || value == ''|| value == null){return ''}
|
||||
if(value == 0 || value == ''|| value == null){return '0秒'}
|
||||
const minutes = Math.floor(value / 60);
|
||||
const seconds = value % 60;
|
||||
if(minutes > 0)
|
||||
|
||||
@ -466,7 +466,7 @@ export default {
|
||||
H: ''
|
||||
}],
|
||||
caseId: '',
|
||||
baseInfo: {},
|
||||
baseInfo: {debtorEntityList:[],casePkg:{}},
|
||||
fileList: [],
|
||||
fileType: [{label: '身份证件', value: 1}, {label: '金融许可证', value: 2}, {
|
||||
label: '营业执照',
|
||||
@ -510,8 +510,7 @@ export default {
|
||||
if (this.$route.query.caseId != undefined) {
|
||||
this.caseId = this.$route.query.caseId;
|
||||
this.getCaseInfoById();//获取详情
|
||||
this.getmediate_record()
|
||||
this.getCaseLogsList()
|
||||
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
@ -588,16 +587,18 @@ export default {
|
||||
} else {
|
||||
this.caseId = res.id.toString()
|
||||
}
|
||||
}
|
||||
|
||||
this.getmediate_record()
|
||||
this.getCaseLogsList()
|
||||
|
||||
this.getCoobligation()
|
||||
this.getFileCaseList()
|
||||
this.getLitigantByCaseId()
|
||||
this.getplanlist()
|
||||
this.getProofList()
|
||||
this.getWritCaseList()
|
||||
}
|
||||
})
|
||||
this.getCoobligation()
|
||||
this.getFileCaseList()
|
||||
this.getLitigantByCaseId()
|
||||
this.getplanlist()
|
||||
this.getProofList()
|
||||
this.getWritCaseList()
|
||||
|
||||
},
|
||||
|
||||
// 共债数据
|
||||
@ -667,7 +668,12 @@ export default {
|
||||
// 还款凭证
|
||||
getProofList() {
|
||||
this.ProofList = []
|
||||
api.gettraceProof_list({caseId: this.caseId}).then(res => {
|
||||
let data_json = {caseId: this.caseId}
|
||||
if(this.baseInfo.jointDebt == 1){
|
||||
data_json ={mainCaseId: this.baseInfo.mainCaseId}
|
||||
}
|
||||
|
||||
api.gettraceProof_list(data_json).then(res => {
|
||||
if (!res.code) {
|
||||
res.forEach(item =>{
|
||||
if(item.status.code == 2){ this.ProofList.push(item)}
|
||||
|
||||
@ -457,6 +457,8 @@ export default {
|
||||
|
||||
this.mediaterecordpm.caseId = this.caseId
|
||||
this.eventDialog.caseId = this.caseId
|
||||
this.eventDialog.jointDebt = this.thisCaseInfo.jointDebt
|
||||
this.eventDialog.mainCaseId = this.thisCaseInfo.mainCaseId
|
||||
|
||||
this.getCaseInfoById();//获取详情
|
||||
this.getAgentList()
|
||||
|
||||
@ -235,7 +235,12 @@ import api from "@/services/caseManagement";
|
||||
})
|
||||
},
|
||||
getProofList(){
|
||||
api.gettraceProof_list({caseId:this.eventDialog.caseId}).then(async res => {
|
||||
let data_json = {caseId: this.eventDialog.caseId}
|
||||
if(this.eventDialog.jointDebt == 1){
|
||||
data_json ={mainCaseId: this.eventDialog.mainCaseId}
|
||||
}
|
||||
|
||||
api.gettraceProof_list(data_json).then(async res => {
|
||||
if(!res.code){
|
||||
await this.getpreviewfull(res)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user