|
|
@@ -23,7 +23,7 @@
|
|
|
|
|
|
<button class="btn-first" @click="login">请先登陆</button>
|
|
|
</template>
|
|
|
- <template v-else-if="job.apply.status===-2">请先签约</template>
|
|
|
+ <template v-else-if="job.apply.status===-2"><a href="/sign/new" class="btn-first">请先签约</a></template>
|
|
|
<template v-else>
|
|
|
<button v-bind:class="!applying?'btn-first':'btn-second'" v-if="job.apply.status===0" @click="apply()">
|
|
|
{{applying?'提交申请中':'立即申请 '}} <i v-if="applying" class="el-icon-loading"></i>
|
|
|
@@ -110,7 +110,6 @@
|
|
|
this.applying = true;
|
|
|
this.$axios.$post('/api/present_job/apply', {id: this.$route.params.id}).then(res => {
|
|
|
if (res.status === 1) {
|
|
|
- alert(1);
|
|
|
this.$message.success(res.info);
|
|
|
this.getData();
|
|
|
} else {
|
|
|
@@ -212,6 +211,7 @@
|
|
|
}
|
|
|
|
|
|
.btn-first {
|
|
|
+ display: block;
|
|
|
width: 125px;
|
|
|
height: 40px;
|
|
|
border-radius: 2px;
|