|
@@ -13,9 +13,13 @@
|
|
|
<view class="flex_1">
|
|
|
<view class="u-name">
|
|
|
<text style="margin-right: 0.5rem;">{{item.name}}</text>
|
|
|
- <u-icon :name="item.sex | sexFilter" size="28" :color="item.sex==1?'#00aaff':'#ffaaaa'" custom-prefix="custom-icon"></u-icon>
|
|
|
+ <u-icon :name="item.sex==1?'man':'woman'" size="28" :color="item.sex==1?'#00aaff':'#ffaaaa'"></u-icon>
|
|
|
+ </view>
|
|
|
+ <view class="u-mobile">
|
|
|
+ <text v-if="item.isManager == 1">门店负责人 / </text>
|
|
|
+ <text v-else>{{item.roleNames}} / </text>
|
|
|
+ {{item.mobile}}
|
|
|
</view>
|
|
|
- <view class="u-mobile">{{item.mobile}}</view>
|
|
|
</view>
|
|
|
<view @click="editPerson(item)">
|
|
|
<u-icon size="34" name="edit-pen"></u-icon>
|
|
@@ -60,14 +64,6 @@
|
|
|
},
|
|
|
// 判断员工身份权限
|
|
|
filters:{
|
|
|
- sexFilter(sexFilterVal){
|
|
|
- if(sexFilterVal == 1){
|
|
|
- return 'staff_icon_boy'
|
|
|
- }
|
|
|
- if(sexFilterVal == 0){
|
|
|
- return 'staff_icon_girl'
|
|
|
- }
|
|
|
- },
|
|
|
isManagerFilter(isManagerFilterVal){
|
|
|
if(isManagerFilterVal == 1){
|
|
|
return '负责人'
|
|
@@ -144,7 +140,7 @@
|
|
|
margin-bottom: 0.5rem;
|
|
|
}
|
|
|
.u-mobile{
|
|
|
- color: #999;
|
|
|
+ color: #666;
|
|
|
}
|
|
|
}
|
|
|
}
|