Commit 261e3274 by 李长胜

客户运营修改

1 parent 9ec86729
......@@ -37,10 +37,10 @@ export default {
if (this.totalData && this.totalData.length > 0) {
this.dateArray = this.totalData.map(item => item.dateTime) //日期
this.customerCount = this.totalData.map(item => item.newCustomerCount)
this.customerRatio = this.totalData.map(item => item.customerRatio * 100)
this.customerRatio = this.totalData.map(item => item.customerRatio.toFixed(4) * 100)
this.entmicroCount = this.totalData.map(item => item.newEntmicroCount)
this.entmicroRatio = this.totalData.map(item => item.entmicroRatio * 100)
this.entmicroRatio = this.totalData.map(item => item.entmicroRatio.toFixed(4) * 100)
this.initChart()
}
......@@ -52,10 +52,10 @@ export default {
handler(val) {
this.dateArray = this.totalData.map(item => item.dateTime) //日期
this.customerCount = this.totalData.map(item => item.newCustomerCount)
this.customerRatio = this.totalData.map(item => item.customerRatio * 100)
this.customerRatio = this.totalData.map(item => item.customerRatio.toFixed(4) * 100)
this.entmicroCount = this.totalData.map(item => item.newEntmicroCount)
this.entmicroRatio = this.totalData.map(item => item.entmicroRatio * 100)
this.entmicroRatio = this.totalData.map(item => item.entmicroRatio.toFixed(4) * 100)
this.initChart()
}
......
......@@ -414,8 +414,11 @@ export default {
this.isNoBuyUp = res.purposeUp
this.isBuyUp = res.purchaseUp
//先看登录次数,首次进来为true,不管客户总数是否为0,都显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于0,继续显示banner;
//不是首次进来,登录次数为2,客户总数大于0,不显示banner,小于等于0,继续显示banner;
console.log(this.accountLevel,this.isShowModal,this.topDataObj.customerCount,'myData')
if(this.isShowModal && this.accountLevel!==4){
this.isShowModal=false; //关掉引导层
}
if (this.isShowModal && this.accountLevel==4) {
this.isHasCustomerCountBanner = true
this.$nextTick(() => {
......
......@@ -717,13 +717,14 @@ export default {
line-height: 26px;
border-radius: 4px;
// border: 1px solid $btnBlue;
border: 1px solid #999999;
border: 1px solid #e8e8ea;
text-align: center;
font-size: 14px;
font-weight: 400;
color: #999999;
color: #666666;
max-width: 245px;
cursor: pointer;
background: #fafbfe;
}
.activeTag {
border: 1px solid $borderBlue;
......
......@@ -183,7 +183,8 @@ export default {
},
{
label: '跟进员工',
prop: 'followStaff'
prop: 'followStaff',
// addHtml:'followStaff'
},
{
label: '来源',
......
......@@ -103,6 +103,8 @@
<img class="editIcon" src="@/assets/tagsManage/edit.png" @click="showInput(item.id)" alt="" v-show="!item.inputVisible" />
</span>
</div>
<div class="row-tag" v-for="(item, index) in tagForm.tagsList" :key="index">
<!-- :onkeyup="(item.name = item.name.replace(/\s+/g, ''))" -->
<el-input v-model.trim="item.name" placeholder="添加标签名称(至少添加一个标签)" maxlength="30" show-word-limit @input="checkInputContent"></el-input>
......@@ -339,7 +341,7 @@ export default {
},
closeInitPanel() {
this.isFirstShow = false
//不用算高度
//不用算高度
// setTimeout(() => {
// this.$refs.tagsManage.setTableHeightFun()
// }, 200)
......@@ -380,12 +382,12 @@ export default {
},
//重置表格
resetTable() {
this.isReload=false
this.isReload = false
this.searchForm = { 'labelTreeReq.shopId': this.merchantId, 'labelTreeReq.edition': this.merchantModel }
// this.$refs.tagsManage.refreshTable()
this.$nextTick(()=>{
this.isReload=true
})
this.$nextTick(() => {
this.isReload = true
})
},
btnClick(pType, rowData) {
......@@ -598,7 +600,7 @@ export default {
},
handleSelect(value) {
console.log('值内容', value)
},
}
//注意问问他们后台怎么处理转义字符
//限制输入特殊字符
// keyUp(e) {
......@@ -618,7 +620,7 @@ export default {
.scrm-sub-client-container {
.pageTitle {
position: relative;
// margin-top: 30px;
// margin-top: 30px;
margin-bottom: 20px;
height: 20px;
font-size: 20px;
......@@ -720,9 +722,12 @@ export default {
.allTagsWrap {
position: relative;
display: -webkit-box;
// max-height: 56px;
overflow: hidden;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
padding-bottom: -2px;
box-sizing: border-box;
&:hover {
-webkit-line-clamp: 9999;
// .tag-box-wrap {
......@@ -731,9 +736,9 @@ export default {
}
.tag-box-wrap {
display: inline-block;
margin-right: 10px;
// margin-bottom: 10px;
// margin-bottom: 4px;
// margin-bottom: 2px;
padding: 0 10px;
box-sizing: border-box;
min-width: 76px;
......@@ -741,14 +746,21 @@ export default {
height: 26px;
line-height: 26px;
border-radius: 4px;
border: 1px solid #999999;
border: 1px solid #e8e8ea;
background: #fafbfe;
text-align: center;
font-size: 14px;
font-weight: 400;
color: #999999;
color: #666666;
max-width: 245px;
cursor: pointer;
// &:first-child{
// margin-bottom: 4px;
// }
}
// .tag-box-wrap + .tag-box-wrap {
// margin-bottom: 4px;
// }
.expande-button-wrap {
position: absolute;
right: 0;
......@@ -819,7 +831,7 @@ export default {
margin-right: 10px;
margin-bottom: 10px;
height: 32px;
background: #ffffff;
background: #fafbfe;
border-radius: 2px;
border: 1px solid #e8e8ea;
position: relative;
......@@ -842,6 +854,7 @@ export default {
position: absolute;
top: -8px;
right: -8px;
// z-index: 9999;
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!