Commit 3204c40a by xuyl

修改小手样式以及userType=2时页面不可以跳转和按钮不显示

1 parent 355b6378
......@@ -245,28 +245,28 @@ export default {
subName: '购车时间3个月的客户',
num: 0,
url: url1,
id:7,
id: 7
},
{
name: '车险待续保客户数',
subName: '近一个月内车险即将到期的客户',
num: 0,
url: url2,
id:8,
id: 8
},
{
name: '新车待首保客户数',
subName: '购车时间5~7个月内,且无保养记录的客户',
num: 0,
url: url3,
id:9
id: 9
},
{
name: '沉默客户数',
subName: '超过180天未到店的客户',
num: 0,
url: url4,
id:10
id: 10
}
],
isNoBuyUp: 0, //默认环比为增
......@@ -280,7 +280,8 @@ export default {
thirtyDayStorage: {},
dialogVisible: false,
//只有门店可以引流企微
accountLevel: 0 //1,2,3,4工厂,省代,市代,门店
accountLevel: 0, //1,2,3,4工厂,省代,市代,门店
userType: 0 //1是商户,2是员工
}
},
......@@ -317,6 +318,7 @@ export default {
if (window.__POWERED_BY_QIANKUN__) {
//运行在qiankun容器中
this.accountLevel = this.$globalState.session.accountLevel
this.userType = this.$globalState.session.userType
}
// 掉两个数据接口
......@@ -523,7 +525,9 @@ export default {
},
//跳转到人群客户列表
goto(id) {
this.$router.push('/clientDataOverview/group/'+id)
console.log(this.userType)
if (this.userType == 2) return
this.$router.push('/clientDataOverview/group/' + id)
}
}
}
......@@ -756,6 +760,7 @@ export default {
height: 238px;
width: 50%;
position: relative;
cursor: pointer;
> span {
position: absolute;
&:first-child {
......@@ -847,7 +852,9 @@ export default {
.rightWrap {
width: 48%;
margin-left: 20px;
cursor: pointer;
position: relative;
.smallWrap {
position: relative;
> span {
......@@ -929,6 +936,7 @@ export default {
box-sizing: border-box;
box-shadow: 0px 10px 20px 0px rgba(88, 80, 255, 0.1);
// border: 1px solid rgba(121, 121, 121, 1);
cursor: pointer;
&:not(:first-child) {
margin-left: 20px;
}
......
......@@ -68,7 +68,7 @@
<!-- //这版关掉自店标签 1.0.1允许集团的门店打字店标签,也可以编辑-->
<!-- v-if="scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)" -->
<span @click="btnClick('edit', scope.scope)" v-if="scope.scope.labelType != '系统标签' && isShowEditBtn(scope.scope)" class="blue-text" >编辑标签组</span>
<GLButton class="blue-text leftDistance" type="text" fn="查看客户" @click="toViewCustomer(scope.scope)" >查看客户</GLButton>
<GLButton class="blue-text leftDistance" type="text" fn="查看客户" v-if="userType!==2" @click="toViewCustomer(scope.scope)" >查看客户</GLButton>
</template>
</GLTable>
</div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!