Commit dc92b76c authored by ly's avatar ly

添加参数,修改名称

parent f5adbd87
...@@ -8,7 +8,8 @@ ...@@ -8,7 +8,8 @@
<td>放款日期:</td> <td>放款日期:</td>
<td>{{ loanModel.raiseDate | dateFilter }}</td> <td>{{ loanModel.raiseDate | dateFilter }}</td>
<td>项目名称:</td> <td>项目名称:</td>
<td>{{ loanModel.bizTypeStr }}</td> <td>{{ loanModel.productName }}</td>
<!-- <el-table-column align="center" prop="productName" label="产品名称" :formatter="productNameFormat"></el-table-column> -->
</tr> </tr>
<tr> <tr>
<td>总应还金额:</td> <td>总应还金额:</td>
...@@ -76,12 +77,21 @@ export default { ...@@ -76,12 +77,21 @@ export default {
console.log(this.params,'哈哈'); console.log(this.params,'哈哈');
const {applyVo} = this.params; const {applyVo} = this.params;
this.loanModel = applyVo this.loanModel = applyVo
this.productNameFormat(this.loanModel.productName)
} }
}, },
methods: { methods: {
headerStyle() { headerStyle() {
return "tableHeaderStyle"; return "tableHeaderStyle";
},
//产品名称
productNameFormat: function (row) {
if(this.loanModel!=null){
this.loanModel.productName=this.$enumUtils.toMsg('BusinessType', row)
} }
},
} }
} }
</script> </script>
......
...@@ -72,8 +72,9 @@ export default { ...@@ -72,8 +72,9 @@ export default {
} }
}, },
async created() { async created() {
const {clientNo} = this.params; console.log(this.params,999);
const res = await this.$$post('/loan/getLoanListByClientNo/' + clientNo); const {clientNo,clientProductName} = this.params;
const res = await this.$$post('/loan/getLoanListByClientNo/',{productName:clientProductName,clientNo:clientNo});
const {success, result} = res.data; const {success, result} = res.data;
if (success && result !== null) { if (success && result !== null) {
this.data = result; this.data = result;
......
...@@ -323,6 +323,8 @@ const enumUtils = { ...@@ -323,6 +323,8 @@ const enumUtils = {
{code: 'AWJ', message: '安稳借'}, {code: 'AWJ', message: '安稳借'},
{code: 'XYF_DAI', message: '信用飞'} {code: 'XYF_DAI', message: '信用飞'}
] ]
}; };
...@@ -679,6 +681,9 @@ const enumUtils = { ...@@ -679,6 +681,9 @@ const enumUtils = {
{value: 'YPD_DAI', label: '一品贷'}, {value: 'YPD_DAI', label: '一品贷'},
{value: 'AYSC_DAI', label: '爱用商城-风尚贷'}, {value: 'AYSC_DAI', label: '爱用商城-风尚贷'},
{value: 'HFD_DAI', label: '会分期'}, {value: 'HFD_DAI', label: '会分期'},
{value: 'YYD_DAI', label: '有余贷'},
{value: 'XXH_DAI', label: '心想花'},
{value: 'JINSI_DAI', 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