123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181 |
- @extends('admin/layout')
- @section('header')
- <link href="{{asset('css/plugins/switchery/switchery.css')}}" rel="stylesheet">
- <style>
- .table-striped > tbody > tr:nth-of-type(odd) {
- background: #f8f8f8 !important;
- }
- .table-striped > tbody > tr .btn {
- background: none !important;
- }
- .table-striped > tbody > tr td {
- font-size: 14px !important;
- }
- .table-striped > tbody > tr:hover {
- background: #ffebd8 !important;
- }
- .table-striped > tbody > tr:hover .btn {
- background: #1AB394 !important;
- color: #fff !important;
- }
- .table-striped > tbody > tr:hover .btn .glyphicon {
- color: #fff !important;
- }
- </style>
- @endsection
- @section('content')
- @php $authUser=auth()->user() @endphp
- <body class="gray-bg">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="row">
- <div class="col-sm-12">
- <div class="ibox float-e-margins">
- <div class="ibox-content">
- <form class="row" id="searchForm" onsubmit="units.search();return false;">
- <div class="input-group">
- <select name="completionThisMonth" id="completionThisMonth" class="form-control"
- style="width: 150px;float: right" onchange="units.selectPage();">
- <option value="0">请选择本月完成情况</option>
- <option value="1">未完成</option>
- <option value="2">未满50条</option>
- <option value="3">未满70条</option>
- <option value="4">70条以上</option>
- </select>
- <select name="completionLastMonth" id="completionLastMonth" class="form-control"
- style="width: 150px;float: right" onchange="units.selectPage();">
- <option value="0">请选择上月完成情况</option>
- <option value="1">未完成</option>
- <option value="2">未满50条</option>
- <option value="3">未满70条</option>
- <option value="4">70条以上</option>
- </select>
- <select name="optimizerEditingId" id="optimizerEditingId" class="form-control"
- style="width: 150px;float: right"
- onchange="units.selectPage();">
- <option value="">请选择优化师/优化采编</option>
- @foreach($optimizerEditing as $item)
- <option value="{{$item->id}}">{{$item->nickname}}</option>
- @endforeach
- </select>
- <select name="optimizerId" id="optimizerId" class="form-control"
- style="width: 150px;float: right"
- onchange="units.selectPage();">
- <option value="">请选择优化组长</option>
- @foreach($optimizers as $item)
- <option value="{{$item->id}}">{{$item->nickname}}</option>
- @endforeach
- </select>
- <select name="chongqingLinkId" id="chongqingLinkId" class="form-control"
- style="width: 150px;float: right"
- onchange="units.selectPage();">
- <option value="">请选择重庆外链人员</option>
- @foreach($chongqingLink as $item)
- <option value="{{$item->id}}">{{$item->nickname}}</option>
- @endforeach
- </select>
- <select name="serverId" id="serverId" class="form-control"
- style="width: 150px;float: right" onchange="units.selectPage();">
- <option value="">请选择客服</option>
- @foreach($services as $item)
- <option value="{{$item->id}}">{{$item->nickname}}</option>
- @endforeach
- </select>
- <select name="siteStatus" id="siteStatus" class="form-control"
- style="width: 150px;float: right" onchange="units.selectPage();">
- <option value="">请选择项目阶段</option>
- @foreach($sitesStatus as $inx=>$item)
- @if(in_array($inx,[2,3]))
- <option value="{{$inx}}">{{$item}}</option>
- @endif
- @endforeach
- </select>
- <input type="text" placeholder="请输入域名或项目名称" class="input-md form-control"
- name="keyword"
- id="keyword" style="width: 200px;float: right">
- <span class="input-group-btn">
- <button type="button" class="btn btn-md btn-primary"
- onclick="units.search()" style="border-radius:2px;"> 搜索</button>
- <button type="button" class="btn btn-md btn-primary" style="margin-left: 10px;border-radius:2px;"
- name="btnReset"> 重置</button>
- </span>
- </div>
- </form>
- <hr>
- <div class="table-responsive">
- <table id="table" class="table table-condensed" data-mobile-responsive="true"></table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- </body>
- @endsection
- @section('footer')
- <script src="{{asset('js/plugins/layDate-v5.0.9/laydate/laydate.js')}}"></script>
- <script>
- var units = {
- selectPage: function () {
- tips.selectPage();
- },
- search: function () {
- tips.selectPage();
- },
- openDetail: function (id, title) {
- tips.page('/admin/sites/' + id + '/overview', title);
- }
- };
- var config = {};
- config.url = '/admin/analyze/index/monitor_link';
- config.pageSize = 20;
- config.showColumns = true;
- config.columns = [
- {
- title: '序号', align: 'center', formatter: function (value, item, index) {
- return index + 1;
- }
- },
- {title: '公司', field: 'cn_title', align: 'center'},
- {title: '网站', field: 'domain', align: 'center'},
- {title: '项目阶段', field: 'site_status', align: 'center'},
- {title: '外链指标', field: 'link_goal', align: 'center', sortable: true},
- {title: '外链完成量-域数', field: 'link_pact_count', align: 'center', sortable: true},
- {title: '外链完成量-条数', field: 'link_urls', align: 'center', sortable: true},
- {title: '上月外链条数', field: 'publish_last_month', align: 'center', sortable: true},
- {title: '本月外链条数', field: 'publish_this_month', align: 'center', sortable: true},
- {title: '客服', field: 'server', align: 'center'},
- {title: '重庆外链人员', field: 'chongqingLink', align: 'center'},
- {title: '优化组长', field: 'optimizer', align: 'center'},
- {title: '优化师/优化采编', field: 'optimizerEditing', align: 'center'},
- {title: '更新时间', field: 'created_at', align: 'center'}
- ];
- tips.bootstrapTable(config);
- </script>
- @endsection
|