Commit f571dba6 authored by WangRui's avatar WangRui

[feature]页面代码调整

parent 8b847b37
...@@ -52,7 +52,7 @@ const getList = async () => { ...@@ -52,7 +52,7 @@ const getList = async () => {
...item, ...item,
title: item.itemProjectNumber, title: item.itemProjectNumber,
other_title: item.creationDate?.split(' ')[0], other_title: item.creationDate?.split(' ')[0],
values: [["机型", "状态", "代理店"], [item.model, item.intentionStatusN, item.agencyBpName]] values: [["机型", "状态", "代理店"], [item.model, item.contractStatusN, item.agencyBpName]]
})) }))
}else { }else {
list = []; list = [];
......
...@@ -45,9 +45,10 @@ const finished = $ref(true); ...@@ -45,9 +45,10 @@ const finished = $ref(true);
const getList = async () => { const getList = async () => {
// 下拉重置参数,重新加载 // 下拉重置参数,重新加载
let list = await api.getRepayPlantList({userId: window.localStorage.getItem('userId')}); let res = await api.getRepayPlantList({userId: window.localStorage.getItem('userId')});
if(list.result === 'SUCCESS'){ let list = []
list = list.data.map(item => ({ if(res.success){
list = res.rows.map(item => ({
...item, ...item,
title: item.contractNumber, title: item.contractNumber,
other_title: item.applyDate?.split(' ')[0], other_title: item.applyDate?.split(' ')[0],
......
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