|
|
@@ -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){ |
|
|
|