123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" ng-app="app">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
-
- <title>附件</title>
- <link href="../../AFrontEnd/css/animate.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/fontawesome/css/font-awesome.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/bootstrap.css" rel="stylesheet" />
- <link href="../../AFrontEnd/css/style.css" rel="stylesheet" />
- <link href="../../AFrontEnd/plugins/cropper/cropper.css" rel="stylesheet" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='../flowchart_app_imgcss/css/attachlist.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <script>document.write("<link href='../flowchart_app_imgcss/css/imgCut.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- </head>
- <body>
- <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="col-md-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <div class="row">
- <div class="col-md-12">
- <div class="sp-box sp-bg-white">
- <div class="sp-page-col">
- <div class="sp-page-title" style="margin:7px 0;">附件查看</div>
- </div>
- <div class="sp-page-col sp-ml-15 topPart">
- <a ng-repeat="item in ctl.SwenList" ng-class="{'activeSwen':ctl.Title==item.VNAME}" class="SwenBtn" href="{{item.TEMPFORM}}" title="{{item.VNAME}}">
- {{item.VNAME}}
- <!--<i ng-if="ctl.Title==item.VNAME" class="fa fa-check sp-color-blue"></i>-->
- </a>
- </div>
- <div class="sp-page-col sp-pull-right btn-box">
- <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
- <img src="../flowchart_app_imgcss/img/fh.png" height="14" />
- 返 回
- </a>
- <a class="sp-radius sp-btn-gray" ng-if="ctl.returnList.length!=0" ng-click="ctl.returnListShow=!ctl.returnListShow;">
- <span ng-if="ctl.returnListShow==true"><i class="fa fa-angle-double-up sp-fs-20 sp-mr-5" style="position:relative;top:3px"></i></span>
- <span ng-if="ctl.returnListShow==false"><i class="fa fa-angle-double-down sp-fs-20 sp-mr-5" style="position:relative;top:3px"></i></span>
- </a>
- </div>
- <div class="sp-page" style=" width: 422px; padding: 10px; border: 1px solid #c6c6c6; position: absolute; top: 35px; right: 0px; background: white; z-index: 7;" ng-if="ctl.returnListShow==true">
- <center class="sp-box">退回意见:{{ctl.selectReturn.BACKOPINION}}</center>
- <table class="sp-grid" style="width: 402px; border: 1px solid #c6c6c6">
- <thead>
- <tr>
- <th width="50">序号</th>
- <th width="150">内容</th>
- <th width="200">日期</th>
- </tr>
- </thead>
- <tbody>
- <tr class="pointer" ng-repeat="item in ctl.returnList" ng-click="ctl.selectReturn=item">
- <td ng-bind="$index+1"></td>
- <td ng-bind="item.BACKOPINION1"></td>
- <td ng-bind="item.BACKDATE"></td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <div class="sp-page">
- <div class="row">
- <!--<h2 style="color:red;text-align:center" ng-if="ctl.routeinfoid==0">请先保存表单!</h2>
- <h2 style="color:red;text-align:center" ng-if="ctl.routeinfoid!=0&&ctl.arrayFile.length==0">暂无附件!</h2>-->
- <div class="col-md-2">
- <div class="sp-page" style="padding:15px;background-color: #E9F5FC">
- <div class="sp-page">
- <span style="line-height:30px">
- <img src="../flowchart_app_imgcss/img/attachlist/fj.png" style="margin-top:-3px" /> 附件列表
- </span>
- <span class="upload">
- <span class="upload-tip"></span>
- <input id="fileupload" class="upload-file-single" ng-click="ctl.upload()" type="file" name="files[]" multiple>
- <img src="../flowchart_app_imgcss/img/attachlist/upload.png" />
- <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page">
- <div ng-repeat="item in ctl.arrayFile" class="watchItem" ng-class="{'active':ctl.watchNum == $index+1}"
- style="background-color: #FAFDFF; cursor: pointer" ng-click="ctl.browse(item)">
- <div class="sp-text-left sp-mb-5">
- 附件{{$index+1}}.
- <span class="sp-pull-right" ng-click="ctl.deleteFile(item);$event.stopPropagation();">
- <img src="../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
- </span>
- <span class="sp-pull-right sp-mr-10" ng-click="ctl.downLoad(item)">
- <img src="../flowchart_app_imgcss/img/attachlist/download.png" title="下载" />
- </span>
- </div>
- <div style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" ng-bind="item.FILENAMES" title="{{item.FILENAMES}}"></div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-md-10" style="overflow-x: auto; text-align: center; background-color: #F9FDFF">
- <div class="sp-page mousemove" style="position:fixed;z-index:6;background:#c6c6c6;opacity:0.5;display:none"></div>
- <img width="500" src="../flowchart_app_imgcss/img/attachlist/default.png" ng-if="ctl.iframeList.length==0" />
- <div class="sp-page" id="iframeList" style="height:600px;" ng-if="ctl.iframeList.length!=0">
- <div class="iframe-item" ng-style="item.boxWidth" ng-repeat="item in ctl.iframeList" repeat-finish>
- <div class="iframe-title" ng-style="item.boxWidth" ng-bind="item.title"></div>
- <div class="iframe-item-btn">
- <button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.openItem(item)">新窗口</button>
- <!--<button class="sp-btn-gray sp-btn-sm sp-radius" ng-click="ctl.joinItem(item)">收藏</button>-->
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.closeItem($index)">关闭</button>
- </div>
- <div class="iframe-border-right" ng-init="ctl.reSize($index)" ng-if="$index>0"></div>
- <iframe ng-src="{{item.url}}" ng-style="item.iframeWidth" style="padding-top:30px" frameborder="0" class="iframe" scrolling="no"></iframe>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/plugins/cropper/cropper.js"></script>
- <script src="../../AFrontEnd/js/jquery/jquery-1.8.3.min.js"></script>
- <script src="../../AFrontEnd/js/laydate/laydate.js"></script>
- <script src="../../AFrontEnd/js/angularjs/angular.js"></script>
- <script src="../../AFrontEnd/js/angularjs/dirPagination.js"></script>
- <script src="../../apiurljs.js"></script>
- <script src="../../js/sm4.js"></script>
- <script>document.write('<scri' + 'pt src="../../AFrontEnd/js/special/special.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script>document.write('<scri' + 'pt src="js/detail2.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <script src="../../AFrontEnd/js/special/spng.js"></script>
- <script src="../../AFrontEnd/js/special/spngvld.js"></script>
- <!--附件-->
- <script src="../../AFrontEnd/plugins/js.fileupload/vendor/jquery.ui.widget.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.iframe-transport.js"></script>
- <script src="../../AFrontEnd/plugins/js.fileupload/jquery.fileupload.js"></script>
- </body>
- </html>
|