Commit 1a1293dd by xuyl

Merge branch 'v2.3.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into xuyl_dev_v2.4.0

2 parents cf783254 eb77ecd8
......@@ -126,7 +126,7 @@ const staticRoutes = Object.freeze([{
},
{
name: 'crowdDetail',
path: '/crowdManage/crowdDetail/:id/:type',
path: '/crowdManage/crowdDetail:id',
component: resolve => require([`@/views/crowdManage/crowdDetail.vue`], resolve),
meta: {}
},
......
......@@ -206,7 +206,8 @@ export default {
let { id } = this
this.init(id)
// 针对广汇替换字段
if (this.id == 1 && location.host.includes('cgacar')) {
// cgacar
if ((this.id == 1 || this.id == 2 || this.id == 3) && location.host.includes('cgacar')) {
this.tableParams.tableColumns.splice(
3,
3,
......
......@@ -254,11 +254,12 @@ export default {
tableOption: false,
// mutiSelectName: 'employeeList',
// mutiSelectUniqueKey: 'id',
tableColumns: [
{
label: '客户ID',
prop: 'oneId',
width:140,
width: 140,
line: 1
},
{
......@@ -266,7 +267,7 @@ export default {
prop: 'customerName',
addHtml: 'customerName',
width: 120,
line:1
line: 1
},
{
label: '企微名称',
......@@ -323,30 +324,30 @@ export default {
label: '车系',
prop: 'audi',
width: 120,
line:1
line: 1
},
{
label: '车架号',
prop: 'carVin',
width: 180,
line:1
line: 1
},
{
label: '车牌号',
prop: 'carNumber',
width: 140,
line:1
line: 1
},
{
label: '购车时间',
prop: 'buyDate',
width: 170,
line:1
line: 1
},
{
label: '操作',
prop: 'optionBtns',
width: '65px',
width: '66px',
addHtml: 'optionBtns',
fixed: 'right'
}
......
......@@ -107,7 +107,7 @@ export default {
crowdDesc: ''
},
crowdId: this.$route.params.id ? this.$route.params.id : '',
crowdPage: this.$route.params.crowdType ? this.$route.params.crowdType : '',
crowdPage: this.$route.query.crowdType ? this.$route.query.crowdType : '',
tableTotal: '',
isShowCloseBtn: true,
dialogRuleVisible: false,
......@@ -152,7 +152,7 @@ export default {
this.getCrowdDetails()
},
mounted() {
console.log(this.$route.params)
console.log(this.$route.query.crowdPage)
},
methods: {
goBack() {
......
......@@ -108,12 +108,12 @@ export default {
// this.activeName = 'second'
// // window.history.pushState(null, null, location.origin + location.pathname)
// }
// console.log(this.$route.query)
if (this.$route.query.selectTab) {
this.$route.query.selectTab == 1 ? (this.activeName = 'first') : (this.activeName = 'second')
}
},
mounted() {
console.log(this.$route.params)
},
methods: {
// 跳转到营销SOPs
......@@ -124,7 +124,7 @@ export default {
btnClick(type, data) {
const crowdType = this.activeName == 'first' ? 1 : 2
if (type == 'detail') {
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}/${crowdType}`)
this.$router.push(`/crowdManage/crowdDetail/${data.crowdId}?crowdType=${crowdType}`)
}
if (type == 'view') {
this.$router.push(`/clientDataOverview/group/${data.crowdId}/${crowdType}`)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!