|
|
@@ -83,20 +83,22 @@ export default {
|
|
|
profileChange(val) {
|
|
|
this.profile = val;
|
|
|
},
|
|
|
- nextStep() {
|
|
|
+ async nextStep() {
|
|
|
if (!this.canFinish) {
|
|
|
return;
|
|
|
}
|
|
|
let that = this;
|
|
|
- this.$alert("签约已在审核中", "", {
|
|
|
- type: "success",
|
|
|
- callback: function() {
|
|
|
- that.$router.replace({
|
|
|
- path: "/frontend/developer"
|
|
|
- });
|
|
|
- }
|
|
|
- });
|
|
|
- // this.$emit("next", { isFinished: true });
|
|
|
+ let res = await this.$axios.$post("/api/user/sign", {});
|
|
|
+ if (res.status === 1) {
|
|
|
+ this.$alert("签约已在审核中", "", {
|
|
|
+ type: "success",
|
|
|
+ callback: function () {
|
|
|
+ that.$router.replace({
|
|
|
+ path: "/frontend/developer"
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
};
|