Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BCDH-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
首开风险隐患双控平台
BCDH-APP
Commits
baeabab8
Commit
baeabab8
authored
Nov 04, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://git.censoft.com.cn/BCDH-HSE/bcdh-app
into develop
parents
e84db3bd
b944ff54
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
22 deletions
+23
-22
src/views/danger/confirmeDanger/confirmeDanger.vue
src/views/danger/confirmeDanger/confirmeDanger.vue
+2
-2
src/views/danger/reviewDanger/reviewAdd.vue
src/views/danger/reviewDanger/reviewAdd.vue
+5
-3
src/views/messageCenter/messageNews/index.vue
src/views/messageCenter/messageNews/index.vue
+16
-17
No files found.
src/views/danger/confirmeDanger/confirmeDanger.vue
View file @
baeabab8
...
...
@@ -233,8 +233,8 @@ export default {
let
formdata
=
new
FormData
();
formdata
.
append
(
"
confirmResult
"
,
this
.
radio
);
formdata
.
append
(
"
endTime
"
,
values
.
endTime
);
formdata
.
append
(
"
rectificationUser
"
,
this
.
rect
Id
);
formdata
.
append
(
"
rectificationReview
"
,
this
.
re
viewId
);
formdata
.
append
(
"
rectificationUser
"
,
this
.
rect
ificationUser
);
formdata
.
append
(
"
rectificationReview
"
,
this
.
re
ctificationReview
);
formdata
.
append
(
"
confirmOpinion
"
,
values
.
confirmOpinion
);
this
.
$toast
.
loading
({
message
:
"
提交中...
"
,
...
...
src/views/danger/reviewDanger/reviewAdd.vue
View file @
baeabab8
...
...
@@ -157,9 +157,11 @@ export default {
formdata
.
append
(
'
reviewResult
'
,
this
.
radio
)
formdata
.
append
(
'
reviewDetails
'
,
values
.
reviewDetails
)
// 放图片路径 因为formdat存数组会自动变成字符串所以次用这种追加字段的方式
values
.
uploader
.
forEach
(
item
=>
{
formdata
.
append
(
"
reviewPicture1[]
"
,
item
.
file
);
});
if
(
values
.
uploader
)
{
values
.
uploader
.
forEach
(
item
=>
{
formdata
.
append
(
"
reviewPicture1[]
"
,
item
.
file
);
});
}
dangerReviewAdd
(
`/review/add1/
${
this
.
taskId
}
`
,
formdata
)
.
then
(
res
=>
{
...
...
src/views/messageCenter/messageNews/index.vue
View file @
baeabab8
...
...
@@ -33,7 +33,7 @@
:key=
"index"
@
click=
"touchstart(index, item)"
>
<!--@touchend.prevent="touchend(index)" 长按备份-->
<!--@touchend.prevent="touchend(index)" 长按备份-->
<div
class=
"messgae-title"
>
{{
item
.
noticeTitle
}}
</div>
<div
class=
"message-content"
>
{{
item
.
upcomingUserName
}}
,您好!您有一条来自
{{
...
...
@@ -46,15 +46,19 @@
<van-overlay
:show=
"showIndex == index"
>
<div
class=
"wrapper"
@
click
.
stop
>
<van-button
round
type=
"primary"
@
click=
"goDetail(item)"
>
详情
</van-button
>
<!-- @touchstart="goDetail(item)" 长按备份-->
<van-button
round
type=
"info"
@
click=
"goConfirm(item)"
>
整改
</van-button
>
<van-button
round
type=
"warning"
@
click=
"read(item)"
v-if=
"item.status == '未读'"
>
已读
</van-button
>
>
详情
</van-button
>
<!-- @touchstart="goDetail(item)" 长按备份-->
<van-button
round
type=
"info"
@
click=
"goConfirm(item)"
>
整改
</van-button
>
<van-button
round
type=
"warning"
@
click=
"read(item)"
v-if=
"item.status == '未读'"
>
已读
</van-button
>
</div>
</van-overlay>
</van-cell-group>
...
...
@@ -112,9 +116,7 @@ export default {
},
// 搜索事件
onSearch
(
val
)
{
console
.
log
(
val
);
},
onSearch
(
val
)
{},
// 封装全部 已读 和 未读的方法
selectCategory
(
data
)
{
...
...
@@ -129,7 +131,6 @@ export default {
// 点击消息条目时的点击事件 变成已读
read
(
data
)
{
console
.
log
(
"
触发了点击事件
"
);
// 判断showIndex是否等于null 如果不等于则先将showIndex改为null
this
.
showIndex
=
null
;
if
(
data
.
status
==
"
未读
"
)
{
...
...
@@ -156,7 +157,7 @@ export default {
// 向父组件发送消息条数
this
.
$emit
(
"
messageLength
"
,
res
.
total
);
// 给消息列表赋值
this
.
messageList
=
res
.
rows
this
.
messageList
=
res
.
rows
;
}
});
},
...
...
@@ -219,12 +220,10 @@ export default {
// 详情
goDetail
(
data
)
{
console
.
log
(
data
);
this
.
showIndex
=
null
;
},
// 整改
goConfirm
(
data
)
{
console
.
log
(
123
);
this
.
showIndex
=
null
;
}
}
...
...
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