|
@@ -23,9 +23,15 @@
|
|
|
</div>
|
|
|
<div>
|
|
|
<van-tag type="primary" size="medium" class="van-tag">{{ item.currentNodeName }}</van-tag>
|
|
|
- <van-tag type="success" size="medium" class="van-tag">{{ item.clientManager }}</van-tag>
|
|
|
+ <van-tag type="success" size="medium" class="van-tag">{{ item.handlerName }}</van-tag>
|
|
|
<van-tag color="#969799" size="medium" class="van-tag">{{ item.created }}</van-tag>
|
|
|
</div>
|
|
|
+ <div class="comments">
|
|
|
+ <div>
|
|
|
+ <van-icon name="notes-o" />
|
|
|
+ {{ item.comments ? item.comments : '-' }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</van-list>
|
|
|
</van-pull-refresh>
|
|
@@ -35,6 +41,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { pendingOrder } from '@/api/personal';
|
|
|
+import { queryLastComments } from '@/api/workflowLog'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -75,6 +82,8 @@ export default {
|
|
|
if (res.code == 200) {
|
|
|
if (res.data.records) {
|
|
|
this.listData = this.listData.concat(res.data.records);
|
|
|
+ const businessIds = res.data.records.map(item=>item.id)
|
|
|
+ this.queryPersonalComments(businessIds);
|
|
|
}
|
|
|
// 判断是否还有下一页
|
|
|
if (res.data.pages > this.listQuery.current) {
|
|
@@ -108,6 +117,7 @@ export default {
|
|
|
shouldAmount: item.shouldAmount,
|
|
|
invoiceAmount: item.invoiceAmount,
|
|
|
created: item.created,
|
|
|
+ clientManager: item.clientManager
|
|
|
};
|
|
|
this.$router.push({
|
|
|
path: `/index/personal/detail`,
|
|
@@ -116,6 +126,20 @@ export default {
|
|
|
},
|
|
|
});
|
|
|
},
|
|
|
+ // 个贷获取最新备注
|
|
|
+ queryPersonalComments(businessIds){
|
|
|
+ queryLastComments(businessIds).then(res=>{
|
|
|
+ if (res.code === 200){
|
|
|
+ for (let i in this.listData){
|
|
|
+ for (let j in res.data){
|
|
|
+ if (this.listData[i].id == res.data[j].id){
|
|
|
+ this.listData[i].comments = res.data[j].comments;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ }
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
@@ -150,4 +174,8 @@ export default {
|
|
|
.clientInfo {
|
|
|
margin-bottom: 5px;
|
|
|
}
|
|
|
+.comments {
|
|
|
+ margin-bottom: 5px;
|
|
|
+ color: darkgrey;
|
|
|
+}
|
|
|
</style>
|