Commit 0ea13a74 authored by caimeng's avatar caimeng

协议签署保存

parent b49f9499
...@@ -11,16 +11,35 @@ ...@@ -11,16 +11,35 @@
<div class="settleType"> <div class="settleType">
<el-form :inline="true"> <el-form :inline="true">
<el-form-item label="结清证明类型模板"> <el-form-item label="结清证明类型模板">
<el-select v-model="reportType" placeholder="请选择结清模板"> <template v-if="loanSign==='XH'">
<el-option <el-select v-model="reportType" placeholder="请选择结清模板">
label="借款主体结清证明模板" <el-option
value="loanReport" label="借款主体结清证明模板"
></el-option> value="loanReport"
<el-option ></el-option>
label="服务费主体结清证明模版" <el-option
value="serviceReport" label="服务费主体结清证明模版-云腾"
></el-option> value="ytServiceReport"
</el-select> ></el-option>
<el-option
label="服务费主体结清证明模版-纳宇"
value="nyServiceReport"
></el-option>
</el-select>
</template>
<template v-else>
<el-select v-model="reportType" placeholder="请选择结清模板">
<el-option
label="借款主体结清证明模板"
value="loanReport"
></el-option>
<el-option
label="服务费主体结清证明模版"
value="serviceReport"
></el-option>
</el-select>
</template>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" @click="generateReport" <el-button type="primary" @click="generateReport"
...@@ -65,15 +84,16 @@ export default { ...@@ -65,15 +84,16 @@ export default {
tableData: [], tableData: [],
certName: "", certName: "",
loanNo: "", loanNo: "",
loanSign:''
}; };
}, },
created() { created() {
const params = this.params; const params = this.params;
console.log(params, "啦啦啦啦啦啦啦"); console.log(params, "啦啦啦啦啦啦啦");
if (params.loanNo) { if (params.loanNo) {
console.log(params.loanNo, "hhhhhhhhhh"); const { clientName, loanSign,externalNo } = params;
const { clientName, loanNo,externalNo } = params;
this.certName = clientName; this.certName = clientName;
this.loanSign = loanSign;
this.loanNo = externalNo; this.loanNo = externalNo;
this.queryReport(externalNo); this.queryReport(externalNo);
} }
...@@ -136,4 +156,4 @@ export default { ...@@ -136,4 +156,4 @@ export default {
</script> </script>
<style scoped> <style scoped>
</style> </style>
\ No newline at end of file
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
<el-tag type="info" v-else size="small">{{ loanStatusFormat(scope.row) }}</el-tag> <el-tag type="info" v-else size="small">{{ loanStatusFormat(scope.row) }}</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" prop="settlePlanIndex" label="限制提前结清期数"></el-table-column>
<el-table-column align="center" prop="cancelMemo" label="备注"></el-table-column> <el-table-column align="center" prop="cancelMemo" label="备注"></el-table-column>
<el-table-column align="center" label="查看详情"> <el-table-column align="center" label="查看详情">
<template slot-scope="scope"> <template slot-scope="scope">
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
<el-table-column align="center" width="80" label="签署地址"> <el-table-column align="center" width="80" label="签署地址">
<template slot-scope="scope"> <template slot-scope="scope">
<a target="_blank" <a target="_blank"
:href="'http://m.jqtianxia.cn/sign_agreement/index.html#/login?loanNo='+scope.row.loanNo">点击预览</a> :href="'https://sign.taimedias.com/index.html#/login?loanNo='+scope.row.loanNo">点击预览</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="附件"> <el-table-column align="center" label="附件">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment