Commit eb06b621 authored by caimeng's avatar caimeng

Merge remote-tracking branch 'origin/mc' into mc

parents 2824d9fc dc92b76c
...@@ -6,11 +6,11 @@ ...@@ -6,11 +6,11 @@
<div class="box"> <div class="box">
<el-tabs v-model="activeComponents" type="card" @tab-click="handleTabClick"> <el-tabs v-model="activeComponents" type="card" @tab-click="handleTabClick">
<el-tab-pane name="BaseInfo" label="基本信息"></el-tab-pane> <el-tab-pane name="BaseInfo" label="基本信息"></el-tab-pane>
<el-tab-pane name="RiskInfo" label="风险等级"></el-tab-pane>
<el-tab-pane name="LoanInfo" label="借款信息"></el-tab-pane> <el-tab-pane name="LoanInfo" label="借款信息"></el-tab-pane>
<el-tab-pane name="FeedList" label="反馈记录"></el-tab-pane> <el-tab-pane name="FeedList" label="反馈记录"></el-tab-pane>
<el-tab-pane name="UrgeList" label="催收记录"></el-tab-pane> <el-tab-pane name="UrgeList" label="催收记录"></el-tab-pane>
<el-tab-pane name="OperateLog" label="操作日志"></el-tab-pane> <el-tab-pane name="OperateLog" label="操作日志"></el-tab-pane>
<el-tab-pane name="RiskInfo" label="风险等级"></el-tab-pane>
</el-tabs> </el-tabs>
<div class="box-right"> <div class="box-right">
<el-button size="mini" v-if="activeComponents==='FeedList'" @click="handleTabClick({name:'addQuestion',label:'意见反馈'})" type="primary">新增反馈记录</el-button> <el-button size="mini" v-if="activeComponents==='FeedList'" @click="handleTabClick({name:'addQuestion',label:'意见反馈'})" type="primary">新增反馈记录</el-button>
......
...@@ -15,10 +15,11 @@ ...@@ -15,10 +15,11 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="选择时间"> <el-form-item label="选择时间">
<!-- 'datetimerange' -->
<el-date-picker <el-date-picker
clearable clearable
v-model="form.time" v-model="form.time"
type="datetimerange" type="daterange"
start-placeholder="开始日期" start-placeholder="开始日期"
end-placeholder="结束日期" end-placeholder="结束日期"
value-format="yyyy-MM-dd HH:mm:ss" value-format="yyyy-MM-dd HH:mm:ss"
...@@ -145,8 +146,9 @@ export default { ...@@ -145,8 +146,9 @@ export default {
onSubmit() { onSubmit() {
const {time} = this.form; const {time} = this.form;
if (time) { if (time) {
this.form.startDate = time[0];
this.form.endDate = time[1]; this.form.startDate = new Date(time[0]);
this.form.endDate = new Date(time[1]);
} else { } else {
this.form.startDate = ''; this.form.startDate = '';
this.form.endDate = ''; this.form.endDate = '';
......
...@@ -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;
......
...@@ -72,6 +72,7 @@ export default { ...@@ -72,6 +72,7 @@ export default {
total: 1, total: 1,
current: 1, current: 1,
size: 10, size: 10,
// result:''
}, },
updateQueDialog: { updateQueDialog: {
visible: false, visible: false,
...@@ -83,7 +84,8 @@ export default { ...@@ -83,7 +84,8 @@ export default {
creater: '', creater: '',
finishContent: '', finishContent: '',
}, },
data: [] data: [],
backValue:null
} }
}, },
async created() { async created() {
...@@ -100,7 +102,14 @@ export default { ...@@ -100,7 +102,14 @@ export default {
return "tableHeaderStyle"; return "tableHeaderStyle";
}, },
async init() { async init() {
const res = await this.$$post('/back/detailPageList', this.form); const parB={
bizNo: this.form.bizNo,
current: this.form.current,
size: this.form.size,
total: this.form.total,
result:this.backValue
}
const res = await this.$$post('/back/detailPageList', parB );
const {success, result} = res.data; const {success, result} = res.data;
if (success && result !== null) { if (success && result !== null) {
const {data, total} = result const {data, total} = result
...@@ -165,8 +174,8 @@ export default { ...@@ -165,8 +174,8 @@ export default {
else { else {
this.backValue = filters.status[0] this.backValue = filters.status[0]
} }
this.init();
this.loanBackedData(this.loanNos) // this.loanBackedData(this.loanNos)
}, },
} }
......
...@@ -322,6 +322,8 @@ const enumUtils = { ...@@ -322,6 +322,8 @@ const enumUtils = {
{code: 'XXH_DAI', message: '心想花'}, {code: 'XXH_DAI', message: '心想花'},
{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