Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mobi
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
wbx-PCAndMobi
mobi
Commits
977b3dd0
Commit
977b3dd0
authored
Apr 30, 2021
by
zhangrui123
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表页条找
parent
4fdc737b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
13 deletions
+25
-13
index.vue
src/views/personal/InternalStaff/index.vue
+14
-13
info.vue
src/views/personal/InternalStaff/info.vue
+11
-0
No files found.
src/views/personal/InternalStaff/index.vue
View file @
977b3dd0
...
...
@@ -54,8 +54,8 @@
</a-dropdown>
</span>
<span
slot=
"
userType"
slot-scope=
"text"
align=
"center"
>
{{
getUserType
(
text
)
}}
<span
slot=
"
orgType"
slot-scope=
"text,record"
align=
"center"
>
{{
record
.
orgType
==
2
?
'房办'
:(
record
.
orgType
==
4
?
'区级'
:
''
)
}}
</span>
<span
slot=
"status"
slot-scope=
"text, record"
>
...
...
@@ -165,13 +165,20 @@ export default {
},
},
{
title
:
'
身份
'
,
title
:
'
姓名
'
,
align
:
'center'
,
dataIndex
:
'type'
,
key
:
'type'
,
dataIndex
:
'name'
,
key
:
'name'
,
width
:
'20%'
,
},
{
title
:
'机构类型'
,
align
:
'center'
,
dataIndex
:
'orgType'
,
key
:
'orgType'
,
width
:
'10%'
,
scopedSlots
:
{
customRender
:
'
user
Type'
,
customRender
:
'
org
Type'
,
},
},
{
...
...
@@ -184,13 +191,7 @@ export default {
customRender
:
'roleIds'
,
},
},
{
title
:
'手机号'
,
align
:
'center'
,
dataIndex
:
'phone'
,
key
:
'phone'
,
width
:
'20%'
,
},
{
title
:
'操作'
,
dataIndex
:
'action'
,
...
...
src/views/personal/InternalStaff/info.vue
View file @
977b3dd0
...
...
@@ -31,6 +31,12 @@
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'8'
:textSpan=
"16"
:label=
'"角色名称"'
:text=
'detail.roleNames||"暂无" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'8'
:textSpan=
"16"
:label=
'"机构类型"'
:text=
'detail.orgType||"暂无" '
></DetailsItem>
</a-col>
<a-col
span=
"8"
>
<DetailsItem
:labelSpan=
'8'
:textSpan=
"16"
:label=
'"机构名称"'
:text=
'detail.orgName||"暂无" '
></DetailsItem>
</a-col>
</a-row>
<div
class=
"layoutMargin detailsPartLine"
v-if=
"detailReady==2"
>
<a-tree
class=
"portalRoleTree"
checkable
:treeData=
"treeData"
v-model=
"checkedKeys"
disabled
/>
...
...
@@ -80,6 +86,11 @@ export default {
url
:
this
.
$api
.
GET_USER_DETAIL
.
replace
(
'{id}'
,
this
.
$route
.
query
.
id
),
}).
then
(
res
=>
{
this
.
detail
=
res
.
data
.
content
if
(
this
.
detail
.
orgType
&&
this
.
detail
.
orgType
==
2
){
this
.
detail
.
orgType
=
'房办'
}
else
if
(
this
.
detail
.
orgType
&&
this
.
detail
.
orgType
==
4
){
this
.
detail
.
orgType
=
'区级'
}
if
(
!!
this
.
detail
.
phone
&&
this
.
detail
.
phone
.
length
>
12
)
{
this
.
detail
.
phone0
=
this
.
detail
.
phone
// console.log( this.detail)
...
...
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