chuweiqiang hai 1 ano
pai
achega
5e8a5ce785

+ 2 - 2
app/admin/controller/BestKnowledgeAd.php

@@ -77,7 +77,7 @@ class BestKnowledgeAd extends Controller
     protected function _form_result(bool $state)
     {
         if ($state) {
-            $this->success('保存成功!',in_array($this->request->action(),['add','edit'])? 'javascript:history.back()':'');
+            $this->success('保存成功!',in_array($this->request->action(),['add','edit','ad_add','ad_edit'])? 'javascript:history.back()':'');
         }
     }
 
@@ -103,4 +103,4 @@ class BestKnowledgeAd extends Controller
             $this->success('保存成功');
         }
     }
-}
+}

+ 2 - 1
app/admin/controller/Xw.php

@@ -209,8 +209,9 @@ class Xw extends Controller
     protected function _form_result(bool $state)
     {
         if ($state) {
-            $this->success('保存成功!',in_array($this->request->action(),['add','edit'])? 'javascript:history.back()':'');
+            $this->success('保存成功1!',in_array($this->request->action(),['add','edit','ad_add','ad_edit'])? 'javascript:history.back()':'');
         }
+
     }
 
     /**

+ 11 - 1
app/admin/view/recruitment/form.html

@@ -32,7 +32,17 @@
 
         <label class="layui-form-item relative block">
             <span class="help-label"><b>学历</b></span>
-            <input class="layui-input" name="schooling" placeholder="请输入学历" required value='{$vo.schooling|default=""}'>
+            <select name="schooling">
+                <option value="不限" {:isset($vo['schooling']) && $vo['schooling']=='不限'?'selected':''}>不限</option>
+                <option value="初中及以下" {:isset($vo['schooling']) && $vo['schooling']=='初中及以下'?'selected':''}>初中及以下</option>
+                <option value="中专/中技" {:isset($vo['schooling']) && $vo['schooling']=='中专/中技'?'selected':''}>中专/中技</option>
+                <option value="高中" {:isset($vo['schooling']) && $vo['schooling']=='高中'?'selected':''}>高中</option>
+                <option value="大专" {:isset($vo['schooling']) && $vo['schooling']=='大专'?'selected':''}>大专</option>
+                <option value="本科" {:isset($vo['schooling']) && $vo['schooling']=='本科'?'selected':''}>本科</option>
+                <option value="硕士" {:isset($vo['schooling']) && $vo['schooling']=='硕士'?'selected':''}>硕士</option>
+                <option value="博士" {:isset($vo['schooling']) && $vo['schooling']=='博士'?'selected':''}>博士</option>
+            </select>
+<!--            <input class="layui-input" name="schooling" placeholder="请输入学历" required value='{$vo.schooling|default=""}'>-->
         </label>