You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
104 lines
3.4 KiB
104 lines
3.4 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title></title>
|
|
<link rel="stylesheet" href="../../../component/pear/css/pear.css" />
|
|
<style>
|
|
.require-star {
|
|
position: absolute;
|
|
width: 3px;
|
|
height: 14px;
|
|
background-color: #ea4335;
|
|
top: 12px;
|
|
right: 8px;
|
|
border-radius: 1.5px;
|
|
}
|
|
|
|
.input-width {
|
|
max-width: 470px
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<form class="layui-form" action="">
|
|
|
|
<div class="main-container" style="margin-top: 20px;margin-bottom: 0;">
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label" style="width: 70px !important;">任务名称:</label>
|
|
<div class="layui-input-block" style="margin-left: 90px !important;display: flex;align-items: center;">
|
|
<div id="rwmc"></div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label" style="width: 70px !important;">截止日期:</label>
|
|
<div class="layui-input-block" style="margin-left: 90px !important;display: flex;align-items: center;">
|
|
<div id="sjjzrq"></div>
|
|
</div>
|
|
</div>
|
|
<div class="layui-form-item">
|
|
<label class="layui-form-label" style="width: 70px !important;"></span>填报要求:</label>
|
|
<div class="layui-input-block" style="margin-left: 100px !important;">
|
|
<blockquote class="layui-elem-quote" style="padding: 5px 5px 5px 10px !important;" id="sjtbyq">
|
|
|
|
</blockquote>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</form>
|
|
<script src="../../../component/layui/layui.js"></script>
|
|
<script src="../../../component/pear/pear.js"></script>
|
|
<script>
|
|
layui.use(function () {
|
|
var form = layui.form;
|
|
var $ = layui.jquery;
|
|
|
|
|
|
var jobId = GetQueryString("job_id");
|
|
var targetId = GetQueryString("target_id");
|
|
var statusCode = GetQueryString("status_code");
|
|
|
|
$.ajax({
|
|
url: "/QingLong/collect/getJob?job_id=" + jobId + "&target_id=" + targetId + "&status_code=" + statusCode,
|
|
async: false,
|
|
type: 'GET',
|
|
success: function (res) {
|
|
$("#sjtbyq").html(res.memo);
|
|
var sjjzrq = res.deadline_time.split(" ")[0];
|
|
$("#sjjzrq").html(sjjzrq);
|
|
$("#rwmc").html(res.job_name);
|
|
|
|
|
|
|
|
}, error: function (xhr, status, error) {
|
|
layer.msg("获取数据异常!", {
|
|
icon: 2,
|
|
time: 1000
|
|
});
|
|
}
|
|
});
|
|
|
|
function GetQueryString(name, istop) {
|
|
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
|
|
var r = window.location.search.substr(1).match(reg);
|
|
if (typeof (istop) != "undefined") r = top.location.search.substr(1).match(reg);
|
|
|
|
if (r != null) return unescape(r[2]);
|
|
return null;
|
|
}
|
|
|
|
|
|
|
|
});
|
|
</script>
|
|
<script>
|
|
</script>
|
|
</body>
|
|
|
|
</html> |