Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 f1855ab1
authored
May 20, 2022
by
匡雅琴
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'huy_dev_v2.3.0' of
http://192.168.3.233:8090/saas/scrm-micro-setti…
…ngs into huy_dev_v2.3.0
2 parents
e2de8bf9
fc61cd2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/employee/index.vue
src/views/employee/index.vue
View file @
f1855ab
...
...
@@ -12,14 +12,14 @@
<div
class=
"table-header"
>
<div
class=
"header-text"
>
员工列表
</div>
<div
class=
"table-btn"
>
<
el-button
@
click=
"handleExport"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</el-button
>
<
!--
<el-button
@
click=
"handleExport"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</el-button>
--
>
<GLButton
@
click=
"handleExport"
fn=
"导出"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</GLButton>
<el-button
v-if=
"userInfo.accountLevel == 4
|| user.isMerchantStaffAdmin
"
:size=
"size"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"userInfo.accountLevel == 4
|| user.isMerchantStaffAdmin
"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
<el-button
v-if=
"userInfo.accountLevel == 4"
:size=
"size"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"userInfo.accountLevel == 4"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
</div>
</div>
<!-- 表格区域 开始 -->
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"$globalState.session.accountLevel == 4
|| $globalState.session.isMerchantStaffAdmin
? tableParams1 : tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
paginationlisteners=
"paginationlisteners"
>
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"$globalState.session.accountLevel == 4 ? tableParams1 : tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
paginationlisteners=
"paginationlisteners"
>
<div
slot=
"optionBtns"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope.scope"
></GLTableButton>
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
...
...
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