Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
10ecfc41
Commit
10ecfc41
authored
Oct 31, 2019
by
hanfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
屏蔽车辆信息下载
parent
1b2c0045
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
1 deletion
+26
-1
index.vue
src/views/userManagement/userList/index.vue
+26
-1
No files found.
src/views/userManagement/userList/index.vue
View file @
10ecfc41
...
...
@@ -27,6 +27,8 @@
:value=
"val.id"
></el-option>
</el-select>
</el-form-item>
<!--
<el-form-item
label=
"注册时间"
prop=
"bookDateRange"
>
-->
<!--
<el-date-picker-->
<!-- v-model="listQuery.registrationDate "-->
...
...
@@ -90,7 +92,7 @@
<span>
{{
scope
.
row
.
channel
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"
11
0"
align=
"center"
label=
"来源"
>
<el-table-column
width=
"
9
0"
align=
"center"
label=
"来源"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
source
}}
</span>
</
template
>
...
...
@@ -110,6 +112,11 @@
<span>
{{
scope
.
row
.
positionName
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"130"
align=
"center"
label=
"上级/电话"
>
<
template
scope=
"scope"
>
<span>
{{
getSuperiorInformation
(
scope
.
row
.
nameOfSuperior
,
scope
.
row
.
superiorMobileNumber
,
1
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
width=
"200"
align=
"center"
label=
"加入时间"
>
<
template
scope=
"scope"
>
<span>
{{
scope
.
row
.
timeOfMembership
}}
</span>
...
...
@@ -302,6 +309,11 @@
<span>
{{userDetails.cityName}}
</span>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"上级:"
>
<span>
{{getSuperiorInformation(userDetails.nameOfSuperior,userDetails.superiorMobileNumber,2)}}
</span>
</el-form-item>
</el-col>
</el-row>
</el-form>
...
...
@@ -1461,6 +1473,19 @@
trigger
:
'blur'
};
},
/**
* 根据拼接上级信息
*/
getSuperiorInformation
(
name
,
mobile
,
type
){
if
(
type
==
1
&&
name
&&
mobile
)
{
return
name
+
'/'
+
mobile
;
}
if
(
type
==
2
&&
name
&&
mobile
)
{
return
name
+
' '
+
mobile
;
}
return
'无'
;
},
templateModel
(){
this
.
costDetail
=
{
key
:
undefined
,
...
...
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