Sfoglia il codice sorgente

产权交易

RongCheng
庞东旭 1 anno fa
parent
commit
6f1aa8dbcc
2 ha cambiato i file con 15 aggiunte e 1 eliminazioni
  1. +14
    -0
      static/js/project/user/index.js
  2. +1
    -1
      view/user/user.html

+ 14
- 0
static/js/project/user/index.js Vedi File

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


+ 1
- 1
view/user/user.html Vedi File

@@ -717,7 +717,7 @@
word-break: break-all;
overflow: hidden;"
>{{value.projectName}}</p></td>
<td>{{value.depositStatus=='1'?'成功':'失败'}}</td>
<td>{{value.depositStatus}}</td>
<td>{{value.biddingStartTime}}</td>
<td>{{value.biddingStopTime}}</td>
<td><p id="endTime{{i}}"></p></td>


Caricamento…
Annulla
Salva