Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
胡锦波
/
org-manager-web
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a68ed486
authored
Apr 13, 2022
by
胡锦波
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
1. init 公共按钮的处理
parent
1164c2f9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
24 deletions
src/installer/index.ts
src/views/pages/employ-management/address-book/employ-list.vue
src/installer/index.ts
View file @
a68ed486
...
@@ -50,6 +50,7 @@ import {
...
@@ -50,6 +50,7 @@ import {
import
Vue
,
{
VueConstructor
}
from
'vue'
;
import
Vue
,
{
VueConstructor
}
from
'vue'
;
import
'./lodash'
;
import
'./lodash'
;
import
'element-ui/lib/theme-chalk/index.css'
;
import
'element-ui/lib/theme-chalk/index.css'
;
import
Button
from
"@/core-ui/component/element-ui/button.vue"
;
// eslint-disable-next-line @typescript-eslint/no-var-requires
// eslint-disable-next-line @typescript-eslint/no-var-requires
const
scrollbar
=
require
(
'element-ui/lib/scrollbar'
);
const
scrollbar
=
require
(
'element-ui/lib/scrollbar'
);
...
@@ -79,6 +80,8 @@ locale.el.pagination.pageClassifier = '';
...
@@ -79,6 +80,8 @@ locale.el.pagination.pageClassifier = '';
Vue
.
component
(
'el-autocomplete'
,
Autocomplete
);
Vue
.
component
(
'el-autocomplete'
,
Autocomplete
);
Vue
.
component
(
'el-scrollbar'
,
scrollbar
.
default
);
Vue
.
component
(
'el-scrollbar'
,
scrollbar
.
default
);
Vue
.
component
(
'com-button'
,
Button
);
Vue
.
use
(
Avatar
);
Vue
.
use
(
Avatar
);
Vue
.
use
(
Pagination
);
Vue
.
use
(
Pagination
);
...
...
src/views/pages/employ-management/address-book/employ-list.vue
View file @
a68ed486
...
@@ -24,15 +24,21 @@
...
@@ -24,15 +24,21 @@
<div
<div
class=
"list_title d-flex align-items-center justify-content-end"
class=
"list_title d-flex align-items-center justify-content-end"
>
>
<
el-button
type=
"primary"
@
click=
"addMemberBtn"
>
<
com-button
size=
"medium"
type=
"primary"
@
click=
"addMemberBtn"
>
添加员工
添加员工
</el-button>
</com-button>
<el-button
@
click=
"exportMembers"
>
批量导入
</el-button>
<com-button
size=
"medium"
@
click=
"exportMembers"
>
<el-button
@
click=
"outFile"
>
批量导出
</el-button>
批量导入
<el-button
@
click=
"handleDelete('disable')"
>
</com-button>
<com-button
size=
"medium"
@
click=
"outFile"
>
批量导出
</com-button>
<com-button
size=
"medium"
@
click=
"handleDelete('disable')"
>
禁用员工
禁用员工
</el-button>
</com-button>
<el-button
@
click=
"handleDelete('del')"
>
删除员工
</el-button>
<com-button
size=
"medium"
@
click=
"handleDelete('del')"
>
删除员工
</com-button>
</div>
</div>
<div
class=
"table-container flex-fill d-flex flex-column"
>
<div
class=
"table-container flex-fill d-flex flex-column"
>
<el-table
<el-table
...
@@ -90,14 +96,14 @@
...
@@ -90,14 +96,14 @@
align=
"center"
align=
"center"
>
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<
el
-button
<
com
-button
@
click=
"handleClick(scope.row.peid)"
@
click=
"handleClick(scope.row.peid)"
type=
"text"
type=
"text"
size=
"small"
size=
"small"
class=
"act-btn"
class=
"act-btn"
>
>
详情
详情
</
el
-button>
</
com
-button>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
</el-table>
</el-table>
...
@@ -284,21 +290,6 @@
...
@@ -284,21 +290,6 @@
line-height
:
32px
;
line-height
:
32px
;
}
}
}
}
/
deep
/
.el-button
{
min-width
:
32px
;
padding-top
:
0px
;
padding-bottom
:
0px
;
padding-left
:
20px
;
padding-right
:
20px
;
height
:
32px
;
border-radius
:
4px
;
&
+
.el-button
{
margin-left
:
12px
;
}
}
}
}
.table_item
{
.table_item
{
...
...
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