|
@@ -44,7 +44,7 @@ class BuyHouseJcController extends Controller
|
|
{
|
|
{
|
|
$grid = new Grid(new TalentHouseApply());
|
|
$grid = new Grid(new TalentHouseApply());
|
|
|
|
|
|
- $grid->model()->with(['house','idcard'])->where('type', 2)->where('is_back', 2)->where('is_draft', 2)->orderBy('rs_check_status', 'ASC');
|
|
|
|
|
|
+ $grid->model()->with(['house', 'idcard'])->where('type', 2)->where('is_back', 2)->where('is_draft', 2)->orderBy('rs_check_status', 'ASC');
|
|
|
|
|
|
$status_text = $this->status;
|
|
$status_text = $this->status;
|
|
$grid->id('ID');
|
|
$grid->id('ID');
|
|
@@ -121,7 +121,7 @@ class BuyHouseJcController extends Controller
|
|
|
|
|
|
//审核不通过发送短信
|
|
//审核不通过发送短信
|
|
if ($status == 3) {
|
|
if ($status == 3) {
|
|
- $time = strtotime($house['supply_time']);
|
|
|
|
|
|
+ $time = strtotime($house['supply_time']);
|
|
$smsService->sendSms($apply['mobile'], 'sms_buyhouse_supply', ['name' => $apply['name'], 'month' => date('m', $time), 'day' => date('d', $time)]);
|
|
$smsService->sendSms($apply['mobile'], 'sms_buyhouse_supply', ['name' => $apply['name'], 'month' => date('m', $time), 'day' => date('d', $time)]);
|
|
}
|
|
}
|
|
|
|
|
|
@@ -227,7 +227,7 @@ class BuyHouseJcController extends Controller
|
|
} else {
|
|
} else {
|
|
$info->work_prove = [];
|
|
$info->work_prove = [];
|
|
}
|
|
}
|
|
- $html = view('admin.ajax.buy_house_detail')->with(['info' => $info, 'photos' => $photos])->render();
|
|
|
|
|
|
+ $html = view('admin.ajax.buy_house_detail')->with(['info' => $info, 'photos' => $photos, 'status' => $this->status])->render();
|
|
return response()->json(['code' => 1, 'data' => $html]);
|
|
return response()->json(['code' => 1, 'data' => $html]);
|
|
}
|
|
}
|
|
}
|
|
}
|