123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238 |
- <!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='css/list.css?time=" + new Date().getTime() + "' rel='stylesheet'>");</script>
- </head>
- <body>
- <div ng-controller="listCtrl as ctl" ng-cloak>
- <div class="sp-wrapper-left" style="width: 20%; top: 0; background: #F7F7F7; border-left: 1px #F7F7F7 solid; border-right: 1px #F7F7F7 solid; overflow:auto">
- <div class="sp-menu" id="spWrapperLeftBar">
- <div class="sp-menu-row">
- <ul id="spWrapperLeftBarUl" class="sp-menu">
- <li class="sp-menu-first" ng-repeat="item in ctl.leftTree">
- <span class="sp-menu-ltitle" title="{{item.CNAME}}" ng-bind="item.CNAME" ng-click="ctl.checkNode(item)"></span>
- <ul>
- <li class="sp-menu-second" ng-show="item.show" ng-repeat="item1 in item.CHILDREN">
- <span class="sp-menu-ltitle" title="{{item1.CNAME}}" ng-bind="item1.CNAME" ng-click="ctl.checkNode(item1)"></span>
- <ul>
- <li class="sp-menu-third" ng-show="item1.show" ng-repeat="item2 in item1.CHILDREN">
- <span class="sp-menu-ltitle" ng-bind="item2.CNAME" title="{{item2.CNAME}}" ng-click="ctl.getFiles(item2)"></span>
- </li>
- </ul>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </div>
- </div>
- <div class="sp-wrapper-right" style="left: 21%; top: 0; right: 1%; overflow: auto">
- <div class="sp-page" ng-if="ctl.activeNode.TYPE!=0">
- <div class="sp-box">
- <span class="sp-pull-right sp-btn-blue sp-btn-sm sp-radius upload" style="top:0" ng-click="ctl.upload1()">
- <input type="button" class="upload-btn-single" value="上传">
- <input id="fileupload_1" class="upload-file-single" type="file" name="files[]" multiple>
- <i class="fa fa-plus"></i>
- </span>
- </div>
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th>标题</th>
- <th width="200">操作</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.filesList">
- <td ng-bind="item.FILENAMES"></td>
- <td>
- <button class="sp-btn-blue sp-radius" ng-click="ctl.download(item)">下载</button>
- <button class="sp-btn-red sp-radius" ng-click="ctl.deleteFile1(item)">删除</button>
- </td>
- </tr>
- </tbody>
- </table>
- <div class="sp-table-tip ng-hide" ng-show="ctl.filesList.length == 0">
- <i class="fa fa-exclamation-circle sp-mr-10"></i>您好,暂未查询到相关信息!
- </div>
- </div>
- <div class="sp-page" ng-if="ctl.activeNode.TYPE==0">
- <div class="sp-box">
- <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>
- </div>
- <center class="sp-box">
- {{ctl.type==1?"委机关各党支部":"直属单位"}}落实全面从严治党主体责任情况
- </center>
- <div class="sp-page-col">
- {{ctl.type==1?"机关党支部名称":"单位名称"}}:{{ctl.userDpName}}
- </div>
- <table class="sp-table sp-mt-10">
- <thead>
- <tr>
- <th width="500">项目名称</th>
- <th>完成情况</th>
- <th width="200">完成时限</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.list">
- <td><span style="cursor:pointer" ng-click="ctl.Detail(item,0)" ng-bind="item.XMMC"></span></td>
- <td>
- <div class="sp-page" ng-repeat="item1 in item.data[0].CHILD">
- <div class="sp-line-gray" ng-if="$index!=0"></div>
- <div class="sp-col-33 sp-text-left">{{$index+1}}{{item1.WCQK}}</div>
- <div class="sp-col-33">{{item1.SJWCSJ.slice(0,10)}}</div>
- <div class="sp-col-33">
- <div class="sp-col-50" ng-repeat="item2 in item1.ATTACHLIST" title="{{item2.FILENAMES}}" style="color:blue;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap" ng-click="ctl.download(item2)">
- <i class="fa fa-download sp-ml-10"></i>{{item2.FILENAMES}}
- </div>
- </div>
- </div>
- </td>
- <td ng-bind="item.WCSX"></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 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="Detail" style="width:1000px">
- <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-box">项目名称:{{ctl.detail.XMMC}}</div>
- <table class="sp-table">
- <thead>
- <tr>
- <th width="50">序号</th>
- <th>完成情况</th>
- <th width="180">实际工作完成时间</th>
- <th>附件</th>
- <th width="180">操作<span class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.addItem()"><i class="fa fa-plus"></i></span></th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="item in ctl.rwList">
- <td ng-bind="item.BH"></td>
- <td>
- <span ng-bind="item.WCQK" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input" ng-model="ctl.edit.WCQK" ng-if="item.editFlag==true" />
- </td>
- <td>
- <span ng-bind="item.SJWCSJ" ng-if="item.editFlag==false"></span>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.edit.SJWCSJ" ng-if="item.editFlag==true" />
- </td>
- <td>
- <div class="sp-page" ng-repeat="item1 in item.ATTACHLIST">
- <div class="sp-page-col" style="width:calc(100% - 150px)" ng-bind="item1.FILENAMES"></div>
- <div class="sp-page-col" style="width:150px">
- <span class="sp-btn-blue sp-btn-sm sp-radius" ng-click="ctl.download(item1)" ng-if="item.editFlag==false">下载</span>
- <span class="sp-btn-red sp-btn-sm sp-radius" ng-click="ctl.deleteFile(item1)" ng-if="item.editFlag==false">删除</span>
- </div>
- </div>
- <center class="sp-page">
- <span style="display: inline-block; top: 0; background: #1c84c6; color: #fff; padding: 2px 5px; border-radius: 5px;float:none" class="upload">
- <span class="upload-tip"></span>
- <input id="fileupload{{$index}}" class="upload-file-single" ng-click="ctl.upload(item,$index);$event.stopPropagation();" type="file" name="files[]" multiple>
- 上传附件
- <span class="upload-loading" ng-if="ctl.uploading"><i class="fa fa-spinner fa-pulse sp-fs-20"></i></span>
- </span>
- </center>
- </td>
- <td>
- <button class="sp-btn-blue sp-btn-radius sp-btn-sm" ng-disabled="ctl.editFlag==true" ng-if="item.editFlag==false" 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" 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>
- </td>
- </tr>
- <tr ng-if="ctl.addFlag==true">
- <td ng-bind="item.BH"></td>
- <td>
- <input type="text" class="sp-input" ng-model="ctl.add.WCQK" />
- </td>
- <td>
- <input type="text" class="sp-input laydate-logo" sp-laydate ng-model="ctl.add.SJWCSJ" />
- </td>
- <td>
- </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>
- </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.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>
|