Commit e5b99baa authored by 郭志伟's avatar 郭志伟 Committed by 郝聪敏

feat: 顾问调整

parent 48762101
......@@ -44,21 +44,6 @@ const routes = [
name: "Consultant",
component: () => import("../views/Consultant/index.vue")
},
{
path: "/consultant/success",
name: "ConsultantSuccess",
component: () => import("../views/Consultant/Success/index.vue")
},
{
path: "/consultant/question",
name: "ConsultantQuestion",
component: () => import("../views/Consultant/Question/index.vue")
},
{
path: "/consultant/exclusive",
name: "ConsultantExclusive",
component: () => import("../views/Consultant/Exclusive/index.vue")
},
{
path: "/consultant/plan",
name: "ConsultantPlan",
......
......@@ -222,7 +222,7 @@ export default {
async goPay() {
const res = await goPay({ consultantOrderNo: this.consultantOrderNo });
if (res) {
this.$notify("支付成功");
this.$notify({ type: "success", message: "支付成功" });
setTimeout(() => {
// this.$router.push("/consultant/success");
this.$parent.getOrderInfo();
......
......@@ -175,7 +175,9 @@ export default {
]
};
},
mounted() {},
mounted() {
this.getSuggestion();
},
methods: {
tagFilter(type) {
let _type = "";
......
......@@ -282,7 +282,7 @@ export default {
return;
}
if (!formData[stepTips[currentStep].tag] || currentStep === 7) {
this.$notify(stepTips[currentStep].rule);
this.$notify({ type: "warning", message: stepTips[currentStep].rule });
return;
}
this.currentStep++;
......
......@@ -61,6 +61,7 @@ export default {
methods: {
async getOrderInfo() {
if (!this.isLogin) return;
this.showQuestion = false;
const res = await getCulOrder();
if (res) {
this.orderInfo = res;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment