| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712 |
- <%@ page language="java" contentType="text/html;charset=GBK" pageEncoding="GBK"%>
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
- <%@ taglib prefix="tms" uri="http://fzywtx.com/jsp/yw/tms" %>
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=GBK">
- <title>我任务列表</title>
- <link href="${pageContext.request.contextPath}/liger/lib/ligerUI/skins/${sessionScope.css}/css/ligerui-all.css" rel="stylesheet" type="text/css"></link>
- <link href="/shares/css/yw/master1/reset.css" rel="stylesheet" type="text/css" />
- <link href="${pageContext.request.contextPath }/main.css" rel="stylesheet" type="text/css"/>
- <script src="${pageContext.request.contextPath }/liger/lib/jquery/jquery-1.3.2.min.js" type="text/javascript"></script>
- <script src="${pageContext.request.contextPath }/liger/lib/ligerUI/js/ligerui.all.js" type="text/javascript"></script>
- <script src="/shares/jquery.progressbar/js/jquery.progressbar.js" type="text/javascript"></script>
- <link rel="stylesheet" href="/shares/fullcalendar/jquery/themes/base/jquery.ui.all.css" />
- <link rel="stylesheet" href="/shares/fullcalendar/fullcalendar/cupertino/theme.css" />
- <link href='/shares/fullcalendar/fullcalendar/fullcalendar.css' rel='stylesheet' />
- <link href='/shares/fullcalendar/fullcalendar/fullcalendar.print.css' rel='stylesheet' media='print' />
- <script src='/shares/fullcalendar/fullcalendar/fullcalendar.min.js'></script>
- <script type="text/javascript" src="/shares/js/common.js"></script>
- <script type="text/javascript" src="/shares/js/constant.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/page.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/common.js"></script>
- <script type="text/javascript" src="/shares/js/yw/master1/searchBox.js"></script>
- <script type="text/javascript" src="/shares/js/yw/ytpm/task/pm_common.js"></script>
- <style type="text/css">
- .l-button
- .l-button[type='button'],.l-button[type='submit'] {
- width: 124px;
- }
- .tr_right_bg {
- height: 100%;
- }
- </style>
- <script type="text/javascript">
- var prjTree="";
- var grid="";
- var actionUrl="";
- var count=0;
- var infoDialog=null;
- var waittingDialog=null;
- var task_info=null;
- var ischecked_id="";
- $(function (){
- $("#listWorkDiary").hide();
- $("#wrap").hide();
- $("#layout1").ligerLayout({ leftWidth:250,height:'99%'});
- $("#task_state_name").ligerComboBox({ isShowCheckBox: true, isMultiSelect: true,
- url:"mtTaskMgr.do?task=getListTaskState",
- valueFieldID: 'task_state',
- initText : "未接收,待审核,退回",
- textField : "dname",
- valueField : "dvalue",
- split : ",",
- resize : false,
- selectBoxHeight: 180,
- onSelected : function (value, text){
- searchByKword();
- }
- });
- $("#unp_task_state_name").ligerComboBox({ isShowCheckBox: true, isMultiSelect: true,
- data: [
- { text: '未接收', id: '0' },
- { text: '进行中', id: '1' },
- { text: '已退回', id: '2' },
- { text: '待审核', id: '4' },
- { text: '审核通过', id: '5' },
- { text: '已驳回', id: '-1' }
- ],
- valueFieldID: 'unp_task_state',
- initValue : '0,2,4',
- split :',',
- resize : false,
- onSelected : function (value, text){
- searchByKword();
- }
- });
- $("#project_name").ligerComboBox({ isShowCheckBox: true, isMultiSelect: true,
- url: 'mtTaskMgr.do?task=getMyListProject',
- textField: 'project_name',
- valueField : 'universalid',
- valueFieldID: 'project_id',
- resize : false,
- selectBoxHeight: 180,
- split :',',
- onSelected : function (value, text){
- $("#navtab1").remove();
- searchByKword();
- }
- });
- $(":button").hide();
- });
-
- function searchByKword(){
- if ($('input:radio[name="task_type"]:checked').val() == "P"){
- var task_state = $("#task_state").val();
- var project_id = $("#project_id").val();
- actionUrl = "mtDiaryMgr.do?task=diarypagelist&task_state="+task_state+"&time="+ new Date().getTime()+"&project_id="+ project_id;
- } else if ($('input:radio[name="task_type"]:checked').val() == "UNP"){
- var unp_task_state = $("#unp_task_state").val();
- actionUrl = "mtTaskCenterMgr.do?task=taskCheckList&time="+ new Date().getTime() + "&status=" + unp_task_state;
- }
- initLigerGrid();
- }
-
- function initLigerGrid(){
- if ($("#navtab1").length==0){
- $("#my_tasks").append("<div id=\"navtab1\" style=\"overflow:scroll\"></div>");
- }
- grid = $("#navtab1").ligerGrid({
- columns: [
- { display: '状态', name: 'task_name',align:"center",width: 80,
- render: function (row){
- var html = "<font ";
- if (row.unproject == "unproject"){
- switch (parseInt(row.task_state)) {
- case 0: html += "color='red'>未接收"; //未接收
- break;
- case 1: html += "color='blue'>进行中";//进行中
- break;
- case 2: html += "color='red'>已退回";//已退回
- break;
- case 4: html += "color='green'>待审核";//待审核
- break;
- case 5: html += ">审核通过";//审核通过
- break;
- case -1: html += ">已驳回";//已驳回
- break;
- default: html += "";
- }
- html += "</font>";
- } else {
- switch (parseInt(row.task_state)) {
- case 1: html += "color='red'";//未接收
- break;
- case 2: html += "color='blue'";//进行中
- break;
- case 4: html += "color='red'";//已退回
- break;
- case 8: html += "";//已驳回
- break;
- case 6: html += "color='green'";//待审核
- break;
- case 7: html += "";//审核通过
- break;
- default: html += "";
- }
- html += ">"+row.task_state_name + "</font>";
- }
- return html;
- }
- },
- { display: '任务名称', name: 'task_name',align:"left",
- render: function (row){
- var html = "<a href=\"#\">" + row.task_name+ "</a>";
- return html;
- }
- }
- ],
- frozen:false,
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- pageSize:20,
- pageSizeOptions: [20],
- url:actionUrl,
- showTitle: false,
- width:'106%',
- height: '99%',
- columnWidth:185,
- onSelectRow: function (data, rowindex, rowobj){
- task_info = data;
- $("#listWorkDiary").show();
- $("#wrap").show();
- showTaskInfo();
- }
- });
- }
-
-
-
- function change_P_Task(){
- $("input[name=task_type]").val(["P"]);
- $("#projects").show();
- $("#unp_project_").hide();
- $("#project_").show();
- $("#navtab1").remove();
- searchByKword();
- }
- function change_UNP_Task(){
- $("input[name=task_type]").val(["UNP"]);
- $("#projects").hide();
- $("#project_").hide();
- $("#unp_project_").show();
- $("#navtab1").remove();
- searchByKword();
- }
-
- function showWaittingDialog(){
- waittingDialog = $.ligerDialog.waitting("正在提交中,请稍后……");
- }
- function closeWaittingDialog(){
- waittingDialog.close();
- }
- function emptyCalendar(){
- $('#center').empty();
- }
-
- function showSuccessDialog(){
- $.ligerDialog.success('删除成功!');
- }
- function showSuccessDialog_submit(){
- $.ligerDialog.success('提交成功!');
- }
-
-
- function showTaskInfo(){
- $("#task_name").html("任务名称:");
- $("#task_state_").html("");
- $("#procFinishPer").html("");
- $("#prov_user_name").html("");
- $("#plan_hour").html("");
- $("#prac_hour").html("");
- $("#task_descript").html("");
- $("#receive_task_date").html("");
- $("#plan_start_date").html("");
- $("#prac_start_date").html("");
- $("#plan_end_date").html("");
- $("#prac_end_date").html("");
- $("#credit_num").val("");
- $("#task_type").val("");
-
- $("#task_name").html("任务名称:" + task_info.task_name);
- if (task_info.unproject == "unproject"){
- switch (parseInt(task_info.task_state)) {
- case 0:
- $("#task_state_").html("未接收");
- break;
- case 1:
- $("#task_state_").html("进行中");
- break;
- case 2:
- $("#task_state_").html("已退回");
- break;
- case 4:
- $("#task_state_").html("待审核");
- break;
- case 5:
- $("#task_state_").html("审核通过");
- break;
- case -1:
- $("#task_state_").html("已驳回");
- break;
- }
- $("#task_descript").html(task_info.task_detail);
- } else {
- $("#task_state_").html(task_info.task_state_name);
- $("#task_descript").html(task_info.task_descript);
- }
- $("#procFinishPer").html(task_info.finish_percent + "%");
- $("#prov_user_name").html(task_info.responsible_name);
- $("#plan_hour").html(task_info.plan_hour + "h");
- $("#prac_hour").html(task_info.prac_hour == null ? "0h" : task_info.prac_hour + "h");
- $("#receive_task_date").html(task_info.receive_task_date);
- $("#plan_start_date").html(task_info.plan_start_date);
- $("#prac_start_date").html(task_info.prac_start_date == null ? "" : task_info.prac_start_date.substr(0, 10));
- $("#plan_end_date").html(task_info.plan_end_date);
- $("#prac_end_date").html(task_info.prac_end_date == null ? "" : task_info.prac_end_date.substr(0, 10));
- $("#credit_num").val(task_info.plan_hour * 10);
- $("#task_type").val(task_info.unproject == null ? "project" : "unproject");
- getlistWorkDiary();
- if (task_info.unproject == "unproject"){
- if (task_info.task_state == 4){
- $("#l-default-panel").show();
- $("#l-title-bar").show();
- $(":button").show();
- $("#delTask").hide();
- $("#reTask").hide();
- } else if (task_info.task_state == 2 || task_info.task_state == 0) {
- $("#l-default-panel").hide();
- $("#l-title-bar").hide();
- $(":button").hide();
- $("#delTask").show();
- $("#reTask").show();
- } else {
- $("#l-default-panel").hide();
- $("#l-title-bar").hide();
- $(":button").hide();
- }
- if ($("#un_is_credit").val() != "1"){
- $("#is_credit_TR").hide();
- } else {
- $("#is_credit_TR").show();
- }
- } else {
- if (task_info.task_state == 6){
- $("#l-default-panel").show();
- $("#l-title-bar").show();
- $(":button").show();
- $("#delTask").hide();
- $("#reTask").hide();
- }else if (task_info.task_state == 4 || task_info.task_state == 1){
- $("#l-default-panel").hide();
- $("#l-title-bar").hide();
- $(":button").hide();
- $("#delTask").show();
- $("#reTask").show();
- } else {
- $("#l-default-panel").hide();
- $("#l-title-bar").hide();
- $(":button").hide();
- }
- if ($("#is_credit").val() != "1"){
- $("#is_credit_TR").hide();
- } else {
- $("#is_credit_TR").show();
- }
- }
-
- }
-
- function delTask(){
- var action_url = "";
- if (confirm("您确认要删除该任务吗?")){
- if (task_info.unproject == "unproject"){
- action_url = "mtTaskCenterMgr.do?task=operateTask_ajax&universalid="+task_info.universalid + "&status=3&receiveId=" + task_info.receiveid;
- } else {
- action_url = "mtTaskMgr.do?task=deltask&time=" + new Date().getTime() + "&task_id=" + task_info.universalid;
- }
- $.ajax({
- type:"POST",
- url:action_url,
- timeout:30000,
- cache:false,
- dataType:"json",
- beforeSend:function(){},
- success:function(data){
- if(data.i>0){
- $.ligerDialog.success('任务已删除!');
- $(":button").hide();
- $("#task_name").html("任务名称:");
- $("#task_state_").html("");
- $("#procFinishPer").html("");
- $("#prov_user_name").html("");
- $("#plan_hour").html("");
- $("#prac_hour").html("");
- $("#task_descript").html("");
- $("#receive_task_date").html("");
- $("#plan_start_date").html("");
- $("#prac_start_date").html("");
- $("#plan_end_date").html("");
- $("#prac_end_date").html("");
- $("#credit_num").val("");
- $("#task_type").val("");
- grid.loadData();
- task_info = {"universalid":-1,"receiveid":-1};
- getlistWorkDiary();
-
- }else{
- $.ligerDialog.error('任务删除失败!');
- }
-
- },
- error:function(err){
- showAjaxError(err);
- }
- });
- }
- }
-
- function reTask(){
- if (task_info.unproject == "unproject"){
- item("mtTaskMgr.do?task=reTask&project=unProject&task_id=" + task_info.universalid+ "&receiveid=" + task_info.receiveid);
- } else {
- item("mtTaskMgr.do?task=reTask&project=project&task_id=" + task_info.universalid );
- }
- }
-
- function getlistWorkDiary(){
- var url = "";
- if($('input:radio[name="task_type"]:checked').val() == "UNP"){
- url = 'mtTaskCenterMgr.do?task=listWorkLog&taskId='+task_info.universalid + '&userid=' + task_info.receiveid;
- } else {
- url = 'mtDiaryMgr.do?task=wd_fc&task_id='+task_info.universalid;
- }
- $("#listWorkDiary").ligerGrid({
- columns: [
- { display: '办理时间', name: 'act_diary_date', width: 200},
- { display: '报工日期', name: 'start', width: 100},
- { display: '工时(小时)', name: 'man_hour', width: 100},
- { display: '报工内容', name: 'comments', width: 250},
- { display: '备注', name: 'remark', width: 200}
- ],
- pageSize:10,
- url: url + '&time=' + new Date().getTime(),
- pageParmName: 'p', //页索引参数名,(提交给服务器)
- pagesizeParmName: 'pSize', //页记录数参数名,(提交给服务器)
- width: '99.8%',
- height: '300px'
- });
- $("#pageloading").hide();
- }
-
- function check_diary(state){
- var is_credit="${credit_map.is_credit}";
- var rs =$.validate({
- name : "descript",
- model : [ {
- type : "require",
- msg : "请填写审核意见!",
- msgBox: "descriptMsg"
- },{
- type : "len",
- min : 0,
- max : 200,
- msg : "描述长度须少于200个字符,一个汉字占2个字符!",
- msgBox: "descriptMsg"
- }]
- });
- if(is_credit=="1" && "7"==state){
- rs = $.validate({
- name : "credit_num",
- model : [{
- type : "require",
- msg : "请填写积分!",
- msgBox: "credit_numMsg"
- },{
- type : "isNumber",
- msg : "请填写正确的数字!",
- msgBox: "credit_numMsg"
- },{
- type : "size",
- min:0,
- max:10000,
- msg : "积分不能超过10000",
- msgBox: "credit_numMsg"
- }]
- }) && rs;
- }
- var msg = "";
- if ($("#task_type").val() == "unproject"){ // 如果是非项目任务
- var type = "";
- if(rs){
- if ("7"==state){
- type = "5";
- msg = '任务审核已通过!';
- if (!confirm("您确认审核通过该任务吗?")){
- return;
- }
- } else if ("8"==state){
- type = "-1";
- msg = '任务已驳回!';
- if (!confirm("您确认驳回该任务吗?")){
- return;
- }
- }
- $.ajax({
- type:"POST",
- url:"mtTaskCenterMgr.do?task=treatTask&taskId="+ task_info.universalid+ "&time=" + new Date().getTime()
- + "&task_suggestion=" + encodeURI(encodeURI($("#descript").val())) + "&credit_num=" + $("#credit_num").val()
- + "&type=" + type + "&receiveid=" + task_info.receiveid+ "&tasktitle=" + encodeURI(encodeURI(task_info.task_name)),
- timeout:30000,
- cache:false,
- dataType:"json",
- success:function(data){
- var i = data[0].i;
- if(i>0){
- $.ligerDialog.success(msg);
- $("#task_name").html("任务名称:");
- $("#task_state_").html("");
- $("#procFinishPer").html("");
- $("#prov_user_name").html("");
- $("#plan_hour").html("h");
- $("#prac_hour").html("h");
- $("#task_descript").html("");
- $("#receive_task_date").html("");
- $("#plan_start_date").html("");
- $("#prac_start_date").html("");
- $("#plan_end_date").html("");
- $("#prac_end_date").html("");
- $("#credit_num").val("");
- $("#descript").val("");
- $("#listWorkDiary").empty();
- grid.loadData();
- }else{
- showAjaxError(null, data.error);
- }
- },
- error:showAjaxError
- });
- }
- } else { // 如果是项目任务
-
- if(rs){
- $("#task_state").val(state);
- if("7"==state){
- $("#result").val("审核通过");
- msg = '任务审核已通过!';
- if (!confirm("您确认审批通过该任务吗?")){
- return;
- }
- }else if("8"==state){
- $("#result").val("审核驳回");
- msg = '任务已驳回!';
- if (!confirm("您确认驳回该任务吗?")){
- return;
- }
- }
- $.ajax({
- type:"POST",
- url:"mtDiaryMgr.do?task=addCheckDiary&time=" + new Date().getTime(),
- data : {"task_id":task_info.universalid,"result":encodeURI($("#result").val()),"task_state":$("#task_state").val(),"is_credit":$("#is_credit").val(),
- "credit_type":$("#credit_type").val(),"descript":encodeURI($("#descript").val()),"credit_num":$("#credit_num").val()},
- cache:false,
- async:false,
- dataType:"text",
- success:function(data){
- if (data > 0){
- $.ligerDialog.success(msg);
- $("#task_name").html("任务名称:");
- $("#task_state_").html("");
- $("#procFinishPer").html("");
- $("#prov_user_name").html("");
- $("#plan_hour").html("h");
- $("#prac_hour").html("h");
- $("#task_descript").html("");
- $("#receive_task_date").html("");
- $("#plan_start_date").html("");
- $("#prac_start_date").html("");
- $("#plan_end_date").html("");
- $("#prac_end_date").html("");
- $("#credit_num").val("");
- $("#descript").val("");
- $("#listWorkDiary").empty();
- grid.loadData();
- } else{
- $.ligerDialog.error('任务审核失败!');
- }
- },
- error:showAjaxError
- });
- }
- }
- }
-
- </script>
- </head>
- <body>
- <div class="tc_b">
- <div id="left" style="float:left;width:100%;">
- <div class="tc_r">
- <div class="tr_con b5 f4">
- <div class="fl f4">
- <img src="/shares/images/master1/wdrw_ico.png" width="25" height="31" /> 任务审核<span id="addUser" ></span>
- </div>
- <div class="fl f4" style="margin-left:30px;">
- 任务状态:
- </div>
- <div class="fl mar6">
- <div id="project_">
- <input name="task_state_name" id="task_state_name" type="text"/>
- <input name="task_state" id="task_state" type="hidden"/>
- </div>
- <div id="unp_project_" style="display: none">
- <input name="unp_task_state_name" id="unp_task_state_name" type="text"/>
- <input name="unp_task_state" id="unp_task_state" type="hidden"/>
- </div>
- </div>
- </div>
- <div class="tr_right_bg" style="position:relative;">
- <div id="layout1">
- <div position="left" title="我分配的任务" id="my_tasks">
- <div class="forum-container task-form" id="taskForm">
- <table style="width:95%">
- <tr>
- <td style="width:90px;text-align: center;height: 30px;" colspan="2" >
- <input name="task_type" id="project_task" type="radio" value="P" onclick="change_P_Task();" checked="checked"/><a onclick="change_P_Task();">项目任务</a>
- <input name="task_type" id="unProject_task" type="radio" value="UNP" onclick="change_UNP_Task();"/><a onclick="change_UNP_Task();">非项目任务</a>
- <br>
- </td>
- </tr>
- <!-- <tr id="projects">
- <td style="width:90px;text-align: center;">
-
- </td>
- <td style="width:90px;text-align: left;">
- <input name="project_name" id="project_name" type="text"/>
- <input name="project_id" id="project_id" type="hidden"/>
- </td>
- </tr> -->
- <input name="project_id" id="project_id" type="hidden"/>
- </table>
- </div>
- <div id="navtab1" style=" overflow:scroll"></div>
- </div>
- <div position="center" id="center" title="任务信息"style=" overflow:scroll">
- <div id="wrap">
- <input type="button" onclick="check_diary(7)" class="l-button" value="通过" />
- <input type="button" onclick="check_diary(8)" class="l-button" value="驳回" />
- <input type="button" id="reTask" onclick="reTask()" class="l-button" value="重派" />
- <input type="button" id="delTask" onclick="delTask()" class="l-button" value="删除" />
- <div class="forum-container-2">
- <div class="l-title-bar" id="l-title-bar">填写审核信息</div>
- <div class="l-default-panel" id="l-default-panel" style="margin-top: 10px;margin-bottom: 20px;padding: 10px;">
- <form id="check_diary" method="post" action="mtDiaryMgr.do?task=addCheckDiary">
- <input type="hidden" id="task_type" />
- <input type="hidden" name="task_id" value="${map.universalid}" />
- <input type="hidden" name="task_state" id="task_state" />
- <input type="hidden" name="result" id="result" />
- <input type="hidden" name="is_credit" id="is_credit" value="${credit_map.is_credit}" />
- <input type="hidden" name="un_is_credit" id="un_is_credit" value="${info.is_credit}" />
- <input type="hidden" name="un_credit_type" id="un_credit_type" value="${info.credittype_id }" />
- <input type="hidden" name="credit_type" id="credit_type" value="${credit_map.credittype_id }" />
- <table class="l-default-panel">
- <tr>
- <td class="l-table-head" colspan="4">审核意见<font color="red">*</font>:<input type="text" name="descript" id="descript" /><label id="descriptMsg"></label>
- </td>
- </tr>
- <c:if test="${credit_map.is_credit==1 }">
- <tr id="is_credit_TR">
- <td class="l-table-head" colspan="4">任务积分<font color="red">*</font>:<input type="text" name="credit_num" id="credit_num" value=""/> <label id="credit_numMsg"></label>
- </td>
- </tr>
- </c:if>
- </table>
- </form>
- </div>
- <div class="l-title-bar">任务基本信息</div>
- <div style="padding-left: 10px;">
- <table class="l-default-panel">
- <tr>
- <td class="l-table-head" colspan="4" id="task_name">任务名称:
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text ">任务状态:</td>
- <td class="l-table-edit-content">
- <font color="#BCBCBC" style="font-size: 14px; font-weight: bold;" id="task_state_">${map.task_state_name }</font>
- </td>
- <td class="l-table-edit-text ">责任人:</td>
- <td class="l-table-edit-content" id="prov_user_name">${map.prov_user_name }</td>
- <%-- <td class="l-table-edit-text ">任务进度:</td>
- <td class="l-table-edit-content"><label id="procFinishPer">${map.finish_percent==null?0:map.finish_percent}%</label></td> --%>
- </tr>
- <%-- <tr>
- <td class="l-table-edit-text ">责任人:</td>
- <td class="l-table-edit-content" id="prov_user_name">${map.prov_user_name }</td>
- <td class="l-table-edit-text ">接收任务时间:</td>
- <td class="l-table-edit-content" id="receive_task_date">
- <fmt:formatDate value="${map.receive_task_date }" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- </tr> --%>
- <tr>
- <td class="l-table-edit-text ">计划用时:</td>
- <td class="l-table-edit-content" id="plan_hour">${map.plan_hour } h</td>
- <td class="l-table-edit-text ">已用时:</td>
- <td class="" id="prac_hour">${map.prac_hour==null?0:map.prac_hour } h</td>
- </tr>
- <tr>
- <td class="l-table-edit-text ">计划开始时间:</td>
- <td class="l-table-edit-content" id="plan_start_date">
- <fmt:formatDate value="${map.plan_start_date }" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- <td class="l-table-edit-text ">实际开始时间:</td>
- <td class="" id="prac_start_date">
- <c:if test="${map.prac_start_date !=null }">
- <fmt:formatDate value="${map.prac_start_date }" pattern="yyyy-MM-dd"/>
- </c:if>
- </td>
- </tr>
- <tr>
- <td class="l-table-edit-text" >计划完成时间:</td>
- <td class="l-table-edit-content" id="plan_end_date">
- <fmt:formatDate value="${map.plan_end_date}" pattern="yyyy-MM-dd HH:mm:ss"/>
- </td>
- <td class="l-table-edit-text ">实际完成时间:</td>
- <td class="" id="prac_end_date">
- <c:if test="${map.prac_end_date !=null }">
- <fmt:formatDate value="${map.prac_end_date}" pattern="yyyy-MM-dd"/>
- </c:if>
- </td>
- </tr>
- </table>
- </div>
- <div class="l-title-bar">任务描述</div>
- <div class="l-default-panel" style="margin-top: 10px;margin-bottom: 20px;padding: 10px;" id="task_descript">${map.task_descript }</div>
- <div class="l-title-bar">审核记录</div>
- <div class="l-default-panel" style="margin-top: 10px;margin-bottom: 20px;padding: 10px;">
- <c:forEach items="${list }" var="obj">
- [<font color="red">${obj.result }</font>] ${obj.descript }<br/>
- 审核人:${obj.check_user_name } 审核日期:<fmt:formatDate value="${obj.create_date}" pattern="yyyy-MM-dd"/><br/>
- </c:forEach>
- </div>
- <div class="l-title-bar" id="diaryPanel" >
- <a name="workDiaryPos" id="workDiaryPos" href="#"></a>
- <div class="text_left">工作日志</div>
- </div>
- </div>
- </div>
- <div id="listWorkDiary">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <%@ include file="/yw/master1_ytpm/task/info/left_task.jsp"%>
- </div>
-
- </body>
- </html>
|