| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>考核列表</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
- <link href="../css/WorkOrder/Search.css" rel="stylesheet">
- <link href="../css/init.css" rel="stylesheet" />
- <script src="../js/laydate/laydate.js"></script>
- <!--<script src="../My97DatePicker/WdatePicker.js"></script>-->
- <style>
- table td {
- word-break: break-all;
- word-wrap: break-word;
- }
- .ld-service li {
- float: left;
- font-size: 14px;
- color: #000;
- padding: 5px 15px;
- cursor: pointer;
- border-bottom: 1px solid #ccc;
- }
- .cr-click {
- border: 1px solid #ccc;
- background-color: #fff;
- border-bottom: none !important;
- border-bottom-left-radius: 5px;
- border-bottom-right-radius: 5px;
- }
- .Shows {
- display: block !important;
- }
- .complain {
- display: none;
- }
- th {
- padding: 5px;
- text-align: center;
- }
- td {
- padding: 5px;
- }
- .Borders {
- border: 1px solid #d7d7d7;
- }
- .cx {
- display: block;
- }
- </style>
- </head>
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="daoHang clearfix">
- <div class="dhLeft">
- <sapn>
- <i class="syIcon"></i>位置:
- <a href="javaScript:;" id="ReIndex">首页</a>>
- <a href="javaScript:;">绩效质检</a>>
- <a href="" class="nowPosition">绩效考核</a>
- </sapn>
- </div>
- <div class="dhRight">
- <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
- </div>
- </div>
- <div class="Content_box">
- <div class="complain Shows">
- <div class="th-box">
- <div class="th-bar">
- <div class="seach-box">
- <ul>
- <li>
- 月份: <input type="text" id="starttime" class="layui-input" placeholder="请选择时间" style="height: 32px;" />
- </li>
- <li>
- <a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
- <a class="sc_btn btns export">导出</a>
- </li>
- <!--<li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>-->
- </ul>
- </div>
- </div>
- </div>
- <div style="width: 100%;padding: 10px;">
- <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-align="center" data-formatter="setCode">编号</th>
- <th data-field="F_DeptName" data-align="center">单位名称</th>
- <th data-field="F_DF_BLCore" data-align="center">及时办结情况</th>
- <th data-field="F_DF_CSCore" data-align="center">查收要求</th>
- <th data-field="F_DF_GFCore" data-align="center">工单办理结果填写规范及要求</th>
- <th data-field="F_DF_HFCore" data-align="center">回访情况</th>
- <!--<th data-field="F_DF_TBCore" data-align="center">通报情况</th>-->
- <th data-field="F_DF_THCore" data-align="center">退回要求</th>
- <th data-field="F_DF_ZSKCore" data-align="center">知识库</th>
- <th data-field="F_DF_ZJ" data-align="center">合计</th>
- <th data-field="F_Id" data-formatter="Dispose" data-align="center">操作</th>
- </tr>
- </thead>
- </table>
- </div>
- </div>
- </div>
- </div>
- <script>
- $(document).ready(function () {
- laydate.render({
- elem: '#starttime', //指定元素
- format: 'yyyyMM',
- type: 'month'
- });
- initTable();
- })
- function initTable() {
- $.ajax({
- url: huayi.config.callcenter_url + 'DataAssessment/GetDataList',
- type: 'get',
- data: {
- date:$('#starttime').val(),
- token: $.cookie("token")
- },
- dataType: "json",
- async: true,
- success: function (returnValue) {
- //异步获取数据
- var resultData1 = returnValue.rows;
- $('#workorderlist').bootstrapTable('load', resultData1);
- }
- });
- $('#workorderlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
- }
- //操作
- function Dispose(val) {
- return '<div class="imgs" ><a onclick= see("' + val
- + '") >查看</a></div>';
- }
- //搜索
- $(".db").click(function () {
- initTable();
- })
- function setCode(val, row, index) {
- return index + 1;
- }
- //查看详情
- function see(str) {
- layer.open({
- type: 2,
- content: "../CommonHtml/checkDetail.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '考核详情',
- area: ['87%', '80%'], //宽高
- });
- }
- //工单详情
- function OrderDetail(str){
- layer.open({
- type: 2,
- content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
- title: '工单详情',
- area: ['87%', '80%'], //宽高
- });
- }
- //导出
- $('.export').click(function () {
- dcexcel(this);
- })
- function dcexcel(obj) {
- var url = huayi.config.callcenter_url + "DataAssessment/ExptList?token=" + $.cookie("token");
- url += "&date=" + $('#starttime').val();
- obj.href = url;
- }
- </script>
- </body>
- </html>
|