Commit 4bb1121f by xuyl

Merge branch 'v2.1.0' of http://192.168.3.233:8090/saas/scrm-micro-custom into xuyl_dev_2.1.0

2 parents 3e344416 b4d62843
......@@ -82,6 +82,9 @@ export default {
goDetail(scope) {
this.$router.push('/clientManage/clientDetail?id=' + scope.oneId)
},
jumpGroup() {
this.$router.push('/crowdManage/index')
},
//删除标签组
removeItem(index) {
this.tagCheckItem.splice(index, 1)
......@@ -195,11 +198,8 @@ export default {
.addCrowd(params)
.then(res => {
if (res) {
this.$message({
type: 'success',
message: '操作成功!'
})
this.groupVisible = false
this.successVisible = true
} else {
this.$message({
type: 'error',
......
......@@ -180,7 +180,7 @@ export default {
},
{
label: '购车时间',
prop: 'addTime',
prop: 'buyDate',
width: 110
},
{
......
......@@ -254,6 +254,15 @@
</div>
</div>
</basic-dialog>
<el-dialog title="提示" :visible.sync="successVisible" width="30%">
<div class="success-panel">
<i class="el-icon-circle-check"></i>
</div>
<div class="success-tips">
<div class="success-tips-h1">已保存为人群</div>
<div class="success-tips-h2" @click="jumpGroup">立即前往“人群管理”></div>
</div>
</el-dialog>
<div class="loading-containner" v-if="userLoading">
<div class="loading-box">客户列表加载中</div>
</div>
......@@ -299,6 +308,7 @@ export default {
}
}
return {
successVisible: false,
userLoading: false,
dialogRuleVisible: false,
expand: false,
......@@ -530,7 +540,7 @@ export default {
if (this.accountLevel == 1) {
//集团下的工厂只能创建企微标签,自店标签不要了
this.tagsGroupList.splice(1, 1)
this.tagsPartFormList[0].options.splice(1, 1)
// this.tagsPartFormList[0].options.splice(1, 1)
}
}
// 集团授权模式下的门店账号,拥有标签管理模块权限,修改为:去掉门店的“标签管理”模块权限
......@@ -538,7 +548,7 @@ export default {
if (this.merchantModel == 2) {
if (this.accountLevel == 4) {
this.tagsGroupList.splice(1, 1)
this.tagsPartFormList[0].options.splice(1, 1)
// this.tagsPartFormList[0].options.splice(1, 1)
}
}
}
......@@ -548,7 +558,7 @@ export default {
},
mounted() {
let clientHeight = document.documentElement.clientHeight
this.heightBox = clientHeight - 150
this.heightBox = clientHeight - 140
//没数据的时候要算高度
// setTimeout(() => {
// if (!this.$refs.tagsManage.data.length) {
......@@ -640,8 +650,8 @@ export default {
},
//重置表格
handleReset() {
this.getCustomersListData()
this.searchForm = {}
this.getCustomersListData()
},
btnClick(pType, rowData) {
console.log(pType, rowData, 'btnClick')
......@@ -932,6 +942,34 @@ export default {
content: '. . .';
}
}
.success-panel {
display: flex;
justify-content: center;
margin-top: 40px;
.el-icon-circle-check {
color: #2cca74;
font-size: 36px;
}
}
.success-tips {
color: #5850ff;
text-align: center;
margin: 10px 0px 30px;
line-height: 20px;
&-h1 {
font-size: 16px;
color: #333333;
}
&-h2 {
cursor: pointer;
margin-top: 30px;
font-size: 14px;
color: #5850ff;
}
}
.success-footer {
text-align: center;
}
.leftDistance {
margin-left: 10px;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!