| @@ -66,33 +66,33 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT | |||
| tools.getWebConfig(); | |||
| $("#signStartTimeStr").datetime({ | |||
| type:"date", | |||
| value:[2019,9,31], | |||
| success:function(res){ | |||
| type: "date", | |||
| value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], | |||
| success: function (res) { | |||
| console.log(res) | |||
| } | |||
| }) | |||
| $("#signEndTimeStr").datetime({ | |||
| type:"date", | |||
| value:[2019,9,31], | |||
| success:function(res){ | |||
| type: "date", | |||
| value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], | |||
| success: function (res) { | |||
| console.log(res) | |||
| } | |||
| }) | |||
| $("#auctionStartTimeStr").datetime({ | |||
| type:"date", | |||
| value:[2019,9,31], | |||
| success:function(res){ | |||
| type: "date", | |||
| value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], | |||
| success: function (res) { | |||
| console.log(res) | |||
| } | |||
| }) | |||
| $("#endTimeStr").datetime({ | |||
| type:"date", | |||
| value:[2019,9,31], | |||
| success:function(res){ | |||
| type: "date", | |||
| value: [new Date().getFullYear(),new Date().getMonth()+1,new Date().getDate()], | |||
| success: function (res) { | |||
| console.log(res) | |||
| } | |||
| }) | |||
| @@ -210,6 +210,7 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT | |||
| $("#secondDept div").attr("class","auction_hall_table_tab auction_loc"); | |||
| if(id == '' && secondDeptId == ''){ | |||
| $('#locInfoSecondall').addClass('auction_hall_table_tab_select'); | |||
| module.data.deptId = $('#deptLocationContent div.auction_hall_table_tab_select').attr("data"); | |||
| }else{ | |||
| $('#locInfoall'+id).addClass('auction_hall_table_tab_select'); | |||
| module.data.deptId = secondDeptId; | |||
| @@ -229,6 +230,10 @@ define(['jquery', "template", "Tools", "biddingApi", "itemsApi", "paging",'dateT | |||
| } | |||
| typeCheck = function(id,projectNumber){ | |||
| if(projectNumber==undefined){ | |||
| // projectNumber为undefined时,置空(直接传递给后台接口导致搜索问题) | |||
| projectNumber = ""; | |||
| } | |||
| module.data.projectNumber = projectNumber;//标的物类型ID | |||
| document.getElementById('standardTypeAll').className = 'auction_hall_table_tab'; | |||
| if(id == ''){ | |||
| @@ -219,6 +219,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi | |||
| $("#secondDept div").attr("class", "auction_hall_table_tab auction_loc"); | |||
| if (id == '' && secondDeptId == '') { | |||
| $('#locInfoSecondall').addClass('auction_hall_table_tab_select'); | |||
| module.data.deptId = $('#deptLocationContent div.auction_hall_table_tab_select').attr("data"); | |||
| } else { | |||
| $('#locInfoall' + id).addClass('auction_hall_table_tab_select'); | |||
| module.data.deptId = secondDeptId; | |||
| @@ -256,6 +257,10 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime'], functi | |||
| } | |||
| typeCheck = function (id, projectNumber) { | |||
| if(projectNumber==undefined){ | |||
| // projectNumber为undefined时,置空(直接传递给后台接口导致搜索问题) | |||
| projectNumber = ""; | |||
| } | |||
| module.data.projectNumber = projectNumber;//标的物类型ID | |||
| document.getElementById('standardTypeAll').className = 'auction_hall_table_tab'; | |||
| if (id == '') { | |||
| @@ -136,9 +136,9 @@ | |||
| <td> | |||
| <div class="auction_all_right2" id="auction_all_right_standard_type"> | |||
| <script id="deptTypeData" type="text/html"> | |||
| <div class="auction_hall_table_tab auction_hall_table_tab_select" id="standardTypeAll">全部</div> | |||
| <div class="auction_hall_table_tab auction_hall_table_tab_select" onclick="typeCheck('')" id="standardTypeAll">全部</div> | |||
| {{each deptTypeList as value i}} | |||
| <div class="auction_hall_table_tab" id="standardType{{value.dictSort}}" onclick="typeCheck({{value.dictSort}},{{value.dictCode}})">{{value.dictLabel}}</div> | |||
| <div class="auction_hall_table_tab" id="standardType{{value.dictSort}}" onclick="typeCheck({{value.dictSort}},{{value.dictValue}})">{{value.dictLabel}}</div> | |||
| {{/each}} | |||
| </script> | |||
| <div class="auction_all_one2" id="deptTypeContent"></div> | |||
| @@ -154,7 +154,7 @@ | |||
| <div class="auction_all_right"> | |||
| <script id="deptLocationData" type="text/html"> | |||
| {{each deptLocationList as value i}} | |||
| <div class="auction_hall_table_tab auction_loc" id="locInfoall{{value.deptId}}" onclick="tabCheck({{value.deptId}})">{{value.deptName}}</div> | |||
| <div class="auction_hall_table_tab auction_loc" id="locInfoall{{value.deptId}}" data="{{value.deptId}}" onclick="tabCheck({{value.deptId}})">{{value.deptName}}</div> | |||
| {{/each}} | |||
| <div class="clear"></div> | |||
| </script> | |||
| @@ -138,7 +138,7 @@ | |||
| <script id="deptTypeData" type="text/html"> | |||
| <div class="auction_hall_table_tab auction_hall_table_tab_select" onclick="typeCheck('')" id="standardTypeAll">全部</div> | |||
| {{each deptTypeList as value i}} | |||
| <div class="auction_hall_table_tab" id="standardType{{value.dictSort}}" onclick="typeCheck({{value.dictSort}},{{value.dictCode}})">{{value.dictLabel}}</div> | |||
| <div class="auction_hall_table_tab" id="standardType{{value.dictSort}}" onclick="typeCheck({{value.dictSort}},{{value.dictValue}})">{{value.dictLabel}}</div> | |||
| {{/each}} | |||
| </script> | |||
| <div class="auction_all_one2" id="deptTypeContent"></div> | |||
| @@ -155,7 +155,7 @@ | |||
| <div class="auction_all_one" id="deptLocationContent"> | |||
| <script id="deptLocationData" type="text/html"> | |||
| {{each deptLocationList as value i}} | |||
| <div class="auction_hall_table_tab auction_loc" id="locInfoall{{value.deptId}}" onclick="tabCheck({{value.deptId}})">{{value.deptName}}</div> | |||
| <div class="auction_hall_table_tab auction_loc" id="locInfoall{{value.deptId}}" data="{{value.deptId}}" onclick="tabCheck({{value.deptId}})">{{value.deptName}}</div> | |||
| {{/each}} | |||
| <div class="clear"></div> | |||
| </script> | |||