Commit 2f0af57b by xiaohai

issue fix

parent c804b686
......@@ -25,6 +25,10 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
......
......@@ -53,7 +53,7 @@
<el-table-column
label="操作">
<template slot-scope="scope">
<router-link :to="{path:'/myTagDetail',query:{tagId:scope.row.tagId,addFlag:scope.row.isAdd,form:'notMyTag'}}" class="edit-btn el-button--text">详情</router-link>
<router-link :to="{path:'/myTagDetail',query:{tagId:scope.row.tagId,addFlag:scope.row.isAdd,form:'notMyTag',navSign: 'manualTag'}}" class="edit-btn el-button--text">详情</router-link>
<router-link :to="{path:'/manualTagEdit',query:{tagId:scope.row.tagId}}" class="edit-btn el-button--text p-l-20">编辑</router-link>
<el-button
type="text"
......@@ -177,6 +177,10 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
......
......@@ -253,13 +253,17 @@
navpath: [
{
name: '首页',
path: ''
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员标签',
name: '会员管理',
path: ''
},
{
name: "会员分组",
path: '/memberGroupList'
},
{
name: '会员分组详情',
path: ''
}
......@@ -592,7 +596,6 @@
width: calc(100% - 60px);
white-space: pre-wrap;
word-break: break-word;
vertical-align: top;
}
.tag-cell {
......
......@@ -130,21 +130,6 @@
}
};
return {
// 面包屑参数
navpath: [
{
name: '首页',
path: ''
},
{
name: '会员标签',
path: ''
},
{
name: '会员分组编辑',
path: ''
}
],
// 编辑数据
ruleForm: {
......@@ -227,6 +212,26 @@
}
},
computed: {
// 面包屑参数
navpath() {
let memberTagGroupId = this.$route.query.memberTagGroupId;
return [
{
name: '首页',
path: ''
},
{
name: '会员标签',
path: ''
},
{
name: memberTagGroupId ? '会员分组编辑' : '新增会员分组',
path: ''
}
];
}
},
methods: {
/**
* 路由跳转
......
......@@ -17,7 +17,7 @@
v-model="statusSelect"
@change="searchByStatus"
placeholder="请选择"
class="w-220">
class="w-220 m-l-20">
<el-option
:key="0"
label="失效"
......@@ -196,12 +196,15 @@
path: ''
},
{
name: '会员标签',
name: '会员管理',
path: ''
},
{
name: '会员分组列表',
name: '会员分组',
path: ''
},
{
name: '会员分组详情'
}
],
......
......@@ -498,22 +498,6 @@ import qs from 'qs';
name: "myTagDetail",
data() {
return {
// 面包屑参数
navpath: [
{
name: '首页',
path: ''
},
{
name: '会员标签',
path: ''
},
{
name: '标签详情',
path: ''
}
],
tagId: '', // 获取当前标签的 id
tagFlag: false, // 判断是否添加暂存架还是添加我的标签库的标志,true: 暂存库,false: 我的标签
addFlag: false, // 是否添加到我的标签库
......@@ -748,6 +732,32 @@ import qs from 'qs';
baseUrl: '',// url
}
},
computed: {
// 面包屑参数
navpath(){
let navSign = this.$route.query.navSign;
let obj = navSign == 'platformTag' ? {name: '平台标签列表', path: '/platformTagList'} : navSign == 'manualTag' ? {name: '手工标签列表', path: '/manualTagList'} : {name: '我的标签列表', path: '/myTagList'};
return [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
name: '会员标签',
path: ''
},
obj,
{
name: '标签详情',
path: ''
}
];
}
},
beforeMount() {
var that = this;
var host = window.location.origin;
......
......@@ -25,6 +25,10 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
......
......@@ -113,6 +113,10 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
......
......@@ -65,13 +65,17 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
name: '会员标签',
path: ''
},
{
{
name: '平台标签库',
path: ''
}
......
......@@ -51,7 +51,7 @@
<el-table-column
label="操作">
<template slot-scope="scope">
<router-link :to="{path:'/myTagDetail',query:{tagId:scope.row.tagId,addFlag:scope.row.isAdd,form:'notMyTag'}}" class="edit-btn el-button--text">详情</router-link>
<router-link :to="{path:'/myTagDetail',query:{tagId:scope.row.tagId,addFlag:scope.row.isAdd,form:'notMyTag',navSign: 'platformTag'}}" class="edit-btn el-button--text">详情</router-link>
<el-button
type="text"
size="small"
......@@ -98,6 +98,10 @@
navpath: [
{
name: '首页',
path: `${window.origin}/report/#/memberSummary`
},
{
name: '会员管理',
path: ''
},
{
......
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