|
@@ -297,6 +297,8 @@ class BuyhouseController extends WebBaseController
|
|
|
'talent_card_validity' => $talent['activeDate'],
|
|
|
'talent_tags' => $talent['talentType'],
|
|
|
'talent_condition' => $talent['identifyCondition'],
|
|
|
+ 'company' => $talent['company'],
|
|
|
+ 'street' => $talent['street'],
|
|
|
'family' => json_encode([['relation' => '配偶', 'realname' => '', 'idcard' => '']]),
|
|
|
'certificates' => '[]',
|
|
|
'marry_prove' => '[]',
|
|
@@ -379,8 +381,6 @@ class BuyhouseController extends WebBaseController
|
|
|
'marry' => 'required',
|
|
|
'household_register' => 'required',
|
|
|
'work_prove' => 'required',
|
|
|
- 'company' => 'required',
|
|
|
- 'street' => 'required',
|
|
|
'house_condition' => 'required',
|
|
|
'house_policy' => 'required',
|
|
|
];
|
|
@@ -389,8 +389,6 @@ class BuyhouseController extends WebBaseController
|
|
|
'marry.required' => '请选择婚姻状况',
|
|
|
'household_register.required' => '请上传户口本',
|
|
|
'work_prove.required' => '请上传工作证明',
|
|
|
- 'company.required' => '请填写工作单位',
|
|
|
- 'street.required' => '请填写所属街道',
|
|
|
'house_condition.required' => '请填写家庭成员在晋江市行政区域内住房情况',
|
|
|
'house_policy.required' => '请填写在晋享受政策性住房或相关优惠情况',
|
|
|
];
|
|
@@ -413,8 +411,9 @@ class BuyhouseController extends WebBaseController
|
|
|
}
|
|
|
|
|
|
//房源消息
|
|
|
- $house = TalentHouse::find($info['house_id']);
|
|
|
- $time = time();
|
|
|
+ $house = TalentHouse::find($info['house_id']);
|
|
|
+ $house['status'] = $this->_get_status($house);
|
|
|
+ $time = time();
|
|
|
if ($house['status'] != 2) {
|
|
|
return response()->json(['status' => 0, 'msg' => '申报未开始或已结束,无法修改']);
|
|
|
}
|