Browse Source

省外经纪人

linwu 1 year ago
parent
commit
2565e2f325
1 changed files with 8 additions and 2 deletions
  1. 8 2
      app/mobile/view/candidate/info.html

+ 8 - 2
app/mobile/view/candidate/info.html

@@ -94,6 +94,7 @@
 <script>
     function v_setup() {
         let base = {};
+        base.broker = {$broker};
 
         //表单
         base.form = Vue.reactive({
@@ -105,11 +106,16 @@
             jobintention: '',
             address: '',
             education: '',
-            brokerid: 0,
+            brokerid: base.broker.id,
         });
         base.onSubmit = () => {
             postJson("{:url('candidate/infoPost')}", base.form).then(({data}) => {
-                vant.showToast('提交成功');
+                vant.showDialog({
+                    title: '提示',
+                    message: '提交成功',
+                }).then(() => {
+                    location.href = "{:url('/mobile/worker/index')}?id=" + base.broker.agentid;
+                });
             });
         };