Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
office
office-web
Commits
600201d9
Commit
600201d9
authored
Nov 03, 2021
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 行政架构列表
parent
5f2a9d79
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
35 deletions
+34
-35
employeeList.vue
src/components/contacts/employeeList.vue
+27
-26
administrativeFrame.vue
src/views/contacts/administrativeFrame.vue
+7
-8
onlineChatSet.vue
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
+0
-1
No files found.
src/components/contacts/employeeList.vue
View file @
600201d9
...
...
@@ -9,32 +9,30 @@
<
template
>
<div
class=
"employee-table"
>
<el-table
:data=
"employeeList"
@
selection-change=
"selectMember"
@
row-click=
"linkToDetail"
>
<template
v-for=
"prop in headList"
>
<el-table-column
:key=
"prop"
v-if=
"prop == 'selection'"
type=
"selection"
width=
"42"
>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'name'"
label=
"姓名"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
name
}}
</span>
<span
v-if=
"scope.row.isManager == 1"
class=
"is-manager"
>
部门负责人
</span>
</
template
>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'phoneNumber'"
label=
"手机号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nationcode
==
'86'
?
scope
.
row
.
phoneNumber
:
'+'
+
scope
.
row
.
nationcode
+
'-'
+
scope
.
row
.
phoneNumber
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'positionName'"
label=
"职位"
prop=
"positionName"
>
<
template
slot-scope=
"scope"
>
{{
!!
scope
.
row
.
positionName
?
scope
.
row
.
positionName
:
'--'
}}
</
template
>
</el-table-column>
<el-table-column
:key=
"prop"
v-if=
"prop == 'activationStatus'"
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<div
class=
"status-icon"
:class=
"scope.row.activationStatus == 1 ? 'is-active' : ''"
>
<i
class=
"iconfont icon-shouji"
></i>
</div>
</
template
>
</el-table-column>
</template>
<el-table-column
type=
"selection"
width=
"42"
>
</el-table-column>
<el-table-column
prop=
"name"
label=
"姓名"
>
<template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
name
}}
</span>
<span
v-if=
"scope.row.isManager == 1"
class=
"is-manager"
>
部门负责人
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"phoneNumber"
label=
"手机号"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
nationcode
==
'86'
?
scope
.
row
.
phoneNumber
:
'+'
+
scope
.
row
.
nationcode
+
'-'
+
scope
.
row
.
phoneNumber
||
'--'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"职位"
prop=
"positionName"
>
<
template
slot-scope=
"scope"
>
{{
!!
scope
.
row
.
positionName
?
scope
.
row
.
positionName
:
'--'
}}
</
template
>
</el-table-column>
<el-table-column
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<div
class=
"status-icon"
:class=
"scope.row.activationStatus == 1 ? 'is-active' : ''"
>
<i
class=
"iconfont icon-shouji"
></i>
</div>
</
template
>
</el-table-column>
</el-table>
</div>
</template>
...
...
@@ -74,6 +72,9 @@ export default {
let
path
=
'/employee?employeeClerkId='
+
row
.
employeeClerkId
;
this
.
$router
.
push
(
path
);
}
},
mounted
()
{
console
.
log
(
this
.
employeeList
);
}
};
</
script
>
...
...
src/views/contacts/administrativeFrame.vue
View file @
600201d9
...
...
@@ -208,6 +208,13 @@ export default {
* 批量删除成员
*/
delMembers
()
{
if
(
!
this
.
selectedList
.
length
)
{
this
.
$message
({
message
:
'请选择员工'
,
type
:
'warning'
});
return
false
;
}
let
that
=
this
;
that
.
$confirm
(
'是否要删除选中的员工?'
,
'提示'
,
{
...
...
@@ -219,14 +226,6 @@ export default {
that
.
selectedList
.
forEach
(
li
=>
{
arr
.
push
(
li
.
employeeClerkId
);
});
if
(
!
arr
.
length
)
{
that
.
$message
({
message
:
'请选择员工'
,
type
:
'warning'
});
that
.
loading
=
false
;
return
false
;
}
let
params
=
{
ids
:
arr
.
join
(
','
)
};
...
...
src/views/enterpriseApp/myCustomer/onlineChatSet.vue
View file @
600201d9
...
...
@@ -632,7 +632,6 @@ export default {
* 获取卡券列表
*/
getCardList
(
brandId
)
{
console
.
log
(
brandId
);
const
that
=
this
;
let
para
=
{
brandId
:
brandId
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment