Commit 17dd16ed authored by caimeng's avatar caimeng
parent 9601ad7b
...@@ -211,7 +211,6 @@ ...@@ -211,7 +211,6 @@
<el-button size="small" type="primary" @click="handleConfirmBlack">确 定</el-button> <el-button size="small" type="primary" @click="handleConfirmBlack">确 定</el-button>
</div> </div>
</el-dialog> </el-dialog>
handleAddBlack
</div> </div>
</template> </template>
......
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
<el-table-column <el-table-column
align="center" align="center"
prop="accountAmt" prop="accountAmt"
label="手续费" label="担保费"
></el-table-column> ></el-table-column>
<el-table-column <el-table-column
align="center" align="center"
...@@ -366,7 +366,7 @@ export default { ...@@ -366,7 +366,7 @@ export default {
headerStyle() { headerStyle() {
return "tableHeaderStyle"; return "tableHeaderStyle";
}, },
async init() { async init() {
const res = await this.$$get( const res = await this.$$get(
"/detail/customer/" + this.advanceLoanAmt.loanNo "/detail/customer/" + this.advanceLoanAmt.loanNo
......
...@@ -78,7 +78,7 @@ ...@@ -78,7 +78,7 @@
<el-collapse-item title="减免记录" name="5"> <el-collapse-item title="减免记录" name="5">
<ReliefList :params="applyInfo"></ReliefList> <ReliefList :params="applyInfo"></ReliefList>
</el-collapse-item> </el-collapse-item>
<el-collapse-item title="服务费退款记录" name="6"> <el-collapse-item title="退款记录" name="6">
<ServiceRefund :params="applyInfo"></ServiceRefund> <ServiceRefund :params="applyInfo"></ServiceRefund>
</el-collapse-item> </el-collapse-item>
</el-collapse> </el-collapse>
......
...@@ -41,10 +41,25 @@ ...@@ -41,10 +41,25 @@
<el-button type="text" size="small" @click="handleShow(scope.row,'SettleReport','结清报告')">结清报告 <el-button type="text" size="small" @click="handleShow(scope.row,'SettleReport','结清报告')">结清报告
</el-button> </el-button>
</template> </template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'OWNBUSINESS'&&zyItem"> <template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'OWNBUSINESS' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告 <el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button> </el-button>
</template> </template>
<!--偷懒写法-->
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSJQ' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSDR' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
<template v-if="scope.row.status==='SETTLED' && scope.row.capitalCode == 'FENGSHENGBUSINESSZY' && zyItem">
<el-button type="text" size="small" @click="handleShow(scope.row,'GenerateSettleReport','结清报告')">结清报告
</el-button>
</template>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
...@@ -106,14 +121,12 @@ export default { ...@@ -106,14 +121,12 @@ export default {
} }
}, },
async created() { async created() {
// console.log(localStorage.getItem('btnUrl'), 999888888);
const btnUrl=localStorage.getItem('btnUrl'); const btnUrl=localStorage.getItem('btnUrl');
if(btnUrl){ if(btnUrl){
this.zyItem=btnUrl this.zyItem=btnUrl
}else{ }else{
this.zyItem=null this.zyItem=null
} }
console.log(this.zyItem,'bynurl');
const {clientNo, clientProductName} = this.params; const {clientNo, clientProductName} = this.params;
const res = await this.$$post('/loan/getLoanListByClientNo/', {productName: clientProductName, clientNo: clientNo}); const res = await this.$$post('/loan/getLoanListByClientNo/', {productName: clientProductName, clientNo: clientNo});
const {success, result} = res.data; const {success, result} = res.data;
......
...@@ -16,7 +16,8 @@ ...@@ -16,7 +16,8 @@
<el-table-column align="center" prop="creator" label="创建人"></el-table-column> <el-table-column align="center" prop="creator" label="创建人"></el-table-column>
<el-table-column align="center" prop="gmtCreated" label="创建时间" :formatter="dateFormat"></el-table-column> <el-table-column align="center" prop="gmtCreated" label="创建时间" :formatter="dateFormat"></el-table-column>
<el-table-column align="center" prop="gmtModified" label="更新时间" :formatter="dateFormat"></el-table-column> <el-table-column align="center" prop="gmtModified" label="更新时间" :formatter="dateFormat"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="备注"></el-table-column> <el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="退款说明"></el-table-column>
<el-table-column :show-overflow-tooltip="true" align="center" prop="memo" label="退款方式"></el-table-column>
</el-table> </el-table>
</div> </div>
<div class="pages"> <div class="pages">
...@@ -151,7 +152,7 @@ export default { ...@@ -151,7 +152,7 @@ export default {
this.form.current = 1; this.form.current = 1;
this.init(); this.init();
}, },
} }
} }
</script> </script>
......
...@@ -7,10 +7,11 @@ ...@@ -7,10 +7,11 @@
:visible.sync="visible" :visible.sync="visible"
:before-close="handleClose"> :before-close="handleClose">
<div class="page-dialog"> <div class="page-dialog">
<div class="btn-box" style="height: 200px"> <div class="btn-box" style="height: 200px">
<el-button size="small" plain type="info" v-if="result.status==='FAIL'">生成失败</el-button> <el-button size="small" plain type="info" v-if="result.status==='FAIL'">生成失败</el-button>
<el-button size="small" plain type="success" @click="handleClick" v-else-if="result.status==='SUCCESS'">点击下载 <el-button size="small" plain type="success" @click="handleClick" v-else-if="result.status==='SUCCESS'">点击下载</el-button>
</el-button>
<el-button size="small" plain type="primary" v-else-if="result.status==='PROCESS'">生成中...</el-button> <el-button size="small" plain type="primary" v-else-if="result.status==='PROCESS'">生成中...</el-button>
</div> </div>
</div> </div>
...@@ -58,13 +59,12 @@ export default { ...@@ -58,13 +59,12 @@ export default {
async created() { async created() {
const params = this.params; const params = this.params;
// console.log(params, '很多信息'); console.log(params,'参数')
if (params.loanNo) { if (params.loanNo) {
const {capitalCode, clientName, certNo,idCard, loanNo,externalNo} = params; const {capitalCode, clientName, certNo,idCard, loanNo,externalNo} = params;
this.form.capitalCode = capitalCode; this.form.capitalCode = capitalCode;
this.form.certNo = idCard; this.form.certNo = idCard;
this.form.certName = clientName; this.form.certName = clientName;
//this.form.loanNo = loanNo;
this.form.loanNo = externalNo; this.form.loanNo = externalNo;
await this.init() await this.init()
} }
...@@ -94,6 +94,10 @@ export default { ...@@ -94,6 +94,10 @@ export default {
handleClick() { handleClick() {
const url = this.result.fileUrl; const url = this.result.fileUrl;
window.open(url, "_blank"); window.open(url, "_blank");
},
// 结清报告查询
onSubmit(){
} }
} }
} }
......
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