Commit edd2d6ad by xinla

客户画像

1 parent a0ab7daa
...@@ -181,7 +181,6 @@ ...@@ -181,7 +181,6 @@
/> />
<div class="content"> <div class="content">
<div v-for="(item, index) in alllabel" :key="index"> <div v-for="(item, index) in alllabel" :key="index">
<!-- :class="{ styleactive: styleactive == item.groupId }" -->
<div class="mb10 mt5">{{ item.gourpName }}:</div> <div class="mb10 mt5">{{ item.gourpName }}:</div>
<div class="labelstyle"> <div class="labelstyle">
<div <div
...@@ -337,7 +336,7 @@ export default { ...@@ -337,7 +336,7 @@ export default {
// 待办动态 // 待办动态
todonewsshow: false, todonewsshow: false,
// 接口开始 // 接口开始
externalUserid: 'wmiGuBCgAAoCBD1frD3hRplbsXoBLx6g', // 客户Id // externalUserid: 'wmiGuBCgAAoCBD1frD3hRplbsXoBLx6g', // 客户Id
// externalUserid: 'wmiGuBCgAAgeijfvvpJ62cBfwrB-c4kw', // externalUserid: 'wmiGuBCgAAgeijfvvpJ62cBfwrB-c4kw',
form: { form: {
name: '', // 昵称 name: '', // 昵称
...@@ -376,7 +375,6 @@ export default { ...@@ -376,7 +375,6 @@ export default {
loading: false, loading: false,
finished: false, finished: false,
list: [], list: [],
styleactive: '',
agentId: '' agentId: ''
} }
}, },
...@@ -387,7 +385,8 @@ export default { ...@@ -387,7 +385,8 @@ export default {
}, },
computed: { computed: {
userId() { userId() {
return this.$store.state.userId || 'FengJuZhuDeJieDao' return this.$store.state.userId
// || 'FengJuZhuDeJieDao'
}, },
// activeLabel : () => { // activeLabel : () => {
// this.addTag.forEach((value) => { // this.addTag.forEach((value) => {
...@@ -401,29 +400,29 @@ export default { ...@@ -401,29 +400,29 @@ export default {
} }
}, },
created() { created() {
// this.$toast.loading({ this.$toast.loading({
// message: 'loading...', message: 'loading...',
// duration: 0, duration: 0,
// forbidClick: true forbidClick: true
// }) })
// 获取agentId // 获取agentId
let query = param2Obj(window.location.search) let query = param2Obj(window.location.search)
let hash = param2Obj(window.location.hash) let hash = param2Obj(window.location.hash)
query = Object.assign(query, hash) query = Object.assign(query, hash)
// this.agentId = query.agentId this.agentId = query.agentId
// console.log(agentId) // console.log(agentId)
this.findAddaddEmployes() // this.findAddaddEmployes()
this.findAddGroupNum() // this.findAddGroupNum()
this.getCustomerInfo() // this.getCustomerInfo()
this.findTrajectory() // this.findTrajectory()
getAllTags() // getAllTags()
.then(({ data }) => { // .then(({ data }) => {
this.alllabel = data // this.alllabel = data
}) // })
.catch((err) => { // .catch((err) => {
console.log(err) // console.log(err)
}) // })
}, },
methods: { methods: {
...@@ -769,7 +768,7 @@ export default { ...@@ -769,7 +768,7 @@ export default {
display: inline-block; display: inline-block;
min-width: 45px; min-width: 45px;
font-size: 12px; font-size: 12px;
padding: 3px 5px; padding: 4px 5px 3px;
// background-color: #f2f2f2; // background-color: #f2f2f2;
color: #2c8cf0; color: #2c8cf0;
border: 1px solid #2c8cf0; border: 1px solid #2c8cf0;
...@@ -871,10 +870,7 @@ export default { ...@@ -871,10 +870,7 @@ export default {
padding: 0 10px; padding: 0 10px;
} }
} }
/deep/.styleactive {
// background: #f00;
color: #2c8cf0;
}
.iconfont { .iconfont {
color: #2c8cf0; color: #2c8cf0;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!