superivseList-statusUpdate.jsp 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/context/mytags.jsp"%>
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. <title></title>
  7. <t:base type="jquery,easyui,tools,DatePicker"></t:base>
  8. <%-- <link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css" />--%>
  9. <%-- <script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.js"></script>--%>
  10. <%-- <script src="plug-in/layer/layer.js"></script>--%>
  11. </head>
  12. <body>
  13. <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="scheduleSuperivseController.do?doUpdate">
  14. <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
  15. <input id="pageTag" name="pageTag" value="rectification" type="hidden">
  16. <input id="id" name="id" value='${common.id}' type="hidden">
  17. <input id="status" name="status" value='2' type="hidden">
  18. <tr>
  19. <td align="right">
  20. <label class="Validform_label">
  21. <span style="color:red;" class="requiredIcon">*</span>问题描述:
  22. </label>
  23. </td>
  24. <td class="value">
  25. <input value='${common.context}' id="context" name="context" type="text" style="width: 150px" datatype="*" ignore="checked"/>
  26. <span class="Validform_checktip"></span>
  27. <label class="Validform_label" style="display: none;">问题描述</label>
  28. </td>
  29. </tr>
  30. <c:if test="${fn:length(common.imgUrlList) > 0}">
  31. <tr>
  32. <td align="right">
  33. <label class="Validform_label">
  34. <span color="red" class="requiredIcon">*</span>问题照片:
  35. </label>
  36. </td>
  37. <td class="value">
  38. <c:forEach items="${common.imgUrlList}" var="imgUrlItem" varStatus="stuts">
  39. <img class="iamgeBox" src="${imgUrlItem}"/>
  40. </c:forEach>
  41. </td>
  42. </tr>
  43. </c:if>
  44. <c:if test="${fn:length(common.videosList) > 0}">
  45. <tr>
  46. <td align="right">
  47. <label class="Validform_label">
  48. <span color="red" class="requiredIcon">*</span>问题视频:
  49. </label>
  50. </td>
  51. <td class="value multimediaBox">
  52. <c:forEach items="${common.videosList}" var="videoItem" varStatus="stuts">
  53. <video controls class="iamgeBox" src="${videoItem}">
  54. <source src="${videoItem}" type="video/mp4"/>
  55. </video>
  56. </c:forEach>
  57. </td>
  58. </tr>
  59. </c:if>
  60. <tr>
  61. <td align="right">
  62. <label class="Validform_label">
  63. 责任人:
  64. </label>
  65. </td>
  66. <td class="value">
  67. <input value='${common.responsibleUserId}' id="responsibleUserId" name="responsibleUserId" type="text" style="width: 150px" datatype="*" ignore="checked" disabled="disabled" readonly="readonly"/>
  68. <%-- <t:dictSelect id="responsibleUserId" field="responsibleUserId" defaultVal="${common.responsibleUserId}" type="list" dictTable="t_s_base_user" dictField="id"--%>
  69. <%-- dictText="realname" hasLabel="false" readonly="readonly"></t:dictSelect>--%>
  70. <%-- <input id="responsibleUserId" name="responsibleUserId" type="hidden">--%>
  71. <%--<a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="userSearch2"
  72. onclick="openUserSelect()">选择</a>
  73. <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="userRedo2"
  74. onclick="callbackCleanUser()">清空</a>--%>
  75. <span class="Validform_checktip"></span>
  76. <label class="Validform_label" style="display: none;">责任人</label>
  77. </td>
  78. </tr>
  79. <tr>
  80. <td align="right">
  81. <label class="Validform_label">
  82. 班组长:
  83. </label>
  84. </td>
  85. <td class="value">
  86. <input value='${common.leaderUserId}' id="leaderUserId" name="leaderUserId" type="text" style="width: 150px" disabled="disabled" readonly="readonly"/>
  87. <%-- <t:dictSelect id="leaderUserId" field="leaderUserId" defaultVal="${common.leaderUserId}" type="list" dictTable="t_s_base_user" dictField="id"--%>
  88. <%-- dictText="realname" hasLabel="false" readonly="readonly"></t:dictSelect>--%>
  89. <%-- <input id="leaderUserId" name="leaderUserId" type="hidden">--%>
  90. <span class="Validform_checktip"></span>
  91. <label class="Validform_label" style="display: none;">班组长</label>
  92. </td>
  93. </tr>
  94. <tr>
  95. <td align="right">
  96. <label class="Validform_label">
  97. <span style="color:red;" class="requiredIcon">*</span>整改反馈:
  98. </label>
  99. </td>
  100. <td class="value">
  101. <input id="resultUrl" name="resultUrl" type="hidden">
  102. <t:webUploader name="okpath" auto="true" callback="uploadSucc" showImgDiv="" type="image" dataType="*" buttonStyle="btn-green" fileNumLimit="1" url="cgUploadController.do?ajaxSaveFile"></t:webUploader>
  103. </td>
  104. </tr>
  105. </table>
  106. </t:formvalid>
  107. </body>
  108. <script type="text/javascript">
  109. function uploadSucc(response){
  110. if(response.success){
  111. $('#resultUrl').val(response.attributes.url);
  112. }
  113. }
  114. function openManagerSelect() {
  115. $.dialog({
  116. content: 'url:publicpageController.do?userSelect', zIndex: getzIndex(), title: '员工列表', lock: true, width: '1000px', height: '650px', opacity: 0.4, button: [
  117. {name: '确定', callback: function (){
  118. var iframe = this.iframe.contentWindow;
  119. if(iframe.getReason().length>0){
  120. var strData=eval(iframe.getReason());
  121. for(var key in strData[0]){
  122. if(key=="strId"){
  123. $("#userId").val(strData[0][key]);
  124. }else if(key=="strName"){
  125. $("#userName").val(strData[0][key]);
  126. }
  127. }
  128. $("#userName").focus();
  129. }
  130. }, focus: true},
  131. {name: '取消', callback: function (){}}
  132. ]}).zindex();
  133. }
  134. function callbackCleanUser(){
  135. $('#userName').val('');
  136. $('#userId').val('');
  137. }
  138. </script>
  139. <style>
  140. .multimediaBox{
  141. display: flex;
  142. }
  143. .iamgeBox{
  144. width: 200px;
  145. max-height: 400px;
  146. }
  147. </style>