Bladeren bron

产权交易

RongCheng
庞东旭 2 jaren geleden
bovenliggende
commit
2dc70e5ef8
2 gewijzigde bestanden met toevoegingen van 36 en 10 verwijderingen
  1. +35
    -9
      static/js/project/listingItems/itemsList.js
  2. +1
    -1
      view/listingItems/itemsList.html

+ 35
- 9
static/js/project/listingItems/itemsList.js Bestand weergeven

@@ -49,10 +49,10 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime', 'swiper
deptId: 100, deptId: 100,
projectNumber: '', projectNumber: '',
projectShowStatus: '', projectShowStatus: '',
signupStartTime: '',
signupStopTime: '',
biddingStartTime: '',
biddingStopTime: '',
// signupStartTime: '',
// signupStopTime: '',
// biddingStartTime: '',
// biddingStopTime: '',
pageNum: 1, pageNum: 1,
pageSize: 20, pageSize: 20,
} }
@@ -268,6 +268,7 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime', 'swiper


tabCheck = function (deptId) { tabCheck = function (deptId) {
module.data.deptId = deptId; module.data.deptId = deptId;
console.log(deptId)
$('#locInfoall').attr("class", "auction_hall_table_tab auction_loc"); $('#locInfoall').attr("class", "auction_hall_table_tab auction_loc");
$("#deptLocationContent div").attr("class", "auction_hall_table_tab auction_loc"); $("#deptLocationContent div").attr("class", "auction_hall_table_tab auction_loc");
if (deptId == '') { if (deptId == '') {
@@ -358,14 +359,39 @@ define(['jquery', "template", "Tools", "itemsApi", "paging", 'dateTime', 'swiper
module.data.form.deptId = module.data.deptId; module.data.form.deptId = module.data.deptId;
module.data.form.projectNumber = module.data.projectNumber; module.data.form.projectNumber = module.data.projectNumber;
module.data.form.projectShowStatus = module.data.projectShowStatus; module.data.form.projectShowStatus = module.data.projectShowStatus;
module.data.form.signupStartTime = $('#signStartTimeStr').val();
module.data.form.signupStopTime = $('#signEndTimeStr').val();
module.data.form.biddingStartTime = $('#auctionStartTimeStr').val();
module.data.form.biddingStopTime = $('#endTimeStr').val();

console.log($('#signStartTimeStr').val()!=null)

if (module.data.form.signupStartTime){
delete module.data.form.signupStartTime;
}
if (module.data.form.signupStopTime){
delete module.data.form.signupStopTime;
}
if (module.data.form.biddingStartTime){
delete module.data.form.biddingStartTime;
}
if (module.data.form.biddingStopTime){
delete module.data.form.biddingStopTime;
}

if ($('#signStartTimeStr').val()!=''){
module.data.form.signupStartTime = $('#signStartTimeStr').val();
}
if ($('#signEndTimeStr').val()!=''){
module.data.form.signupStopTime = $('#signEndTimeStr').val();
}
if ($('#auctionStartTimeStr').val()!=''){
module.data.form.biddingStartTime = $('#auctionStartTimeStr').val();
}
if ($('#endTimeStr').val()!=''){
module.data.form.biddingStopTime = $('#endTimeStr').val();
}

module.data.form.pageNum = module.data.pageNum; module.data.form.pageNum = module.data.pageNum;
module.data.form.pageSize = module.data.pageSize; module.data.form.pageSize = module.data.pageSize;


//console.log(module.data.form)
console.log(module.data.form)


if (module.data.searchType == 'gyxm'){ if (module.data.searchType == 'gyxm'){
tools.doGet(itemsList, module.data.form, module.itemList, true); tools.doGet(itemsList, module.data.form, module.itemList, true);


+ 1
- 1
view/listingItems/itemsList.html Bestand weergeven

@@ -181,7 +181,7 @@
<!-- 市 --> <!-- 市 -->
<div class="auction_add_area auction_add_area_one" id="secondDept" style="display: none;"> <div class="auction_add_area auction_add_area_one" id="secondDept" style="display: none;">
<script id="deptSecondLocationData" type="text/html"> <script id="deptSecondLocationData" type="text/html">
<div class="auction_hall_table_tab auction_hall_table_tab_select" id="locInfoSecondall" onclick="secondCheck('','')">全部</div>
<div class="auction_hall_table_tab auction_hall_table_tab_select" id="locInfoSecondall" onclick="secondCheck('',100)">全部</div>
{{each deptSecondLocationList as value i}} {{each deptSecondLocationList as value i}}
<div class="auction_hall_table_tab auction_loc" id="locInfoall{{i}}" onclick="secondCheck({{i}},{{value.deptId}})">{{value.deptName}}</div> <div class="auction_hall_table_tab auction_loc" id="locInfoall{{i}}" onclick="secondCheck({{i}},{{value.deptId}})">{{value.deptName}}</div>
{{/each}} {{/each}}


Laden…
Annuleren
Opslaan