|
@@ -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;
|
|
|
+ });
|
|
|
});
|
|
|
};
|
|
|
|