123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228 |
- <!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>
- <script>document.write("<link href='../flowchart_app_imgcss/css/formedit.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- </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-box">
- 从严治党项目管理
- <div class="sp-pull-right">
- <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" ng-click="ctl.openLayer()">
- <i class="fa fa-search sp-mr-5"></i>查 询
- </a>
- <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" ng-click="ctl.addItem()">
- <i class="fa fa-plus sp-mr-5"></i>新 增
- </a>
- <a class="sp-pull-right sp-btn-gray sp-radius sp-btn-sm" onclick="sp.layer('#signIn')">
- <i class="fa fa-sign-in sp-mr-5"></i>导 入
- </a>
- </div>
- </div>
- <div class="sp-page">
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th width="200">单位类型</th>
- <th width="400">机关党支部或直属单位名称</th>
- <th width="400">管理部门</th>
- <th>项目名称</th>
- <th width="300">完成时限</th>
- <th width="250">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list">
- <td>
- <span ng-bind="item.DWLX1" ng-if="item.editFlag==false"></span>
- <select class="sp-select" ng-model="ctl.edit.DWLX" ng-if="item.editFlag==true">
- <option ng-repeat="item in ctl.DWLX" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </td>
- <td>
- <span ng-bind="item.DWMC" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.edit.DWMC" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.GLBM" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.edit.GLBM" readonly ng-click="ctl.openDpList('edit')" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.XMMC" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.edit.XMMC" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.WCSX" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.edit.WCSX" ng-if="item.editFlag==true" />
- </td>
- <td>
- <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false&&ctl.userId==item.CUSERID" ng-click="ctl.editItem(item)">编 辑</button>
- <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false&&ctl.userId==item.CUSERID" ng-click="ctl.deleteItem(item)">删 除</button>
- <button class="sp-btn-green sp-btn-radius sp-btn-sm" ng-if="item.editFlag==true" ng-click="ctl.saveItem(ctl.edit)">保 存</button>
- <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-if="item.editFlag==true" ng-click="item.editFlag=false;ctl.editFlag=false">取 消</button>
- <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-if="$index>0" ng-click="ctl.sortItem($index,-1)">上移</button>
- <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-if="$index<ctl.list.length-1" ng-click="ctl.sortItem($index,1)">下移</button>
- </td>
- </tr>
- <tr ng-if="ctl.addFlag==true">
- <td>
- <select class="sp-select" ng-model="ctl.add.DWLX">
- <option ng-repeat="item in ctl.DWLX" value="{{item.CODE}}" ng-bind="item.CNAME"></option>
- </select>
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.add.DWMC" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.add.GLBM" readonly ng-click="ctl.openDpList('add')" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.add.XMMC" />
- </td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.add.WCSX" />
- </td>
- <td>
- <button class="sp-btn-green sp-btn-radius sp-btn-sm" ng-click="ctl.saveItem(ctl.add)">保 存</button>
- <button class="sp-btn-red sp-btn-radius sp-btn-sm" ng-click="ctl.addFlag=false">取 消</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>
- </div>
- </div>
- </div>
- </div>
- </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>
- <select class="sp-select" style="width:calc(100% - 20px)" ng-model="ctl.searchYear">
- <option ng-repeat="item in ctl.years" value="{{item}}" ng-selected="item==ctl.searchYear">{{item}}</option>
- </select>
- <span style="line-height:30px">年</span>
- </td>
- </tr>
- <tr>
- <td style="width:120px;">机关党支部或直属单位名称</td>
- <td>
- <input type="text" class="sp-input" placeholder="请输入机关党支部或直属单位名称" ng-model="ctl.searchDWMC" />
- </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.initSearch()"><i class="fa fa-refresh sp-mr-5"></i>重 置</a>
- </div>
- </div>
- </div>
- <div class="sp-layer" id="DpList" 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" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <div class="sp-page" style="height:290px;overflow:auto">
- <div class="sp-page">
- <label class="sp-col-25" title="{{item.SECTION}}" ng-repeat="item in ctl.dpList">
- <input type="radio" style="position:relative;top:2px" ng-checked="item.checked" ng-click="ctl.checkDpItem(item)" />
- {{item.SECTION}}
- </label>
- </div>
- </div>
- <div class="sp-page sp-text-center sp-pt-10">
- <a class="sp-btn-blue sp-radius" ng-click="ctl.submitDpList(0)"><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="signIn" style="width:400px">
- <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" ng-class="{'sp-height-400': '{{ctl.deviceType}}' =='pad'}">
- <table class="sp-table">
- <tr>
- <td>
- <select class="sp-select" style="width:calc(100% - 20px)" ng-model="ctl.impYear">
- <option ng-repeat="item in ctl.years" value="{{item}}" ng-selected="item==ctl.impYear">{{item}}</option>
- </select><span style="line-height:30px">年</span>
- </td>
- <td>
- <a class="sp-color-blue" download="从严治党目录导入模板" href="moban.xlsx">模板下载</a>
- </td>
- </tr>
- <tr>
- <td colspan="2">
- <span style="display:inline-block;float:none" class="sp-btn-blue sp-radius upload">
- <span class="upload-tip"></span>
- <input id="fileupload-sign" class="upload-file-single" ng-click="ctl.upload_sign()" type="file" name="files[]" multiple>
- <i class="fa fa-upload sp-mr-5"></i>上 传
- <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </td>
- </tr>
- </table>
- </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>
- <!--附件-->
- <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>
|