|
|
|
@ -56,11 +56,36 @@ class CpJuheCompanyController extends ThinkController {
|
|
|
|
|
$list_data[$key]['agreement_time'] = json_decode($list_data[$key]['agreement_time'],true);
|
|
|
|
|
$list_data[$key]['balance_time'] = json_decode($list_data[$key]['balance_time'],true);
|
|
|
|
|
|
|
|
|
|
$list_data[$key]['agreement_time']['start_time'] = date("Y-m-d",$list_data[$key]['agreement_time']['start_time']);
|
|
|
|
|
($list_data[$key]['agreement_time']['end_time']!=1)?($list_data[$key]['agreement_time']['end_time'] = date("Y-m-d",$list_data[$key]['agreement_time']['end_time'])):($list_data[$key]['agreement_time']['end_time'] = "");
|
|
|
|
|
// $list_data[$key]['agreement_time']['start_time'] = date("Y-m-d",$list_data[$key]['agreement_time']['start_time']);
|
|
|
|
|
// ($list_data[$key]['agreement_time']['end_time']!=1)?($list_data[$key]['agreement_time']['end_time'] = date("Y-m-d",$list_data[$key]['agreement_time']['end_time'])):($list_data[$key]['agreement_time']['end_time'] = "");
|
|
|
|
|
//
|
|
|
|
|
// $list_data[$key]['balance_time']['start_time'] = date("Y-m-d",$list_data[$key]['balance_time']['start_time']);
|
|
|
|
|
// ($list_data[$key]['balance_time']['end_time']!=1)?($list_data[$key]['balance_time']['end_time'] = date("Y-m-d",$list_data[$key]['balance_time']['end_time'])):($list_data[$key]['balance_time']['end_time'] = "");
|
|
|
|
|
|
|
|
|
|
if ($list_data[$key]['agreement_time']['start_time']) {
|
|
|
|
|
$list_data[$key]['agreement_time']['start_time'] = date("Y-m-d", $list_data[$key]['agreement_time']['start_time']);
|
|
|
|
|
} else {
|
|
|
|
|
$list_data[$key]['agreement_time']['start_time'] = "未设置";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($list_data[$key]['agreement_time']['end_time']) {
|
|
|
|
|
($list_data[$key]['agreement_time']['end_time'] != 1) ? ($list_data[$key]['agreement_time']['end_time'] = date("Y-m-d", $list_data[$key]['agreement_time']['end_time'])) : ($list_data[$key]['agreement_time']['end_time'] = "");
|
|
|
|
|
} else {
|
|
|
|
|
$list_data[$key]['agreement_time']['end_time'] = "未设置";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($list_data[$key]['balance_time']['start_time']) {
|
|
|
|
|
$list_data[$key]['balance_time']['start_time'] = date("Y-m-d", $list_data[$key]['balance_time']['start_time']);
|
|
|
|
|
} else {
|
|
|
|
|
$list_data[$key]['balance_time']['start_time'] = "未设置";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($list_data[$key]['balance_time']['end_time']) {
|
|
|
|
|
($list_data[$key]['balance_time']['end_time'] != 1) ? ($list_data[$key]['balance_time']['end_time'] = date("Y-m-d", $list_data[$key]['balance_time']['end_time'])) : ($list_data[$key]['balance_time']['end_time'] = "");
|
|
|
|
|
} else {
|
|
|
|
|
$list_data[$key]['balance_time']['end_time'] = "未设置";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$list_data[$key]['balance_time']['start_time'] = date("Y-m-d",$list_data[$key]['balance_time']['start_time']);
|
|
|
|
|
($list_data[$key]['balance_time']['end_time']!=1)?($list_data[$key]['balance_time']['end_time'] = date("Y-m-d",$list_data[$key]['balance_time']['end_time'])):($list_data[$key]['balance_time']['end_time'] = "");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$this->assign("listdata",$list_data);
|
|
|
|
|