123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384 |
- <!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 class="sp-md sp-radius" ng-class="{'sp-btn-gray':item.CODE.indexOf('SENDITEM')==-1,'sp-btn-blue':item.CODE.indexOf('SENDITEM')!=-1}"ng-repeat="item in ctl.buttonList" ng-click="ctl.btnEvent(item)" ng-if="ctl.dotype==1||(ctl.dotype!=1&&item.EXPLAIN=='1')">
- <img ng-if="item.CODE.indexOf('SAVEITEM')!=-1" src="../../flowchart_app_imgcss/img/bc.png" height="14" />
- <img ng-if="item.CODE.indexOf('PRINTITEM')!=-1" src="../../flowchart_app_imgcss/img/dy.png" height="14" />
- <img ng-if="item.CODE.indexOf('SENDITEM')!=-1" src="../../flowchart_app_imgcss/img/zfw.png" height="14" />
- <img ng-if="item.CODE.indexOf('SENDLOG')!=-1" src="../../flowchart_app_imgcss/img/lz.png" height="14" />
- {{item.CNAME}}
- </a>
- <a href="{{ctl.return}}" class="sp-btn-gray sp-radius">
- <img src="../../flowchart_app_imgcss/img/fh.png" height="14" />
- 返 回
- </a>
- </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" ng-if="ctl.routeinfoid!=0&&ctl.dotype!=0">
- <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" style="height: 165px; overflow-y: auto">
- <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();" ng-if="ctl.dotype!=0">
- <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 class="sp-page sp-mt-15" style="padding:15px;background-color: #E9F5FC">
- <div class="sp-page">
- <span style="line-height:30px">
- <img src="../../flowchart_app_imgcss/img/attachlist/yw.png" style="margin-top:-3px" /> 业务参考
- </span>
- <span class="upload" style="cursor: pointer" ng-if="ctl.routeinfoid!=0&&ctl.dotype!=0" ng-click="ctl.searchCj(0)">
- <img src="../../flowchart_app_imgcss/img/attachlist/creat.png" />
- </span>
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page" style="height: 180px; overflow-y: auto">
- <div ng-repeat="item in ctl.cjList" class="watchItem" style="background-color: #FAFDFF;padding:5px">
- <div class="sp-page-col sp-text-left cjItem" style="width: 90%; cursor: pointer;" ng-click="ctl.openCJ(item);$event.stopPropagation();">
- <img ng-src="{{item.IMAGESMALL}}" />
- <div class="sp-page sp-pull-right sp-text-center" style="width:35%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;" title="{{item.CNAME}} {{item.CDATE.slice(5,16)}}">{{item.CNAME}}<br />{{item.CDATE.slice(5,16)}}</div>
- </div>
- <div class="sp-page-col" style="width:10%;min-width:15px" ng-if="ctl.dotype!=0">
- <div class="cjdel sp-text-center">
- <span style="width:15px;height:19px;display:inline-block;cursor: pointer;" ng-click="ctl.deleteCJ(item);$event.stopPropagation();">
- <img src="../../flowchart_app_imgcss/img/attachlist/delete.png" title="删除" />
- </span>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-page sp-mt-15" style="padding:15px;background-color: #E9F5FC">
- <div class="sp-page">
- <span style="line-height:30px">
- <img src="../../flowchart_app_imgcss/img/attachlist/gt.png" style="margin-top:-3px" /> 共享沟通
- </span>
- <span class="upload" style="cursor: pointer" ng-if="ctl.routeinfoid!=0&&ctl.dotype!=0" ng-click="ctl.Meeting()">
- <img src="../../flowchart_app_imgcss/img/attachlist/meeting.png" />
- </span>
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page meeting" style="overflow-y: auto">
- <div class="sp-box" style="color: #3074C0" ng-repeat="item in ctl.meetList">
- <div class="sp-page">
- <div class="sp-page" style="width:70%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis" title="{{item.CNAME}}:({{item.CSTATE}})">
- {{item.CNAME}}:({{item.CSTATE}})
- </div>
- <div class="sp-page" style="width:30%;padding-right:5px" ng-if="ctl.dotype!=0">
- <img class="sp-pull-right" title="删除" style="cursor: pointer" src="../../flowchart_app_imgcss/img/attachlist/delete.png" ng-click="ctl.deleteMeet(item);$event.stopPropagation();" />
- <img class="sp-pull-right sp-mr-10" title="编辑" style="cursor: pointer;width:15px" src="../../flowchart_app_imgcss/img/attachlist/edit.png" ng-click="ctl.updateCname(item);$event.stopPropagation();" />
- </div>
- </div>
- <div class="sp-page">
- <div class="watchItem" style="background-color: #FAFDFF;padding:5px" ng-repeat="item1 in item.FILES">
- {{item1.WATCHLIMIT}}
- <img class="sp-pull-right" title="删除" ng-if="ctl.dotype!=0" style="cursor: pointer" src="../../flowchart_app_imgcss/img/attachlist/delete.png" ng-click="ctl.deleteMFile(item1);$event.stopPropagation();" />
- <img class="sp-pull-right sp-mr-10" title="编辑" ng-if="ctl.dotype!=0" style="cursor: pointer;width:15px" src="../../flowchart_app_imgcss/img/attachlist/edit.png" ng-click="ctl.updateWatchlimit(item1);$event.stopPropagation();" />
- <img class="sp-pull-right sp-mr-10" title="播放" style="cursor: pointer" src="../../flowchart_app_imgcss/img/attachlist/play.png" ng-click="ctl.playItem(item1);$event.stopPropagation();" />
- </div>
- </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 class="sp-layer" id="addCJ" style="width:600px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 业务插件
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-box">
- <div class="sp-col-15" style="line-height:30px;">
- 插件来源
- </div>
- <div class="sp-col-35">
- <select class="sp-select sp-bg-white" ng-model="ctl.search.KINDS" ng-change="ctl.getCJlist(1)">
- <option value="">全部</option>
- <option ng-repeat="item in ctl.KINDS" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </div>
- <div class="sp-col-15" style="line-height:30px;">
- 插件类型
- </div>
- <div class="sp-col-35">
- <select class="sp-select sp-bg-white" ng-model="ctl.search.DTYPE" ng-change="ctl.getCJlist(1)">
- <option value="">全部</option>
- <option ng-repeat="item in ctl.DTYPE" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </div>
- <div class="sp-page" style="max-height:400px;overflow-y:auto">
- <div class="sp-box" style="cursor:pointer;border:1px solid #c6c6c6" ng-class="{'active':ctl.addSC.ID==item.ID}" ng-repeat="item in ctl.CJlist" ng-click="ctl.addSC=item">
- <div class="sp-col-50 sp-text-center">
- <img ng-src="{{item.IMAGESMALL}}" width="100%" />
- </div>
- <div class="sp-col-50">
- <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/mc.png" />名称:{{item.CNAME}}</div>
- <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/jt.png" />接入地址:{{item.URL}}</div>
- <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/fwgl.png" />访问权限:{{item.AUTHMAN1}}</div>
- <div class="sp-page"><img style="margin-top:-3px;margin-right:5px" src="../../flowchart_app_imgcss/img/attachlist/bz.png" />备注说明:{{item.REMARK}}</div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.AddSC()"><i class="fa fa-check sp-mr-5"> </i>确 认</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="layer_fav" style="width: 760px;">
- <div class="sp-layer-head">
- <div class="sp-layer-title">
- 加入收藏
- </div>
- <div class="sp-layer-close" title="关闭" ng-click="ctl.closeImgLayer()">
- ×
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="fav-box">
- <div class="input-box">
- <div style="width: 80px;margin-left: 10px;">收藏说明:</div>
- <div style="width: 640px">
- <input class="sp-input" type="text" ng-model="ctl.SCobj.cname">
- </div>
- </div>
- <div class="img-box">
- <div class="img-box-right">
- <div class="img-content">
- <div ng-show="ctl.nowImgUrl== ''" class="img-tips ng-hide">右侧文件上传或CTRL+V复制</div>
- <img id="image" src="" alt="">
- </div>
- <div class="img-action">
- <div class="img-btn">
- <input id="imgUpload" onchange="imgChange(event)" type="file" accept=".gif,.jpg,.jpeg,.png">
- <div class="file-btn file-open" title="上传图片"></div>
- </div>
- <div class="img-btn">
- <div class="file-btn file-reset" ng-click="ctl.reset()" title="重置"></div>
- </div>
- <div class="img-btn">
- <div class="file-btn file-delete" ng-click="ctl.clear()" title="清空"></div>
- </div>
- <div class="img-btn">
- <div class="file-btn file-out" ng-click="ctl.zoomOut()" title="放大"></div>
- </div>
- <div class="img-btn">
- <div class="file-btn file-in" ng-click="ctl.zoomIn()" title="缩小"></div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-line-txt sp-text-center sp-pt-10">
- <button ng-disabled="ctl.nowImgUrl== ''" class="sp-btn-blue sp-sm sp-radius"
- ng-click="ctl.saveData()">
- <i class="fa fa-save"></i> 保 存
- </button>
- <a class="sp-btn-blue sp-sm sp-radius" ng-click="ctl.closeImgLayer()">
- <i class="fa fa-reply-all"></i> 取
- 消
- </a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="meet" style="width:700px">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- 选择人员
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-page" style="line-height: 30px">
- <div id="content">
- <div class="sp-line-gray"></div>
- <div class="sp-page-row">
- <table class="sp-grid">
- <tbody>
- <tr>
- <td width="300">
- <div style="height:30px">
- <input type="text" class="sp-input" ng-model="ctl.searchName" placeholder="请输入部门关键字" ng-change="ctl.searchPerson()" />
- </div>
- <div style="height: 200px; border: 1px solid #ddd; overflow-x: hidden; overflow-y: scroll; ">
- <div ng-repeat="item in ctl.dpList1" class="sp-page">
- <div class="sp-pl-15 sp-pt-10 sp-pb-5 sp-page" style="cursor: pointer" ng-class="{'sp-btn-blue':ctl.activeDep==$index}" ng-click="ctl.userList=item.USER;ctl.activeDep=$index">
- <label ng-bind="item.DEP"></label>
- </div>
- </div>
- </div>
- <div style="height: 200px;margin-top:14px; border:1px solid #ddd;overflow-x: hidden; overflow-y: scroll; ">
- <div ng-repeat="item in ctl.userList" class="sp-page sp-pt-5" ng-if="item.show">
- <div class="sp-pl-15 sp-pt-10 sp-page">
- <label style="cursor: pointer">
- <input type="checkbox" ng-model="item.checked" />
- {{item.USHOWNAME}}
- </label>
- </div>
- </div>
- </div>
- </td>
- <td style="text-align:center">
- <button class="sp-btn-gray-outline" ng-click="ctl.addmeet()">
- <i class="fa fa-long-arrow-right"></i>
- </button>
- <br />
- <button class="sp-btn-gray-outline" ng-disabled="ctl.meetUser.length==0" ng-click="ctl.delmeet()">
- <i class="fa fa-long-arrow-left"></i>
- </button>
- </td>
- <td width="300">
- <div class="sp-page sp-mb-5 pointer" style="border:1px solid #c6c6c6;height:444px">
- <label class="col-xs-4" ng-repeat="item in ctl.meetUser">
- <input type="checkbox" ng-model="item.checked" /> <span ng-bind="item.USHOWNAME"></span>
- </label>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- <div class="sp-page sp-text-center sp-mt-15">
- <button class="sp-btn-blue sp-radius" ng-click="ctl.joinMeet()">
- <i class="fa fa-check sp-mr-5"> </i>确 认
- </button>
- <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="meetUpdate" style="width:700px">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- {{ctl.meeting.updateTitle}}
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-col-15">
- <span ng-if="ctl.meeting.type==1">会议标题</span>
- <span ng-if="ctl.meeting.type==2">查看时限</span>
- </div>
- <div class="sp-col-85">
- <input type="text" class="sp-input" ng-model="ctl.meeting.cname" ng-if="ctl.meeting.type==1" />
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.meeting.watchlimit" ng-if="ctl.meeting.type==2" />
- </div>
- <div class="sp-page sp-text-center sp-mt-15">
- <button class="sp-btn-blue sp-radius" ng-click="ctl.meetUpdate()">
- <i class="fa fa-check sp-mr-5"> </i>确 认
- </button>
- <button class="sp-btn-blue sp-radius" onclick="sp.closeCenter('.sp-layer')"><i class="fa fa-reply-all sp-mr-5"> </i>关 闭</button>
- </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/attachlist.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>
|