zhaoxiaoqiang
2021-07-28 1170997eb10f24617796ae74b1ac9573ff9faa16
增加查询参数
2 files modified
9 ■■■■■ changed files
src/router/routes.js 5 ●●●●● patch | view | raw | blame | history
src/views/order/wxScore.vue 4 ●●●● patch | view | raw | blame | history
src/router/routes.js
@@ -210,11 +210,6 @@
        name:'order-wxScore',
        component:()=>import("@/views/order/wxScore.vue")
    },
    {
        path:"/order/wxScore",
        name:'order-wxScore',
        component:()=>import("@/views/order/wxScore.vue")
    },
    // 添加店员
    {
        path:"/wx-test-code",
src/views/order/wxScore.vue
@@ -70,6 +70,9 @@
                filter: {}
            }
        },
        created(){
            console.log(this.$route.query)
        },
        computed: {
            ...mapState(['userinfo']),
            ...mapGetters(['orgType']),
@@ -103,6 +106,7 @@
            // 获取订单列表
            init(params = this.filter,isClear) {
                this.loading = true;
                params.merId =  this.$route.query.id;
                this.$api.wxScoreList(params).then(res => {
                    this.filter = {...params};
                    if(isClear){