main
kgdxpr 1 year ago
parent 5a0cfd54dd
commit d20279ef43

@ -62,9 +62,10 @@
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,
url: "/QingLong/collect/getJob?job_id=" + jobId + "&target_id=" + targetId + "&status_code=" + statusCode,
async: false,
type: 'GET',
success: function (res) {

@ -192,7 +192,7 @@
title: '查看',
shade: 0.1,
area: ['800px', '400px'],
content: './job_view.html?job_id=' + obj.data.job_id
content: './job_view.html?job_id=' + obj.data.job_id + "&status_code=" + obj.data.status_code + "&target_id=" + obj.data.target_id
});
}

@ -175,7 +175,7 @@
icon: 3,
title: '提示'
}, function (index) {
layer.close(index);
layer.close(index);
$.ajax({
url: '/QingLong/collect/setForwardFinish',
type: 'post',
@ -199,13 +199,13 @@
});
}
window.view = function (obj) {
window.view = function (obj) {
layer.open({
type: 2,
title: '查看',
shade: 0.1,
area: ['800px', '400px'],
content: './job_view.html?job_id=' + obj.data.job_id + '&target_id=' + obj.data.target_id
content: './job_view.html?job_id=' + obj.data.job_id + "&status_code=" + obj.data.status_code + "&target_id=" + obj.data.target_id
});
}

@ -177,13 +177,14 @@
}
window.view = function (obj) {
if (obj.data.is_finish === 0) {
var lastDigit = String(obj.data.status_code).slice(-1);
if (lastDigit == "0") {
layer.open({
type: 2,
title: '查看',
shade: 0.1,
area: ['800px', '400px'],
content: '../dis/job_view.html?job_id=' + obj.data.job_id
content: '../dis/job_view.html?job_id=' + obj.data.job_id + "&status_code=" + obj.data.status_code + "&target_id=" + obj.data.target_id
});
} else {
if (obj.data.job_type === 1) {

Loading…
Cancel
Save