Browse Source

产权交易

RongCheng
庞东旭 1 year ago
parent
commit
6f1aa8dbcc
2 changed files with 15 additions and 1 deletions
  1. +14
    -0
      static/js/project/user/index.js
  2. +1
    -1
      view/user/user.html

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

@@ -7,6 +7,7 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor",
data: { data: {
//焦点图数据 //焦点图数据
focusListTop: [], focusListTop: [],
depositStatusOption: [],
userInformationDetail:[], userInformationDetail:[],
userSupplyInformationList:'', userSupplyInformationList:'',
consultingInformationList:'', 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+"/bank_type_all", {}, module.bankType, true);


//所属银行
tools.doGet(dictionaries+"/deposit_status", {}, module.depositStatus, true);

//账户类型 //账户类型
tools.doGet(dictionaries+"/bank_account_type", {}, module.accountType, 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) { module.accountType = function (data) {
if (data.code == 200) { if (data.code == 200) {
@@ -654,6 +666,8 @@ define(['jquery', "template", "Tools", "user", "paging","cupload","kindeditor",
} }


content.forEach((res,index)=>{ content.forEach((res,index)=>{
res.depositStatus = module.data.depositStatusOption.filter(function (e) { return e.dictValue == res.depositStatus; })[0].dictLabel;

setInterval(()=>{ setInterval(()=>{
res.endTime = new Date(res.biddingStopTime) - new Date(); res.endTime = new Date(res.biddingStopTime) - new Date();
if (res.endTime <= 0){ if (res.endTime <= 0){


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

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


Loading…
Cancel
Save