...
|
...
|
@@ -84,14 +84,13 @@ class Dashboard extends Backend |
|
|
$BaoXiuZhandian = Db::name('baoxiudan')->where('zhandian_id', $v['id'])->where($map)->select();
|
|
|
if (empty($BaoXiuZhandian)) {
|
|
|
$data[$k]['baoxiu_num'] = 0;
|
|
|
$data[$k]['BaoXiuStr'] = '';
|
|
|
} else {
|
|
|
$data[$k]['baoxiu_num'] = count($BaoXiuZhandian);
|
|
|
foreach ($BaoXiuZhandian as $k1 => $v1) {
|
|
|
$StrArr[$k1] = $v1['colum'];
|
|
|
}
|
|
|
$data[$k]['BaoXiuStr'] = implode($StrArr, ',');
|
|
|
dump($data[$k]['BaoXiuStr']);
|
|
|
die;
|
|
|
}
|
|
|
}
|
|
|
$this->view->assign("row", $data);
|
...
|
...
|
|