Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
88512966
提交
88512966
authored
3月 04, 2020
作者:
zax
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
单位管理页面分页修改
上级
7eca527d
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
281 行增加
和
6 行删除
+281
-6
base.css
src/assets/base.css
+1
-0
product.vue
src/components/admittance/product/product.vue
+135
-0
company.vue
src/components/basicInformation/company/company.vue
+143
-4
person.vue
src/components/basicInformation/person/person.vue
+2
-2
没有找到文件。
src/assets/base.css
浏览文件 @
88512966
...
@@ -22,6 +22,7 @@ body {
...
@@ -22,6 +22,7 @@ body {
#app
{
#app
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
position
:
absolute
;
}
}
a
{
a
{
...
...
src/components/admittance/product/product.vue
浏览文件 @
88512966
...
@@ -115,4 +115,138 @@ export default {
...
@@ -115,4 +115,138 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.role
{
background
:
#ebf0f8
;
width
:
100%
;
}
.role
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
}
.role
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
.role
.content
.search
{
position
:
relative
;
margin-top
:
36px
;
padding
:
0px
70px
0px
70px
;
display
:
flex
;
}
.role
.content
.searchVal
{
width
:
280px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.role
.content
.searchVal
>
span
{
width
:
140px
;
display
:
inline-block
;
line-height
:
34px
;
}
.role
.content
.change
{
color
:
#4877e6
;
cursor
:
pointer
;
}
.role
.content
.change
>
img
{
margin-right
:
3px
;
}
.role
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.role
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.role
.content
.button
{
display
:
inline-block
;
width
:
100px
;
height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
background
:
#4877e6
;
cursor
:
pointer
;
margin-left
:
35px
;
border-radius
:
2px
;
color
:
#fff
;
font-size
:
18px
;
}
.role
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
.role
.content
.import
{
position
:
absolute
;
right
:
70px
;
}
.add
{
position
:
absolute
;
right
:
220px
;
}
.role
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.role
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.role
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.role
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.role
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.role
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.role
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.role
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.role
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.role
.content
.block
{
text-align
:
right
;
padding
:
30px
70px
0
0
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
.role
.content
>>>
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.role
.content
>>>
.btn-prev
,
.role
.content
>>>
.btn-next
{
background
:
#c5d5f7
;
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.role
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
color
:
#C0C4CC
;
}
.role
.content
>>>
.el-table__body
tr
.current-row
>
td
{
background
:
#f5f8fd
;
}
</
style
>
</
style
>
\ No newline at end of file
src/components/basicInformation/company/company.vue
浏览文件 @
88512966
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
8
:page-size=
"pageSize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next"
:total=
"totalLength"
>
:total=
"totalLength"
>
...
@@ -100,6 +100,9 @@ import './company.css'
...
@@ -100,6 +100,9 @@ import './company.css'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
searchName
:
''
,
searchName
:
''
,
openModel
:
false
,
// 弹框开关
openModel
:
false
,
// 弹框开关
components
:
''
,
// 当前弹框内容
components
:
''
,
// 当前弹框内容
...
@@ -116,9 +119,6 @@ export default {
...
@@ -116,9 +119,6 @@ export default {
{
type
:
'7'
},
{
type
:
'7'
},
{
type
:
'8'
}
{
type
:
'8'
}
],
],
totalLength
:
0
,
currentPage
:
1
,
// 分页第一页
pageSize
:
8
,
// 每页个数
allData
:
[],
allData
:
[],
typeVal
:
{
// 单位类别
typeVal
:
{
// 单位类别
'1'
:
'AK中心'
,
'1'
:
'AK中心'
,
...
@@ -249,5 +249,144 @@ export default {
...
@@ -249,5 +249,144 @@ export default {
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.role
{
background
:
#ebf0f8
;
width
:
100%
;
}
.role
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
}
.role
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
.role
.content
.search
{
position
:
relative
;
margin-top
:
36px
;
padding
:
0px
70px
0px
70px
;
display
:
flex
;
}
.role
.content
.searchVal
{
width
:
280px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.role
.content
.searchVal
>
span
{
width
:
140px
;
display
:
inline-block
;
line-height
:
34px
;
}
.role
.content
.change
{
color
:
#4877e6
;
cursor
:
pointer
;
}
.role
.content
.change
>
img
{
margin-right
:
3px
;
}
.role
.content
.common-table
{
box-shadow
:
4px
4px
5px
rgba
(
72
,
119
,
230
,
0.1
);
border
:
.5px
solid
transparent
;
border-radius
:
10px
;
}
.role
>>>
.el-input__inner
{
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.3
);
border-radius
:
2px
;
font-size
:
18px
;
color
:
#999
;
height
:
34px
;
line-height
:
34px
;
width
:
180px
;
}
.role
.content
.button
{
display
:
inline-block
;
width
:
100px
;
height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
background
:
#4877e6
;
cursor
:
pointer
;
margin-left
:
100px
;
border-radius
:
2px
;
color
:
#fff
;
font-size
:
18px
;
}
.role
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
.role
.content
.new
{
position
:
absolute
;
right
:
70px
;
}
/*表格样式*/
.role
.content
.common-table
{
margin
:
24px
70px
0
70px
;
}
.role
.content
.common-table
>>>
.el-table
th
>
.cell
{
font-size
:
18px
;
color
:
#333
;
font-weight
:
normal
;
}
.role
.content
.common-table
>>>
.el-table
th
.is-leaf
{
height
:
70px
;
}
.role
.content
.common-table
>>>
.el-table
tr
{
font-size
:
18px
;
}
.role
.content
.common-table
>>>
.el-table
{
color
:
#233b6e
;
}
.role
.content
.common-table
>>>
.el-table--striped
.el-table__body
tr
.el-table__row--striped.el-table__row--striped.el-table__row--striped
td
{
background-color
:
#fff
;
}
.role
.content
.common-table
>>>
.el-table--enable-row-hover
.el-table__body
tr
:hover
>
td
{
background-color
:
#f5f8fd
;
}
.role
.content
.common-table
>>>
.el-table
th
.is-leaf
,
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.role
.content
.common-table
>>>
.el-table__body
tr
,
.el-table__body
td
{
padding
:
0
;
height
:
60px
;
background
:
#f5f8fd
;
}
.role
.content
.block
{
text-align
:
right
;
padding
:
30px
70px
0
0
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
.role
.content
>>>
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
}
.role
.content
>>>
.btn-prev
,
.role
.content
>>>
.btn-next
{
background
:
#c5d5f7
;
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.role
.content
>>>
.btn-prev
:disabled
,
.dynamicList
.content
>>>
.btn-next
:disabled
{
color
:
#C0C4CC
;
}
.role
.content
>>>
.el-table__body
tr
.current-row
>
td
{
background
:
#f5f8fd
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
{
background-image
:
linear-gradient
(
to
bottom
,
#c5d5f7
,
#7a95e6
);
color
:
#fff
;
}
.role
.content
>>>
.el-pagination.is-background
.el-pager
li
:not
(
.disabled
)
.active
{
background-image
:
linear-gradient
(
to
bottom
,
#7a9eeb
,
#274acf
);
color
:
#fff
;
}
</
style
>
</
style
>
src/components/basicInformation/person/person.vue
浏览文件 @
88512966
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<!-- 分页 -->
<div
class=
"block"
v-if=
"this.totleLength >= 10"
>
<div
class=
"block"
>
<el-pagination
<el-pagination
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
this
.
$server
.
getRolefindAll
().
then
((
res
)
=>
{
// 数据请求
this
.
$server
.
getRolefindAll
().
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
code
===
200
)
{
this
.
roleList
=
res
.
data
.
data
;
this
.
roleList
=
res
.
data
.
data
;
this
.
$server
.
getUnit
f
indAll
().
then
((
res
)
=>
{
// 数据请求
this
.
$server
.
getUnit
F
indAll
().
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
code
===
200
)
{
this
.
unitList
=
res
.
data
.
data
;
this
.
unitList
=
res
.
data
.
data
;
if
(
this
.
$route
.
params
.
value
!==
undefined
)
{
// 角色页面跳转过来所带参数
if
(
this
.
$route
.
params
.
value
!==
undefined
)
{
// 角色页面跳转过来所带参数
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论