7.8 党建攻坚修改标签页名称
This commit is contained in:
@ -4,7 +4,7 @@ export default [
|
|||||||
path: '/partyMemberTopic',
|
path: '/partyMemberTopic',
|
||||||
routes: [
|
routes: [
|
||||||
{//首页
|
{//首页
|
||||||
name: '首页',
|
name: 'home',
|
||||||
path: '/partyMemberTopic/home',
|
path: '/partyMemberTopic/home',
|
||||||
component: './PartyMemberTopic/Home',
|
component: './PartyMemberTopic/Home',
|
||||||
},
|
},
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<script type='text/javascript' src="../jquery.js"></script>
|
<script type='text/javascript' src="../officecontrol/jquery.js"></script>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>开标大厅-招标采购中心</title>
|
<title>开标大厅-招标采购中心</title>
|
||||||
<link href="css/bidOpening.css" rel="stylesheet" type="text/css">
|
<link href="css/bidOpening.css" rel="stylesheet" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!--内容区-->
|
<!--内容区-->
|
||||||
<div>
|
<div>
|
||||||
@ -79,7 +81,7 @@
|
|||||||
var roleCode = role.roleCode;
|
var roleCode = role.roleCode;
|
||||||
var tpId = obj.id;
|
var tpId = obj.id;
|
||||||
var proMethod = obj.bidMethodDict;
|
var proMethod = obj.bidMethodDict;
|
||||||
if(proMethod==="procurement_mode_1"||proMethod==="procurement_mode_2"){
|
if (proMethod === "procurement_mode_1" || proMethod === "procurement_mode_2") {
|
||||||
$("#bdname").text("标段名称");
|
$("#bdname").text("标段名称");
|
||||||
$("#bdnumber").text("标段编号");
|
$("#bdnumber").text("标段编号");
|
||||||
} else {
|
} else {
|
||||||
@ -88,37 +90,37 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-opening/v1/bizbidopenroom/openRoomList/"+tpId,
|
url: "/api/biz-service-ebtp-opening/v1/bizbidopenroom/openRoomList/" + tpId,
|
||||||
data:{
|
data: {
|
||||||
pageNo:"1",
|
pageNo: "1",
|
||||||
pageSize:"1000",
|
pageSize: "1000",
|
||||||
roomType:roomType
|
roomType: roomType
|
||||||
},
|
},
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token
|
"Authorization": token
|
||||||
},
|
},
|
||||||
type:"GET",
|
type: "GET",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
|
|
||||||
var list = re.data.records;
|
var list = re.data.records;
|
||||||
var tr = "";
|
var tr = "";
|
||||||
for(var i = 0 ; i < list.length ; i++){
|
for (var i = 0; i < list.length; i++) {
|
||||||
tr=tr+"<tr>";
|
tr = tr + "<tr>";
|
||||||
tr=tr+"<td>"+(i+1)+"</td>";
|
tr = tr + "<td>" + (i + 1) + "</td>";
|
||||||
tr=tr+"<td>"+(list[i].sectionName)+"</td>";
|
tr = tr + "<td>" + (list[i].sectionName) + "</td>";
|
||||||
tr=tr+"<td>"+(list[i].sectionNo)+"</td>";
|
tr = tr + "<td>" + (list[i].sectionNo) + "</td>";
|
||||||
tr=tr+"<td>"+(list[i].opingTime)+"</td>";
|
tr = tr + "<td>" + (list[i].opingTime) + "</td>";
|
||||||
tr=tr+"<td>"+(getRoomStateValue(list[i].roomState))+"</td>";
|
tr = tr + "<td>" + (getRoomStateValue(list[i].roomState)) + "</td>";
|
||||||
tr=tr+"<td>";
|
tr = tr + "<td>";
|
||||||
if(list[i].roomState!="9"){
|
if (list[i].roomState != "9") {
|
||||||
tr=tr+"<button type='button' onClick=onClickToOpenRoom('"+list[i].assessRoomId+"',"+list[i].turnSort+",'"+list[i].id+"',"+list[i].roomType+","+list[i].roomState+") class='bidBtn01'>在线唱标</button>";
|
tr = tr + "<button type='button' onClick=onClickToOpenRoom('" + list[i].assessRoomId + "'," + list[i].turnSort + ",'" + list[i].id + "'," + list[i].roomType + "," + list[i].roomState + ") class='bidBtn01'>在线唱标</button>";
|
||||||
}
|
}
|
||||||
if(roleCode=="ebtp-agency-project-manager"||roleCode=="ebtp-purchase"){
|
if (roleCode == "ebtp-agency-project-manager" || roleCode == "ebtp-purchase") {
|
||||||
var openTime = list[i].opingTime;
|
var openTime = list[i].opingTime;
|
||||||
tr=tr+"<button type='button' onClick=onClickDown('"+list[i].id+"','"+list[i].sectionId+"') class='bidBtn02'>导出投递记录</button></td>";
|
tr = tr + "<button type='button' onClick=onClickDown('" + list[i].id + "','" + list[i].sectionId + "') class='bidBtn02'>导出投递记录</button></td>";
|
||||||
|
|
||||||
}
|
}
|
||||||
tr=tr+"</tr>";
|
tr = tr + "</tr>";
|
||||||
}
|
}
|
||||||
$("#dataDev").html("");
|
$("#dataDev").html("");
|
||||||
$("#dataDev").append("<tr style='height: 0px;' id='dataTr'></tr>");
|
$("#dataDev").append("<tr style='height: 0px;' id='dataTr'></tr>");
|
||||||
@ -133,26 +135,26 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
function getRoomStateValue(state){
|
function getRoomStateValue(state) {
|
||||||
// 0未开标 1、开标 2、唱标 3、唱标结束 4、取消开标'
|
// 0未开标 1、开标 2、唱标 3、唱标结束 4、取消开标'
|
||||||
var value = "";
|
var value = "";
|
||||||
if(state=="0"){
|
if (state == "0") {
|
||||||
value ="未开标";
|
value = "未开标";
|
||||||
}
|
}
|
||||||
if(state=="1"){
|
if (state == "1") {
|
||||||
value ="已开标";
|
value = "已开标";
|
||||||
}
|
}
|
||||||
if(state=="2"){
|
if (state == "2") {
|
||||||
value ="唱标";
|
value = "唱标";
|
||||||
}
|
}
|
||||||
if(state=="3"){
|
if (state == "3") {
|
||||||
value ="唱标结束";
|
value = "唱标结束";
|
||||||
}
|
}
|
||||||
if(state=="4"){
|
if (state == "4") {
|
||||||
value ="取消开标";
|
value = "取消开标";
|
||||||
}
|
}
|
||||||
if(state=="9"){
|
if (state == "9") {
|
||||||
value ="异常处理";
|
value = "异常处理";
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
};
|
};
|
||||||
@ -163,14 +165,14 @@
|
|||||||
var m = 0;
|
var m = 0;
|
||||||
var s = 0;
|
var s = 0;
|
||||||
var timestamp = 0;
|
var timestamp = 0;
|
||||||
function getTime(){
|
function getTime() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-extend/v1/timeService/getServiceSystemTime",
|
url: "/api/biz-service-ebtp-extend/v1/timeService/getServiceSystemTime",
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token
|
"Authorization": token
|
||||||
},
|
},
|
||||||
type:"GET",
|
type: "GET",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
n = re.data.year;
|
n = re.data.year;
|
||||||
y = re.data.month;
|
y = re.data.month;
|
||||||
t = re.data.date;
|
t = re.data.date;
|
||||||
@ -185,28 +187,28 @@
|
|||||||
setInterval(getTime, 30000);
|
setInterval(getTime, 30000);
|
||||||
|
|
||||||
function time() {
|
function time() {
|
||||||
s = s+1;
|
s = s + 1;
|
||||||
if(s==60){
|
if (s == 60) {
|
||||||
s = 1;
|
s = 1;
|
||||||
m=m+1;
|
m = m + 1;
|
||||||
}
|
}
|
||||||
if(m==60){
|
if (m == 60) {
|
||||||
m = 1;
|
m = 1;
|
||||||
h=h+1;
|
h = h + 1;
|
||||||
}
|
}
|
||||||
if(h==24){
|
if (h == 24) {
|
||||||
h = 0;
|
h = 0;
|
||||||
t = t+1;
|
t = t + 1;
|
||||||
}
|
}
|
||||||
$('#dateTime span').eq(0).html(n);
|
$('#dateTime span').eq(0).html(n);
|
||||||
$('#dateTime span').eq(1).html(y<10?"0"+y:y);
|
$('#dateTime span').eq(1).html(y < 10 ? "0" + y : y);
|
||||||
$('#dateTime span').eq(2).html(t<10?"0"+t:t);
|
$('#dateTime span').eq(2).html(t < 10 ? "0" + t : t);
|
||||||
$('#dateTime span').eq(3).html(h<10?"0"+h:h);
|
$('#dateTime span').eq(3).html(h < 10 ? "0" + h : h);
|
||||||
$('#dateTime span').eq(4).html(m<10?"0"+m:m);
|
$('#dateTime span').eq(4).html(m < 10 ? "0" + m : m);
|
||||||
$('#dateTime span').eq(5).html(s<10?"0"+s:s);
|
$('#dateTime span').eq(5).html(s < 10 ? "0" + s : s);
|
||||||
for (var i = 0; i < $('#dateTime').length; i++) {
|
for (var i = 0; i < $('#dateTime').length; i++) {
|
||||||
if ($('div').eq(i).text().length == 1) {
|
if ($('div').eq(i).text().length == 1) {
|
||||||
$('div').eq(i).html(function(index, html) {
|
$('div').eq(i).html(function (index, html) {
|
||||||
return 0 + html;
|
return 0 + html;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -215,29 +217,29 @@
|
|||||||
time();
|
time();
|
||||||
setInterval(time, 1000);
|
setInterval(time, 1000);
|
||||||
|
|
||||||
function onClickToOpenRoom(aa,bb,cc,roomType,roomState){
|
function onClickToOpenRoom(aa, bb, cc, roomType, roomState) {
|
||||||
if(roomState==0){
|
if (roomState == 0) {
|
||||||
window.open("countDown.html?aa="+aa+"&bb="+bb+"&cc="+cc+"&roomType="+roomType);
|
window.open("countDown.html?aa=" + aa + "&bb=" + bb + "&cc=" + cc + "&roomType=" + roomType);
|
||||||
}else if(roomState>0){
|
} else if (roomState > 0) {
|
||||||
window.open("/room/index?aa="+aa+"&bb="+bb+"&roomType="+roomType);
|
window.open("/room/index?aa=" + aa + "&bb=" + bb + "&roomType=" + roomType);
|
||||||
}
|
}
|
||||||
|
|
||||||
//window.open("http://10.242.31.158:18022/room/index?aa=1369571546133168128&bb=1&roomType=1");
|
//window.open("http://10.242.31.158:18022/room/index?aa=1369571546133168128&bb=1&roomType=1");
|
||||||
}
|
}
|
||||||
function onClickDown(id,bsId){
|
function onClickDown(id, bsId) {
|
||||||
window.open("/api/biz-service-ebtp-opening/v1/bizbidopenroom/exportTenderRecords/"+bsId+"?roomType="+roomType);
|
window.open("/api/biz-service-ebtp-opening/v1/bizbidopenroom/exportTenderRecords/" + bsId + "?roomType=" + roomType);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getQueryVariable(variable)
|
function getQueryVariable(variable) {
|
||||||
{
|
|
||||||
var query = window.location.search.substring(1);
|
var query = window.location.search.substring(1);
|
||||||
var vars = query.split("&");
|
var vars = query.split("&");
|
||||||
for (var i=0;i<vars.length;i++) {
|
for (var i = 0; i < vars.length; i++) {
|
||||||
var pair = vars[i].split("=");
|
var pair = vars[i].split("=");
|
||||||
if(pair[0] == variable){return pair[1];}
|
if (pair[0] == variable) { return pair[1]; }
|
||||||
}
|
}
|
||||||
return(false);
|
return (false);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -1,11 +1,13 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<script type='text/javascript' src="../jquery.js"></script>
|
<script type='text/javascript' src="../officecontrol/jquery.js"></script>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title>开标倒计时-招标采购中心</title>
|
<title>开标倒计时-招标采购中心</title>
|
||||||
<link href="css/countDown.css" rel="stylesheet" type="text/css">
|
<link href="css/countDown.css" rel="stylesheet" type="text/css">
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<!--内容区-->
|
<!--内容区-->
|
||||||
<div>
|
<div>
|
||||||
@ -91,7 +93,7 @@
|
|||||||
var roleCode = role.roleCode;
|
var roleCode = role.roleCode;
|
||||||
|
|
||||||
$("#deptName").html(obj.deptName);
|
$("#deptName").html(obj.deptName);
|
||||||
var service_opentime="";//开标时间
|
var service_opentime = "";//开标时间
|
||||||
var openState = 0;//未开
|
var openState = 0;//未开
|
||||||
var projectId = "";
|
var projectId = "";
|
||||||
var sectionId = "";
|
var sectionId = "";
|
||||||
@ -102,14 +104,14 @@
|
|||||||
var oping_h = 0;
|
var oping_h = 0;
|
||||||
var oping_m = 0;
|
var oping_m = 0;
|
||||||
var oping_s = 0;
|
var oping_s = 0;
|
||||||
function getOpening(){
|
function getOpening() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-opening/v1/bizbidopenroom/getOpenRoomById/"+openRoomId,
|
url: "/api/biz-service-ebtp-opening/v1/bizbidopenroom/getOpenRoomById/" + openRoomId,
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token
|
"Authorization": token
|
||||||
},
|
},
|
||||||
type:"GET",
|
type: "GET",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
var data = re.data;
|
var data = re.data;
|
||||||
$("#projectName").html(data.projectName);
|
$("#projectName").html(data.projectName);
|
||||||
$("#projectNumber").html(data.ebpProjectNumber);
|
$("#projectNumber").html(data.ebpProjectNumber);
|
||||||
@ -118,7 +120,7 @@
|
|||||||
openState = data.roomState;
|
openState = data.roomState;
|
||||||
projectId = data.projectId;
|
projectId = data.projectId;
|
||||||
sectionId = data.sectionId;
|
sectionId = data.sectionId;
|
||||||
if(data.opingTime!=null&&data.opingTime!=""){
|
if (data.opingTime != null && data.opingTime != "") {
|
||||||
service_opentime = data.opingTime;
|
service_opentime = data.opingTime;
|
||||||
$("#openTime").html(data.opingTime);
|
$("#openTime").html(data.opingTime);
|
||||||
var openTime = data.opingTime.split(" ");
|
var openTime = data.opingTime.split(" ");
|
||||||
@ -137,7 +139,7 @@
|
|||||||
getDescOpenRoomTimer = setInterval(getDescOpenRoomTime, 30000);//剩余时间修正
|
getDescOpenRoomTimer = setInterval(getDescOpenRoomTime, 30000);//剩余时间修正
|
||||||
|
|
||||||
systemTimer = setInterval(systemTime, 1000);//系统时间计算
|
systemTimer = setInterval(systemTime, 1000);//系统时间计算
|
||||||
}else{
|
} else {
|
||||||
$("#openTime").html("开标日期异常")
|
$("#openTime").html("开标日期异常")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -153,15 +155,15 @@
|
|||||||
var s = 0;
|
var s = 0;
|
||||||
|
|
||||||
//获取开标时间
|
//获取开标时间
|
||||||
function getTime(){
|
function getTime() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-extend/v1/timeService/getServiceSystemTime",
|
url: "/api/biz-service-ebtp-extend/v1/timeService/getServiceSystemTime",
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token
|
"Authorization": token
|
||||||
},
|
},
|
||||||
async:true,
|
async: true,
|
||||||
type:"GET",
|
type: "GET",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
n = re.data.year;
|
n = re.data.year;
|
||||||
y = re.data.month;
|
y = re.data.month;
|
||||||
t = re.data.date;
|
t = re.data.date;
|
||||||
@ -180,18 +182,18 @@
|
|||||||
var ss = 0;
|
var ss = 0;
|
||||||
|
|
||||||
//获取剩余时间差
|
//获取剩余时间差
|
||||||
function getDescOpenRoomTime(){
|
function getDescOpenRoomTime() {
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-extend/v1/timeService/getDescOpenRoomTime",
|
url: "/api/biz-service-ebtp-extend/v1/timeService/getDescOpenRoomTime",
|
||||||
data:{
|
data: {
|
||||||
openTime:service_opentime
|
openTime: service_opentime
|
||||||
},
|
},
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token
|
"Authorization": token
|
||||||
},
|
},
|
||||||
async:true,
|
async: true,
|
||||||
type:"GET",
|
type: "GET",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
dd = re.data.date;
|
dd = re.data.date;
|
||||||
hh = re.data.hour;
|
hh = re.data.hour;
|
||||||
mm = re.data.minute;
|
mm = re.data.minute;
|
||||||
@ -202,97 +204,97 @@
|
|||||||
var timeover = false;
|
var timeover = false;
|
||||||
//系统时间定时更新
|
//系统时间定时更新
|
||||||
function systemTime() {
|
function systemTime() {
|
||||||
s = s+1;
|
s = s + 1;
|
||||||
if(s==60){
|
if (s == 60) {
|
||||||
s = 1;
|
s = 1;
|
||||||
m=m+1;
|
m = m + 1;
|
||||||
}
|
}
|
||||||
if(m==60){
|
if (m == 60) {
|
||||||
m = 1;
|
m = 1;
|
||||||
h=h+1;
|
h = h + 1;
|
||||||
}
|
}
|
||||||
if(h==24){
|
if (h == 24) {
|
||||||
h = 0;
|
h = 0;
|
||||||
t = t+1;
|
t = t + 1;
|
||||||
}
|
}
|
||||||
$('#dateTime span').eq(0).html(n);
|
$('#dateTime span').eq(0).html(n);
|
||||||
$('#dateTime span').eq(1).html(y<10?"0"+y:y);
|
$('#dateTime span').eq(1).html(y < 10 ? "0" + y : y);
|
||||||
$('#dateTime span').eq(2).html(t<10?"0"+t:t);
|
$('#dateTime span').eq(2).html(t < 10 ? "0" + t : t);
|
||||||
$('#dateTime span').eq(3).html(h<10?"0"+h:h);
|
$('#dateTime span').eq(3).html(h < 10 ? "0" + h : h);
|
||||||
$('#dateTime span').eq(4).html(m<10?"0"+m:m);
|
$('#dateTime span').eq(4).html(m < 10 ? "0" + m : m);
|
||||||
$('#dateTime span').eq(5).html(s<10?"0"+s:s);
|
$('#dateTime span').eq(5).html(s < 10 ? "0" + s : s);
|
||||||
for (var i = 0; i < $('#dateTime').length; i++) {
|
for (var i = 0; i < $('#dateTime').length; i++) {
|
||||||
if ($('div').eq(i).text().length == 1) {
|
if ($('div').eq(i).text().length == 1) {
|
||||||
$('div').eq(i).html(function(index, html) {
|
$('div').eq(i).html(function (index, html) {
|
||||||
return 0 + html;
|
return 0 + html;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!timeover){
|
if (!timeover) {
|
||||||
openJsystemTime();
|
openJsystemTime();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//剩余时间定时
|
//剩余时间定时
|
||||||
function openJsystemTime(){
|
function openJsystemTime() {
|
||||||
|
|
||||||
ss = ss-1;
|
ss = ss - 1;
|
||||||
if(ss<0){
|
if (ss < 0) {
|
||||||
if(mm>0&&hh>0&&dd>0){
|
if (mm > 0 && hh > 0 && dd > 0) {
|
||||||
mm = mm-1;
|
mm = mm - 1;
|
||||||
ss = 59;
|
ss = 59;
|
||||||
}else{
|
} else {
|
||||||
ss = 0;
|
ss = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(mm<0){
|
if (mm < 0) {
|
||||||
if(hh>0&&dd>0){
|
if (hh > 0 && dd > 0) {
|
||||||
hh = hh-1;
|
hh = hh - 1;
|
||||||
mm = 59;
|
mm = 59;
|
||||||
}else{
|
} else {
|
||||||
mm = 0
|
mm = 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(hh<0){
|
if (hh < 0) {
|
||||||
if(dd>0){
|
if (dd > 0) {
|
||||||
dd = dd-1;
|
dd = dd - 1;
|
||||||
hh = 23;
|
hh = 23;
|
||||||
}else{
|
} else {
|
||||||
dd = 0;
|
dd = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(dd<0){
|
if (dd < 0) {
|
||||||
dd = 0;
|
dd = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(roleCode=="ebtp-agency-project-manager"||roleCode=="ebtp-purchase") {
|
if (roleCode == "ebtp-agency-project-manager" || roleCode == "ebtp-purchase") {
|
||||||
$("#openButton").text('开 标');
|
$("#openButton").text('开 标');
|
||||||
} else {
|
} else {
|
||||||
$("#openButton").text('进入开标大厅');
|
$("#openButton").text('进入开标大厅');
|
||||||
if(openState==0){
|
if (openState == 0) {
|
||||||
$("#openButton").hide();
|
$("#openButton").hide();
|
||||||
} else {
|
} else {
|
||||||
$("#openButton").show();
|
$("#openButton").show();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(ss<=0&&mm<=0&&hh<=0&&dd<=0){
|
if (ss <= 0 && mm <= 0 && hh <= 0 && dd <= 0) {
|
||||||
dd = 0;
|
dd = 0;
|
||||||
hh = 0;
|
hh = 0;
|
||||||
mm = 0;
|
mm = 0;
|
||||||
ss = 0;
|
ss = 0;
|
||||||
//可以开标
|
//可以开标
|
||||||
$("#openButton").removeClass("countBtn01").attr("class","countBtn countBtn02");
|
$("#openButton").removeClass("countBtn01").attr("class", "countBtn countBtn02");
|
||||||
$("#openButton").bind("click",function(){
|
$("#openButton").bind("click", function () {
|
||||||
if(openState==0){
|
if (openState == 0) {
|
||||||
if(roleCode=="ebtp-agency-project-manager"||roleCode=="ebtp-purchase"){
|
if (roleCode == "ebtp-agency-project-manager" || roleCode == "ebtp-purchase") {
|
||||||
opening();//未开标先开标
|
opening();//未开标先开标
|
||||||
}else{
|
} else {
|
||||||
supplierOpening();//供应商进入开标室
|
supplierOpening();//供应商进入开标室
|
||||||
}
|
}
|
||||||
|
|
||||||
}else{//否则直接进入
|
} else {//否则直接进入
|
||||||
onClickToOpenRoom();
|
onClickToOpenRoom();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -300,69 +302,69 @@
|
|||||||
//可以开标后 结束除系统时间更新外所有定时
|
//可以开标后 结束除系统时间更新外所有定时
|
||||||
clearInterval(getTimer);
|
clearInterval(getTimer);
|
||||||
clearInterval(getDescOpenRoomTimer);
|
clearInterval(getDescOpenRoomTimer);
|
||||||
timeover=true;
|
timeover = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
$("#dd").html(dd<10?"00"+dd:dd<100?"0"+dd:dd);
|
$("#dd").html(dd < 10 ? "00" + dd : dd < 100 ? "0" + dd : dd);
|
||||||
$("#hh").html(hh<10?"0"+hh:hh);
|
$("#hh").html(hh < 10 ? "0" + hh : hh);
|
||||||
$("#mm").html(mm<10?"0"+mm:mm);
|
$("#mm").html(mm < 10 ? "0" + mm : mm);
|
||||||
$("#ss").html(ss<10?"0"+ss:ss);
|
$("#ss").html(ss < 10 ? "0" + ss : ss);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function opening(){
|
function opening() {
|
||||||
var puData = {"projectId":projectId,"sectionId":sectionId,"id":openRoomId,"roomState":"1"};
|
var puData = { "projectId": projectId, "sectionId": sectionId, "id": openRoomId, "roomState": "1" };
|
||||||
|
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url:"/api/biz-service-ebtp-opening/v1/bizbidopenroom/updateOpenRoom",
|
url: "/api/biz-service-ebtp-opening/v1/bizbidopenroom/updateOpenRoom",
|
||||||
data:JSON.stringify(puData),
|
data: JSON.stringify(puData),
|
||||||
contentType : 'application/json',
|
contentType: 'application/json',
|
||||||
dataType:"json",
|
dataType: "json",
|
||||||
headers:{
|
headers: {
|
||||||
"Authorization":token,
|
"Authorization": token,
|
||||||
"token":token
|
"token": token
|
||||||
},
|
},
|
||||||
type:"PUT",
|
type: "PUT",
|
||||||
success:function(re){
|
success: function (re) {
|
||||||
//开标成功进入开标室
|
//开标成功进入开标室
|
||||||
if(re.success){
|
if (re.success) {
|
||||||
onClickToOpenRoom();
|
onClickToOpenRoom();
|
||||||
}else{
|
} else {
|
||||||
alert(re.message);
|
alert(re.message);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error:function(re){
|
error: function (re) {
|
||||||
alert(re.message);
|
alert(re.message);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
function supplierOpening(){
|
function supplierOpening() {
|
||||||
//重新获取开标室信息
|
//重新获取开标室信息
|
||||||
getOpening();
|
getOpening();
|
||||||
if(openState==0){
|
if (openState == 0) {
|
||||||
alert("请等待业务经理开标");
|
alert("请等待业务经理开标");
|
||||||
}else{
|
} else {
|
||||||
onClickToOpenRoom();
|
onClickToOpenRoom();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function onClickToOpenRoom(){
|
function onClickToOpenRoom() {
|
||||||
window.location.href="/room/index?aa="+aa+"&bb="+bb+"&roomType="+roomType;
|
window.location.href = "/room/index?aa=" + aa + "&bb=" + bb + "&roomType=" + roomType;
|
||||||
}
|
}
|
||||||
|
|
||||||
function getQueryVariable(variable)
|
function getQueryVariable(variable) {
|
||||||
{
|
|
||||||
var query = window.location.search.substring(1);
|
var query = window.location.search.substring(1);
|
||||||
var vars = query.split("&");
|
var vars = query.split("&");
|
||||||
for (var i=0;i<vars.length;i++) {
|
for (var i = 0; i < vars.length; i++) {
|
||||||
var pair = vars[i].split("=");
|
var pair = vars[i].split("=");
|
||||||
if(pair[0] == variable){return pair[1];}
|
if (pair[0] == variable) { return pair[1]; }
|
||||||
}
|
}
|
||||||
return(false);
|
return (false);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
@ -222,6 +222,4 @@ export default {
|
|||||||
'menu.Recruit.ProjectsInvolved': '你参与的项目',
|
'menu.Recruit.ProjectsInvolved': '你参与的项目',
|
||||||
'menu.Recruit.Find': '寻找商机',
|
'menu.Recruit.Find': '寻找商机',
|
||||||
'menu.Recruit.Letter': '邀请函',
|
'menu.Recruit.Letter': '邀请函',
|
||||||
//党建攻坚
|
|
||||||
'menu.topic.home': '党建攻坚',
|
|
||||||
};
|
};
|
||||||
|
@ -10,9 +10,18 @@
|
|||||||
<meta name="description" content="
|
<meta name="description" content="
|
||||||
开箱即用的中台前端/设计解决方案。" />
|
开箱即用的中台前端/设计解决方案。" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> -->
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> -->
|
||||||
<title>中国联通电子招投标系统</title>
|
<title></title>
|
||||||
<script type="text/javascript" src="https://customer.unib.cn:8080/dl/js/b2b/ntkfstat.js?siteid=bl_1000" charset="utf-8"></script>
|
<script>
|
||||||
<script type="text/javascript" src="<%= context.config.publicPath +'officecontrol/ntkobackground.min.20220624.js'%>" charset="utf-8"></script>
|
if (document.URL.includes('/partyMemberTopic')) {
|
||||||
|
document.getElementsByTagName('title')[0].innerText = `党建攻坚`;
|
||||||
|
} else {
|
||||||
|
document.getElementsByTagName('title')[0].innerText = `中国联通电子招投标系统`;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="https://customer.unib.cn:8080/dl/js/b2b/ntkfstat.js?siteid=bl_1000"
|
||||||
|
charset="utf-8"></script>
|
||||||
|
<script type="text/javascript" src="<%= context.config.publicPath +'officecontrol/ntkobackground.min.20220624.js'%>"
|
||||||
|
charset="utf-8"></script>
|
||||||
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
|
<link rel="icon" href="<%= context.config.publicPath +'favicon.ico'%>" type="image/x-icon" />
|
||||||
<!-- <link rel="icon" href="./../assets/logo.svg"/> -->
|
<!-- <link rel="icon" href="./../assets/logo.svg"/> -->
|
||||||
</head>
|
</head>
|
||||||
|
Reference in New Issue
Block a user