Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
9
912project
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
CRS
912project
Commits
855d4f2a
提交
855d4f2a
authored
3月 10, 2020
作者:
CRS
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
new
上级
c181e730
隐藏空白字符变更
内嵌
并排
正在显示
19 个修改的文件
包含
120 行增加
和
53 行删除
+120
-53
changeElementStyle.css
src/assets/changeElementStyle.css
+7
-0
company.vue
src/components/admittance/company/company.vue
+1
-1
product.vue
src/components/admittance/product/product.vue
+1
-1
technical.vue
src/components/admittance/technical/technical.vue
+1
-1
company.vue
src/components/basicInformation/company/company.vue
+1
-1
person.vue
src/components/basicInformation/person/person.vue
+1
-1
product.vue
src/components/basicInformation/product/product.vue
+1
-1
role.vue
src/components/basicInformation/role/role.vue
+1
-1
complaint.vue
src/components/complaint/complaint/complaint.vue
+1
-1
complaintManagement.vue
...nts/complaint/complaintManagement/complaintManagement.vue
+1
-1
dynamicList.vue
src/components/integration/dynamicList/dynamicList.vue
+1
-1
document.vue
src/components/projectManagement/document/document.vue
+1
-1
hardware.vue
src/components/projectManagement/hardware/hardware.vue
+1
-1
journal.vue
src/components/projectManagement/journal/journal.vue
+51
-10
projectManagement.vue
...omponents/projectManagement/project/projectManagement.vue
+1
-1
projectDetails.vue
...nents/projectManagement/projectDetails/projectDetails.vue
+6
-2
projectInformation.vue
...ojectManagement/projectInformation/projectInformation.vue
+36
-27
software.vue
src/components/projectManagement/software/software.vue
+1
-1
server.js
src/services/server.js
+6
-0
没有找到文件。
src/assets/changeElementStyle.css
浏览文件 @
855d4f2a
...
@@ -132,6 +132,8 @@
...
@@ -132,6 +132,8 @@
}
}
.el-pagination__editor
.el-input__inner
{
.el-pagination__editor
.el-input__inner
{
width
:
46px
!important
;
width
:
46px
!important
;
height
:
28px
!important
;
line-height
:
28px
!important
;
}
}
.content
>>>
.el-table
td
{
.content
>>>
.el-table
td
{
border-bottom
:
1px
solid
#d5e3ff
;
border-bottom
:
1px
solid
#d5e3ff
;
...
@@ -161,3 +163,8 @@
...
@@ -161,3 +163,8 @@
font-size
:
18px
;
font-size
:
18px
;
font-family
:
'Regular'
;
font-family
:
'Regular'
;
}
}
/*滚动条*/
.el-scrollbar__wrap
{
overflow-x
:
hidden
;
}
src/components/admittance/company/company.vue
浏览文件 @
855d4f2a
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-size=
"pageSize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totalLength"
>
:total=
"totalLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/admittance/product/product.vue
浏览文件 @
855d4f2a
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-size=
"pageSize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totalLength"
>
:total=
"totalLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/admittance/technical/technical.vue
浏览文件 @
855d4f2a
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/basicInformation/company/company.vue
浏览文件 @
855d4f2a
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-size=
"pageSize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totalLength"
>
:total=
"totalLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/basicInformation/person/person.vue
浏览文件 @
855d4f2a
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/basicInformation/product/product.vue
浏览文件 @
855d4f2a
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pageSize"
:page-size=
"pageSize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totalLength"
>
:total=
"totalLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/basicInformation/role/role.vue
浏览文件 @
855d4f2a
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/complaint/complaint/complaint.vue
浏览文件 @
855d4f2a
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/complaint/complaintManagement/complaintManagement.vue
浏览文件 @
855d4f2a
...
@@ -70,7 +70,7 @@
...
@@ -70,7 +70,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/integration/dynamicList/dynamicList.vue
浏览文件 @
855d4f2a
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/projectManagement/document/document.vue
浏览文件 @
855d4f2a
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/projectManagement/hardware/hardware.vue
浏览文件 @
855d4f2a
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/projectManagement/journal/journal.vue
浏览文件 @
855d4f2a
...
@@ -18,22 +18,17 @@
...
@@ -18,22 +18,17 @@
stripe
stripe
style=
"width: 100%;"
>
style=
"width: 100%;"
>
<el-table-column
<el-table-column
prop=
"
name
"
prop=
"
content
"
label=
"操作内容"
label=
"操作内容"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"
role
Name"
prop=
"
user
Name"
label=
"操作人"
label=
"操作人"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
<el-table-column
<el-table-column
prop=
"unitName"
prop=
"time"
label=
"操作记录"
align=
"center"
>
</el-table-column>
<el-table-column
prop=
"number"
label=
"操作时间"
label=
"操作时间"
align=
"center"
>
align=
"center"
>
</el-table-column>
</el-table-column>
...
@@ -47,7 +42,7 @@
...
@@ -47,7 +42,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
@@ -60,7 +55,7 @@
...
@@ -60,7 +55,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'journal'
,
props
:
[
'value'
]
,
data
()
{
data
()
{
return
{
return
{
searchVal
:
''
,
searchVal
:
''
,
...
@@ -70,7 +65,42 @@ export default {
...
@@ -70,7 +65,42 @@ export default {
totleLength
:
0
,
// 获取后台传的所有数据的长度
totleLength
:
0
,
// 获取后台传的所有数据的长度
}
}
},
},
mounted
(){
this
.
init
();
},
methods
:
{
methods
:
{
init
()
{
let
val
;
if
(
this
.
searchVal
===
''
)
{
val
=
{
'page'
:
this
.
currentPage
,
'pageSize'
:
this
.
pagesize
,
't'
:
{
'projectId'
:
this
.
value
.
id
}
}
}
else
{
val
=
{
'page'
:
this
.
currentPage
,
'pageSize'
:
this
.
pagesize
,
't'
:
{
'projectId'
:
this
.
value
.
id
}
}
}
this
.
$server
.
PostHistorySearch
(
val
).
then
((
res
)
=>
{
// 数据请求
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
===
200
)
{
this
.
allData
=
res
.
data
.
data
.
rows
;
this
.
totleLength
=
res
.
data
.
data
.
total
for
(
let
item
of
this
.
allData
)
{
item
.
time
=
this
.
timeC
(
item
.
time
)
}
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
},
// 点击分页
// 点击分页
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
console
.
log
(
`每页
${
val
}
条`
);
console
.
log
(
`每页
${
val
}
条`
);
...
@@ -79,6 +109,17 @@ export default {
...
@@ -79,6 +109,17 @@ export default {
handleCurrentChange
(
val
)
{
handleCurrentChange
(
val
)
{
// console.log(`当前页: ${val}`);
// console.log(`当前页: ${val}`);
this
.
currentPage
=
val
;
this
.
currentPage
=
val
;
},
// 时间换算
timeC
(
value
)
{
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
Y
=
date
.
getFullYear
()
+
'-'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'-'
;
let
D
=
(
date
.
getDate
()
<
10
?
'0'
+
date
.
getDate
()
:
date
.
getDate
());
let
h
=
(
date
.
getHours
()
<
10
?
'0'
+
date
.
getHours
()
:
date
.
getHours
())
+
':'
;
let
m
=
(
date
.
getMinutes
()
<
10
?
'0'
+
date
.
getMinutes
()
:
date
.
getMinutes
())
+
':'
;
let
s
=
(
date
.
getSeconds
()
<
10
?
'0'
+
date
.
getSeconds
()
:
date
.
getSeconds
());
return
Y
+
M
+
D
+
' '
+
h
+
m
+
s
;
}
}
}
}
}
}
...
...
src/components/projectManagement/project/projectManagement.vue
浏览文件 @
855d4f2a
...
@@ -72,7 +72,7 @@
...
@@ -72,7 +72,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/components/projectManagement/projectDetails/projectDetails.vue
浏览文件 @
855d4f2a
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
<div
class=
"contentAll"
>
<div
class=
"contentAll"
>
<p
class=
"title"
>
项目管理
<p
class=
"title"
>
项目管理
<
img
src=
"./img/goback.png"
class=
"back"
@
click=
"back"
title=
"返回"
>
<
span
class=
"back"
@
click=
"back"
title=
"返回"
></span
>
</p>
</p>
<p
class=
"titleList"
>
<p
class=
"titleList"
>
<span
class=
"titleListClick"
@
click=
"changeMenu('projectInformation',1)"
>
项目信息
</span>
<span
class=
"titleListClick"
@
click=
"changeMenu('projectInformation',1)"
>
项目信息
</span>
...
@@ -91,10 +91,14 @@ export default {
...
@@ -91,10 +91,14 @@ export default {
position
:
absolute
;
position
:
absolute
;
left
:
25px
;
left
:
25px
;
top
:
28px
;
top
:
28px
;
display
:
inline-block
;
width
:
25px
;
height
:
25px
;
background
:
url("./img/goback.png")
;
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.projectDetails
.contentAll
.back
:hover
{
.projectDetails
.contentAll
.back
:hover
{
content
:
url("./img/gobackH.png")
;
background
:
url("./img/gobackH.png")
;
}
}
.projectDetails
.contentAll
.titleList
{
.projectDetails
.contentAll
.titleList
{
margin
:
30px
60px
0
60px
;
margin
:
30px
60px
0
60px
;
...
...
src/components/projectManagement/projectInformation/projectInformation.vue
浏览文件 @
855d4f2a
...
@@ -110,15 +110,15 @@ export default {
...
@@ -110,15 +110,15 @@ export default {
data
()
{
data
()
{
return
{
return
{
allVal
:
{
allVal
:
{
name
:
'
XX局XX工程
'
,
// 项目名称
name
:
''
,
// 项目名称
startTime
:
'
2020-02-01
'
,
// 开始时间
startTime
:
''
,
// 开始时间
endTime
:
'
2022-07-12
'
,
// 结束时间
endTime
:
''
,
// 结束时间
technical
:
'
龙芯+达梦+金蝶+曙光服务器
'
,
// 技术路线
technical
:
''
,
// 技术路线
now
:
'
XX阶段
'
,
// 当前阶段
now
:
''
,
// 当前阶段
build
:
'
XX局
'
,
// 建设方
build
:
''
,
// 建设方
basis
:
'
XXX公司
'
,
// 集成商
basis
:
''
,
// 集成商
develop
:
'
XXX公司
'
,
// 开发商
develop
:
''
,
// 开发商
supervision
:
'
XX公司
'
// 监理方
supervision
:
''
// 监理方
},
},
marker
:
[
marker
:
[
{
{
...
@@ -182,27 +182,36 @@ export default {
...
@@ -182,27 +182,36 @@ export default {
},
},
methods
:
{
methods
:
{
init
()
{
init
()
{
console
.
log
(
this
.
value
)
this
.
$server
.
GetProjectGet
(
this
.
value
.
id
).
then
((
res
)
=>
{
// 数据请求
console
.
log
(
res
.
data
)
if
(
res
.
data
.
code
===
200
)
{
console
.
log
(
res
.
data
.
data
)
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
let
that
=
this
;
let
that
=
this
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
that
.
allVal
.
name
=
that
.
value
.
name
,
// 项目名称
that
.
$server
.
GetProjectGet
(
that
.
value
.
id
).
then
((
res
)
=>
{
// 数据请求
that
.
allVal
.
startTime
=
that
.
value
.
startTime
,
// 开始时间
if
(
res
.
data
.
code
===
200
)
{
that
.
allVal
.
endTime
=
that
.
value
.
endTime
,
// 结束时间
console
.
log
(
res
.
data
.
data
)
that
.
allVal
.
technical
=
that
.
value
.
techName
,
// 技术路线
that
.
allVal
.
name
=
res
.
data
.
data
.
name
,
// 项目名称
that
.
allVal
.
now
=
that
.
value
.
schedule
,
// 当前阶段
that
.
allVal
.
startTime
=
that
.
timeC
(
res
.
data
.
data
.
startTime
),
// 开始时间
that
.
allVal
.
build
=
that
.
value
.
consName
,
// 建设方
that
.
allVal
.
endTime
=
that
.
timeC
(
res
.
data
.
data
.
endTime
),
// 结束时间
that
.
allVal
.
basis
=
that
.
value
.
gratorName
,
// 集成商
that
.
allVal
.
technical
=
res
.
data
.
data
.
techName
,
// 技术路线
that
.
allVal
.
develop
=
that
.
value
.
devName
,
// 开发商
that
.
allVal
.
now
=
res
.
data
.
data
.
schedule
,
// 当前阶段
that
.
allVal
.
supervision
=
that
.
value
.
thirdName
// 监理方
that
.
allVal
.
build
=
res
.
data
.
data
.
consName
,
// 建设方
that
.
allVal
.
basis
=
res
.
data
.
data
.
gratorName
,
// 集成商
that
.
allVal
.
develop
=
res
.
data
.
data
.
devName
,
// 开发商
that
.
allVal
.
supervision
=
res
.
data
.
data
.
thirdName
// 监理方
}
}).
catch
(
err
=>
{
this
.
$message
.
error
(
'数据请求失败!'
);
})
},
30
)
},
30
)
},
// 时间换算
timeC
(
value
)
{
let
date
=
new
Date
(
value
);
// 时间戳为10位需*1000,时间戳为13位的话不需乘1000
let
Y
=
date
.
getFullYear
()
+
'-'
;
let
M
=
(
date
.
getMonth
()
+
1
<
10
?
'0'
+
(
date
.
getMonth
()
+
1
)
:
date
.
getMonth
()
+
1
)
+
'-'
;
let
D
=
(
date
.
getDate
()
<
10
?
'0'
+
date
.
getDate
()
:
date
.
getDate
());
let
h
=
(
date
.
getHours
()
<
10
?
'0'
+
date
.
getHours
()
:
date
.
getHours
())
+
':'
;
let
m
=
(
date
.
getMinutes
()
<
10
?
'0'
+
date
.
getMinutes
()
:
date
.
getMinutes
())
+
':'
;
let
s
=
(
date
.
getSeconds
()
<
10
?
'0'
+
date
.
getSeconds
()
:
date
.
getSeconds
());
return
Y
+
M
+
D
+
' '
+
h
+
m
+
s
;
}
}
},
},
components
:
{
components
:
{
...
...
src/components/projectManagement/software/software.vue
浏览文件 @
855d4f2a
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
:current-page
.
sync=
"currentPage"
:current-page
.
sync=
"currentPage"
:page-size=
"pagesize"
:page-size=
"pagesize"
background
background
layout=
"prev, pager, next"
layout=
"prev, pager, next
, jumper
"
:total=
"totleLength"
>
:total=
"totleLength"
>
</el-pagination>
</el-pagination>
</div>
</div>
...
...
src/services/server.js
浏览文件 @
855d4f2a
...
@@ -233,6 +233,12 @@ const server = {
...
@@ -233,6 +233,12 @@ const server = {
return
axios
(
'/project/get/'
+
id
,
{
return
axios
(
'/project/get/'
+
id
,
{
method
:
'get'
method
:
'get'
})
})
},
PostHistorySearch
(
data
)
{
// 操作日志接口
return
axios
(
'/history/search'
,
{
method
:
'post'
,
data
:
data
})
}
}
}
}
export
default
server
;
export
default
server
;
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论