Переглянути джерело

人才刚需购房后台调整

linwu 3 роки тому
батько
коміт
6ec9f4ce17

+ 1 - 1
app/Admin/Controllers/Content/BuyHouseJcController.php

@@ -110,7 +110,7 @@ class BuyHouseJcController extends Controller
     public function detail(Request $request)
     {
         $id   = $request->id;
-        $info = TalentHouseApply::find($id);;
+        $info = TalentHouseApply::with('idcard')->where('id',$id)->first();
         $info->family     = json_decode($info->family);
         $info->marry_text = $this->marry[$info->marry];
 

+ 1 - 1
app/Admin/Controllers/Content/BuyHouseRsController.php

@@ -128,7 +128,7 @@ class BuyHouseRsController extends Controller
     public function detail(Request $request)
     {
         $id   = $request->id;
-        $info = TalentHouseApply::find($id);;
+        $info = TalentHouseApply::with('idcard')->where('id',$id)->first();
         $info->family     = json_decode($info->family);
         $info->marry_text = $this->marry[$info->marry];
 

+ 1 - 1
app/Admin/Controllers/Content/BuyHouseZjController.php

@@ -110,7 +110,7 @@ class BuyHouseZjController extends Controller
     public function detail(Request $request)
     {
         $id   = $request->id;
-        $info = TalentHouseApply::find($id);;
+        $info = TalentHouseApply::with('idcard')->where('id',$id)->first();
         $info->family = json_decode($info->family);
         $info->marry_text = $this->marry[$info->marry];
 

+ 18 - 10
resources/views/admin/ajax/buy_house_detail.blade.php

@@ -58,6 +58,14 @@
             {{$info['talent_condition']}}
         </td>
     </tr>
+    <tr style="height:52px;page-break-inside:avoid">
+        <td valign="center" >
+            证件号
+        </td>
+        <td valign="center" colspan="11">
+            {{$info['idcard']['id_card']}}
+        </td>
+    </tr>
     <tr style="height:52px;page-break-inside:avoid">
         <td valign="center" >
             证件信息
@@ -150,16 +158,6 @@
             <h1>工作情况</h1>
         </td>
     </tr>
-    <tr style="height:52px;page-break-inside:avoid">
-        <td valign="center" style="width:200px;">
-            工作证明
-        </td>
-        <td valign="center" style="width:1000px;padding:10px;">
-            @foreach($info['work_prove'] as $k => $v)
-                <img class="attchment" data-key="{{$k}}" data-name="work_prove" src="{{ $v->response->path }}" />
-            @endforeach
-        </td>
-    </tr>
     <tr style="height:52px;page-break-inside:avoid">
         <td valign="center">工作单位</td>
         <td valign="center">
@@ -172,6 +170,16 @@
             {{$info['street']}}
         </td>
     </tr>
+    <tr style="height:52px;page-break-inside:avoid">
+        <td valign="center" style="width:200px;">
+            工作证明
+        </td>
+        <td valign="center" style="width:1000px;padding:10px;">
+            @foreach($info['work_prove'] as $k => $v)
+                <img class="attchment" data-key="{{$k}}" data-name="work_prove" src="{{ $v->response->path }}" />
+            @endforeach
+        </td>
+    </tr>
 </table>
 <table cellspacing="0" width="100%" class="table_form">
     <tr style="height:60px;page-break-inside:avoid">

+ 1 - 1
resources/views/admin/content/buy_house_jc.blade.php

@@ -24,7 +24,7 @@
                                     </label>
                                     <label class="radio-inline">
                                         <input type="radio" name="status" value="3" class="minimal audit1" >
-                                        &nbsp;审核不通过&nbsp;&nbsp;
+                                        &nbsp;审核驳回&nbsp;&nbsp;
                                     </label>
                                 </div>
                             </div>

+ 1 - 1
resources/views/admin/content/buy_house_rs.blade.php

@@ -24,7 +24,7 @@
                                     </label>
                                     <label class="radio-inline">
                                         <input type="radio" name="status" value="3" class="minimal audit1" >
-                                        &nbsp;审核不通过&nbsp;&nbsp;
+                                        &nbsp;审核驳回&nbsp;&nbsp;
                                     </label>
                                 </div>
                             </div>

+ 1 - 1
resources/views/admin/content/buy_house_zj.blade.php

@@ -24,7 +24,7 @@
                                     </label>
                                     <label class="radio-inline">
                                         <input type="radio" name="status" value="3" class="minimal audit1" >
-                                        &nbsp;审核不通过&nbsp;&nbsp;
+                                        &nbsp;审核驳回&nbsp;&nbsp;
                                     </label>
                                 </div>
                             </div>