Merge branch 'main' of http://10.10.14.176:3000/huanghai/QingLong
commit
8602b8036b
Binary file not shown.
@ -0,0 +1,123 @@
|
||||
<!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: 100px !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: 100px !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: 100px !important;"></span>上级填报要求:</label>
|
||||
<div class="layui-input-block" style="margin-left: 132px !important;">
|
||||
<blockquote class="layui-elem-quote" style="padding: 5px 5px 5px 10px !important;" id="sjtbyq">
|
||||
|
||||
</blockquote>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" style="width: 100px !important;">本级截止日期:</label>
|
||||
<div class="layui-input-block" style="margin-left: 90px !important;display: flex;align-items: center;">
|
||||
<div id="bjjzrq"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item">
|
||||
<label class="layui-form-label" style="width: 100px !important;"></span>本级填报要求:</label>
|
||||
<div class="layui-input-block" style="margin-left: 132px !important;">
|
||||
<blockquote class="layui-elem-quote" style="padding: 5px 5px 5px 10px !important;" id="bjtbyq">
|
||||
|
||||
</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) {
|
||||
$("#bjtbyq").html(res.memo);
|
||||
var bjjzrq = res.deadline_time.split(" ")[0];
|
||||
$("#bjjzrq").html(bjjzrq);
|
||||
$("#rwmc").html(res.job_name);
|
||||
|
||||
$("#sjtbyq").html(res.prev_memo);
|
||||
var sjjzrq = res.prev_deadline_time.split(" ")[0];
|
||||
$("#sjjzrq").html(sjjzrq);
|
||||
|
||||
|
||||
|
||||
}, 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>
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue