123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <!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>
- #table thead tr th {
- font-size: 20px;
- font-weight: 600;
- background: #e0e0e0;
- }
- </style>
- </head>
- <body>
- <div ng-controller="taizhangCtrl 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">
- <div class="sp-page-tab">
- <span ng-class="{'pageTabActive':ctl.type1st==1}" style="font-weight: 900;width:150px " ng-click="ctl.type1st=1;ctl.getData1(1)">行政规范性文件台账{{ctl.pageno1}}</span>
- <span ng-class="{'pageTabActive':ctl.type1st==2}" style="font-weight: 900; " ng-click="ctl.type1st=2;ctl.getData2(1)">文件清理{{ctl.pageno2}}</span>
- <div class="sp-pull-right">
- <!--<a class="sp-pull-right sp-btn-gray sp-btn-radius" href="list.html">
- <i class="fa fa-reply sp-mr-5"></i>返 回
- </a>-->
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-if="ctl.type1st==1" ng-click="ctl.printOut()">
- <i class="fa fa-sign-out sp-mr-5"></i>导 出
- </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&&ctl.type1st==2" ng-click="ctl.addLC()">
- <i class="fa fa-plus sp-mr-5"></i>新 建
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openLayer()">
- <i class="fa fa-search sp-mr-5"></i>筛 选
- </a>
- </div>
- </div>
- </div>
- <div class="sp-page">
- <div class="sp-page-tab" ng-if="ctl.type1st==2">
- <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>
- <table class="sp-grid-import sp-mt-10" id="table">
- <thead>
- <tr ng-if="ctl.type1st==1">
- <th>文号</th>
- <th>文件名称</th>
- <th>文件施行日期</th>
- <th>文件到期日期</th>
- <!--<th>临期天数</th>-->
- <th>责任处室</th>
- </tr>
- <tr ng-if="ctl.type1st==2">
- <th style="width: 50px;">
- <img src="../../flowchart_app_imgcss/img/deng.png" title="控制灯" />
- </th>
- <th style="width: 200px;">流程名称</th>
- <th>编号</th>
- <th>标题</th>
- <th>类型</th>
- <th>发布部门</th>
- <th>发布人</th>
- <th>当前节点</th>
- <th>接收时间</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" ng-style="item.LQTS" repeat-finish>
- <td ng-if="ctl.type1st==1" ng-bind="item.WH"></td>
- <td ng-if="ctl.type1st==1"><a ng-bind="item.WJBT" ng-click="ctl.goUrl(item)"></a></td>
- <td ng-if="ctl.type1st==1" ng-bind="item.WJSXRQ"></td>
- <td ng-if="ctl.type1st==1" ng-bind="item.WJDQRQ"></td>
- <td ng-if="ctl.type1st==1" ng-bind="item.ZRCS"></td>
-
- <td ng-if="ctl.type1st==2">
- <img src="../../flowchart_app_imgcss/img/purple.png" ng-if="item.DENG=='BLACK'" />
- <img src="../../flowchart_app_imgcss/img/red.png" ng-if="item.DENG=='RED'" />
- <img src="../../flowchart_app_imgcss/img/yellow.png" ng-if="item.DENG=='YELLOW'" />
- <img src="../../flowchart_app_imgcss/img/green.png" ng-if="item.DENG=='GREEN'" />
- </td>
- <td ng-if="ctl.type1st==2" ng-bind="item.FLOWNAME"></td>
- <td ng-if="ctl.type1st==2" ng-bind="item.APPCODE"></td>
- <td ng-if="ctl.type1st==2">
- <a ng-click="ctl.goUrl1(item)" title="{{item.TITLE}}"
- ng-bind="item.TITLE" class="sp-color-blue"></a>
- <span class="sp-color-red" ng-if="item.STATUS==1">未读</span>
- </td>
- <td ng-if="ctl.type1st==2" ng-bind="item.LX"></td>
- <td ng-if="ctl.type1st==2" ng-bind="item.FBBM"></td>
- <td ng-if="ctl.type1st==2" ng-bind="item[item.CODETABLE+'.FBR']"></td>
- <td ng-if="ctl.type1st==2" ng-bind="item.ENDNODENAME"></td>
- <td ng-if="ctl.type1st==2" ng-bind="item.RECEIVEDATE"></td>
- <td ng-if="ctl.type1st==2" class="sp-text-center">
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl1(item)" ng-if="ctl.type=='todo'">办 理</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.goUrl1(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-red sp-btn-sm sp-radius" ng-click="ctl.btnRecall(item.USERS[0].ROUTEID)" ng-if="(item.USERS[0].STATUS=='1'||item.USERS[0].STATUS=='2')&&ctl.type=='done'">撤 回</button>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.list.length == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- <div class="sp-page" ng-show="ctl.list.length != 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); $event.stopPropagation()">
- </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-class="{'activeLC':ctl.activeLC.FLOWID==item.FLOWID}" ng-click="ctl.activeLC=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" ng-if="ctl.type1st==1">
- <tbody>
- <tr>
- <td style="width:120px;">文件名称</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.WJBT" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">文号</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.WH" />
- </td>
- </tr>
- </tbody>
- </table>
- <table class="sp-grid-job" ng-if="ctl.type1st==2">
- <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.BT" />
- </td>
- </tr>
- <tr>
- <td style="width:120px;">人员名称</td>
- <td colspan="2">
- <input type="text" class="sp-input" placeholder="请输入人员名称" ng-model="ctl.search.USER" />
- </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>
- <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>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/taizhang.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>
- <!-- 导出excel -->
- <script src="../../gongzi/js/vendor/jquery.jqprint-0.3.js"></script>
- <script src="../../gongzi/js/vendor/shim.min.js"></script>
- <script src="../../gongzi/js/vendor/jszip.js"></script>
- <script src="../../gongzi/js/vendor/xlsx.full.js"></script>
- <script src="../../gongzi/js/vendor/Blob.js"></script>
- <script src="../../gongzi/js/vendor/FileSaver.js"></script>
- </body>
- </html>
|