| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152 |
- <%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <!DOCTYPE html>
- <html>
- <head>
- <title></title>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <%-- <link rel="stylesheet" href="plug-in/uploadify/css/uploadify.css" type="text/css" />--%>
- <%-- <script type="text/javascript" src="plug-in/uploadify/jquery.uploadify-3.1.js"></script>--%>
- <%-- <script src="plug-in/layer/layer.js"></script>--%>
- </head>
- <body>
- <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" action="scheduleSuperivseController.do?doUpdate">
- <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
- <input id="pageTag" name="pageTag" value="rectification" type="hidden">
- <input id="id" name="id" value='${common.id}' type="hidden">
- <input id="status" name="status" value='2' type="hidden">
- <tr>
- <td align="right">
- <label class="Validform_label">
- <span style="color:red;" class="requiredIcon">*</span>问题描述:
- </label>
- </td>
- <td class="value">
- <input value='${common.context}' id="context" name="context" type="text" style="width: 150px" datatype="*" ignore="checked"/>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">问题描述</label>
- </td>
- </tr>
- <c:if test="${fn:length(common.imgUrlList) > 0}">
- <tr>
- <td align="right">
- <label class="Validform_label">
- <span color="red" class="requiredIcon">*</span>问题照片:
- </label>
- </td>
- <td class="value">
- <c:forEach items="${common.imgUrlList}" var="imgUrlItem" varStatus="stuts">
- <img class="iamgeBox" src="${imgUrlItem}"/>
- </c:forEach>
- </td>
- </tr>
- </c:if>
- <c:if test="${fn:length(common.videosList) > 0}">
- <tr>
- <td align="right">
- <label class="Validform_label">
- <span color="red" class="requiredIcon">*</span>问题视频:
- </label>
- </td>
- <td class="value multimediaBox">
- <c:forEach items="${common.videosList}" var="videoItem" varStatus="stuts">
- <video controls class="iamgeBox" src="${videoItem}">
- <source src="${videoItem}" type="video/mp4"/>
- </video>
- </c:forEach>
- </td>
- </tr>
- </c:if>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 责任人:
- </label>
- </td>
- <td class="value">
- <input value='${common.responsibleUserId}' id="responsibleUserId" name="responsibleUserId" type="text" style="width: 150px" datatype="*" ignore="checked" disabled="disabled" readonly="readonly"/>
- <%-- <t:dictSelect id="responsibleUserId" field="responsibleUserId" defaultVal="${common.responsibleUserId}" type="list" dictTable="t_s_base_user" dictField="id"--%>
- <%-- dictText="realname" hasLabel="false" readonly="readonly"></t:dictSelect>--%>
- <%-- <input id="responsibleUserId" name="responsibleUserId" type="hidden">--%>
- <%--<a href="#" class="easyui-linkbutton" plain="true" icon="icon-select" id="userSearch2"
- onclick="openUserSelect()">选择</a>
- <a href="#" class="easyui-linkbutton" plain="true" icon="icon-clean" id="userRedo2"
- onclick="callbackCleanUser()">清空</a>--%>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">责任人</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- 班组长:
- </label>
- </td>
- <td class="value">
- <input value='${common.leaderUserId}' id="leaderUserId" name="leaderUserId" type="text" style="width: 150px" disabled="disabled" readonly="readonly"/>
- <%-- <t:dictSelect id="leaderUserId" field="leaderUserId" defaultVal="${common.leaderUserId}" type="list" dictTable="t_s_base_user" dictField="id"--%>
- <%-- dictText="realname" hasLabel="false" readonly="readonly"></t:dictSelect>--%>
- <%-- <input id="leaderUserId" name="leaderUserId" type="hidden">--%>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">班组长</label>
- </td>
- </tr>
- <tr>
- <td align="right">
- <label class="Validform_label">
- <span style="color:red;" class="requiredIcon">*</span>整改反馈:
- </label>
- </td>
- <td class="value">
- <input id="resultUrl" name="resultUrl" type="hidden">
- <t:webUploader name="okpath" auto="true" callback="uploadSucc" showImgDiv="" type="image" dataType="*" buttonStyle="btn-green" fileNumLimit="1" url="cgUploadController.do?ajaxSaveFile"></t:webUploader>
- </td>
- </tr>
- </table>
- </t:formvalid>
- </body>
- <script type="text/javascript">
- function uploadSucc(response){
- if(response.success){
- $('#resultUrl').val(response.attributes.url);
- }
- }
-
- function openManagerSelect() {
- $.dialog({
- content: 'url:publicpageController.do?userSelect', zIndex: getzIndex(), title: '员工列表', lock: true, width: '1000px', height: '650px', opacity: 0.4, button: [
- {name: '确定', callback: function (){
- var iframe = this.iframe.contentWindow;
- if(iframe.getReason().length>0){
- var strData=eval(iframe.getReason());
- for(var key in strData[0]){
- if(key=="strId"){
- $("#userId").val(strData[0][key]);
- }else if(key=="strName"){
- $("#userName").val(strData[0][key]);
- }
- }
- $("#userName").focus();
- }
- }, focus: true},
- {name: '取消', callback: function (){}}
- ]}).zindex();
- }
- function callbackCleanUser(){
- $('#userName').val('');
- $('#userId').val('');
- }
- </script>
- <style>
- .multimediaBox{
- display: flex;
- }
- .iamgeBox{
- width: 200px;
- max-height: 400px;
- }
- </style>
|