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

feat: 顾问调整

parent 48762101
...@@ -44,21 +44,6 @@ const routes = [ ...@@ -44,21 +44,6 @@ const routes = [
name: "Consultant", name: "Consultant",
component: () => import("../views/Consultant/index.vue") 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", path: "/consultant/plan",
name: "ConsultantPlan", name: "ConsultantPlan",
......
...@@ -222,7 +222,7 @@ export default { ...@@ -222,7 +222,7 @@ export default {
async goPay() { async goPay() {
const res = await goPay({ consultantOrderNo: this.consultantOrderNo }); const res = await goPay({ consultantOrderNo: this.consultantOrderNo });
if (res) { if (res) {
this.$notify("支付成功"); this.$notify({ type: "success", message: "支付成功" });
setTimeout(() => { setTimeout(() => {
// this.$router.push("/consultant/success"); // this.$router.push("/consultant/success");
this.$parent.getOrderInfo(); this.$parent.getOrderInfo();
......
...@@ -175,7 +175,9 @@ export default { ...@@ -175,7 +175,9 @@ export default {
] ]
}; };
}, },
mounted() {}, mounted() {
this.getSuggestion();
},
methods: { methods: {
tagFilter(type) { tagFilter(type) {
let _type = ""; let _type = "";
......
...@@ -282,7 +282,7 @@ export default { ...@@ -282,7 +282,7 @@ export default {
return; return;
} }
if (!formData[stepTips[currentStep].tag] || currentStep === 7) { if (!formData[stepTips[currentStep].tag] || currentStep === 7) {
this.$notify(stepTips[currentStep].rule); this.$notify({ type: "warning", message: stepTips[currentStep].rule });
return; return;
} }
this.currentStep++; this.currentStep++;
......
...@@ -61,6 +61,7 @@ export default { ...@@ -61,6 +61,7 @@ export default {
methods: { methods: {
async getOrderInfo() { async getOrderInfo() {
if (!this.isLogin) return; if (!this.isLogin) return;
this.showQuestion = false;
const res = await getCulOrder(); const res = await getCulOrder();
if (res) { if (res) {
this.orderInfo = 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