Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f82b5e89
authored
Mar 23, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式修改
1 parent
fbf8c6c5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
23 deletions
packageMine/pages/staffManage/staffList/staffList.js
packageMine/pages/staffManage/staffList/staffList.wxml
packageMine/pages/staffManage/staffList/staffList.js
View file @
f82b5e8
...
...
@@ -17,6 +17,7 @@ Page({
currentPage
:
1
,
allServiceIds
:
[],
nothing
:
false
,
scrollTop
:
0
},
/**
...
...
packageMine/pages/staffManage/staffList/staffList.wxml
View file @
f82b5e8
...
...
@@ -5,7 +5,7 @@
<glsx-image src="index/apply.png" class="icon" />
<text>创建新员工</text>
</view>
<view class="content-box"
wx:if="{{staffList.length}}"
>
<view class="content-box">
<view class="title-box">
<view class="title">员工数量:<text class="number">{{total}}</text></view>
<view class="select-btn">
...
...
@@ -15,7 +15,8 @@
</view>
</view>
</view>
<scroll-view scroll-y
<block wx:if="{{staffList.length}}">
<scroll-view scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="search"
...
...
@@ -23,32 +24,33 @@
class="list"
style="height:calc(100vh - 148rpx - 110rpx);"
refresher-threshold="104"
scroll-top="{{scrollTop}}"
refresher-triggered="{{triggered}}">
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="top">
<view class="message">
<glsx-image wx:if="{{!item.avatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<image wx:else src="{{item.avatarUrl}}" class="avatar"></image>
<view class="message-text">
<view class="name">{{item.staffName}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
<view class="item-box" wx:for="{{staffList}}" wx:key="index" bindtap="jump" data-info="{{item}}">
<view class="top">
<view class="message">
<glsx-image wx:if="{{!item.weChatAvatarUrl}}" src="personal/staff_defalut_avatar.png" class="avatar"/>
<image wx:else src="{{item.weChatAvatarUrl}}" class="avatar"></image>
<view class="message-text">
<view class="name">{{item.staffName}}</view>
<view class="mobile">{{format.formatMobile(item.staffPhone)}}</view>
</view>
</view>
<glsx-image src="personal/arrow_right.png" class="arrow_right" />
</view>
<
glsx-image src="personal/arrow_right.png" class="arrow_right" /
>
</view
>
<view class="bottom">
<view class="service_name"
>
所属:{{item.merchantName}}
<
view class="bottom"
>
<view class="service_name"
>
所属:{{item.merchantName}}
</view
>
<view class="time">{{item.createdDate}}</view>
</view>
<view class="time">{{item.createdDate}}</view>
</view>
</view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
</scroll-view>
<view class="bottomTips" wx:if="{{nothing}}">到底啦!</view>
</scroll-view>
</block>
<block wx:else>
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
</block>
</view>
<view wx:else>
<nothing-tips tips="暂无员工~" bgColor="{{'#F2F3F7'}}" bg="{{bgUrl}}" />
</view>
</view>
<select-service-popup wx:if="{{popupShow}}" bind:hidePopup="filterTypeFn" bind:getStaffList="getStaffList" selectInfo="{{selectInfo}}" popShow="{{popupShow}}" serviceRange="{{serviceList}}" />
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment