| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
- <%@include file="/context/mytags.jsp"%>
- <t:base type="jquery,easyui,tools,DatePicker"></t:base>
- <%
- String url= "taskResultController.do?datagrid&taskid=" +(String)request.getParameter("taskid");
- %>
- <div class="easyui-layout" fit="true">
- <div region="center" style="padding:0px;border:0px">
- <table style="width: 600px;" cellpadding="0" cellspacing="1" class="formtable">
- <tr>
- <td align="left" style="width: 100px;">
- <label class="Validform_label">
- 工作名称:
- </label>
- </td>
- <td class="value">
- <input id="code" name="code" type="text" style="width: 100%;border: 0px;" class="inputxt" ignore="ignore" readonly="readonly" value='${name}'/>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">工作编码</label>
- </td>
- </tr>
- <tr>
- <td align="left" style="width: 100px;">
- <label class="Validform_label">
- 工作执行说明:
- </label>
- </td>
- <td class="value">
- <textarea id="name" name="name" type="text" style="width: 100%" readonly="readonly"rows="12" >${memo}</textarea>
- <!-- <span class="Validform_checktip"></span> -->
- <label class="Validform_label" style="display: none;"></label>
- </td>
- </tr>
- <%-- <td align="left">
- <label class="Validform_label">
- 本次服务评分:
- </label>
- </td>
- <td class="value">
- <label class="Validform_label" > ${taskresult.taskObjectScore}分</label>
- </td>
- </tr> --%>
- <%-- <c:if test='${task.tasktype == "pmdept"}'> --%>
- <tr>
- <td align="left" style="width: 100px;">
- <label class="Validform_label">附件:</label>
- </td>
- <td class="value">
- <t:webUploader auto="true" busiId="${taskresult.id}"
- readOnly="true"
- busiTable="p_taskresult"
- bizType="projecttaskresult"
- name="attachment" duplicate="true" fileNumLimit="10"
- nullMsg="附件不可为空"></t:webUploader>
-
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;">附件</label>
- </td>
- </tr>
- <%-- </c:if> --%>
- <tr style="height: 15px;">
- </tr>
- <tr>
- <td colspan="2" height="300px">
- <t:datagrid name="taskResultList" pagination="false" checkbox="false" fitColumns="true" title="图片列表"
- actionUrl="taskResultController.do?datagrid&taskid=${taskid}" idField="id" fit="true" queryMode="group">
- <%-- ='<%=url%>' --%>
- <t:dgCol title="工作" field="taskid" queryMode="single" dictionary="p_projecttask,id,name" width="100"></t:dgCol>
- <t:dgCol title="现场图片" field="picture" queryMode="single" width="400"></t:dgCol>
- <t:dgCol title="现场图片" field="id" hidden="true" width="100"></t:dgCol>
- <t:dgCol title="操作" field="opt"></t:dgCol>
- <t:dgFunOpt title="查看" funname="showViewFile" urlclass="ace_button" urlfont="fa-check" > </t:dgFunOpt> <%-- exp="isPreviewFlg#eq#1" --%>
- </t:datagrid>
- </td>
- </tr>
-
- <%-- <tr>
- <td align="right">
- <label class="Validform_label">
-
- </label>
- </td></tr>
- <td align="right">
- <label class="Validform_label">
- 品质部任务执行结果评价:
- </label>
- </td>
- <td class="value">
- <t:myDictSelect field="reviewScore" type="radio" typeGroupCode="reviewScore" hasLabel="false" title="分数" split="8" defaultVal="30"></t:myDictSelect>
- <span class="Validform_checktip"></span>
- <label class="Validform_label" style="display: none;"></label>
- </td>
- </tr> --%>
- <tr>
- <td height="50px" align="center" colspan="8">
- <div style="display:none"><input type="submit" id ="btnsub" value=""/></div>
- <!-- <a href="#" class="easyui-linkbutton l-btn" iconcls="icon-le-ok" onclick="btn_ok()">提交</a> -->
- <a style="margin-left:20px" href="#" class="easyui-linkbutton l-btn" plain="true" iconcls="icon-le-back" onclick="btn_back()">返回</a>
- </td>
- </tr>
- </table>
- </div>
- <%-- <div region="center" style="padding:0px;border:0px">
-
- </div> --%>
- </div>
- <script type="text/javascript">
- $(document).ready(function(){
- });
- function btn_back(){
- this.closeCurrentDialog();
- }
-
- function btn_ok(){
- this.closeCurrentDialog();
- }
- function showViewFile(index) {
- var rows = $('#taskResultList').datagrid('getRows');//获取所有当前加载的数据行
- var fileUrl = rows[index].id;
- // 默认文件不是在阿里云
- var aliyunflg = "1";
- $.dialog.setting.zIndex = getzIndex();
- $.dialog(
- {
- content : 'url:taskResultController.do?showPictureview&fileUrl=' + fileUrl + '&aliyunflg=' + aliyunflg,
- //content : 'url:'+ urlSee,
- zIndex : getzIndex(),
- title : '查看文件',//选择框标题
- lock : true,//是否锁定 当为true 时 下层有蒙版,不允许用户在弹出窗口以外有其它操作
- width : '600px',// 选择框宽度
- height : '600px',//选择框高度
- opacity : 0.4,//透明度 (经过测试 效果好像不太明显 )
- button : [ {
- name : '上报素材库',
- focus : true,
- callback : function() {
- }},{
- name : '关闭',
- focus : true,
- callback : function() {
- }
- } ]
- }).zindex();
- };
-
- </script>
|