Commit 38902576 by 汪伟伟

网页截图

parent 9f014aa6
......@@ -132,7 +132,16 @@ class AlreadyDoneTaskController extends AdminController
$show->field('collects.reality_refer', '实际信源');
$show->field('collects.refer_level', '信源等级');
// $show->field('collects.net_img', '网页截图')->unescape();
$show->field('collects.net_img', '网页截图')->image();
$res = \App\Models\TasksReceive::query()->find($id);
$img = explode(',',$res->collects->net_img);
if (filter_var($img[0], FILTER_VALIDATE_URL) !== false){//是链接
$show->field('collects.net_img', '网页截图')->image();
}else{
$show->field('collects.net_img','网页截图')->unescape();//不 转义html内容
}
$show->field('collects.remark', '备注信息');
}
......@@ -203,7 +212,7 @@ class AlreadyDoneTaskController extends AdminController
$pattern = '/' . preg_quote($start) . '(.*?)' . preg_quote($end) . '/';
preg_match_all($pattern, $form->input('collects.net_img'), $matches);
$images = implode(',',$matches[1]);
TasksCollect::query()->where('receive_id', $this->id)->update(['net_img' => $images]);//更新
if($images) TasksCollect::query()->where('receive_id', $this->id)->update(['net_img' => $images]);//更新
});
$form->disableDeleteButton();
......
......@@ -216,7 +216,7 @@ class NoDoneTaskController extends AdminController
$pattern = '/' . preg_quote($start) . '(.*?)' . preg_quote($end) . '/';
preg_match_all($pattern, $form->input('collects.net_img'), $matches);
$images = implode(',',$matches[1]);
TasksCollect::query()->where('receive_id', $this->id)->update(['net_img' => $images]);//更新
if($images) TasksCollect::query()->where('receive_id', $this->id)->update(['net_img' => $images]);//更新
if ($this->status == 0) {
// dd($this->id);
......
......@@ -29,19 +29,26 @@ class TasksApproveController extends AdminController
->whereHas('receives',function ($query){
$query->where('status', 1)->orderBy('created_at', 'desc');
})
->with(['receives.collects'])->paginate($pageSize,'*','page',$page)->toArray();
dd($data);
->with(['receives.collects','receives.user'])->paginate($pageSize,'*','page',$page)->toArray();
foreach ($data['data'] as $key =>&$item){
if (!$item['receives']){
unset($data['data'][$key]);
}
if (count($item['receives']) >1){
// if ($item['receives'][0]['']){}
if ($item['receives'][0]['collects']['value'] != $item['receives'][1]['collects']['value']){
$item['receives'][0]['is_bs'] = $item['receives'][1]['is_bs'] = 1;
}else{
$item['receives'][0]['is_bs'] = $item['receives'][1]['is_bs'] = 0;
}
}else{
$item['receives'][0]['is_bs'] = 0;
}
}
dd($data);
$content = Content::make();
return $content->body(view('admin.check', ['data' => $data['data'],'page'=>$page,'total'=>$data['total']]));
return $content
->title('未审核列表')
->body(view('admin.check', ['data' => $data['data'],'page'=>$page,'total'=>$data['total']]));
}
protected function getData22($status)
......@@ -164,14 +171,20 @@ class TasksApproveController extends AdminController
// 在 display 回调中使用
$grid->column('序号')->display(function () {
return $this->_index + 1;
});
})
// ->expand(function ($model) {
// $comments = $model->comments()->take(10)->map(function ($comment) {
// return $comment->only(['id', 'content', 'created_at']);
// });
// return new Table(['ID', '内容', '发布时间'],[['id'=>1,'content'=>'dsdsds','<a href="/">通过</a>'],['id'=>2,'content'=>'d2sdsds','created_at'=>'gg2ggg']]
// ,['id'=>'asddddd']);
// });
// 返回显示的详情
// 这里返回 content 字段内容,并用 Card 包裹起来
// $card = new Card(null, $this->id);
// return $r;
// })
;
$grid->column('user.name', '用户');
......
<div class="content-body" id="app">
<section class="content">
<div class="row "><div class="col-md-12"><div class="dcat-box">
<div class="row ">
<div class="col-md-12">
<div class="dcat-box">
<div class="d-block pb-0">
<div class="custom-data-table-header">
<div class="table-responsive">
<div class="top d-block clearfix p-0">
<button data-action="refresh" class="btn btn-primary grid-refresh btn-mini btn-outline" style="margin-right:3px">
<button data-action="refresh"
class="btn btn-primary grid-refresh btn-mini btn-outline"
style="margin-right:3px">
<i class="feather icon-refresh-cw"></i><span class="d-none d-sm-inline">&nbsp; 刷新</span>
</button>
......@@ -25,14 +28,16 @@
<div class="hidden">
<div class="filter-box right-side-filter-container" style="padding:0" id="filter-boxEMP5zypo">
<form action="http://127.0.0.1:83/approves?_pjax=%23pjax-container" class="form-horizontal grid-filter-form" pjax-container="" method="get">
<form action="/approves" class="form-horizontal grid-filter-form" pjax-container=""
method="get">
<div class="mb-1" style="height: 55px">
<div class="p-1 position-fixed d-flex justify-content-between header">
<div>
<button type="submit" class=" btn btn-sm btn-primary submit">
<i class="feather icon-search"></i> &nbsp;搜索
</button>&nbsp;
<a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container" class="reset btn btn-sm btn-white">
<a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container"
class="reset btn btn-sm btn-white">
<i class="feather icon-rotate-ccw"></i> &nbsp;重置
</a>
</div>
......@@ -45,7 +50,8 @@
<div class="input-group-prepend">
<span class="input-group-text bg-white text-capitalize"><b>ID</b></span>
</div>
<input type="text" class="form-control filter-column-id" placeholder="ID" name="id" value="">
<input type="text" class="form-control filter-column-id" placeholder="ID"
name="id" value="">
</div>
</div>
</div>
......@@ -55,324 +61,104 @@
<div class="table-responsive table-wrapper complex-container table-middle mt-1 table-collapse ">
<table class="table custom-data-table data-table" id="grid-table">
@foreach($data as $key=>$item)
<table style="" class="table custom-data-table data-table" id="grid-table">
<thead>
<tr>
<th>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-header">
<input type="checkbox" class="select-all grid-select-all">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</th>
{{-- <th>--}}
{{-- <div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-header">--}}
{{-- <input type="checkbox" class="select-all grid-select-all">--}}
{{-- <span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>--}}
{{-- </div>--}}
{{-- </th>--}}
<th>序号</th>
<th>用户</th>
<th>指标名称</th>
<th>地区</th>
<th>时间</th>
<th>参考信源</th>
<th>单价</th>
<th>指标值</th>
<th>实际信源</th>
<th>信源等级</th>
{{-- <th>指标值</th>--}}
{{-- <th>实际信源</th>--}}
{{-- <th>信源等级</th>--}}
<th class="grid__actions__">操作</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="17" data-label="17">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>1</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>晋城市</td>
<td>2024</td>
<td>电商</td>
<td>0.00</td>
<td>11</td>
<td>的d</td>
<td>3</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-YwdhdqPcBxTZwKy2" href="http://127.0.0.1:83/approves/17"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-8r3v0iFpeBCgEsaB" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-14NXsK3Ogh"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="18" data-label="18">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>2</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>秦皇岛市</td>
<td>2021</td>
<td>电商</td>
<td>0.00</td>
<td>23</td>
<td>11</td>
<td>4</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-RvLAd23u4K4S8uQY" href="http://127.0.0.1:83/approves/18"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-bMrb2pKL4EB6nhfX" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-kWdzndEU4q"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="19" data-label="19">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
{{-- <td>--}}
{{-- <div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">--}}
{{-- <input type="checkbox" class="grid-row-checkbox" data-id="17" data-label="17">--}}
{{-- <span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>--}}
{{-- </div>--}}
{{-- </td>--}}
<td>{{$key+1}}</td>
<td>{{$item['name']}}</td>
<td>{{\App\Admin\Services\CityAreaService::getAreaName($item['city_id'])}}</td>
<td>{{$item['year']}}</td>
<td>{{$item['refer']}}</td>
<td>{{$item['price']}}</td>
{{-- <td>11</td>--}}
{{-- <td>的d</td>--}}
{{-- <td>3</td>--}}
<td class="grid__actions__">
{{-- <a style="cursor: pointer;" class="act-YwdhdqPcBxTZwKy2" href="http://127.0.0.1:83/approves/17"><i class=""></i> <span class="text-success">查看</span></a>--}}
<a style="cursor: pointer;" class="act-8r3v0iFpeBCgEsaB" href="javascript:void(0)">全部通过&nbsp;&nbsp;&nbsp;</a>
<span style="cursor: pointer" data-toggle="modal" data-target="#modal-14NXsK3Ogh"><a
href="javascript:void(0)">全部不通过</a></span>
</td>
<td>3</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>秦皇岛市</td>
<td>2024</td>
<td>电商</td>
<td>0.00</td>
<td>11</td>
<td>大大</td>
<td>1</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-oFo87YCUxVkFB71w" href="http://127.0.0.1:83/approves/19"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-6kai5yN4kr7hFZ74" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-EMghdgxo2i"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="21" data-label="21">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>4</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>石家庄市</td>
<td>2021</td>
<td>电商</td>
<td>0.00</td>
<td>111</td>
<td><a href="http://127.0.0.1:83/#iframe-023119ab04f81c29" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>2</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-XYEG3uXpiUsmXZap" href="http://127.0.0.1:83/approves/21"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-r7LjEs9jJJbwoqyC" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-715LaxZgXC"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="22" data-label="22">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>5</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>石家庄市</td>
<td>2024</td>
<td>电商</td>
<td>0.00</td>
<td>1</td>
<td>1</td>
<td>2</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-aYHYiCh4OY0A4aeI" href="http://127.0.0.1:83/approves/22"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-PyrLv8sWG7aoLKH9" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-tUl2W7FbGL"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="20" data-label="20">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>6</td>
<td>詹姆斯1</td>
<td>指标34333</td>
<td>天津</td>
<td>2021</td>
<td>电商</td>
<td>0.00</td>
<td>1</td>
<td></td>
<td>1</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-6Kx3umSjTknhpntO" href="http://127.0.0.1:83/approves/20"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-8JK280PenLy24qGG" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-tYIDf09WWQ"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="15" data-label="15">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>7</td>
<td>詹姆斯1</td>
<td>ffffffffffff</td>
<td>唐山市</td>
<td>2022</td>
<td>发顺丰到付的</td>
<td>0.00</td>
<td>11</td>
<td>的撒大</td>
<td>3</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-9T2p7wnKriWFmFax" href="http://127.0.0.1:83/approves/15"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-qARVeuf452VaM4x7" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-SzwxPJXdpA"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="16" data-label="16">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>8</td>
<td>詹姆斯1</td>
<td>ffffffffffff</td>
<td>唐山市</td>
<td>2024</td>
<td>发顺丰到付的</td>
<td>0.00</td>
<td>1</td>
<td><a href="http://127.0.0.1:83/#iframe-023119ab04f81c29" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>4</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-6zSW1fNgISaER0ba" href="http://127.0.0.1:83/approves/16"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-fdieRqBvWgiI57Ad" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-vdw5bavzHJ"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="14" data-label="14">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>9</td>
<td>詹姆斯1</td>
<td>大大萨达萨达</td>
<td>沧州市</td>
<td>2024</td>
<td>21</td>
<td>0.00</td>
<td>234</td>
<td>你好信源</td>
<td>2</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-S9pRglieTZUqe8pv" href="http://127.0.0.1:83/approves/14"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-ahdKZQ0FutWoiyNS" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-3K44ZGMgeR"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="13" data-label="13">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>10</td>
<td>詹姆斯1</td>
<td>大大萨达萨达</td>
<td>北京</td>
<td>2024</td>
<td>21</td>
<td>0.00</td>
<td>2323</td>
<td><a href="http://127.0.0.1:83/#iframe-023119ab04f81c2922" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>1</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-MMvaTr7dCrdlzRye" href="http://127.0.0.1:83/approves/13"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-oUCnsYzVPp8dHCoN" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-ym08vthdt4"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="9" data-label="9">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>11</td>
<td>布劳恩</td>
<td>过年送礼指标</td>
<td>杭州市</td>
<td>2024</td>
<td><a href="http://127.0.0.1:83/" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>0.00</td>
<td>2321</td>
<td><a href="http://127.0.0.1:83/" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>1</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-fDtLgDWuhbEcxz6p" href="http://127.0.0.1:83/approves/9"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-ny1C6lGIMYxyowT8" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-ovnqfNLOZr"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="11" data-label="11">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>12</td>
<td>詹姆斯1</td>
<td>过年送礼指标</td>
<td>杭州市</td>
<td>2024</td>
<td><a href="http://127.0.0.1:83/" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>0.00</td>
<td>123</td>
<td><a href="http://127.0.0.1:83/#iframe-023119ab04f81c29" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>2</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-3IWtNTCqa0r3lfGk" href="http://127.0.0.1:83/approves/11"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-SePjqyBeeO5YTIra" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-Wd2b7d6Yzm"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
</tbody>
<thead>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="8" data-label="8">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
</td>
<td>13</td>
<td>布劳恩</td>
<td>幸福指标</td>
<td>北京</td>
<td>2023</td>
<td>大大大大大</td>
<td>0.00</td>
<td>12312</td>
<td><a href="http://127.0.0.1:83/def" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>1</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-eDnqBK8548pSUDwz" href="http://127.0.0.1:83/approves/8"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-zx7VOwwNQGhDPPzp" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-rJ6VELPd2t"><a href="javascript:void(0)">不通过</a></span></td>
<th>序号</th>
<th>用户</th>
<th>指标值</th>
<th>实际信源</th>
<th>信源等级</th>
<th>截图链接</th>
<th class="grid__actions__">操作</th>
</tr>
</thead>
<tbody>
@foreach($item['receives'] as $k=>$rec)
<tr>
<td>{{$k==0?'A':'B'}}</td>
<td>{{$rec['user']['name']}}</td>
<td>{{$rec['collects']['value']}}</td>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="10" data-label="10">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
@if(filter_var($rec['collects']['reality_refer'], FILTER_VALIDATE_URL) !== false)
<a target="_blank" href={{$rec['collects']['reality_refer']}}>点击查看</a>
@else
{{$rec['collects']['reality_refer']}}
@endif
</td>
<td>14</td>
<td>詹姆斯1</td>
<td>幸福指标</td>
<td>呼和浩特市</td>
<td>2024</td>
<td>大大多大大大大</td>
<td>0.00</td>
<td>44</td>
<td><a href="http://127.0.0.1:83/#iframe-023119ab04f81c29" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>4</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-CLP50nWBVqo1zm6Z" href="http://127.0.0.1:83/approves/10"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-TBVE0HwRewC2rYMx" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-H9qD5upHWl"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
<tr>
<td>
<div class="vs-checkbox-con vs-checkbox-primary checkbox-grid checkbox-grid-column">
<input type="checkbox" class="grid-row-checkbox" data-id="12" data-label="12">
<span class="vs-checkbox"><span class="vs-checkbox--check"><i class="vs-icon feather icon-check"></i></span></span>
</div>
<td>{{$rec['collects']['refer_level']}}</td>
<td>{{$rec['collects']['net_img']}}</td>
<td class="grid__actions__">
<a style="cursor: pointer;" class="act-8r3v0iFpeBCgEsaB" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a>
<span style="cursor: pointer" data-toggle="modal" data-target="#modal-14NXsK3Ogh"><a
href="javascript:void(0)">不通过</a></span>
</td>
<td>15</td>
<td>布劳恩</td>
<td>幸福指标</td>
<td>呼和浩特市</td>
<td>2024</td>
<td>大大多大大大大</td>
<td>0.00</td>
<td>11</td>
<td><a href="http://127.0.0.1:83/" target="_blank" style="color: #00b44e">点击查看</a></td>
<td>2</td>
<td class="grid__actions__"><a style="cursor: pointer;" class="act-Qe4xUYSXrNL1XIxK" href="http://127.0.0.1:83/approves/12"><i class=""></i> <span class="text-success">查看</span></a><a style="cursor: pointer;" class="act-uRgBSOku6w5vOWbh" href="javascript:void(0)">通过&nbsp;&nbsp;&nbsp;</a><span style="cursor: pointer" data-toggle="modal" data-target="#modal-DwjMkOOXP6"><a href="javascript:void(0)">不通过</a></span></td>
</tr>
@endforeach
</tbody>
</table>
<div style="height: 60px;background-color: #eff1f7;border: none;"></div>
@endforeach
</div>
<div class="box-footer d-block clearfix ">
<span class="d-none d-sm-inline" style="line-height:33px;color:#7c858e"><b>1</b><b>15</b> ,总共 <b>15</b></span>
<ul class="pagination pagination-sm no-margin pull-right shadow-100" style="border-radius: 1.5rem">
<ul class="pagination pagination-sm no-margin pull-right shadow-100"
style="border-radius: 1.5rem">
<!-- Previous Page Link -->
<li class="page-item previous disabled"><span class="page-link"></span></li>
......@@ -380,27 +166,47 @@
<!-- Array Of Links -->
<li class="page-item active"><span class="page-link">1</span></li>
<li class="page-item"><a class="page-link" href="http://127.0.0.1:83/tasks?page=2">2</a>
</li>
<!-- Next Page Link -->
<li class="page-item next disabled"><span class="page-link"></span></li>
</ul>
<label class="pull-right d-none d-sm-inline per-pages-selector" style="margin-right: 10px">
<span class="dropup" style="display:inline-block">
<a id="" class="dropdown-toggle btn btn-sm btn-white waves-effect" style="" data-toggle="dropdown" href="javascript:void(0)">
<a id="" class="dropdown-toggle btn btn-sm btn-white waves-effect" style="" data-toggle="dropdown"
href="javascript:void(0)">
<stub>20</stub>
<span class="caret"></span>
</a>
<ul class="dropdown-menu"><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=10">10</a></li><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=20">20</a></li><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=30">30</a></li><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=50">50</a></li><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=100">100</a></li><li class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=200">200</a></li></ul>
<ul class="dropdown-menu"><li class="dropdown-item"><a
href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=10">10</a></li><li
class="dropdown-item"><a
href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=20">20</a></li><li
class="dropdown-item"><a
href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=30">30</a></li><li
class="dropdown-item"><a
href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=50">50</a></li><li
class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=100">100</a></li><li
class="dropdown-item"><a href="http://127.0.0.1:83/approves?_pjax=%23pjax-container&amp;per_page=200">200</a></li></ul>
</span>
</label>
</div>
</div>
</div></div>
</div>
</div>
</section>
</div>
<style>
.table tbody tr {
border: 1px solid #ddd; /* 设置边框颜色 */
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment