Commit b071a009 authored by Step_by_step's avatar Step_by_step
parents 09162977 b5c7aaa6
......@@ -13,7 +13,7 @@
</PullRefresh>
</section>
<Plus @click="jump" />
<!-- <Plus @click="jump" />-->
</div>
</template>
......@@ -45,14 +45,13 @@ let listValue = $ref([]);
const getList = async () => {
// 下拉重置参数,重新加载
let res = await api.getProjectList({userId: window.localStorage.getItem('userId')});
console.log('hha', res);
let list = []
if(res.success){
list = res.rows.map(item => ({
...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