提交 a026fe76 编写于 作者: “grape”'s avatar “grape”

路由

上级 39cd4518
...@@ -29,10 +29,12 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator"; ...@@ -29,10 +29,12 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
/* /*
* title * title
*/ */
@Component({ @Component({
name: "Bottom", name: "Bottom",
}) })
export default class Bottom extends Vue { export default class Bottom extends Vue {
// @Prop({ default: "0" }) indexed: string | undefined;
myBtnImage: any = "#icon-a-wode24x24px-kehujinglixiaochengxu"; myBtnImage: any = "#icon-a-wode24x24px-kehujinglixiaochengxu";
onchangeImage: any = "#icon-a-shouye-xuanzhong20x20px"; onchangeImage: any = "#icon-a-shouye-xuanzhong20x20px";
btnFlag: any = true btnFlag: any = true
...@@ -41,14 +43,35 @@ export default class Bottom extends Vue { ...@@ -41,14 +43,35 @@ export default class Bottom extends Vue {
{ {
img: "#icon-a-shouye-xuanzhong20x20px", img: "#icon-a-shouye-xuanzhong20x20px",
name: "首页", name: "首页",
flag: true flag: true,
indexed:"0"
}, },
{ {
img: "#icon-a-wode24x24px-kehujinglixiaochengxu", img: "#icon-a-wode24x24px-kehujinglixiaochengxu",
name: "我的", name: "我的",
flag: false flag: false,
indexed:"1"
} }
]; ];
// Create(){
// console.log(this.indexed)+"==========";
// if(this.indexed==="0"){
// this.tabbar[1].img = "#icon-a-wode24x24px-kehujinglixiaochengxu";//将我的按钮置灰
// this.tabbar[1].flag = "false";//将我的按钮置灰
// this.tabbar[0].img = "#icon-a-shouye-xuanzhong20x20px";//将首页切换为蓝色
// this.tabbar[0].flag = true;
// this.tabbar[1].flag = false;
// this.onchangebtn()
// }else if(this.indexed==="1"){
// this.tabbar[0].img = "#icon-a-shouye20x20px";//将首页置灰
// this.tabbar[1].img = "#icon-a-wode-xuanzhong24x24px-kehujinglixiaochengxu";//将我的按钮直为蓝色
// this.tabbar[0].flag = false;
// this.tabbar[1].flag = true;
// this.onchangebtn()
// }
// }
btn(index: number) { btn(index: number) {
//alert(index); //alert(index);
...@@ -58,18 +81,22 @@ export default class Bottom extends Vue { ...@@ -58,18 +81,22 @@ export default class Bottom extends Vue {
this.tabbar[0].img = "#icon-a-shouye-xuanzhong20x20px";//将首页切换为蓝色 this.tabbar[0].img = "#icon-a-shouye-xuanzhong20x20px";//将首页切换为蓝色
this.tabbar[0].flag = true; this.tabbar[0].flag = true;
this.tabbar[1].flag = false; this.tabbar[1].flag = false;
this.btnFlag=true;
// this.indexed="0"
this.onchangebtn() this.onchangebtn()
} else if (index == 1) { } else if (index == 1) {
this.tabbar[0].img = "#icon-a-shouye20x20px";//将首页置灰 this.tabbar[0].img = "#icon-a-shouye20x20px";//将首页置灰
this.tabbar[1].img = "#icon-a-wode-xuanzhong24x24px-kehujinglixiaochengxu";//将我的按钮直为蓝色 this.tabbar[1].img = "#icon-a-wode-xuanzhong24x24px-kehujinglixiaochengxu";//将我的按钮直为蓝色
this.tabbar[0].flag = false; this.tabbar[0].flag = false;
this.tabbar[1].flag = true; this.tabbar[1].flag = true;
this.btnFlag=false;
// this.indexed="1"
this.onchangebtn() this.onchangebtn()
} }
} }
//传给父组件 //传给父组件
onchangebtn() { onchangebtn() {
this.btnFlag=!this.btnFlag this.btnFlag=this.btnFlag
this.$emit('onchangebtn', this.btnFlag); this.$emit('onchangebtn', this.btnFlag);
} }
} }
......
...@@ -63,9 +63,9 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator"; ...@@ -63,9 +63,9 @@ import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
export default class CardPottom extends Vue { export default class CardPottom extends Vue {
pass="*****" pass="*****"
totalAmount ="30000.00" totalAmount ="30000.00"
useAmount ="20000.00" useAmount ="20000.00"
unUseAmount = "10000.00" unUseAmount = "10000.00"
totalFinal = this.pass totalFinal = this.pass
useFinal = this.pass useFinal = this.pass
unUseFinal = this.pass unUseFinal = this.pass
......
...@@ -34,11 +34,13 @@ import { Component, Vue, Prop, Watch,Emit } from "vue-property-decorator"; ...@@ -34,11 +34,13 @@ import { Component, Vue, Prop, Watch,Emit } from "vue-property-decorator";
export default class Tatle extends Vue { export default class Tatle extends Vue {
@Prop({ default: "" }) tatle: string | undefined @Prop({ default: "" }) tatle: string | undefined
@Prop({ default: true}) tatleflag : boolean|undefined @Prop({ default: true}) tatleflag : boolean|undefined
@Emit("retyen")
retyen(){} // onClickReturn(){
// retyen(){ // this.$emit("onClickReturn")
// this.$router.back();
// } // }
retyen(){
this.$router.back();
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
...@@ -20,13 +20,13 @@ const customerRoutes = [ ...@@ -20,13 +20,13 @@ const customerRoutes = [
path: `${prefix}/AddUserView`, path: `${prefix}/AddUserView`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/AddUserView.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/AddUserView.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "新增客户" }, meta: { keepAlive: false, requiresAuth: true, name: "新增客户" },
}, },
{ {
path: `${prefix}/customer-info/customer-information-registration/customer-information-registration`, path: `${prefix}/customer-info/customer-information-registration/customer-information-registration`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/customer-information-registration/CustomerInformationRegistration.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/customer-information-registration/CustomerInformationRegistration.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "客户信息预登记" }, meta: { keepAlive: false, requiresAuth: true, name: "客户信息预登记" },
}, },
{ {
path: "/Overview", path: "/Overview",
...@@ -38,13 +38,13 @@ const customerRoutes = [ ...@@ -38,13 +38,13 @@ const customerRoutes = [
path: "/InfoChangeHistory", path: "/InfoChangeHistory",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-information/InfoChangeHistory.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-information/InfoChangeHistory.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "基本信息变动历史" }, meta: { keepAlive: false, requiresAuth: true, name: "基本信息变动历史" },
}, },
{ {
path: `${prefix}/customer-info/business-information/risk-information`, path: `${prefix}/customer-info/business-information/risk-information`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-information/RiskInformation.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-information/RiskInformation.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "风险信息" }, meta: { keepAlive: false, requiresAuth: true, name: "风险信息" },
}, },
{ {
path: "/EquityPledgeAndMovablePropertyPledge", path: "/EquityPledgeAndMovablePropertyPledge",
...@@ -62,7 +62,7 @@ const customerRoutes = [ ...@@ -62,7 +62,7 @@ const customerRoutes = [
path: "/Judgment", path: "/Judgment",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/Judgment.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/Judgment.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "裁判文书" }, meta: { keepAlive: false, requiresAuth: true, name: "裁判文书" },
}, },
{ {
path: "/JudgmentDetail", path: "/JudgmentDetail",
...@@ -82,7 +82,7 @@ const customerRoutes = [ ...@@ -82,7 +82,7 @@ const customerRoutes = [
path: "/FYGGList", path: "/FYGGList",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/FYGGList.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/FYGGList.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "法院公告" }, meta: { keepAlive: false, requiresAuth: true, name: "法院公告" },
}, },
{ {
path: "/CFXXList", path: "/CFXXList",
...@@ -132,7 +132,7 @@ const customerRoutes = [ ...@@ -132,7 +132,7 @@ const customerRoutes = [
path: "/CourtAnnouncement", path: "/CourtAnnouncement",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/CourtAnnouncement.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/CourtAnnouncement.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "开庭公告" }, meta: { keepAlive: false, requiresAuth: true, name: "开庭公告" },
}, },
{ {
path: "/AnnouncementInformationDetail", path: "/AnnouncementInformationDetail",
...@@ -145,7 +145,7 @@ const customerRoutes = [ ...@@ -145,7 +145,7 @@ const customerRoutes = [
path: "/CaseProcess", path: "/CaseProcess",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/CaseProcess.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/CaseProcess.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "案件流程" }, meta: { keepAlive: false, requiresAuth: true, name: "案件流程" },
}, },
{ {
path: "/CaseFlowInformationDetail", path: "/CaseFlowInformationDetail",
...@@ -158,7 +158,7 @@ const customerRoutes = [ ...@@ -158,7 +158,7 @@ const customerRoutes = [
path: "/ExposureTable", path: "/ExposureTable",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/ExposureTable.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/ExposureTable.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "曝光台" }, meta: { keepAlive: false, requiresAuth: true, name: "曝光台" },
}, },
{ {
path: "/ExposureTableInformationDetail", path: "/ExposureTableInformationDetail",
...@@ -171,7 +171,7 @@ const customerRoutes = [ ...@@ -171,7 +171,7 @@ const customerRoutes = [
path: "/JudicialDeduction", path: "/JudicialDeduction",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/JudicialDeduction.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/JudicialDeduction.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "司法查冻扣" }, meta: { keepAlive: false, requiresAuth: true, name: "司法查冻扣" },
}, },
{ {
path: "/JudicialFrozenDeductionInformationDetail", path: "/JudicialFrozenDeductionInformationDetail",
...@@ -184,7 +184,7 @@ const customerRoutes = [ ...@@ -184,7 +184,7 @@ const customerRoutes = [
path: "/PublicOpinionInformation", path: "/PublicOpinionInformation",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/PublicOpinionInformation.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/Operating-risk-information/PublicOpinionInformation.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "舆情信息" }, meta: { keepAlive: false, requiresAuth: true, name: "舆情信息" },
}, },
{ {
path: "/EnterpriseMap", path: "/EnterpriseMap",
...@@ -238,25 +238,25 @@ const customerRoutes = [ ...@@ -238,25 +238,25 @@ const customerRoutes = [
path: `${prefix}/customer-info/business-application-status/customer-management-information`, path: `${prefix}/customer-info/business-application-status/customer-management-information`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerManagementInformation.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerManagementInformation.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "客户经营信息" }, meta: { keepAlive: false, requiresAuth: true, name: "客户经营信息" },
}, },
{ {
path: "/CustomerPreliminaryScreeningHistory", path: "/CustomerPreliminaryScreeningHistory",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerPreliminaryScreeningHistory.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerPreliminaryScreeningHistory.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "客户初筛历史" }, meta: { keepAlive: false, requiresAuth: true, name: "客户初筛历史" },
}, },
{ {
path: "/CustomerRatings", path: "/CustomerRatings",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerRatings.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/CustomerRatings.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "客户近三年评级情况" }, meta: { keepAlive: false, requiresAuth: true, name: "客户近三年评级情况" },
}, },
{ {
path: "/FinancialInformation", path: "/FinancialInformation",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/FinancialInformation.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/FinancialInformation.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "财务信息" }, meta: { keepAlive: false, requiresAuth: true, name: "财务信息" },
}, },
{ {
path: "/FinancialInfoDetail", path: "/FinancialInfoDetail",
...@@ -274,7 +274,7 @@ const customerRoutes = [ ...@@ -274,7 +274,7 @@ const customerRoutes = [
path: "/StockInformation", path: "/StockInformation",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/StockInformation.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/StockInformation.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "股票信息" }, meta: { keepAlive: false, requiresAuth: true, name: "股票信息" },
}, },
{ {
path: "/UnifiedCustomerCreditView", path: "/UnifiedCustomerCreditView",
...@@ -286,7 +286,7 @@ const customerRoutes = [ ...@@ -286,7 +286,7 @@ const customerRoutes = [
path: "/ProjectInfo", path: "/ProjectInfo",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/ProjectInfo.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/business-application-status/ProjectInfo.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "项目信息" }, meta: { keepAlive: false, requiresAuth: true, name: "项目信息" },
}, },
/*个人详情*/ /*个人详情*/
{ {
...@@ -332,7 +332,7 @@ const customerRoutes = [ ...@@ -332,7 +332,7 @@ const customerRoutes = [
path: "/RiskWarning", path: "/RiskWarning",
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/risk-summary/RiskWarning.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/risk-summary/RiskWarning.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "风险预警" }, meta: { keepAlive: false, requiresAuth: true, name: "风险预警" },
}, },
//预警详情信息 //预警详情信息
{ {
...@@ -345,20 +345,20 @@ const customerRoutes = [ ...@@ -345,20 +345,20 @@ const customerRoutes = [
path: `${prefix}/customer-info/history-information/customer-tagHistory`, path: `${prefix}/customer-info/history-information/customer-tagHistory`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/history-information/CustomerTagHistory.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/history-information/CustomerTagHistory.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "客户标签历史" }, meta: { keepAlive: false, requiresAuth: true, name: "客户标签历史" },
}, },
{ {
path: `${prefix}/timeLine/customer-info/time-line/company-timeline`, path: `${prefix}/timeLine/customer-info/time-line/company-timeline`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/timeLine/CompanyTimeLine.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/timeLine/CompanyTimeLine.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "企业时光轴" }, meta: { keepAlive: false, requiresAuth: true, name: "企业时光轴" },
}, },
{ {
path: `${prefix}/timeLine/customer-info/time-line/enterprise-timeline`, path: `${prefix}/timeLine/customer-info/time-line/enterprise-timeline`,
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/timeLine/MarketTimeLine.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/customer-mgt/customer-info/timeLine/MarketTimeLine.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "营销时光轴" }, meta: { keepAlive: false, requiresAuth: true, name: "营销时光轴" },
}, },
// { // {
// path: `/MarketStatisticsDetail`, // path: `/MarketStatisticsDetail`,
......
...@@ -9,7 +9,7 @@ const depositInterestTrialRoutes = [ ...@@ -9,7 +9,7 @@ const depositInterestTrialRoutes = [
name: 'DepositInterestTrial', name: 'DepositInterestTrial',
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/DepositInterestTrial/DepositInterestTrial.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/DepositInterestTrial/DepositInterestTrial.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: false, requiresAuth: true, name: "存款利息试算" }, meta: { keepAlive: true, requiresAuth: true, name: "存款利息试算" },
}, },
{ {
path: `/CountResult`, path: `/CountResult`,
......
...@@ -29,14 +29,14 @@ const routes: Array<RouteConfig> = [ ...@@ -29,14 +29,14 @@ const routes: Array<RouteConfig> = [
{ {
path: "/", path: "/",
redirect: `/login`, redirect: `/login`,
meta: { keepAlive: true, requiresAuth: true }, meta: { keepAlive: false, requiresAuth: true },
}, },
{ {
path: "/login", path: "/login",
name:"login", name:"login",
component: () => import(/* webpackChunkName: "login" */ "@/views/authentication/LoginView.vue"), component: () => import(/* webpackChunkName: "login" */ "@/views/authentication/LoginView.vue"),
//component: () => import(/* webpackChunkName: "login" */ "@/components/common/Tool.vue"), //component: () => import(/* webpackChunkName: "login" */ "@/components/common/Tool.vue"),
meta: { keepAlive: true, requiresAuth: true }, meta: { keepAlive: false, requiresAuth: true },
}, },
//...mainRoutes, //...mainRoutes,
// ...customerRoutes, // ...customerRoutes,
......
...@@ -30,7 +30,7 @@ const loginRoutes = [ ...@@ -30,7 +30,7 @@ const loginRoutes = [
name: 'Mianview', name: 'Mianview',
component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/main/MainView.vue"), component: () => import(/* webpackChunkName: "customer-mgt" */ "@/views/main/MainView.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: false, requiresAuth: true, name: "主页" }, meta: { keepAlive: true, requiresAuth: true, name: "主页" },
} }
,{ ,{
path: `/LoginByID`, path: `/LoginByID`,
......
...@@ -15,7 +15,7 @@ const mainRoutes = [ ...@@ -15,7 +15,7 @@ const mainRoutes = [
path: `${prefix}`, path: `${prefix}`,
// redirect: `${prefix}/workbench`, // redirect: `${prefix}/workbench`,
redirect: `${prefix}/PersonalMgtView`, redirect: `${prefix}/PersonalMgtView`,
meta: { keepAlive: true, requiresAuth: true }, meta: { keepAlive: false, requiresAuth: true },
}, },
{ {
path: `${prefix}`, path: `${prefix}`,
...@@ -44,7 +44,7 @@ const mainRoutes = [ ...@@ -44,7 +44,7 @@ const mainRoutes = [
path: `marketing-mgt`, path: `marketing-mgt`,
component: () => import(/* webpackChunkName: "main" */ "@/views/marketing-mgt/personal/MarketingMgtView.vue"), component: () => import(/* webpackChunkName: "main" */ "@/views/marketing-mgt/personal/MarketingMgtView.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true }, meta: { keepAlive: false, requiresAuth: true },
}, },
{ {
path: "/ComMarketingPool", path: "/ComMarketingPool",
...@@ -53,13 +53,13 @@ const mainRoutes = [ ...@@ -53,13 +53,13 @@ const mainRoutes = [
meta: { keepAlive: false, requiresAuth: true }, meta: { keepAlive: false, requiresAuth: true },
}, },
], ],
meta: { requiresAuth: true, name: "应用首页", keepAlive: true }, meta: { requiresAuth: true, name: "应用首页", keepAlive: false },
}, },
// { // {
// path: `${prefix}/self-stats`, // path: `${prefix}/self-stats`,
// component: () => import(/* webpackChunkName: "main" */ "@/views/main/PersonalStatsView.vue"), // component: () => import(/* webpackChunkName: "main" */ "@/views/main/PersonalStatsView.vue"),
// props: propsConvert, // props: propsConvert,
// meta: { requiresAuth: true, name: "个人业务汇总", keepAlive: true }, // meta: { requiresAuth: true, name: "个人业务汇总", keepAlive: false },
// }, // },
]; ];
export default mainRoutes; export default mainRoutes;
...@@ -7,7 +7,7 @@ const marketingRoutes = [ ...@@ -7,7 +7,7 @@ const marketingRoutes = [
path: `${prefix}/index`, path: `${prefix}/index`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingMgtView.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingMgtView.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "工作台" }, meta: { keepAlive: false, requiresAuth: true, name: "工作台" },
}, },
//对公营销管理 //对公营销管理
{ {
...@@ -20,19 +20,19 @@ const marketingRoutes = [ ...@@ -20,19 +20,19 @@ const marketingRoutes = [
path: `${prefix}/add-marketing`, path: `${prefix}/add-marketing`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AddMarketing.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AddMarketing.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "添加营销" }, meta: { keepAlive: false, requiresAuth: true, name: "添加营销" },
}, },
{ {
path: "/MarketingMap", path: "/MarketingMap",
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingMap.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingMap.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "营销地图" }, meta: { keepAlive: false, requiresAuth: true, name: "营销地图" },
}, },
{ {
path: "/MarketingList", path: "/MarketingList",
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingList.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/MarketingList.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "营销列表" }, meta: { keepAlive: false, requiresAuth: true, name: "营销列表" },
}, },
{ {
path: "/JHDBDetail", path: "/JHDBDetail",
...@@ -45,38 +45,38 @@ const marketingRoutes = [ ...@@ -45,38 +45,38 @@ const marketingRoutes = [
path: "/AddMarketPlan", path: "/AddMarketPlan",
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/AddMarketPlan.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/personal/AddMarketPlan.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "新增营销计划" }, meta: { keepAlive: false, requiresAuth: true, name: "新增营销计划" },
}, },
{ {
path: `${prefix}/market-plan`, path: `${prefix}/market-plan`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/MarketPlan.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/MarketPlan.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "营销计划" }, meta: { keepAlive: false, requiresAuth: true, name: "营销计划" },
}, },
{ {
path: `${prefix}/do-market-byphone`, path: `${prefix}/do-market-byphone`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/DoingMarketByPhone.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/DoingMarketByPhone.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "电话营销详情" }, meta: { keepAlive: false, requiresAuth: true, name: "电话营销详情" },
}, },
{ {
path: `${prefix}/accurate-visitor`, path: `${prefix}/accurate-visitor`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AccurateVisitors.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AccurateVisitors.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "精准访客汇报" }, meta: { keepAlive: false, requiresAuth: true, name: "精准访客汇报" },
}, },
{ {
path: `${prefix}/accurate-customer`, path: `${prefix}/accurate-customer`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AccurateCustomer.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/AccurateCustomer.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "精准客户入围申报" }, meta: { keepAlive: false, requiresAuth: true, name: "精准客户入围申报" },
}, },
{ {
path: `${prefix}/put-reserve`, path: `${prefix}/put-reserve`,
component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/PutInReserve.vue"), component: () => import(/* webpackChunkName: "marketing" */ "@/views/marketing-mgt/PutInReserve.vue"),
props: propsConvert, props: propsConvert,
meta: { keepAlive: true, requiresAuth: true, name: "小微线条" }, meta: { keepAlive: false, requiresAuth: true, name: "小微线条" },
}, },
]; ];
export default marketingRoutes; export default marketingRoutes;
...@@ -21,6 +21,7 @@ import { Component, Vue } from "vue-property-decorator"; ...@@ -21,6 +21,7 @@ import { Component, Vue } from "vue-property-decorator";
import { ProductData } from '@/model/entity/ProductData' import { ProductData } from '@/model/entity/ProductData'
import Main from "./Main.vue"; import Main from "./Main.vue";
import MyPage from "../MyView/MyPage.vue"; import MyPage from "../MyView/MyPage.vue";
import { log } from "mathjs";
@Component({ @Component({
...@@ -32,10 +33,30 @@ components: { ...@@ -32,10 +33,30 @@ components: {
}) })
export default class MainView extends Vue { export default class MainView extends Vue {
showFlag :boolean = true; showFlag :boolean = true;
// indexed="0"
onchangebtn(value:any){ onchangebtn(value:any){
//子组件传来的值 //子组件传来的值
this.showFlag=value this.showFlag=value
} }
// beforeCreate(){
// console.log(this.$route.params.indexed);
// debugger
// this.indexed=this.$route.params.indexed
// }
// activated(){
// // console.log(this.$route.params.indexed);
// this.indexed=this.$route.params.indexed
// }
// deactivated(){
// // 离开home组件的那一刻就会打印
// console.log("讨厌!!你又走了")
// console.log("----------deactivated--------")
// }
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div> <div>
<div class="rarle"> <div class="rarle">
<tatle-bar :tatle="tatleName" style="background: #0B54E0"></tatle-bar> <tatle-bar :tatle="tatleName" style="background: #0B54E0" ></tatle-bar>
</div> </div>
<van-row type="flex" class="iconImg"> <van-row type="flex" class="iconImg">
<van-col span="24"> <van-col span="24">
...@@ -129,6 +129,23 @@ export default class PersonLod extends Vue { ...@@ -129,6 +129,23 @@ export default class PersonLod extends Vue {
//参数 //参数
}) })
} }
onClickReturn(){
// console.log("1111")
this.$router.push({
name: `Mianview`,
params: {
indexed: "1"
}
})
// debugger
// this.$router.push({
// name: "MainView",
// params: {
// indexed: "1"
// }
// });
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
<div> <div>
<div class="rarle"> <div class="rarle">
<tatle-bar :tatle="tatleName" style="background: #0B54E0"></tatle-bar> <tatle-bar :tatle="tatleName" style="background: #0B54E0" @onClickReturn="onClickReturn" ></tatle-bar>
</div> </div>
<van-row type="flex" class="iconImg"> <van-row type="flex" class="iconImg">
<van-col span="24"> <van-col span="24">
...@@ -120,6 +120,10 @@ export default class PersonLod extends Vue { ...@@ -120,6 +120,10 @@ export default class PersonLod extends Vue {
//参数 //参数
}) })
} }
onClickReturn(){
this.$router.back();
}
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册