123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296 |
- <!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/js/jquery/jquery-ui.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/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- .sp-table tbody td {
- border: none;
- }
- </style>
- </head>
- <body>
- <div ng-controller="formeditCtrl as ctl" id="app" ng-cloak>
- <div class="wrapper wrapper-content">
- <div class="row">
- <div class="sp-page-col" style="position: absolute; right: 50px; top: 15px;" ng-if="ctl.lastReturn=='list'">
- <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSave()" style="font-size: 13px;" ng-show="ctl.show==1">
- 保存
- </button>
- <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSaveFiles()" style="font-size: 13px;" ng-show="ctl.show==2">
- 保存
- </button>
- <!--<button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goNext()" style="font-size: 13px;" ng-show="ctl.show==3">
- 确定
- </button>-->
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.show==2" ng-click="ctl.show=1">
- 上一步
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.show==3" ng-click="ctl.show=2">
- 上一步
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.data.ID!=0&&ctl.show==1" ng-click="ctl.show=2">
- 下一步
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-show="ctl.data.ID!=0&&ctl.show==2" ng-click="ctl.MergeByFile()">
- 合并文件
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-radius" ng-click="ctl.goBack()">
- 返回
- </button>
- </div>
- <div class="sp-page-center" ng-show="ctl.show==1">
- <center class="sp-page" style="position:relative">
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%; ">1</span>
- <span style="margin-left: 10px; color: #1c84c6;">归档信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px;margin-bottom: 10px;display: inline-block;width: 34px;height: 34px;line-height: 34px;text-align: center;border: 1px solid gray;border-radius: 50%;">2</span>
- <span style="margin-left: 10px;">归档目录</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px;margin-bottom: 10px;display: inline-block;width: 34px;height: 34px;line-height: 34px;text-align: center;border: 1px solid gray;border-radius: 50%;">3</span>
- <span style="margin-left: 10px;">查看文件</span>
- </center>
- <div style="height:654px">
- <table class="sp-table formedit" style="border:none">
- <tr>
- <td width="150">全 宗</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.FONDS_CODE" readonly />
- </td>
- <td>分类号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.SERIES_CODE" readonly />
- </td>
- </tr>
- <tr>
- <td>文 号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.FILE_CODE" readonly />
- </td>
- <td>文件日期</td>
- <td>
- <input type="text" class="sp-input laydate-logp" sp-laydate ng-model="ctl.data.DATE_OF_CREATION" />
- </td>
- </tr>
- <tr>
- <td>题 名</td>
- <td colspan="3">
- <input type="text" class="sp-input" ng-model="ctl.data.TITLE_PROPER" sp-required />
- </td>
- </tr>
- <!--<tr>
- <td>OA接收ID</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.OA_ID" sp-required />
- </td>
- </tr>-->
- <tr>
- <td>档案号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.OFFICE_ARCHIVAL_CODE" sp-required />
- </td>
- <td>件 号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ITEM_NO" />
- </td>
- </tr>
- <tr>
- <td>责任者</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.AUTHOR" />
- </td>
- </tr>
- <tr>
- <td>电子全文数</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ITEM_COUNT" />
- </td>
- <td>页 数</td>
- <td>
- <input type="number" class="sp-input" ng-model="ctl.data.AMOUNT_OF_PAGES" />
- </td>
- </tr>
- <tr>
- <td>年 度</td>
- <td>
- <input type="text" class="sp-input laydate-logp" sp-laydate laytype="year" ng-model="ctl.data.YEAR_CODE" sp-required />
- </td>
- <td>保管期限</td>
- <td>
- <select class="sp-select" ng-model="ctl.data.RETENTION_PERIOD" sp-required>
- <option value="D10">10年</option>
- <option value="D30">30年</option>
- <option value="Y">永久</option>
- </select>
- </td>
- </tr>
- <tr>
- <td>归档部门</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.FILING_DEPT" sp-required />
- </td>
- <td>最终档案文件</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.FILENAME" />
- </td>
- </tr>
- <!--<tr>
- <td>归档章顶边距</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ZHANGTOP" />
- </td>
- </tr>-->
- <!--<tr>
- <td>归档章左边距 </td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.data.ZHANGLEFT" />
- </td>
- </tr>-->
- </table>
- </div>
- <center ng-if="!ctl.lastReturn">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnSave()" style="font-size: 13px;">
- 保存
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
- 关闭
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-if="ctl.data.ID!=0" ng-click="ctl.show=2">
- 下一步
- </button>
- </center>
- </div>
- <div class="sp-page" ng-show="ctl.show==2">
- <center class="sp-page">
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%; ">1</span>
- <span style="margin-left: 10px;">归档信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%;">2</span>
- <span style="margin-left: 10px; color: #1c84c6;">归档目录</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%;">3</span>
- <span style="margin-left: 10px;">查看文件</span>
- </center>
- <div style="width: 100%;height: 300px;overflow:auto">
- <table class="sp-table">
- <thead>
- <tr>
- <th width="100">序号</th>
- <th>文件名</th>
- <th width="150">日期</th>
- <th width="200">
- 操作
- <span style="display:inline-block;top:0" class="upload sp-pull-right sp-ml-5">
- <span class="upload-tip"></span>
- <input id="fileupload" class="upload-file-single" ng-click="ctl.upload();$event.stopPropagation();" type="file" name="files[]" multiple>
- <i class="fa fa-plus sp-fs-14 sp-mr-10"></i>
- <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </th>
- </tr>
- </thead>
- <tbody id="table_tbody">
- <tr ng-repeat="item in ctl.guidangList" index="{{$index+1}}" data-col="{{item.ID}}">
- <td ng-bind="$index+1"></td>
- <td ng-bind="item.FILENAMES" style="cursor:pointer" ng-click="ctl.seeFiles(item,2)"></td>
- <td ng-bind="item.FILEDATE"></td>
- <td>
- <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.guidangList.length>1" ng-disabled="$index==0" ng-click="ctl.sortUp($index)">上移</button>
- <button class="sp-btn-blue sp-btn-sm" ng-if="ctl.guidangList.length>1" ng-disabled="$index==ctl.guidangList.length-1" ng-click="ctl.sortDown($index)">下移</button>
- <button class="sp-btn-red sp-btn-sm" ng-click="ctl.delFile(item)">移除</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div style="width: 100%;height: 300px;overflow:auto">
- <table class="sp-table">
- <thead>
- <tr>
- <th width="100">序号</th>
- <th>文件名</th>
- <th width="150">日期</th>
- <th width="200">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.fileList" ng-if="item.show">
- <td ng-bind="$index+1"></td>
- <td ng-bind="item.WENJIANMING" style="cursor:pointer" ng-click="ctl.seeFiles(item,3)"></td>
- <td ng-bind="item.RIQI"></td>
- <td>
- <span class="sp-btn-blue sp-btn-sm" ng-click="ctl.addFile(item)">添加</span>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <center ng-if="!ctl.lastReturn">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.btnSaveFiles()" style="font-size: 13px;">
- 保存
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-show="ctl.data.ID!=0" ng-click="ctl.MergeByFile()">
- 合并文件
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
- 关闭
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.show=1">
- 上一步
- </button>
- </center>
- </div>
- <div class="sp-page" ng-show="ctl.show==3">
- <center class="sp-page">
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%; ">1</span>
- <span style="margin-left: 10px;">归档信息</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; border: 1px solid gray; border-radius: 50%;">2</span>
- <span style="margin-left: 10px;">归档目录</span><i class="fa fa-arrow-right sp-ml-15 sp-mr-10"></i>
- <span style="margin-top: 10px; margin-bottom: 10px; display: inline-block; width: 34px; height: 34px; line-height: 34px; text-align: center; color: #1c84c6; border: 1px solid #1c84c6; border-radius: 50%;">3</span>
- <span style="margin-left: 10px; color: #1c84c6;">查看文件</span>
- </center>
- <div style="width: 100%;height: 620px;">
- <iframe src="" frameborder="0" style="width:100%;height:100%" id="filesId"></iframe>
- </div>
- <center ng-if="!ctl.lastReturn">
- <!--<button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goNext()" style="font-size: 13px;">
- 确定
- </button>-->
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" onclick="window.parent.sp.closeCenter('.sp-layer')">
- 关闭
- </button>
- <button style="margin-left: 20px;font-size: 13px;" class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.show=2">
- 上一步
- </button>
- </center>
- </div>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.4.min.js"></script>
- <script src="../../AFrontEnd/js/jquery/jquery-ui-1.10.4.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/yuguidang.js?time=' + new Date().getTime() + '" type="text/javascript"></s' + 'cript>')</script>
- <!--<script src="../../js/watermark.js"></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>
|