Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rongtong-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
融通安全管理系统
rongtong-app
Commits
04632cf3
Commit
04632cf3
authored
Jul 10, 2023
by
wei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into dev-lv
parents
3d8a0aea
0bee0a13
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
17 deletions
+18
-17
src/views/login.vue
src/views/login.vue
+2
-2
src/views/riskProject/add/addInherent.vue
src/views/riskProject/add/addInherent.vue
+2
-2
src/views/riskProject/add/taskList.vue
src/views/riskProject/add/taskList.vue
+11
-10
src/views/riskProject/taskLedger/tabDetail.vue
src/views/riskProject/taskLedger/tabDetail.vue
+1
-1
src/views/riskProject/taskLedger/taskDetail.vue
src/views/riskProject/taskLedger/taskDetail.vue
+2
-2
No files found.
src/views/login.vue
View file @
04632cf3
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
<div
class=
"login"
:style=
"
{ backgroundImage: `url(${bg})` }">
<div
class=
"login"
:style=
"
{ backgroundImage: `url(${bg})` }">
<div
class=
"title"
>
<div
class=
"title"
>
<div
class=
"login-logo"
>
<div
class=
"login-logo"
>
融通
物管安全管理平台
融通
危险源辨识系统建设项目
</div>
</div>
<
div
class=
"login-name"
>
Enterprise Business Data Monitoring
</div
>
<
!--
<div
class=
"login-name"
>
Enterprise Business Data Monitoring
</div>
--
>
</div>
</div>
<div
class=
"con"
:style=
"
{ backgroundImage: `url(${conBg})` }">
<div
class=
"con"
:style=
"
{ backgroundImage: `url(${conBg})` }">
...
...
src/views/riskProject/add/addInherent.vue
View file @
04632cf3
...
@@ -45,8 +45,8 @@
...
@@ -45,8 +45,8 @@
<van-field
<van-field
required
required
clickable
clickable
name=
"floor
Id
"
name=
"floor
Name
"
:value=
"form.floor
Id
"
:value=
"form.floor
Name
"
label=
"所属楼层"
label=
"所属楼层"
placeholder=
"请选择"
placeholder=
"请选择"
@
click=
"seletFloor('floor')"
@
click=
"seletFloor('floor')"
...
...
src/views/riskProject/add/taskList.vue
View file @
04632cf3
...
@@ -22,14 +22,14 @@
...
@@ -22,14 +22,14 @@
<div>
开始时间:
</div>
<div>
开始时间:
</div>
<div>
<div>
{{
{{
timestampToTimes
(
messageList
.
startTime
)
||
messageList
.
startTime
timestampToTimes
(
messageList
.
startTime
,
'
DT2
'
)
||
messageList
.
startTime
}}
}}
</div>
</div>
</van-grid-item>
</van-grid-item>
<van-grid-item>
<van-grid-item>
<div>
结束时间:
</div>
<div>
结束时间:
</div>
<div>
<div>
{{
timestampToTimes
(
messageList
.
endTime
)
||
messageList
.
endTime
}}
{{
timestampToTimes
(
messageList
.
endTime
,
'
DT2
'
)
||
messageList
.
endTime
}}
</div>
</div>
</van-grid-item>
</van-grid-item>
</van-grid>
</van-grid>
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
input-align=
"right"
input-align=
"right"
:formatter=
"
:formatter=
"
() =>
{
() =>
{
return timestampToTimes(form.startTime);
return timestampToTimes(form.startTime
,'DT2'
);
}
}
"
"
:rules="[{ required: true, message: '任务开始时间不能为空' }]"
:rules="[{ required: true, message: '任务开始时间不能为空' }]"
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
label=
"任务结束时间"
label=
"任务结束时间"
:formatter=
"
:formatter=
"
() =>
{
() =>
{
return timestampToTimes(form.endTime
);
return timestampToTimes(form.endTime
,'DT2')
}
}
"
"
input-align="right"
input-align="right"
...
@@ -169,8 +169,9 @@
...
@@ -169,8 +169,9 @@
type=
"flex"
type=
"flex"
justify=
"space-between"
justify=
"space-between"
style=
"margin-top:10px;"
style=
"margin-top:10px;"
@
click=
"toRiskDetail(item)"
>
>
<van-col
span=
"20"
@
click=
"toRiskDetail(item)"
>
<van-col
span=
"20"
>
<van-col
span=
"5"
>
<van-col
span=
"5"
>
<van-image
<van-image
width=
"46"
width=
"46"
...
@@ -189,7 +190,7 @@
...
@@ -189,7 +190,7 @@
<van-col
span=
"4"
>
<van-col
span=
"4"
>
<van-row
type=
"flex"
>
<van-row
type=
"flex"
>
详情
详情
<van-icon
name=
"arrow"
size=
"26px"
@
click=
"goColorDetail"
/>
<van-icon
name=
"arrow"
size=
"26px"
/>
</van-row>
</van-row>
</van-col>
</van-col>
</van-row>
</van-row>
...
@@ -209,7 +210,7 @@
...
@@ -209,7 +210,7 @@
<van-row>
<van-row>
<van-col
span=
"24"
>
<van-col
span=
"24"
>
<div
class=
"info-title"
>
<div
class=
"info-title"
>
{{
timestampToTimes
(
item
.
startTime
)
}}
{{
timestampToTimes
(
item
.
startTime
,
"
DT1
"
)
}}
</div>
</div>
</van-col>
</van-col>
</van-row>
</van-row>
...
@@ -425,7 +426,7 @@
...
@@ -425,7 +426,7 @@
<van-row
gutter=
""
>
<van-row
gutter=
""
>
<van-col
span=
"8"
>
发起时间:
</van-col>
<van-col
span=
"8"
>
发起时间:
</van-col>
<van-col
span=
"16"
<van-col
span=
"16"
>
{{
timestampToTimes
(
item
.
startTime
)
}}
>
{{
timestampToTimes
(
item
.
startTime
,
"
DT2
"
)
}}
</van-col>
</van-col>
</van-row>
</van-row>
</van-col>
</van-col>
...
@@ -554,8 +555,8 @@ export default {
...
@@ -554,8 +555,8 @@ export default {
this
.
getRiskTaskList
(
this
.
planId
,
buildingId
);
this
.
getRiskTaskList
(
this
.
planId
,
buildingId
);
},
},
methods
:
{
methods
:
{
timestampToTimes
(
time
)
{
timestampToTimes
(
time
,
type
)
{
return
timestampToTime
(
new
Date
(
time
),
"
DT2
"
,
true
);
return
timestampToTime
(
new
Date
(
time
),
type
,
true
);
},
},
//执行任务
//执行任务
performTasks
()
{
performTasks
()
{
...
...
src/views/riskProject/taskLedger/tabDetail.vue
View file @
04632cf3
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<div
style=
"display: flex;"
>
<div
style=
"display: flex;"
>
<van-field
readonly
required
name=
"roomName"
:value=
"InherentRisk.roomName"
label=
"所属房间"
placeholder=
"请输入"
<van-field
readonly
required
name=
"roomName"
:value=
"InherentRisk.roomName"
label=
"所属房间"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '所属房间不能为空' }]" />
:rules=
"[
{ required: true, message: '所属房间不能为空' }]" />
<
van-button
style=
"color: #cccc;background-color: #f0f1f5;"
icon=
"plus"
type=
"info"
/
>
<
!--
<van-button
style=
"color: #cccc;background-color: #f0f1f5;"
icon=
"plus"
type=
"info"
/>
--
>
</div>
</div>
<van-field
required
clickable
name=
"name"
v-model=
"InherentRisk.factor"
label=
"风险源名称"
placeholder=
"请输入"
<van-field
required
clickable
name=
"name"
v-model=
"InherentRisk.factor"
label=
"风险源名称"
placeholder=
"请输入"
:rules=
"[
{ required: true, message: '风险源名称不能为空' }]" />
:rules=
"[
{ required: true, message: '风险源名称不能为空' }]" />
...
...
src/views/riskProject/taskLedger/taskDetail.vue
View file @
04632cf3
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
</van-row>
</van-row>
<van-row
type=
"flex"
style=
"flex-direction: column;align-items: center;"
>
<van-row
type=
"flex"
style=
"flex-direction: column;align-items: center;"
>
<van-col>
<van-col>
<van-image
round
width=
"34"
height=
"34"
src=
"http://rongtongpc.censoft.com.cn/dev-api/profile/upload/2023/07/08/
gu
you.png"
/>
<van-image
round
width=
"34"
height=
"34"
src=
"http://rongtongpc.censoft.com.cn/dev-api/profile/upload/2023/07/08/
xian
you.png"
/>
</van-col>
</van-col>
<van-col>
<van-col>
{{
item
.
userName
}}
{{
item
.
userName
}}
...
@@ -99,7 +99,7 @@ export default {
...
@@ -99,7 +99,7 @@ export default {
})
})
},
},
timestampToTimes
(
time
)
{
timestampToTimes
(
time
)
{
return
timestampToTime
(
new
Date
(
time
),
"
DT
2
"
,
true
);
return
timestampToTime
(
new
Date
(
time
),
"
DT
1
"
,
true
);
},
},
goDetail
(
item
){
goDetail
(
item
){
console
.
log
(
item
,
'
???
'
)
console
.
log
(
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