订单列表页


//============= 客户订单列表 =============
customerDetail({ row }) {
// this.$router.push('/srm/admin/custom/income/agentIncomList');
// this.$router.push('/srm/admin/custom/income/order/list');
this.$router.push({path: "/srm/admin/custom/income/order/list", query: {id: row.id,name: row.fullName}})
订单详情页
created(){
this.getParams()
},
// 格式化表格数据
formatter: {
// type: { list: corpTypeEnum, key: 'value', value: 'label' },
// status: { list: statusEnum, key: 'value', value: 'label' },
// regType: { list: regTypeEnum, key: 'value', value: 'label' },
// regFrom: { list: regFromEnum, key: 'value', value: 'label' }
},
methods: {
getParams() {
// 取到路由带过来的参数
userId = this.$route.query.id;
this.query.userId = userId;
this.query.user_name = this.$route.query.name;
},

