Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
56bbc08b
提交
56bbc08b
authored
3月 09, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
new
上级
02616c7a
显示空白字符变更
内嵌
并排
正在显示
17 个修改的文件
包含
557 行增加
和
119 行删除
+557
-119
index.html
public/index.html
+1
-1
addTechnical.vue
src/components/admittance/technical/addTechnical.vue
+34
-37
home.vue
src/components/home/home.vue
+2
-2
document.vue
src/components/projectManagement/document/document.vue
+28
-14
hardware.vue
src/components/projectManagement/hardware/hardware.vue
+28
-14
journal.vue
src/components/projectManagement/journal/journal.vue
+28
-14
projectManagement.vue
...omponents/projectManagement/project/projectManagement.vue
+55
-2
goback.png
...omponents/projectManagement/projectDetails/img/goback.png
+0
-0
gobackH.png
...mponents/projectManagement/projectDetails/img/gobackH.png
+0
-0
projectDetails.vue
...nents/projectManagement/projectDetails/projectDetails.vue
+116
-0
time.png
...ponents/projectManagement/projectInformation/img/time.png
+0
-0
projectInformation.vue
...ojectManagement/projectInformation/projectInformation.vue
+223
-0
software.vue
src/components/projectManagement/software/software.vue
+28
-14
technicalRoute.vue
...nents/projectManagement/technicalRoute/technicalRoute.vue
+1
-14
sidebar.vue
src/components/sidebar/sidebar.vue
+2
-7
index.js
src/router/index.js
+6
-0
server.js
src/services/server.js
+5
-0
没有找到文件。
public/index.html
浏览文件 @
56bbc08b
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<link
rel=
"icon"
href=
"<%= BASE_URL %>favicon.ico"
>
<title>
<
%=
htmlWebpackPlugin
.
options
.
title
%
>
</title>
<title>
XXX工作台
</title>
</head>
</head>
<body>
<body>
<noscript>
<noscript>
...
...
src/components/admittance/technical/addTechnical.vue
浏览文件 @
56bbc08b
...
@@ -12,25 +12,6 @@
...
@@ -12,25 +12,6 @@
<span>
产品组合:
</span>
<span>
产品组合:
</span>
<div>
<div>
<el-scrollbar
style=
"height: 100%"
>
<el-scrollbar
style=
"height: 100%"
>
<p
style=
"margin-bottom: 10px;"
>
<el-select
v-model=
"product1"
placeholder=
"请选择"
clearable
>
<el-option
v-for=
"item in product1List"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
>
</el-option>
</el-select>
<el-select
v-model=
"product2"
placeholder=
"请选择"
clearable
style=
"margin-left: 20px;"
>
<el-option
v-for=
"item in product2List"
:key=
"item.id"
:label=
"item.name"
:value=
"item.id"
>
</el-option>
</el-select>
<img
src=
"./img/delN.png"
class=
"del"
>
</p>
<p
style=
"margin-bottom: 10px;"
v-for=
"(val,index) of allProduct"
v-if=
"allProduct.length !== 0"
>
<p
style=
"margin-bottom: 10px;"
v-for=
"(val,index) of allProduct"
v-if=
"allProduct.length !== 0"
>
<el-select
v-model=
"val.product1"
placeholder=
"请选择"
clearable
@
change=
"changeVal(val.product1,index)"
>
<el-select
v-model=
"val.product1"
placeholder=
"请选择"
clearable
@
change=
"changeVal(val.product1,index)"
>
<el-option
<el-option
...
@@ -48,7 +29,7 @@
...
@@ -48,7 +29,7 @@
:value=
"item.id"
>
:value=
"item.id"
>
</el-option>
</el-option>
</el-select>
</el-select>
<img
src=
"./img/delN.png"
class=
"del"
@
click=
"dele(index)"
>
<img
src=
"./img/delN.png"
class=
"del"
@
click=
"dele(index)"
v-if=
"allProduct.length > 1"
>
</p>
</p>
<p
class=
"addProduct"
@
click=
"addProduct"
><img
src=
"./img/clickN.png"
><span>
新增产品组合
</span></p>
<p
class=
"addProduct"
@
click=
"addProduct"
><img
src=
"./img/clickN.png"
><span>
新增产品组合
</span></p>
</el-scrollbar>
</el-scrollbar>
...
@@ -69,8 +50,6 @@ export default {
...
@@ -69,8 +50,6 @@ export default {
data
()
{
data
()
{
return
{
return
{
addVal
:
''
,
addVal
:
''
,
product1
:
''
,
product2
:
''
,
product1List
:
[
product1List
:
[
{
{
value
:
1
,
value
:
1
,
...
@@ -93,8 +72,35 @@ export default {
...
@@ -93,8 +72,35 @@ export default {
label
:
'其他'
label
:
'其他'
}
}
],
],
product2List
:
[],
allProduct
:
[
allProduct
:
[]
{
'product1'
:
''
,
'product2'
:
''
,
'product1List'
:
[
{
value
:
1
,
label
:
'服务器'
},
{
value
:
2
,
label
:
'CPU'
},
{
value
:
3
,
label
:
'操作系统'
},
{
value
:
4
,
label
:
'数据库'
},
{
value
:
5
,
label
:
'中间件'
},
{
value
:
6
,
label
:
'其他'
}
],
'product2List'
:
[]
}
]
}
}
},
},
created
()
{
created
()
{
...
@@ -104,17 +110,6 @@ export default {
...
@@ -104,17 +110,6 @@ export default {
this
.
addVal
=
this
.
row
.
name
;
// 修改名称
this
.
addVal
=
this
.
row
.
name
;
// 修改名称
console
.
log
(
this
.
row
)
console
.
log
(
this
.
row
)
for
(
let
i
=
0
;
i
<
this
.
row
.
producies
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
this
.
row
.
producies
.
length
;
i
++
)
{
if
(
i
===
0
)
{
// 修改第一个产品类型
this
.
product1
=
this
.
row
.
producies
[
i
].
form
;
this
.
$server
.
getFindByForm
(
this
.
row
.
producies
[
i
].
form
).
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
this
.
product2List
=
res
.
data
.
data
;
this
.
product2
=
this
.
row
.
producies
[
i
].
id
;
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
}
else
{
// 修改后面自动生成的产品类型
let
product2List
;
let
product2List
;
this
.
$server
.
getFindByForm
(
this
.
row
.
producies
[
i
].
form
).
then
((
res
)
=>
{
// 数据请求
this
.
$server
.
getFindByForm
(
this
.
row
.
producies
[
i
].
form
).
then
((
res
)
=>
{
// 数据请求
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
code
===
200
)
{
...
@@ -132,13 +127,11 @@ export default {
...
@@ -132,13 +127,11 @@ export default {
})
})
}
}
}
}
}
},
},
methods
:
{
methods
:
{
// 保存
// 保存
save
()
{
save
()
{
let
va
=
[];
let
va
=
[];
va
.
push
(
this
.
product2
);
for
(
let
item
of
this
.
allProduct
)
{
for
(
let
item
of
this
.
allProduct
)
{
va
.
push
(
item
.
product2
)
va
.
push
(
item
.
product2
)
}
}
...
@@ -205,7 +198,11 @@ export default {
...
@@ -205,7 +198,11 @@ export default {
},
},
// 删除产品组合
// 删除产品组合
dele
(
index
)
{
dele
(
index
)
{
if
(
this
.
allProduct
.
length
!==
1
)
{
this
.
allProduct
.
splice
(
index
,
1
)
this
.
allProduct
.
splice
(
index
,
1
)
}
else
{
console
.
log
(
'111111111111111111'
)
}
}
}
},
},
components
:
{
components
:
{
...
...
src/components/home/home.vue
浏览文件 @
56bbc08b
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
<img
src=
"./img/WD.png"
>
<img
src=
"./img/WD.png"
>
<span>
我的项目
</span>
<span>
我的项目
</span>
</p>
</p>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('
docu
ment',7,'项目管理')"
>
<p
class=
"bg"
v-if=
"this.$store.getters.getUserData.type === 1"
@
click=
"jump('
projectManage
ment',7,'项目管理')"
>
<img
src=
"./img/WD.png"
>
<img
src=
"./img/WD.png"
>
<span>
项目管理
</span>
<span>
项目管理
</span>
</p>
</p>
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
},
},
// 跳转到其他页面
// 跳转到其他页面
goOther
(
path
)
{
goOther
(
path
)
{
if
(
path
===
'http://120.55.57.35:8080/assessment/#/homeDetailcopy'
&&
this
.
$store
.
getters
.
getUserData
.
type
!==
1
)
{
if
(
path
===
'http://120.55.57.35:8080/assessment/#/homeDetailcopy'
)
{
let
val
=
'http://120.55.57.35:8080/assessment/#/homeDetailcopy'
+
'?username='
+
this
.
$store
.
getters
.
getUserData
.
userName
;
let
val
=
'http://120.55.57.35:8080/assessment/#/homeDetailcopy'
+
'?username='
+
this
.
$store
.
getters
.
getUserData
.
userName
;
window
.
open
(
val
);
window
.
open
(
val
);
}
else
{
}
else
{
...
...
src/components/projectManagement/document/document.vue
浏览文件 @
56bbc08b
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<div
class=
"content"
>
<p
class=
"title"
>
文件管理
</p>
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
...
@@ -47,6 +46,19 @@
...
@@ -47,6 +46,19 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
background
layout=
"prev, pager, next"
:total=
"totleLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -59,7 +71,21 @@ export default {
...
@@ -59,7 +71,21 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
allData
:
[]
allData
:
[],
currentPage
:
1
,
// 分页第一页
pagesize
:
7
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
},
methods
:
{
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
}
}
}
}
}
}
...
@@ -67,20 +93,8 @@ export default {
...
@@ -67,20 +93,8 @@ export default {
<
style
scoped
>
<
style
scoped
>
.document
{
.document
{
background
:
#ebf0f8
;
width
:
100%
;
width
:
100%
;
}
.document
.content
{
margin
:
40px
;
height
:
841px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.document
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
}
.document
.content
.search
{
.document
.content
.search
{
position
:
relative
;
position
:
relative
;
...
...
src/components/projectManagement/hardware/hardware.vue
浏览文件 @
56bbc08b
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<div
class=
"content"
>
<p
class=
"title"
>
硬件清单
</p>
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
...
@@ -40,6 +39,19 @@
...
@@ -40,6 +39,19 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
background
layout=
"prev, pager, next"
:total=
"totleLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -52,7 +64,21 @@ export default {
...
@@ -52,7 +64,21 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
allData
:
[]
allData
:
[],
currentPage
:
1
,
// 分页第一页
pagesize
:
7
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
},
methods
:
{
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
}
}
}
}
}
}
...
@@ -60,20 +86,8 @@ export default {
...
@@ -60,20 +86,8 @@ export default {
<
style
scoped
>
<
style
scoped
>
.hardware
{
.hardware
{
background
:
#ebf0f8
;
width
:
100%
;
width
:
100%
;
}
.hardware
.content
{
margin
:
40px
;
height
:
841px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.hardware
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
}
.hardware
.content
.search
{
.hardware
.content
.search
{
position
:
relative
;
position
:
relative
;
...
...
src/components/projectManagement/journal/journal.vue
浏览文件 @
56bbc08b
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<div
class=
"content"
>
<p
class=
"title"
>
操作日志
</p>
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
...
@@ -40,6 +39,19 @@
...
@@ -40,6 +39,19 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
background
layout=
"prev, pager, next"
:total=
"totleLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -52,7 +64,21 @@ export default {
...
@@ -52,7 +64,21 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
allData
:
[]
allData
:
[],
currentPage
:
1
,
// 分页第一页
pagesize
:
7
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
},
methods
:
{
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
}
}
}
}
}
}
...
@@ -60,20 +86,8 @@ export default {
...
@@ -60,20 +86,8 @@ export default {
<
style
scoped
>
<
style
scoped
>
.journal
{
.journal
{
background
:
#ebf0f8
;
width
:
100%
;
width
:
100%
;
}
.journal
.content
{
margin
:
40px
;
height
:
841px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.journal
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
}
.journal
.content
.search
{
.journal
.content
.search
{
position
:
relative
;
position
:
relative
;
...
...
src/components/projectManagement/project/projectManagement.vue
浏览文件 @
56bbc08b
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
max-height=
"840"
max-height=
"840"
:data=
"allData"
:data=
"allData"
stripe
stripe
@
row-click=
"jump"
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-table-column
<el-table-column
prop=
"name"
prop=
"name"
...
@@ -61,6 +62,19 @@
...
@@ -61,6 +62,19 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
background
layout=
"prev, pager, next"
:total=
"totleLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -72,17 +86,56 @@ export default {
...
@@ -72,17 +86,56 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
allData
:
[],
allData
:
[
pageName
:
''
{
number
:
1
}
],
pageName
:
''
,
currentPage
:
1
,
// 分页第一页
pagesize
:
8
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
}
},
},
mounted
()
{
mounted
()
{
this
.
pageName
=
this
.
$store
.
getters
.
getSidebar
.
name
;
this
.
pageName
=
this
.
$store
.
getters
.
getSidebar
.
name
;
this
.
init
();
},
},
methods
:
{
methods
:
{
// 初始请求
init
()
{
this
.
$server
.
postProjectPage
(
this
.
pagesize
,
this
.
currentPage
).
then
((
res
)
=>
{
// 数据请求
console
.
log
(
res
.
data
.
data
)
if
(
res
.
data
.
code
===
200
)
{
console
.
log
(
res
.
data
.
data
);
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
;
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
},
// 搜索栏
search
()
{
this
.
init
();
},
// 新增项目
// 新增项目
addProject
()
{
addProject
()
{
this
.
$router
.
push
({
name
:
'projectAdd'
});
this
.
$router
.
push
({
name
:
'projectAdd'
});
},
// 项目详情
jump
()
{
this
.
$router
.
push
({
name
:
'projectDetails'
});
},
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
init
();
}
}
}
}
}
}
...
...
src/components/projectManagement/projectDetails/img/goback.png
0 → 100644
浏览文件 @
56bbc08b
503 Bytes
src/components/projectManagement/projectDetails/img/gobackH.png
0 → 100644
浏览文件 @
56bbc08b
505 Bytes
src/components/projectManagement/projectDetails/projectDetails.vue
0 → 100644
浏览文件 @
56bbc08b
<
template
>
<div
class=
"projectDetails"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"contentAll"
>
<p
class=
"title"
>
项目管理
<img
src=
"./img/goback.png"
class=
"back"
@
click=
"back"
title=
"返回"
>
</p>
<p
class=
"titleList"
>
<span
class=
"titleListClick"
@
click=
"changeMenu('projectInformation',1)"
>
项目信息
</span>
<span
@
click=
"changeMenu('software',2)"
>
软件清单
</span>
<span
@
click=
"changeMenu('hardware',3)"
>
硬件清单
</span>
<span
@
click=
"changeMenu('technicalRoute',4)"
>
技术路线
</span>
<span
@
click=
"changeMenu('document',5)"
>
文件管理
</span>
<span
@
click=
"changeMenu('journal',6)"
>
操作日志
</span>
</p>
<component
:is=
"components"
></component>
</div>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
import
projectInformation
from
'../projectInformation/projectInformation'
;
// 项目信息
import
document
from
'../document/document'
;
// 文件管理
import
hardware
from
'../hardware/hardware'
;
// 硬件管理
import
software
from
'../software/software'
;
// 软件管理
import
technicalRoute
from
'../technicalRoute/technicalRoute'
;
// 技术路线
import
journal
from
'../journal/journal'
;
// 操作日志
import
$
from
'jquery'
;
export
default
{
data
()
{
return
{
components
:
'projectInformation'
}
},
created
()
{
},
mounted
(){
},
methods
:
{
// 返回
back
()
{
this
.
$router
.
push
({
name
:
'projectManagement'
});
},
changeMenu
(
val
,
index
)
{
this
.
components
=
val
;
$
(
'.titleList>span'
).
removeClass
(
'titleListClick'
);
let
va
=
'.titleList>span:nth-child('
+
index
+
')'
$
(
va
).
addClass
(
'titleListClick'
)
}
},
components
:
{
document
,
hardware
,
journal
,
software
,
technicalRoute
,
projectInformation
},
watch
:
{
}
}
</
script
>
<
style
scoped
>
.projectDetails
{
background
:
#ebf0f8
;
width
:
100%
;
color
:
#666
;
}
.projectDetails
.contentAll
{
margin
:
40px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.projectDetails
.contentAll
.title
{
padding
:
30px
60px
0px
60px
;
font-size
:
20px
;
color
:
#233b6e
;
position
:
relative
;
}
.projectDetails
.contentAll
.back
{
position
:
absolute
;
left
:
25px
;
top
:
28px
;
cursor
:
pointer
;
}
.projectDetails
.contentAll
.back
:hover
{
content
:
url("./img/gobackH.png")
;
}
.projectDetails
.contentAll
.titleList
{
margin
:
30px
60px
0
60px
;
font-size
:
18px
;
border-bottom
:
1px
solid
rgba
(
72
,
119
,
230
,
0.3
);
}
.projectDetails
.contentAll
.titleList
>
span
{
display
:
inline-block
;
width
:
144px
;
height
:
48px
;
line-height
:
48px
;
text-align
:
center
;
cursor
:
pointer
;
border-radius
:
2px
;
transition
:
all
0.5s
;
}
.projectDetails
.contentAll
.titleList
>
span
:hover
{
background
:
#4877e6
;
color
:
#fff
;
}
.projectDetails
.contentAll
.titleListClick
{
background
:
#4877e6
;
color
:
#fff
;
}
</
style
>
src/components/projectManagement/projectInformation/img/time.png
0 → 100644
浏览文件 @
56bbc08b
386 Bytes
src/components/projectManagement/projectInformation/projectInformation.vue
0 → 100644
浏览文件 @
56bbc08b
<
template
>
<div
class=
"projectInformation"
>
<el-row>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<!-- 基础信息-->
<p
class=
"title"
>
<span></span>
<span>
基础信息
</span>
</p>
<p
class=
"informationList"
>
<span
class=
"value"
>
<span>
项目名称:
</span>
<el-input
v-model=
"allVal.name"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
开始时间:
</span>
<el-input
v-model=
"allVal.startTime"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
完成时间:
</span>
<el-input
v-model=
"allVal.endTime"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
</p>
<p
class=
"informationList"
>
<span
class=
"value"
>
<span>
技术路线:
</span>
<el-input
v-model=
"allVal.technical"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
项目当前阶段:
</span>
<el-input
v-model=
"allVal.now"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
建设方:
</span>
<el-input
v-model=
"allVal.build"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
</p>
<p
class=
"informationList"
>
<span
class=
"value"
>
<span>
基础商:
</span>
<el-input
v-model=
"allVal.basis"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
开发商:
</span>
<el-input
v-model=
"allVal.develop"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
<span
class=
"value"
>
<span>
监理方:
</span>
<el-input
v-model=
"allVal.supervision"
size=
"medium"
:disabled=
"true"
></el-input>
</span>
</p>
<!-- 里程碑-->
<p
class=
"title"
>
<span></span>
<span>
里程碑
</span>
</p>
<div
class=
"milestone"
>
<div>
<p
class=
"process"
>
<span>
新建
</span>
<span>
3030-02-01
</span>
<span></span>
<span></span>
</p>
</div>
</div>
<!-- 最新动态-->
<p
class=
"title"
>
<span></span>
<span>
最新动态
</span>
</p>
<div
class=
"new"
>
<el-scrollbar
style=
"height: 100%"
>
<p
v-for=
"(item,index) of newList"
v-show=
"newList !== ''"
:key=
"index"
class=
"newAll"
>
<span>
{{
index
+
1
}}
、
{{
item
.
content
}}
</span>
<span><img
src=
"./img/time.png"
>
{{
item
.
time
}}
</span>
</p>
</el-scrollbar>
</div>
</div>
</el-col>
</el-row>
</div>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
allVal
:
{
name
:
'XX局XX工程'
,
// 项目名称
startTime
:
'2020-02-01'
,
// 开始时间
endTime
:
'2022-07-12'
,
// 结束时间
technical
:
'龙芯+达梦+金蝶+曙光服务器'
,
// 技术路线
now
:
'XX阶段'
,
// 当前阶段
build
:
'XX局'
,
// 建设方
basis
:
'XXX公司'
,
// 基础商
develop
:
'XXX公司'
,
// 开发商
supervision
:
'XX公司'
// 监理方
},
newList
:
[
{
content
:
'test'
,
time
:
'2020-02-02'
}
]
}
},
created
()
{
},
mounted
(){
},
methods
:
{
},
components
:
{
},
watch
:
{
}
}
</
script
>
<
style
scoped
>
.projectInformation
{
width
:
100%
;
}
.projectInformation
.content
{
padding
:
0
60px
0
60px
;
}
.projectInformation
.title
{
margin-top
:
24px
;
height
:
32px
;
line-height
:
32px
;
border-radius
:
2px
;
font-size
:
18px
;
color
:
#666
;
background
:
rgba
(
72
,
119
,
230
,
0.1
);
}
.projectInformation
.title
>
span
:nth-child
(
1
)
{
display
:
inline-block
;
width
:
5px
;
height
:
100%
;
background
:
#4877e6
;
vertical-align
:
bottom
;
margin-right
:
5px
;
border-top-left-radius
:
2px
;
border-bottom-left-radius
:
2px
;
}
.projectInformation
.informationList
{
margin-top
:
30px
;
display
:
flex
;
justify-content
:
space-evenly
;
}
.projectInformation
.informationList
.value
{
width
:
410px
;
display
:
flex
;
font-size
:
18px
;
color
:
#666
;
}
.projectInformation
.informationList
.value
>
span
{
width
:
180px
;
display
:
inline-block
;
line-height
:
34px
;
text-align
:
right
;
}
.projectInformation
>>>
.el-input--medium
.el-input__inner
{
font-size
:
18px
;
color
:
#333
;
background
:
#f5f8fd
;
width
:
280px
;
font-family
:
'Regular'
;
}
.projectInformation
.content
.milestone
{
height
:
180px
;
margin-top
:
30px
;
padding
:
10px
;
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.1
);
border-radius
:
2px
;
}
.projectInformation
.content
.new
{
margin-top
:
30px
;
margin-bottom
:
30px
;
height
:
220px
;
padding
:
10px
;
border
:
1px
solid
rgba
(
8
,
104
,
157
,
.1
);
border-radius
:
2px
;
}
.projectInformation
.content
.newAll
{
position
:
relative
;
}
.projectInformation
.content
.newAll
>
span
:nth-child
(
2
)
{
position
:
absolute
;
right
:
10px
;
color
:
#999
;
}
.projectInformation
.content
.newAll
>
span
:nth-child
(
2
)>
img
{
margin-right
:
5px
;
vertical-align
:
top
;
}
.projectInformation
>>>
.el-scrollbar__wrap
{
overflow-x
:
hidden
;
}
.projectInformation
.process
{
display
:
inline-block
;
width
:
90px
;
text-align
:
center
;
}
.projectInformation
.process
>
span
:nth-child
(
1
),
.projectInformation
.process
>
span
:nth-child
(
1
)
{
display
:
block
;
}
.projectInformation
.process
>
span
:nth-child
(
3
)
{
display
:
block
;
width
:
30px
;
height
:
30px
;
border-radius
:
50%
;
background
:
#ccc
;
}
</
style
>
src/components/projectManagement/software/software.vue
浏览文件 @
56bbc08b
...
@@ -4,7 +4,6 @@
...
@@ -4,7 +4,6 @@
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"content"
>
<div
class=
"content"
>
<p
class=
"title"
>
软件清单
</p>
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"searchVal"
>
<span
class=
"searchVal"
>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"searchVal"
size=
"medium"
placeholder=
"请输入"
></el-input>
...
@@ -45,6 +44,19 @@
...
@@ -45,6 +44,19 @@
</el-table-column>
</el-table-column>
</el-table>
</el-table>
</div>
</div>
<!-- 分页 -->
<div
class=
"block"
>
<el-pagination
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
background
layout=
"prev, pager, next"
:total=
"totleLength"
>
</el-pagination>
</div>
<!-- 分页 -->
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -57,7 +69,21 @@ export default {
...
@@ -57,7 +69,21 @@ export default {
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
allData
:
[]
allData
:
[],
currentPage
:
1
,
// 分页第一页
pagesize
:
7
,
// 每页个数
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
},
methods
:
{
// 点击分页
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
},
// 当前页数
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
}
}
}
}
}
}
...
@@ -65,20 +91,8 @@ export default {
...
@@ -65,20 +91,8 @@ export default {
<
style
scoped
>
<
style
scoped
>
.software
{
.software
{
background
:
#ebf0f8
;
width
:
100%
;
width
:
100%
;
}
.software
.content
{
margin
:
40px
;
height
:
841px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
cursor
:
default
;
}
.software
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
}
}
.software
.content
.search
{
.software
.content
.search
{
position
:
relative
;
position
:
relative
;
...
...
src/components/projectManagement/technicalRoute/technicalRoute.vue
浏览文件 @
56bbc08b
...
@@ -5,7 +5,6 @@
...
@@ -5,7 +5,6 @@
<div
class=
"content"
>
<div
class=
"content"
>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<p
class=
"title"
>
技术路线
</p>
<p
class=
"search"
>
<p
class=
"search"
>
<span
class=
"value"
>
<span
class=
"value"
>
<span>
中间件:
</span>
<span>
中间件:
</span>
...
@@ -76,23 +75,11 @@ export default {
...
@@ -76,23 +75,11 @@ export default {
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.technicalRoute
{
.technicalRoute
{
background
:
#ebf0f8
;
width
:
100%
;
width
:
100%
;
}
.technicalRoute
.content
{
margin
:
40px
;
height
:
841px
;
height
:
841px
;
background
:
#fff
;
overflow
:
hidden
;
}
.technicalRoute
.content
.title
{
padding
:
30px
0
0
60px
;
font-size
:
20px
;
color
:
#233b6e
;
position
:
relative
;
}
}
.technicalRoute
.content
.search
{
.technicalRoute
.content
.search
{
margin-top
:
36
px
;
margin-top
:
60
px
;
display
:
flex
;
display
:
flex
;
padding
:
0px
70px
30px
70px
;
padding
:
0px
70px
30px
70px
;
justify-content
:
space-evenly
;
justify-content
:
space-evenly
;
...
...
src/components/sidebar/sidebar.vue
浏览文件 @
56bbc08b
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
</p>
</p>
</div>
</div>
<div
@
click=
"clickMenu('',7,'项目管理')"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<div
@
click=
"clickMenu('
projectManagement
',7,'项目管理')"
v-if=
"this.$store.getters.getUserData.type === 1"
>
<p
class=
"menu"
>
<p
class=
"menu"
>
<span
class=
"font"
>
项目管理
</span>
<span
class=
"font"
>
项目管理
</span>
</p>
</p>
...
@@ -182,12 +182,7 @@ export default {
...
@@ -182,12 +182,7 @@ export default {
},
},
{
{
name
:
'项目管理'
,
name
:
'项目管理'
,
menuList
:
[
menuList
:
[]
{
name
:
'项目管理'
,
path
:
'projectManagement'
}
]
},
},
{
{
name
:
'我的项目'
,
name
:
'我的项目'
,
...
...
src/router/index.js
浏览文件 @
56bbc08b
...
@@ -193,6 +193,12 @@ export default new Router({
...
@@ -193,6 +193,12 @@ export default new Router({
name
:
'projectAdd'
,
name
:
'projectAdd'
,
component
:
resolve
=>
require
([
'../components/projectManagement/project/projectAdd.vue'
],
resolve
)
component
:
resolve
=>
require
([
'../components/projectManagement/project/projectAdd.vue'
],
resolve
)
},
},
// 项目管理-项目新增
{
path
:
'/projectDetails'
,
name
:
'projectDetails'
,
component
:
resolve
=>
require
([
'../components/projectManagement/projectDetails/projectDetails.vue'
],
resolve
)
},
]
]
}
}
...
...
src/services/server.js
浏览文件 @
56bbc08b
...
@@ -189,5 +189,10 @@ const server = {
...
@@ -189,5 +189,10 @@ const server = {
data
:
data
data
:
data
});
});
},
},
postProjectPage
(
size
,
page
)
{
// 获取项目管理列表
return
axios
(
'/project/page/'
+
size
+
'/'
+
page
,
{
method
:
'post'
});
},
}
}
export
default
server
;
export
default
server
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论