123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389 |
- <!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" />
- <script>document.write("<link href='../../AFrontEnd/css/special.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- <style>
- span.sp-color-red {
- position: relative;
- animation: move 0.5s infinite;
- }
- @keyframes move {
- /*开始状态*/
- 0% {
- top: -3px;
- }
- /*过渡状态*/
- 50% {
- top: -5px;
- }
- /*结束状态*/
- 100% {
- top: -3px;
- }
- }
- .lcItem {
- background-color: #fff;
- height: 100px;
- text-align: center;
- padding: 5px 0;
- margin: 10px 0;
- border-radius: 5px;
- border: 1px solid #E1E6EB;
- box-shadow: 0px 2px 5px #E1E6EB;
- position: relative;
- cursor: pointer;
- }
- .cbd {
- float: right;
- position: absolute;
- top: 1px;
- right: 1px;
- }
- .activeLC {
- background: #4678ec;
- }
- </style>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" ng-cloak>
- <div class="loading" ng-if="ctl.loading">
- <div class="loading-msg">
- <h3>数据加载中,请等待</h3>
- <div class="spinner">
- <div class="bounce1"></div>
- <div class="bounce2"></div>
- <div class="bounce3"></div>
- </div>
- </div>
- </div>
- <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-page-tab">
- <span ng-class="{'pageTabActive':ctl.type=='todo'}" style="font-weight: 900; " ng-click="ctl.changeType('todo')"><img src="../flowchart_app_imgcss/img/db-black.png" width="20" ng-if="ctl.type!='todo'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/db-blue.png" width="20" ng-if="ctl.type=='todo'" style="position:relative;left:-10px" /> 待 办</span>
- <span ng-class="{'pageTabActive':ctl.type=='done'}" style="font-weight: 900; " ng-click="ctl.changeType('done')"><img src="../flowchart_app_imgcss/img/yb-black.png" width="20" ng-if="ctl.type!='done'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/yb-blue.png" width="20" ng-if="ctl.type=='done'" style="position:relative;left:-10px" /> 已 办</span>
- <span ng-class="{'pageTabActive':ctl.type=='finish'}" style="font-weight: 900; " ng-click="ctl.changeType('finish')"><img src="../flowchart_app_imgcss/img/gd-black.png" width="20" ng-if="ctl.type!='finish'" style="position:relative;left:-10px" /><img src="../flowchart_app_imgcss/img/gd-blue.png" width="20" ng-if="ctl.type=='finish'" style="position:relative;left:-10px" /> 办 结</span>
- <div class="sp-pull-right">
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.printEXCEL()">
- <i class="fa fa-sign-out sp-mr-5"></i>导出Excel
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.refresh()">
- <i class="fa fa-refresh sp-mr-5"></i>刷 新
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.lcList.length>0" ng-click="ctl.addLC()">
- <i class="fa fa-plus sp-mr-5"></i>新 建
- </a>
- <a class="sp-pull-right sp-btn-gray" ng-click="ctl.openLayer()">
- <i class="fa fa-search sp-mr-5"></i>筛 选
- </a>
- </div>
- </div>
- <div class="sp-page">
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th>
- <div style="width:83px">
- <img src="../flowchart_app_imgcss/img/deng.png" title="控制灯" />
- </div>
- </th>
- <th>序号</th>
- <th><span class="pointer" ng-click="ctl.sortFiled('JJCD')">紧急程度<i class="fa fa-sort"></i></span></th>
- <th><span class="pointer" ng-click="ctl.sortFiled('FLOWNAME')">收文类别<i class="fa fa-sort"></i></span></th>
- <th><span class="pointer" ng-click="ctl.sortFiled('SWBH')">收文编号<i class="fa fa-sort"></i></span></th>
- <th><span class="pointer" ng-click="ctl.sortFiled('TITLE')">标题<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('LWDW')">来文单位<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('LWWH')">来文文号<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('LWRQ')">来文日期<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('DBSX')">督办时限<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('ZBCS')">主办处室<i class="fa fa-sort"></i></span></th>
- <th ng-hide="ctl.deviceType=='pad'"><span class="pointer" ng-click="ctl.sortFiled('RECEIVEDATE')">上一节点转办时间<i class="fa fa-sort"></i></span></th>
- <th class="sp-text-center" style="width: 180px;">操 作</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
- <td style="position:relative">
- <img src="../flowchart_app_imgcss/img/yibanD.png" height="30" style="position: absolute; left: 0; top: 0" ng-if="item.DBLX=='C01'&&item.CODETABLE=='SW_ZJWWJCBD'" />
- <img src="../flowchart_app_imgcss/img/zhongdianD.png" height="30" style="position: absolute; left: 0; top: 0" ng-if="item.DBLX=='C02'" />
- <img src="../flowchart_app_imgcss/img/purple.png" style="position: absolute; left: 35px; top: 10px; " ng-if="item.DENG=='BLACK'" />
- <img src="../flowchart_app_imgcss/img/red.png" style="position: absolute; left: 35px; top: 10px; " ng-if="item.DENG=='RED'" />
- <img src="../flowchart_app_imgcss/img/yellow.png" style="position: absolute; left: 35px; top: 10px; " ng-if="item.DENG=='YELLOW'" />
- <img src="../flowchart_app_imgcss/img/green.png" style="position: absolute; left: 35px; top: 10px; " ng-if="item.DENG=='GREEN'" />
- <img src="../flowchart_app_imgcss/img/yan.png" style="float:right" ng-if="item.DBSX!=''&&ctl.type=='todo'" />
- <i class="fa fa-lock sp-color-blue sp-ml-15" ng-if="item.PASSWORD==1" ng-click="ctl.setPassword(item)"></i>
- <i class="fa fa-unlock sp-color-blue sp-ml-15" ng-if="item.PASSWORD==0" ng-click="ctl.RePassword(item)"></i>
- <!--<span ng-if="item.MARKDELAY!=''" style="width: 22px; height: 22px; border: 1px solid #FF0000; border-radius: 15px; color: #FF0000; cursor: pointer; display: inline-block; font-size: 12px; line-height: 18px">延</span>-->
- <!--<span ng-if="item.MARKSTOP!=''" style="width: 22px; height: 22px; border: 1px solid #FF0000; border-radius: 15px; color: #FF0000; cursor: pointer; display: inline-block; font-size: 12px; line-height: 18px">停</span>-->
- </td>
- <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+$index+1"></td>
- <td ng-class="{'sp-color-red':item.JJCD!='C01'}" ng-bind="item.JJCD1"></td>
- <td ng-bind="item.FLOWNAME"></td>
- <td ng-bind="item.SWBH"></td>
- <td>
- <i class="fa fa-star sp-color-red" ng-if="item.SWBH.indexOf('S')>-1"></i>
- <a ng-click="ctl.goUrl(item)" title="{{item.TITLE}}"
- ng-bind="item.TITLE" class="sp-color-blue"></a>
- <span class="sp-color-red" style="display:inline-block;" ng-if="item.STATUS==1">未读</span>
- </td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.LWDW"></td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.LWWH"></td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.LWRQ"></td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.DBSX"></td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.ZBCS"></td>
- <td ng-hide="ctl.deviceType=='pad'" ng-bind="item.RECEIVEDATE"></td>
- <td class="sp-text-center">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type=='todo'">办 理</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)" ng-if="ctl.type!='todo'">查 看</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnDel(item)" ng-if="item.STATUS=='0'">删 除</button>
- <button class="sp-btn-orange sp-btn-sm sp-radius" ng-click="ctl.btnYS(item)" ng-if="ctl.type!='finish'">延 期</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.USERS[0].ROUTEID,'0')" ng-if="(item.DMANS>0&&item.DMANSHADDONE==0)&&ctl.type=='done'">撤 回</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.ROUTEID,'1')" ng-if="(item.DMANS==0&&item.STATUS=='4')&&ctl.type=='done'">撤回已阅</button>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.noDataTip == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- <div class="sp-page" ng-show="ctl.noDataTip != 0">
- <div class="sp-page-col sp-pull-right">
- <div class="sp-lh-34">
- 每页 <select ng-model="ctl.itemsPerPage" ng-options="x for x in ctl.pageOptions"
- ng-init="ctl.itemsPerPage=ctl.pageOptions[0]"></select> 条
- </div>
- </div>
- <div class="sp-page-col sp-pull-right">
- <dir-pagination-controls max-size="8" direction-links="true" boundary-links="true"
- on-page-change="ctl.getData(newPageNumber)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="addLC" style="width: 1020px;">
- <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="max-height:500px;overflow:auto">
- <div ng-repeat="item in ctl.lcList" class="sp-col-25" ng-click="ctl.goAddUrl(item)">
- <div class="lcItem">
- <div class="sp-page" style="width:30%;padding:5px">
- <img src="../flowchart_app_imgcss/img/addLC.png" width="45" />
- <div class="sp-page sp-mt-10">
- <span class="sp-btn-blue-outline" style="padding:2px 5px;margin:0" ng-click="ctl.seeLCT(item,$event)">流程图</span>
- </div>
- </div>
- <div class="sp-page" style="width:70%">
- <img class="cbd" src="../flowchart_app_imgcss/img/cbd.png" />
- <div class="sp-box" style="width:90%">
- {{item.FLOWNAME}}
- </div>
- <div class="sp-line-gray"></div>
- <div class="sp-page sp-color-gray sp-fs-12" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis" title="{{item.FLOWNAME}}">
- 介绍:{{item.FLOWNAME}}
- </div>
- </div>
- </div>
- </div>
- </div>
- <!--<div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.goAddUrl()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
- </div>-->
- </div>
- </div>
- <div class="sp-layer" id="Search" style="width: 550px;">
- <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">
- <table class="sp-grid-job">
- <tbody>
- <tr>
- <td style="width:120px;">流程名称</td>
- <td colspan="2">
- <label class="sp-col-25 sp-text-left" title="{{item.NAME}}" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer" ng-repeat="item in ctl.flowids">
- <input type="checkbox" ng-model="item.checked" /> {{item.NAME}}
- </label>
- </td>
- </tr>
- <tr>
- <td style="width:120px;">标题</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入标题" ng-model="ctl.search.TITLE" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">紧急程度</td>
- <td colspan="2">
- <label class="sp-col-25 sp-text-left" title="{{item.CNAME}}" style="overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer" ng-repeat="item in ctl.JJQK">
- <input type="checkbox" ng-model="item.checked" /> {{item.CNAME}}
- </label>
- </td>
- </tr>
- <tr>
- <td style="width:120px;">收文编号</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入收文编号" ng-model="ctl.search.SWBH" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">来文单位</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入来文单位" ng-model="ctl.search.LWDW" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">来文文号</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入来文文号" ng-model="ctl.search.LWWH" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">主办处室</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入主办处室" ng-model="ctl.search.ZBCS" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">来文日期</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.LWRQ1" />
- </td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.LWRQ2" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">督办时限</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.DBSX1" />
- </td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.DBSX2" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">时间</td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入开始时间" ng-model="ctl.search.DATE1" />
- </td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate placeholder="请输入结束时间" ng-model="ctl.search.DATE2" />
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.doSearch()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" ng-click="ctl.cancal()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="RePassword" style="width: 450px;">
- <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">
- <input type="password" class="sp-input" placeholder="请输入旧密码" ng-model="ctl.RePasswordObj.oldpassword" ng-if="ctl.RePasswordObj.type==1" />
- <input type="password" class="sp-input" placeholder="请输入新密码" ng-model="ctl.RePasswordObj.newpassword" ng-if="ctl.RePasswordObj.type==1" />
- <input type="password" class="sp-input" placeholder="请再次输入新密码" ng-model="ctl.RePasswordObj.newpassword1" ng-if="ctl.RePasswordObj.type==1" />
- <input type="password" class="sp-input" placeholder="请输入密码" ng-model="ctl.RePasswordObj.password" ng-if="ctl.RePasswordObj.type==2" />
- <center>
- <label class="sp-pr-10"><input type="radio" name="type" ng-model="ctl.RePasswordObj.type" value="1" />重置密码</label>
- <label class="sp-pl-10"><input type="radio" name="type" ng-model="ctl.RePasswordObj.type" value="2" />清除密码</label>
- </center>
- <p ng-bind="ctl.RePasswordObj.warning"></p>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.subRePassword()"><i class="fa fa-check sp-mr-5"></i>确 定</a>
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>取 消</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="todolist" style="width: 750px;">
- <div class="sp-layer-head" style="background:#2176d6">
- <div class="sp-page sp-text-center sp-font16">
- {{ctl.todoTitle}}
- <div class="sp-layer-close" title="关闭" onclick="sp.closeCenter('.sp-layer')">
- ×
- </div>
- </div>
- </div>
- <div class="sp-layer-body">
- <div class="sp-box" style="max-height:500px;overflow:auto">
- <table class="sp-table">
- <thead>
- <tr>
- <th>来自节点</th>
- <th>我的位置</th>
- <th>最近时间</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.todoList">
- <td>{{item.STARTNODENAME}}<br />{{item.USERNAMEFROM}}</td>
- <td ng-bind="item.ENDNODENAME"></td>
- <td ng-bind="item.RECEIVEDATE"></td>
- <td>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl(item)">办 理</button>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-mt-20">
- <a class="sp-btn-blue sp-radius" onclick="sp.layerhide()"><i class="fa fa-close sp-mr-5"></i>关 闭</a>
- </div>
- </div>
- </div>
- </div>
- <script src="../../AFrontEnd/js/jquery/jquery-2.1.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 src="../../js/excelJs.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/list.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>
- </body>
- </html>
|