From 6f1aa8dbcc5d1b2819e73e24c953824337b3d225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Thu, 28 Sep 2023 13:48:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E6=9D=83=E4=BA=A4=E6=98=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/js/project/user/index.js | 14 ++++++++++++++ view/user/user.html | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/static/js/project/user/index.js b/static/js/project/user/index.js index e5d7901..f9f085b 100644 --- a/static/js/project/user/index.js +++ b/static/js/project/user/index.js @@ -7,6 +7,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", data: { //焦点图数据 focusListTop: [], + depositStatusOption: [], userInformationDetail:[], userSupplyInformationList:'', consultingInformationList:'', @@ -65,6 +66,9 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", //所属银行 tools.doGet(dictionaries+"/bank_type_all", {}, module.bankType, true); + //所属银行 + tools.doGet(dictionaries+"/deposit_status", {}, module.depositStatus, true); + //账户类型 tools.doGet(dictionaries+"/bank_account_type", {}, module.accountType, true); @@ -163,6 +167,14 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", } } + //底部友情链接 + module.depositStatus = function (data) { + if (data.code == 200) { + var content = data.data; + module.data.depositStatusOption = content; + } + } + //账户类型 module.accountType = function (data) { if (data.code == 200) { @@ -654,6 +666,8 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor", } content.forEach((res,index)=>{ + res.depositStatus = module.data.depositStatusOption.filter(function (e) { return e.dictValue == res.depositStatus; })[0].dictLabel; + setInterval(()=>{ res.endTime = new Date(res.biddingStopTime) - new Date(); if (res.endTime <= 0){ diff --git a/view/user/user.html b/view/user/user.html index 0de922f..f9c7c26 100644 --- a/view/user/user.html +++ b/view/user/user.html @@ -717,7 +717,7 @@ word-break: break-all; overflow: hidden;" >{{value.projectName}}
-