diff --git a/WebRoot/view/tb/org/fields_set.html b/WebRoot/view/tb/org/fields_set.html index 8329c640..d03edcdc 100644 --- a/WebRoot/view/tb/org/fields_set.html +++ b/WebRoot/view/tb/org/fields_set.html @@ -222,11 +222,10 @@ }, success: function (result) { if (result.success) { - layer.msg("上传成功!", { + $('#ico' + initSheetIndex).removeClass('dh_ico'); + layer.msg("成功!", { icon: 1, time: 1500 - }, function () { - $('#ico' + initSheetIndex).removeClass('dh_ico'); }); } else { layer.msg(result.message, { diff --git a/WebRoot/view/tb/org/task_list.html b/WebRoot/view/tb/org/task_list.html index 272e17ed..1a82b49a 100644 --- a/WebRoot/view/tb/org/task_list.html +++ b/WebRoot/view/tb/org/task_list.html @@ -158,11 +158,17 @@ }); window.publish = function (obj) { - + layer.open({ + type: 2, + title: '发布任务', + shade: 0.1, + area: ['650px', '385px'], + content: './publish.html?job_id=' + obj.data.job_id + }); } window.update = function (obj) { - window.location = "./fields_set.html?job_id=" + obj.data.job_id; + window.location = "./fields_set.html?job_id=" + obj.data.job_id; } window.rename = function (obj) {