linwu 2 сар өмнө
parent
commit
82759aacad

+ 9 - 9
app/Admin/Controllers/Health/IndexController.php

@@ -183,10 +183,10 @@ class IndexController extends Controller
             ->paginate($perpage);
             ->paginate($perpage);
 
 
         foreach ($list as $k => $v){
         foreach ($list as $k => $v){
-            if($v->sex == 0){
-                $list[$k]['sex'] = '女';
-            }else{
+            if($v->sex == 1){
                 $list[$k]['sex'] = '男';
                 $list[$k]['sex'] = '男';
+            }else{
+                $list[$k]['sex'] = '女';
             }
             }
             if($v->fresh == 0){
             if($v->fresh == 0){
                 $list[$k]['fresh'] = '否';
                 $list[$k]['fresh'] = '否';
@@ -237,10 +237,10 @@ class IndexController extends Controller
             $v->native_place_cn = get_district_cn($v->native_place);
             $v->native_place_cn = get_district_cn($v->native_place);
             $v->education = get_category($v->education);
             $v->education = get_category($v->education);
             $v->pro_type = get_category_major($v->pro_type);
             $v->pro_type = get_category_major($v->pro_type);
-            if($v->sex == 0){
-                $list[$k]['sex'] = '女';
-            }else{
+            if($v->sex == 1){
                 $list[$k]['sex'] = '男';
                 $list[$k]['sex'] = '男';
+            }else{
+                $list[$k]['sex'] = '女';
             }
             }
             if($v->status == 0){
             if($v->status == 0){
                 $list[$k]['status'] = '未下载';
                 $list[$k]['status'] = '未下载';
@@ -350,10 +350,10 @@ class IndexController extends Controller
         foreach ($list as $k => $v){
         foreach ($list as $k => $v){
             $v->native_place_cn = get_district_cn($v->native_place);
             $v->native_place_cn = get_district_cn($v->native_place);
             $v->education = get_category($v->education);
             $v->education = get_category($v->education);
-            if($v->sex == 0){
-                $list[$k]['sex'] = '女';
-            }else{
+            if($v->sex == 1){
                 $list[$k]['sex'] = '男';
                 $list[$k]['sex'] = '男';
+            }else{
+                $list[$k]['sex'] = '女';
             }
             }
             if($v->status == 0){
             if($v->status == 0){
                 $list[$k]['status'] = '未下载';
                 $list[$k]['status'] = '未下载';

BIN
public/job.xls


+ 1 - 1
public/themes/default/views/mobile/app/health/recruit/apply.blade.php

@@ -54,7 +54,7 @@
                     </div>
                     </div>
                     <div class="radio-cell">
                     <div class="radio-cell">
                         <label for="radio5">女</label>
                         <label for="radio5">女</label>
-                        <input id="radio5" name="sex" type="radio" value="0" title="女">
+                        <input id="radio5" name="sex" type="radio" value="2" title="女">
                     </div>
                     </div>
                     <div class="clear"></div>
                     <div class="clear"></div>
                 </div>
                 </div>

+ 1 - 1
public/themes/default/views/mobile/app/health/recruit/quanji.blade.php

@@ -52,7 +52,7 @@
                     </div>
                     </div>
                     <div class="radio-cell">
                     <div class="radio-cell">
                         <label for="radio5">女</label>
                         <label for="radio5">女</label>
-                        <input id="radio5" name="sex" type="radio" value="0" title="女">
+                        <input id="radio5" name="sex" type="radio" value="2" title="女">
                     </div>
                     </div>
                     <div class="clear"></div>
                     <div class="clear"></div>
                 </div>
                 </div>

+ 1 - 1
public/themes/default/views/mobile/app/health/recruit/will.blade.php

@@ -52,7 +52,7 @@
                 </div>
                 </div>
                 <div class="radio-cell">
                 <div class="radio-cell">
                     <label for="radio5">女</label>
                     <label for="radio5">女</label>
-                    <input id="radio5" name="sex" type="radio" value="0" title="女">
+                    <input id="radio5" name="sex" type="radio" value="2" title="女">
                 </div>
                 </div>
                 <div class="clear"></div>
                 <div class="clear"></div>
             </div>
             </div>

+ 1 - 1
public/themes/default/views/mobile/app/health/teach/index.blade.php

@@ -65,7 +65,7 @@
                     </div>
                     </div>
                     <div class="radio-cell">
                     <div class="radio-cell">
                         <label for="radio5">女</label>
                         <label for="radio5">女</label>
-                        <input id="radio5" name="sex" type="radio" value="0" title="女">
+                        <input id="radio5" name="sex" type="radio" value="2" title="女">
                     </div>
                     </div>
                     <div class="clear"></div>
                     <div class="clear"></div>
                 </div>
                 </div>