Prechádzať zdrojové kódy

更新村务择岗(递补)

zmw 7 mesiacov pred
rodič
commit
c33d8faf5f

+ 1 - 1
app/Http/Controllers/Web/Recruit/IndexController.php

@@ -2715,7 +2715,7 @@ class IndexController extends WebBaseController
                 DB::table('recruit_appoint_select')->where('id', $current->id)->update(['select_result' => $val, 'status' => 1]);
                 $current->select_result = $val;
                 $quot_batch5[$index]['value']--;
-                $quota_data['new_value'] = $quot_batch4[$index]['value'];
+                $quota_data['new_value'] = $quot_batch5[$index]['value'];
                 $redis->set('recruit_quota_batch4', json_encode($quot_batch5));
                 $flag = 1;
                 break;

+ 1 - 1
public/themes/default/views/app/recruit/post_select.blade.php

@@ -192,7 +192,7 @@
                         return false;
                     }
 
-                    if(this.select_list.length < 3){
+                    if(this.select_list.length != 3){
                         var msg = "择岗提交成功后不得改报,请您确认是否继续提交";
                     }else{
                         var msg = "您尚未选满3个镇(街道),请按照志愿依次对尚未招满的A类岗位3个镇(街道、经济开发区)进行排序。";