|
@@ -2391,25 +2391,25 @@ export default {
|
|
|
},
|
|
|
/** 新增按钮操作 */
|
|
|
handleAdd() {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
this.reset();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/addCredit/", this.$route.fullPath);
|
|
|
this.$router.push({ path: "/credit/addCredit/" });
|
|
|
},
|
|
|
//详情
|
|
|
handleDetail(row){
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/creditDetail/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/creditDetail/"+zfiId + "/" });
|
|
|
},
|
|
@@ -2418,12 +2418,12 @@ export default {
|
|
|
const zfiId = row.zfiId || this.ids;
|
|
|
//获取融信类型
|
|
|
const zfiCreateType = row.zfiCreateType;
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
//核心开立
|
|
|
if(zfiCreateType == '1'){
|
|
|
Cookies.set("/credit/creditUpdate/"+zfiId + "/", this.$route.fullPath)
|
|
@@ -2458,12 +2458,12 @@ export default {
|
|
|
return false;
|
|
|
}else{
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/confirmationAudit/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/confirmationAudit/"+zfiId + "/" });
|
|
|
}
|
|
@@ -2497,12 +2497,12 @@ export default {
|
|
|
return false;
|
|
|
}else{
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/addInformation/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/addInformation/"+zfiId + "/" });
|
|
|
}
|
|
@@ -2530,12 +2530,12 @@ export default {
|
|
|
return false;
|
|
|
}else{
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/signFor/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/signFor/"+zfiId + "/" });
|
|
|
}
|
|
@@ -2545,12 +2545,12 @@ export default {
|
|
|
//去融资
|
|
|
handleGoFinance(row){
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/goFinance/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/goFinance/"+zfiId + "/" });
|
|
|
},
|
|
@@ -2590,12 +2590,12 @@ export default {
|
|
|
return false;
|
|
|
}else{
|
|
|
const zfiId = row.zfiId || this.ids
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/creditSeal/"+zfiId + "/", this.$route.fullPath)
|
|
|
this.$router.push({ path: "/credit/creditSeal/"+zfiId + "/" });
|
|
|
}
|
|
@@ -2612,12 +2612,12 @@ export default {
|
|
|
}).then(function() {
|
|
|
return coreApproval(row);
|
|
|
}).then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("提交审批成功");
|
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
@@ -2636,12 +2636,12 @@ export default {
|
|
|
}).then(function() {
|
|
|
return confirmationApproval(row);
|
|
|
}).then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("提交审批成功");
|
|
|
}).catch(() => {
|
|
|
this.$message({
|
|
@@ -2668,12 +2668,12 @@ export default {
|
|
|
return approval(row);
|
|
|
})
|
|
|
.then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("提交审批成功");
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -2700,12 +2700,12 @@ export default {
|
|
|
return openApproval(row);
|
|
|
})
|
|
|
.then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("提交审批成功");
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -2725,12 +2725,12 @@ export default {
|
|
|
}).then(function() {
|
|
|
return informationApproval(row);
|
|
|
}).then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("提交审批成功");
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -2765,24 +2765,24 @@ export default {
|
|
|
//融资开立
|
|
|
finanOpening(){
|
|
|
this.reset();
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/financeOpen/", this.$route.fullPath);
|
|
|
this.$router.push({ path: "/credit/financeOpen/" });
|
|
|
},
|
|
|
//融资申请
|
|
|
apply(){
|
|
|
this.reset();
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.resetForm("queryForm");
|
|
|
+ this.resetForm("queryFormSign");
|
|
|
+ this.resetForm("queryFormFinancing");
|
|
|
+ this.resetForm("queryFormOpening");
|
|
|
+ this.resetForm("queryFormFinanced");
|
|
|
+ this.resetForm("queryFormInvalid");
|
|
|
Cookies.set("/credit/creditApply/", this.$route.fullPath);
|
|
|
this.$router.push({ path: "/credit/creditApply/" });
|
|
|
},
|
|
@@ -2806,12 +2806,12 @@ export default {
|
|
|
//拒签
|
|
|
return creditRefuse(row);
|
|
|
}).then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("拒签成功");
|
|
|
})
|
|
|
.catch(() => {
|
|
@@ -2835,12 +2835,12 @@ export default {
|
|
|
//删除
|
|
|
return creditDel(row);
|
|
|
}).then(() => {
|
|
|
- this.resetQuery();
|
|
|
- this.resetQuerySign();
|
|
|
- this.resetQueryFinancing();
|
|
|
- this.resetQueryOpening();
|
|
|
- this.resetQueryFinanced();
|
|
|
- this.resetQueryInvalid();
|
|
|
+ this.getList();
|
|
|
+ this.getListSign();
|
|
|
+ this.getListFinancing();
|
|
|
+ this.getListOpening();
|
|
|
+ this.getListFinanced();
|
|
|
+ this.getListInvalid();
|
|
|
this.msgSuccess("删除成功");
|
|
|
})
|
|
|
.catch(() => {
|