Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
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
fengzhaoyu
mingPayPc
Commits
df42af92
Commit
df42af92
authored
Sep 19, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
部门修改
parent
961d7a21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
3 deletions
+26
-3
AccountManagement.vue
src/components/pages/PaymentManagement/AccountManagement.vue
+24
-2
main.js
src/main.js
+2
-1
No files found.
src/components/pages/PaymentManagement/AccountManagement.vue
View file @
df42af92
...
...
@@ -32,8 +32,15 @@
</div>
<a-table
:columns=
"columns"
:dataSource=
"accountList"
size=
"default"
rowKey=
"ddUserId"
:pagination=
"pagination"
@
change=
"handleTableChange"
>
<span
slot=
"name"
>
姓名
</span>
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList"
>
{{
departmentNameListToStr
(
departmentNameList
)
}}
<span
slot=
"departmentNameList"
slot-scope=
"departmentNameList, record"
>
<a-popover
v-for=
"(item,indexOf) in departmentNameList"
:key=
"indexOf"
>
<template
slot=
"content"
>
<p>
{{
record
.
parentSysDeptNameList
[
indexOf
]
}}
</p>
</
template
>
<span
class=
"deptModel"
>
{{item}}
</span>
</a-popover>
<!-- <span>{{ departmentNameListToStr(departmentNameList) }}</span>
{{record}} -->
</span>
<span
slot=
"realityBalance"
>
余额
</span>
<span
slot=
"cardNo"
slot-scope=
"cardNo"
>
...
...
@@ -558,4 +565,19 @@ export default {
.choosePeople
:hover
{
border
:
1px
solid
#1890ff
;
}
.deptModel
{
background
:
#F2F0F0
;
margin
:
5px
0
;
margin-right
:
5px
;
padding
:
2px
4px
;
border-radius
:
3px
;
line-height
:
2
;
}
.ant-table-tbody
>
tr
:hover
.deptModel
{
background
:
#CAEEFF
;
}
.ant-popover-inner-content
>
p
{
margin
:
0
;
}
</
style
>
src/main.js
View file @
df42af92
...
...
@@ -2,7 +2,7 @@ import Vue from 'vue'
import
App
from
'./App.vue'
import
router
from
'./router'
import
store
from
'./store'
import
{
Menu
,
Layout
,
Breadcrumb
,
Icon
,
Button
,
DatePicker
,
Input
,
Table
,
Tag
,
Divider
,
Dropdown
,
Modal
,
Form
,
Select
,
message
,
Pagination
,
LocaleProvider
,
Spin
,
Badge
,
Switch
}
from
'ant-design-vue'
import
{
Menu
,
Layout
,
Breadcrumb
,
Popover
,
Icon
,
Button
,
DatePicker
,
Input
,
Table
,
Tag
,
Divider
,
Dropdown
,
Modal
,
Form
,
Select
,
message
,
Pagination
,
LocaleProvider
,
Spin
,
Badge
,
Switch
}
from
'ant-design-vue'
import
'ant-design-vue/dist/antd.css'
import
{
config
}
from
'./api/config'
import
'./assets/css/global.css'
...
...
@@ -10,6 +10,7 @@ import axios from 'axios'
import
qs
from
'qs'
Vue
.
use
(
Layout
)
Vue
.
use
(
Popover
)
Vue
.
use
(
LocaleProvider
)
Vue
.
use
(
Menu
)
Vue
.
use
(
Badge
)
...
...
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