Commit f571dba6 authored by WangRui's avatar WangRui

[feature]页面代码调整

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