|
|
|
@ -182,20 +182,40 @@
|
|
|
|
|
flag = false;
|
|
|
|
|
}
|
|
|
|
|
res.data.forEach(function (item) {
|
|
|
|
|
var _html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
"<div class='mui-table'>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-9'>" +
|
|
|
|
|
"<img src='./images/list_icon.png' style='width:24px;position: absolute;top: -2px;left: -2px;' />" +
|
|
|
|
|
"<p class='p_title'>" + item.job_name + "</p>" +
|
|
|
|
|
"<p class='p_jiezhi'>截止日期:" + item.deadline_time + "</p>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-3 mui-text-right'>" +
|
|
|
|
|
"<span class='mui-h5'>" + item.publish_time + "</span>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</li>";
|
|
|
|
|
var _html = "";
|
|
|
|
|
|
|
|
|
|
if (item.jiezhi) {
|
|
|
|
|
_html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
"<div class='mui-table'>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-9'>" +
|
|
|
|
|
"<img src='./images/list_icon.png' style='width:24px;position: absolute;top: -2px;left: -2px;' />" +
|
|
|
|
|
"<p class='p_title'>" + item.job_name + "</p>" +
|
|
|
|
|
"<p class='p_jiezhi'>截止日期:" + item.deadline_time +
|
|
|
|
|
"<span style='float: right;margin-right: -86px;background:#FFE7E7;border-radius: 15px;padding:1px 10px;font-size:12px;color:#FA7474'>已截止</span>" +
|
|
|
|
|
"</p>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-3 mui-text-right'>" +
|
|
|
|
|
"<span class='mui-h5'>" + item.publish_time + "</span>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</li>";
|
|
|
|
|
} else {
|
|
|
|
|
_html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
"<div class='mui-table'>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-9'>" +
|
|
|
|
|
"<img src='./images/list_icon.png' style='width:24px;position: absolute;top: -2px;left: -2px;' />" +
|
|
|
|
|
"<p class='p_title'>" + item.job_name + "</p>" +
|
|
|
|
|
"<p class='p_jiezhi'>截止日期:" + item.deadline_time + "</p>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-3 mui-text-right'>" +
|
|
|
|
|
"<span class='mui-h5'>" + item.publish_time + "</span>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</li>";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$("#wTab").append(_html);
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
_wPage += 1;
|
|
|
|
|
}
|
|
|
|
@ -218,7 +238,7 @@
|
|
|
|
|
var _html = "";
|
|
|
|
|
|
|
|
|
|
if (item.jiezhi) {
|
|
|
|
|
var _html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
_html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
"<div class='mui-table'>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-9'>" +
|
|
|
|
|
"<img src='./images/list_icon.png' style='width:24px;position: absolute;top: -2px;left: -2px;' />" +
|
|
|
|
@ -233,7 +253,7 @@
|
|
|
|
|
"</div>" +
|
|
|
|
|
"</li>";
|
|
|
|
|
} else {
|
|
|
|
|
var _html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
_html = "<li class='mui-table-view-cell' onclick='report(" + item.job_id + "," + item.jiezhi + "," + item.status_code + ",\"" + item.target_id + "\")'>" +
|
|
|
|
|
"<div class='mui-table'>" +
|
|
|
|
|
"<div class='mui-table-cell mui-col-xs-9'>" +
|
|
|
|
|
"<img src='./images/list_icon.png' style='width:24px;position: absolute;top: -2px;left: -2px;' />" +
|
|
|
|
|