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 8b6358ea
authored
May 24, 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
931b4bb5
a0cbfc1a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
src/views/employee/index.vue
src/views/followUp/index.vue
src/views/employee/index.vue
View file @
8b6358e
...
@@ -14,12 +14,12 @@
...
@@ -14,12 +14,12 @@
<div
class=
"table-btn"
>
<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>
<GLButton
@
click=
"handleExport"
fn=
"导出"
:size=
"size"
type=
"primary"
plain
mode=
"el-button"
>
导出
</GLButton>
<el-button
v-if=
"
userInfo.accountLevel == 4
"
:size=
"size"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"
$globalState.session.accountLevel == 4 || $globalState.session.isMerchantStaffAdmin
"
:size=
"size"
plain
@
click=
"batch(1)"
>
批量分配角色
</el-button>
<el-button
v-if=
"
userInfo.accountLevel == 4
"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
<el-button
v-if=
"
$globalState.session.accountLevel == 4 || $globalState.session.isMerchantStaffAdmin
"
:size=
"size"
plain
@
click=
"batch(2)"
>
批量启用
</el-button>
</div>
</div>
</div>
</div>
<!-- 表格区域 开始 -->
<!-- 表格区域 开始 -->
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"$globalState.session.accountLevel == 4
? tableParams1 : tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun"
@
paginationlisteners=
"paginationlisteners
"
>
<GLTable
ref=
"employeeRef"
:getListApi=
"getListApi"
:searchForm=
"tableSearchForm"
:tableParams=
"$globalState.session.accountLevel == 4
|| $globalState.session.isMerchantStaffAdmin ? tableParams1 : tableParams"
:pageConf=
"pageConf"
:beforeSearchFn=
"beforeSearchFn"
@
setTableFinishFun=
"setTableFinishFun
"
>
<div
slot=
"optionBtns"
slot-scope=
"scope"
>
<div
slot=
"optionBtns"
slot-scope=
"scope"
>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope.scope"
></GLTableButton>
<GLTableButton
:buttonList=
"buttonList"
:buttonItem=
"scope.scope"
></GLTableButton>
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
<!--
<el-button
type=
"text"
@
click=
"handleDetail(scope.scope)"
>
查看
</el-button>
...
@@ -536,7 +536,7 @@ export default {
...
@@ -536,7 +536,7 @@ export default {
return
this
.
$message
.
error
(
'您未选中需要批量操作的员工。'
)
return
this
.
$message
.
error
(
'您未选中需要批量操作的员工。'
)
}
}
if
(
name
==
'角色'
)
{
if
(
name
==
'角色'
)
{
const
hasRole
=
selectArr
.
some
(
item
=>
item
.
statusName
==
'启用'
)
const
hasRole
=
selectArr
.
some
(
item
=>
item
.
roleName
)
if
(
hasRole
)
{
if
(
hasRole
)
{
this
.
$confirm
(
`您选中的员工中包含已设置 “角色” 账号。请去除选中已设置 “角色” 员工账号。`
,
''
,
{
this
.
$confirm
(
`您选中的员工中包含已设置 “角色” 账号。请去除选中已设置 “角色” 员工账号。`
,
''
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
...
@@ -616,10 +616,6 @@ export default {
...
@@ -616,10 +616,6 @@ export default {
this
.
roleVisible
=
false
this
.
roleVisible
=
false
this
.
roleForm
=
{}
this
.
roleForm
=
{}
this
.
$refs
.
roleForm
.
resetFields
()
this
.
$refs
.
roleForm
.
resetFields
()
},
// 表格分页穿透事件
paginationlisteners
(
val
)
{
console
.
log
(
val
)
}
}
}
}
}
}
...
...
src/views/followUp/index.vue
View file @
8b6358e
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
class=
"header-text"
>
跟进专员列表
</div>
<div
class=
"header-text"
>
跟进专员列表
</div>
<div
class=
"table-btn"
>
<div
class=
"table-btn"
>
<GLButton
fn=
"新增"
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</GLButton>
<GLButton
fn=
"新增"
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</GLButton>
<
el-button
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</el-button
>
<
!--
<el-button
size=
"small"
type=
"primary"
plain
@
click=
"openDrawer"
>
跟进专员
</el-button>
--
>
</div>
</div>
</div>
</div>
<GLTable
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"handleSearch"
>
<GLTable
ref=
"table"
:layout=
"layout"
:tableData=
"tableData"
:tableTotal=
"tableTotal"
:pageConf=
"pageConf"
:tableParams=
"tableParams"
@
refreshTable=
"handleSearch"
>
...
...
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