123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234 |
- <!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>
- .line {
- width: 98%;
- float: left;
- cursor: pointer;
- padding: 10px;
- border-bottom: 1px solid #fff;
- }
- .activeItem{
- background:#2176d6;
- color:#fff
- }
- .disabledItem {
- background: #e7eaec;
- }
- </style>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" 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-page">
- <div class="sp-pull-right">
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" href="index.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.userDpCode!=''" ng-click="ctl.openAddLayer(0)">
- <i class="fa fa-plus sp-mr-5"></i>添 加
- </a>
- <a class="sp-pull-right sp-btn-gray sp-btn-radius" ng-click="ctl.openSearchLayer()">
- <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 width="100">序号</th>
- <th>类别</th>
- <th>名称</th>
- <th>状态</th>
- <th width="180">操 作</th>
- </tr>
- </thead>
- <tbody>
- <tr dir-paginate="item in ctl.list|itemsPerPage:ctl.itemsPerPage" total-items="ctl.total_count">
- <td ng-bind="(ctl.pageno-1)*ctl.itemsPerPage+($index+1)"></td>
- <td ng-bind="item.DOCUMENTTYPE1"></td>
- <td ng-bind="item.FLOWNAME"></td>
- <td ng-bind="item.STATUS1"></td>
- <td class="sp-text-center">
- <button class="sp-btn-gray sp-btn-sm sp-radius" ng-if="item.COUNTS==0" ng-click="ctl.setWENHAO(item)">设置文号</button>
- <button class="sp-btn-blue sp-btn-sm sp-radius" ng-if="item.STATUS1=='禁用'&&item.COUNTS==1" ng-click="ctl.upDataStatus(item,1)">启 用</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-if="item.STATUS1=='启用'&&item.COUNTS==1" ng-click="ctl.upDataStatus(item,2)">禁 用</button>
- <button class="sp-btn-red sp-btn-sm sp-radius" ng-if="item.STATUS1=='禁用'" ng-click="ctl.btnDel(item)">删 除</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,ctl.type)">
- </dir-pagination-controls>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="search" 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">
- <div class="sp-box">
- <table class="sp-table">
- <tr>
- <td style="width:100px">类别</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.DOCUMENTTYPE" />
- </td>
- </tr>
- <tr>
- <td style="width:100px">名称</td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.search.FLOWNAME" />
- </td>
- </tr>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.btnSearch()"><i class="fa fa-check sp-mr-5"></i>确 认</a>
- <a class="sp-btn-blue sp-radius" ng-click="ctl.closeSeach()"><i class="fa fa-reply-all sp-mr-5"></i>重 置</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="Add" style="width: 900px;">
- <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">
- <table class="sp-grid" style="border:1px solid #c3c3c3">
- <tbody>
- <tr>
- <td width="400">
- <center class="sp-box sp-fs-22">数据<span ng-click="ctl.clickInit()">源</span></center>
- <div class="sp-page" style="padding:5px;border:1px solid #c6c6c6;">
- <div class="sp-page" style="height: 414px;overflow-y:auto">
- <div class="line" ng-class="{'activeItem':item.checked}" ng-click="item.checked=!item.checked" ng-repeat="item in ctl.flowList" ng-if="item.show" ng-bind="item.FLOWNAME"></div>
- </div>
- </div>
- </td>
- <td style="text-align:center">
- <button class="sp-btn-gray-outline" ng-disabled="!ctl.addFlag" ng-click="ctl.addflowAll()">
- <i class="fa fa-2x fa-angle-double-right"></i>
- </button>
- <br />
- <button class="sp-btn-gray-outline" ng-disabled="!ctl.addFlag" ng-click="ctl.addflow()">
- <i class="fa fa-2x fa-angle-right"></i>
- </button>
- <br />
- <button class="sp-btn-gray-outline" ng-disabled="ctl.list1.length==0" ng-click="ctl.delflow()">
- <i class="fa fa-2x fa-angle-left"></i>
- </button>
- <br />
- <button class="sp-btn-gray-outline" ng-disabled="ctl.list1.length==0" ng-click="ctl.delflowAll()">
- <i class="fa fa-2x fa-angle-double-left"></i>
- </button>
- </td>
- <td width="400">
- <center class="sp-box sp-fs-22">已添加</center>
- <div class="sp-page" style="padding:5px;border:1px solid #c6c6c6;">
- <div class="sp-page" style="height: 414px;overflow-y:auto">
- <div class="line" ng-class="{'activeItem':item.checked,'disabledItem':item.STATUS=='启用'}" ng-click="ctl.checkItem(item)" ng-repeat="item in ctl.list1">{{item.FLOWNAME}}
- <i class="fa fa-star" style="color:red;float:right;margin:3px;" ng-if="item.STATUS=='启用'"></i></div>
- </div>
- </div>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-mt-15">
- <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSubmit()" ng-disabled="ctl.list1.length==0">
- <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="setWH" 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">
- <div class="sp-box">
- <table class="sp-table">
- <tr>
- <td style="width:100px">设为文号</td>
- <td>
- <select class="sp-select" ng-model="ctl.setObjWH.TABLECOLUMN">
- <option ng-repeat="item in ctl.thead" value="{{item.code" ng-bind="item.cname"></option>
- </select>
- </td>
- </tr>
- </table>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <button class="sp-btn-blue sp-radius" ng-click="ctl.btnSetWH()"><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/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/list-set.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>
|