@@ -184,6 +184,54 @@ | |||||
<table width="100%;" style="table-layout: fixed;" id="attestationContent"></table> | <table width="100%;" style="table-layout: fixed;" id="attestationContent"></table> | ||||
</div> | </div> | ||||
</div> | </div> | ||||
<div id="zbgg" style="display: none" class="centerRight-list3"> | |||||
<div class="tableList_top" style="width: auto;"> | |||||
<script id="inviteTendersInformationData" type="text/html"> | |||||
<tr> | |||||
<td style="text-align: left;padding-left: 2%;width: 38%;">项目名称</td> | |||||
<td>招标方</td> | |||||
<td style="width: 8%;">中标情况</td> | |||||
<td>招标评审时间</td> | |||||
</tr> | |||||
{{each inviteTendersInformationList as value i}} | |||||
<tr style="cursor: pointer;" onclick="window.location='view/announcement/inviteTendersDetail.html?id={{value.id}}'"> | |||||
<td style="text-align: left;padding-left: 2%;width: 38%;">{{# value.projectName}}</td> | |||||
<td>{{# value.tenderName}}</td> | |||||
<td style="width: 8%;">{{# value.tenderStatus == 'Y' ? '招标成功':'招标失败'}}</td> | |||||
<td>{{# value.logintime}}</td> | |||||
</tr> | |||||
{{/each}} | |||||
</script> | |||||
<table width="100%;" style="table-layout: fixed;" id="inviteTendersInformationContent"></table> | |||||
</div> | |||||
</div> | |||||
<div id="zbjg" style="display: none" class="centerRight-list3"> | |||||
<div class="tableList_top" style="width: auto;"> | |||||
<script id="winTheBiddingInformationData" type="text/html"> | |||||
<tr> | |||||
<td style="text-align: left;padding-left: 2%;width: 30%;">项目名称</td> | |||||
<td style="width: 30%;">招标方</td> | |||||
<td style="width: 30%;">中标方</td> | |||||
<td style="width: 10%;">中标时间</td> | |||||
</tr> | |||||
{{each winTheBiddingInformationList as value i}} | |||||
<tr style="cursor: pointer;" onclick="window.location='view/announcement/winTheBiddingDetail.html?id={{value.id}}'"> | |||||
<td style="text-align: left;padding-left: 2%;width: 30%;">{{# value.projectName}}</td> | |||||
<td style="width: 30%;">{{# value.tenderName}}</td> | |||||
<td style="width: 30%;"> | |||||
{{if value.dealType == '1'}} | |||||
{{# value.assignee}} | |||||
{{else}} | |||||
<span style="color: #c12e2a;">招标失败</span> | |||||
{{/if}} | |||||
</td> | |||||
<td style="width: 10%;">{{# value.dealTime}}</td> | |||||
</tr> | |||||
{{/each}} | |||||
</script> | |||||
<table width="100%;" style="table-layout: fixed;" id="winTheBiddingInformationContent"></table> | |||||
</div> | |||||
</div> | |||||
</div> | </div> | ||||
<img src="static/images/index_center_right_icon.png" style="cursor: pointer;" onclick="window.open('http://218.59.175.43:82')" alt=""> | <img src="static/images/index_center_right_icon.png" style="cursor: pointer;" onclick="window.open('http://218.59.175.43:82')" alt=""> | ||||
</div> | </div> | ||||
@@ -328,13 +376,14 @@ | |||||
<table width="100%" class="tableHead" style="table-layout: fixed;width: 1178px;" > | <table width="100%" class="tableHead" style="table-layout: fixed;width: 1178px;" > | ||||
<tr> | <tr> | ||||
<td style="text-align: left;padding-left: 2%;">项目名称</td> | <td style="text-align: left;padding-left: 2%;">项目名称</td> | ||||
<td>竞价方式</td> | |||||
<td style="width: 5%">竞价方式</td> | |||||
<td>报名截止时间</td> | <td>报名截止时间</td> | ||||
<td>竞价开始时间</td> | <td>竞价开始时间</td> | ||||
<td>标的底价</td> | |||||
<td>当前报价</td> | |||||
<td>竞价状态</td> | |||||
<td>操作</td> | |||||
<td style="width: 5%">标的底价</td> | |||||
<td style="width: 5%">当前报价</td> | |||||
<td style="width: 5%">价格单位</td> | |||||
<td style="width: 5%">竞价状态</td> | |||||
<td style="width: 5%">操作</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<div class="tableList" id="tableList" style="width: 1178px;"> | <div class="tableList" id="tableList" style="width: 1178px;"> | ||||
@@ -342,19 +391,20 @@ | |||||
{{each biddingHallListList as value i}} | {{each biddingHallListList as value i}} | ||||
<tr class="{{value.timeType == '未开始' ? 'notStart-row':''}}{{value.timeType == '进行中' ? 'now-row':''}}"> | <tr class="{{value.timeType == '未开始' ? 'notStart-row':''}}{{value.timeType == '进行中' ? 'now-row':''}}"> | ||||
<td style="text-align: left;padding-left: 2%;" title="{{value.projectName}}">{{value.projectName}}</td> | <td style="text-align: left;padding-left: 2%;" title="{{value.projectName}}">{{value.projectName}}</td> | ||||
<td>{{value.biddingType}}</td> | |||||
<td style="width: 5%">{{value.biddingType}}</td> | |||||
<td>{{value.signupStopTime}}</td> | <td>{{value.signupStopTime}}</td> | ||||
<td>{{value.biddingStartTime}}</td> | <td>{{value.biddingStartTime}}</td> | ||||
<td>{{value.price}}</td> | |||||
<td> | |||||
<td style="width: 5%">{{value.price}}</td> | |||||
<td style="width: 5%"> | |||||
{{if value.biddingType=='自由竞价'&&value.timeType=='进行中'}} | {{if value.biddingType=='自由竞价'&&value.timeType=='进行中'}} | ||||
* | * | ||||
{{else}} | {{else}} | ||||
{{value.money}} | {{value.money}} | ||||
{{/if}} | {{/if}} | ||||
</td> | </td> | ||||
<td>{{value.projectShowStatus}}</td> | |||||
<td> | |||||
<td style="width: 5%">{{value.unit}}</td> | |||||
<td style="width: 5%">{{value.projectShowStatus}}</td> | |||||
<td style="width: 5%"> | |||||
{{if value.projectShowStatus == '正在报名'}}<input type="button" onclick="goDetail({{value.id}})" value="我要报名" />{{/if}} | {{if value.projectShowStatus == '正在报名'}}<input type="button" onclick="goDetail({{value.id}})" value="我要报名" />{{/if}} | ||||
{{if value.projectShowStatus == '正在竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="我要竞价" />{{/if}} | {{if value.projectShowStatus == '正在竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="我要竞价" />{{/if}} | ||||
{{if value.projectShowStatus == '等待竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="进入查看" />{{/if}} | {{if value.projectShowStatus == '等待竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="进入查看" />{{/if}} | ||||
@@ -157,3 +157,17 @@ var itemsList = '/transaction/website/outproject/list' | |||||
projectNumber:项目类型字典value值(下拉框选择) | projectNumber:项目类型字典value值(下拉框选择) | ||||
*/ | */ | ||||
var needProjectList = '/transaction/website/needproject/list' | var needProjectList = '/transaction/website/needproject/list' | ||||
/* | |||||
@purl /transaction/website/tender/publicity/{deptId} | |||||
@param | |||||
deptId:行政区划部门ID | |||||
*/ | |||||
var tenderList = '/transaction/website/tender/publicity'//招标公告列表 | |||||
/* | |||||
@purl /transaction/website/win/publicity/{deptId} | |||||
@param | |||||
deptId:行政区划部门ID | |||||
*/ | |||||
var winList = '/transaction/website/win/publicity'//中标公告列表 |
@@ -181,6 +181,9 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
//土地挂牌价格走势统计图 | //土地挂牌价格走势统计图 | ||||
// tools.doGet(statistics, {deptId: 100}, module.statisticsContent, true); | // tools.doGet(statistics, {deptId: 100}, module.statisticsContent, true); | ||||
tools.doGet(tenderList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.inviteTendersInformation,true); | |||||
tools.doGet(winList, {deptId:100,pageNum:module.data.pageNum,pageSize:module.data.pageSize}, module.winTheBiddingInformation,true); | |||||
//竞价大厅-滚动 | //竞价大厅-滚动 | ||||
module.hallRolling(); | module.hallRolling(); | ||||
setTimeout(function(){ | setTimeout(function(){ | ||||
@@ -190,6 +193,60 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
}; | }; | ||||
//招标公告数据 | |||||
module.inviteTendersInformation = function (data) { | |||||
if (data.code == 200) { | |||||
var content = data.rows; | |||||
var pageCount = (data.total/module.data.pageSize).toFixed(0); | |||||
if (pageCount < 1){ | |||||
pageCount = 1; | |||||
} | |||||
if(module.data.inviteTendersInformationList == ''){ | |||||
// 初始化 分页器 | |||||
var page_s1=createPage('.page_s3'); | |||||
// 设置分页 | |||||
setPage(page_s1,{ | |||||
pageTotal: data.toqtal, // 数据总条数 | |||||
pageSize: module.data.pageSize, // 每页显示条数 | |||||
pageCurrent: 1, // 当前页 | |||||
maxBtnNum: 5, // 最多按钮个数 (最少5个) | |||||
}) | |||||
$('#page_s3').html('共'+pageCount+'页') | |||||
} | |||||
module.data.pageCount = pageCount; | |||||
module.data.inviteTendersInformationList = content; | |||||
var inviteTendersInformationData = template('inviteTendersInformationData', module.data); | |||||
$("#inviteTendersInformationContent").html(inviteTendersInformationData); | |||||
} | |||||
} | |||||
//中标公告数据 | |||||
module.winTheBiddingInformation = function (data) { | |||||
if (data.code == 200) { | |||||
var content = data.rows; | |||||
var pageCount = (data.total/module.data.pageSize).toFixed(0); | |||||
if (pageCount < 1){ | |||||
pageCount = 1; | |||||
} | |||||
if(module.data.winTheBiddingInformationList == ''){ | |||||
// 初始化 分页器 | |||||
var page_s1=createPage('.page_s4'); | |||||
// 设置分页 | |||||
setPage(page_s1,{ | |||||
pageTotal: data.total, // 数据总条数 | |||||
pageSize: module.data.pageSize, // 每页显示条数 | |||||
pageCurrent: 1, // 当前页 | |||||
maxBtnNum: 5, // 最多按钮个数 (最少5个) | |||||
}) | |||||
$('#page_s4').html('共'+pageCount+'页') | |||||
} | |||||
module.data.pageCount = pageCount; | |||||
module.data.winTheBiddingInformationList = content; | |||||
var winTheBiddingInformationData = template('winTheBiddingInformationData', module.data); | |||||
$("#winTheBiddingInformationContent").html(winTheBiddingInformationData); | |||||
} | |||||
} | |||||
//主题图片切换 | //主题图片切换 | ||||
module.switchTheme = function(){ | module.switchTheme = function(){ | ||||
if(themeColor == 'red'){ | if(themeColor == 'red'){ | ||||
@@ -745,8 +802,12 @@ define(['jquery', "template", "Tools", "echarts", 'swiper'], function ($, templa | |||||
document.getElementById('cjgg').style.display = 'none'; | document.getElementById('cjgg').style.display = 'none'; | ||||
document.getElementById('jzgg').style.display = 'none'; | document.getElementById('jzgg').style.display = 'none'; | ||||
document.getElementById('zbgg').style.display = 'none'; | |||||
document.getElementById('zbjg').style.display = 'none'; | |||||
document.getElementById('cjggBtn').className = ''; | document.getElementById('cjggBtn').className = ''; | ||||
document.getElementById('jzggBtn').className = ''; | document.getElementById('jzggBtn').className = ''; | ||||
document.getElementById('zbggBtn').className = ''; | |||||
document.getElementById('zbjgBtn').className = ''; | |||||
document.getElementById(type).style.display = 'block'; | document.getElementById(type).style.display = 'block'; | ||||
document.getElementById(type+'Btn').className = 'active'; | document.getElementById(type+'Btn').className = 'active'; | ||||
@@ -115,7 +115,7 @@ | |||||
<li onclick="window.location='announcementDetail.html?id={{value.id}}'"> | <li onclick="window.location='announcementDetail.html?id={{value.id}}'"> | ||||
<p>{{# value.projectCode}}</p> | <p>{{# value.projectCode}}</p> | ||||
<p>{{# value.projectName}}</p> | <p>{{# value.projectName}}</p> | ||||
<p>{{# value.dealMoneySum}}</p> | |||||
<p>{{# value.dealMoneySum}}{{# value.unit}}</p> | |||||
<p>{{# value.dealTime.substr(0,10)}}</p> | <p>{{# value.dealTime.substr(0,10)}}</p> | ||||
</li> | </li> | ||||
{{/each}} | {{/each}} | ||||
@@ -134,7 +134,7 @@ | |||||
<li onclick="window.location='attestation.html?id={{value.id}}'"> | <li onclick="window.location='attestation.html?id={{value.id}}'"> | ||||
<p>{{# value.projectCode}}</p> | <p>{{# value.projectCode}}</p> | ||||
<p>{{# value.projectName}}</p> | <p>{{# value.projectName}}</p> | ||||
<p>{{# value.dealMoneySum}}</p> | |||||
<p>{{# value.dealMoneySum}}{{# value.unitName}}</p> | |||||
<p>{{# value.jzsSignDate}}</p> | <p>{{# value.jzsSignDate}}</p> | ||||
</li> | </li> | ||||
{{/each}} | {{/each}} | ||||
@@ -192,13 +192,14 @@ | |||||
<table width="100%" class="tableHead" style="table-layout: fixed;"> | <table width="100%" class="tableHead" style="table-layout: fixed;"> | ||||
<tr> | <tr> | ||||
<td style="text-align: left;padding-left: 2%;">项目名称</td> | <td style="text-align: left;padding-left: 2%;">项目名称</td> | ||||
<td>竞价方式</td> | |||||
<td style="width: 5%">竞价方式</td> | |||||
<td>报名结束时间</td> | <td>报名结束时间</td> | ||||
<td>竞价结束时间</td> | <td>竞价结束时间</td> | ||||
<td>标的底价</td> | |||||
<td>当前报价</td> | |||||
<td>竞价状态</td> | |||||
<td>操作</td> | |||||
<td style="width: 5%">标的底价</td> | |||||
<td style="width: 5%">当前报价</td> | |||||
<td style="width: 5%">价格单位</td> | |||||
<td style="width: 5%">竞价状态</td> | |||||
<td style="width: 5%">操作</td> | |||||
</tr> | </tr> | ||||
</table> | </table> | ||||
<div class="tableList" style="height: auto; overflow-y: none; width: 1200px;"> | <div class="tableList" style="height: auto; overflow-y: none; width: 1200px;"> | ||||
@@ -206,19 +207,20 @@ | |||||
{{each biddingInformationList as value i}} | {{each biddingInformationList as value i}} | ||||
<tr onclick="goDetail({{value.id}})" class="{{value.projectShowStatus == '等待竞价' ? 'notStart-row':''}}{{value.projectShowStatus == '正在竞价' ? 'now-row':''}}"> | <tr onclick="goDetail({{value.id}})" class="{{value.projectShowStatus == '等待竞价' ? 'notStart-row':''}}{{value.projectShowStatus == '正在竞价' ? 'now-row':''}}"> | ||||
<td style="text-align: left;padding-left: 2%;" title="{{value.projectName}}">{{value.projectName}}</td> | <td style="text-align: left;padding-left: 2%;" title="{{value.projectName}}">{{value.projectName}}</td> | ||||
<td>{{value.biddingType}}</td> | |||||
<td style="width: 5%">{{value.biddingType}}</td> | |||||
<td>{{value.signupStopTime}}</td> | <td>{{value.signupStopTime}}</td> | ||||
<td>{{value.biddingStopTime}}</td> | <td>{{value.biddingStopTime}}</td> | ||||
<td>{{value.price}}</td> | |||||
<td> | |||||
<td style="width: 5%">{{value.price}}</td> | |||||
<td style="width: 5%"> | |||||
{{if value.biddingType=='自由竞价'&&value.timeType!='已结束'}} | {{if value.biddingType=='自由竞价'&&value.timeType!='已结束'}} | ||||
* | * | ||||
{{else}} | {{else}} | ||||
{{value.money}} | {{value.money}} | ||||
{{/if}} | {{/if}} | ||||
</td> | </td> | ||||
<td>{{value.projectShowStatus}}</td> | |||||
<td> | |||||
<td style="width: 5%">{{value.unit}}</td> | |||||
<td style="width: 5%">{{value.projectShowStatus}}</td> | |||||
<td style="width: 5%"> | |||||
{{if value.projectShowStatus == '正在报名'}}<input type="button" onclick="goDetail({{value.id}})" value="我要报名" />{{/if}} | {{if value.projectShowStatus == '正在报名'}}<input type="button" onclick="goDetail({{value.id}})" value="我要报名" />{{/if}} | ||||
{{if value.projectShowStatus == '正在竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="我要竞价" />{{/if}} | {{if value.projectShowStatus == '正在竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="我要竞价" />{{/if}} | ||||
{{if value.projectShowStatus == '等待竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="进入查看" />{{/if}} | {{if value.projectShowStatus == '等待竞价'}}<input type="button" onclick="goDetail({{value.id}})" value="进入查看" />{{/if}} | ||||