edit-sylive-user_list
This commit is contained in:
@@ -380,16 +380,13 @@ class Stic extends Admin{
|
||||
throw new Hd_exception('参数错误',400);
|
||||
}
|
||||
$title = $map_kpi_name[$params['kpi']];
|
||||
$tab = [
|
||||
['id'=>1,'title'=>'客户列表']
|
||||
];
|
||||
if($this->group_id==2){ //店长
|
||||
$tab = [
|
||||
['id'=>1,'title'=>$title],
|
||||
['id'=>2,'title'=>'顾问数据']
|
||||
];
|
||||
}else{
|
||||
$tab = [
|
||||
['id'=>1,'title'=>$title],
|
||||
];
|
||||
$tab[] = ['id'=>2,'title'=>'顾问数据'];
|
||||
}
|
||||
$this->data['title'] = $title;
|
||||
$this->data['tab'] = $tab;
|
||||
$this->data['params'] = $params;
|
||||
//微信分享
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
<div class="container relative bg-no-repeat bg-size-fullwidth bg-pos-top pt30 pb50">
|
||||
<div id="main" class="relative bg-fff ml30 mr30 inner30 ulib-r20 box-shadow-darkGray" style="min-height:90vh;">
|
||||
<template v-if="tab.length>1">
|
||||
<div class="pt10 pb20 text-center"><b class="font-40" v-html="title"></b></div>
|
||||
<div v-if="tabFixed">
|
||||
<div class="height-60"></div>
|
||||
<div class="fixed top-0 left-0 right-0 z-index-10 bg-fff pl30 pr30 pt20 pb20">
|
||||
@@ -18,7 +19,7 @@
|
||||
</div>
|
||||
</template>
|
||||
<template v-else>
|
||||
<div class="pt10 pb20 text-center"><b class="font-40 text-italic" v-html="tab[0]['title']"></b></div>
|
||||
<div class="pt10 pb20 text-center"><b class="font-40 text-italic" v-html="title"></b></div>
|
||||
</template>
|
||||
<div class="pt30 pb20 fn-flex font-28 color-666" v-for="(item,index) in list">
|
||||
<div class="fn-flex-item text-nowrap" flexsize="3">
|
||||
@@ -51,7 +52,7 @@
|
||||
isNoData: false,
|
||||
page: 1, //页数
|
||||
size: 20, //每页取多少个数据
|
||||
title:'',
|
||||
title:'<?=$title?>',
|
||||
list:[],
|
||||
},
|
||||
created(){
|
||||
|
||||
Reference in New Issue
Block a user