Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
55e34ea7
提交
55e34ea7
authored
3月 06, 2020
作者:
zax
浏览文件
操作
浏览文件
下载
差异文件
合并分支 'zax' 到 'master'
项目管理页 查看合并请求
!32
上级
65fd4d00
95fed258
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
193 行增加
和
25 行删除
+193
-25
projectAdd.vue
src/components/projectManagement/project/projectAdd.vue
+37
-0
projectManagement.vue
...omponents/projectManagement/project/projectManagement.vue
+140
-0
sidebar.vue
src/components/sidebar/sidebar.vue
+4
-25
index.js
src/router/index.js
+12
-0
没有找到文件。
src/components/projectManagement/project/projectAdd.vue
0 → 100644
浏览文件 @
55e34ea7
<
template
>
<div
class=
"projectAdd"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
新增项目
</p>
</div>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
name
:
'projectAdd'
}
</
script
>
<
style
scoped
>
.projectAdd
{
background
:
#ebf0f8
;
width
:
100%
;
}
.projectAdd
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.projectAdd
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
</
style
>
\ No newline at end of file
src/components/projectManagement/project/projectManagement.vue
0 → 100644
浏览文件 @
55e34ea7
<!--项目管理-->
<
template
>
<div
class=
"project"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<p
class=
"title"
>
{{
pageName
}}
</p>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
</span>
<span
class=
"button buttonSave"
>
搜索
</span>
<span
class=
"button add"
@
click=
"addProject"
>
新增
</span>
</p>
<div
class=
"common-table"
>
<el-table
highlight-current-row
max-height=
"840"
:data=
"allData"
stripe
style=
"width: 100%;"
>
<el-table-column
prop=
"name"
label=
"项目名称"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"roleName"
label=
"当前进度"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"unitName"
label=
"开始时间"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"结束时间"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"建设单位"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"集成商"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"开发商"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"监理方"
align=
"center"
>
</el-table-column>
</el-table>
</div>
</div>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
searchVal
:
''
,
allData
:
[],
pageName
:
''
}
},
mounted
()
{
this
.
pageName
=
this
.
$store
.
getters
.
getSidebar
.
name
;
},
methods
:
{
// 新增项目
addProject
()
{
this
.
$router
.
push
({
name
:
'projectAdd'
});
}
}
}
</
script
>
<
style
scoped
>
.project
{
background
:
#ebf0f8
;
width
:
100%
;
}
.project
.content
{
margin
:
40px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.project
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
.project
.content
.search
{
position
:
relative
;
margin-top
:
36px
;
padding
:
0px
70px
0px
70px
;
display
:
flex
;
}
.project
.content
.searchVal
{
width
:
280px
;
display
:
flex
;
font-size
:
18px
;
color
:
#4663a6
;
}
.project
.content
.button
{
margin-left
:
12px
;
display
:
inline-block
;
width
:
100px
;
height
:
34px
;
line-height
:
34px
;
text-align
:
center
;
background
:
#4877e6
;
cursor
:
pointer
;
border-radius
:
4px
;
color
:
#fff
;
font-size
:
18px
;
}
.project
.content
.add
{
right
:
71px
;
position
:
absolute
;
}
.project
.content
.button
:hover
{
background
:
rgba
(
72
,
119
,
230
,
.6
);
}
</
style
>
src/components/sidebar/sidebar.vue
浏览文件 @
55e34ea7
...
...
@@ -184,20 +184,8 @@ export default {
name
:
'项目管理'
,
menuList
:
[
{
name
:
'文件管理'
,
path
:
'document'
},
{
name
:
'软件清单'
,
path
:
'software'
},
{
name
:
'硬件清单'
,
path
:
'hardware'
},
{
name
:
'操作日志'
,
path
:
'journal'
},{
name
:
'技术路线'
,
path
:
'technicalRoute'
name
:
'项目管理'
,
path
:
'projectManagement'
}
]
},
...
...
@@ -205,17 +193,8 @@ export default {
name
:
'我的项目'
,
menuList
:
[
{
name
:
'文件管理'
,
path
:
'document'
},
{
name
:
'软件清单'
,
path
:
'software'
},
{
name
:
'硬件清单'
,
path
:
'hardware'
},
{
name
:
'操作日志'
,
path
:
'journal'
name
:
'我的项目'
,
path
:
'projectManagement'
}
]
},
...
...
src/router/index.js
浏览文件 @
55e34ea7
...
...
@@ -181,6 +181,18 @@ export default new Router({
name
:
'technicalRoute'
,
component
:
resolve
=>
require
([
'../components/projectManagement/technicalRoute/technicalRoute.vue'
],
resolve
)
},
// 项目管理-项目管理首页
{
path
:
'/projectManagement'
,
name
:
'projectManagement'
,
component
:
resolve
=>
require
([
'../components/projectManagement/project/projectManagement.vue'
],
resolve
)
},
// 项目管理-项目新增
{
path
:
'/projectAdd'
,
name
:
'projectAdd'
,
component
:
resolve
=>
require
([
'../components/projectManagement/project/projectAdd.vue'
],
resolve
)
},
]
}
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论