Commit 261e3274 by 李长胜

客户运营修改

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