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
842542e3
Commit
842542e3
authored
Nov 03, 2021
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
都
parent
58e79dee
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
src/views/notice/noticeList/index.vue
src/views/notice/noticeList/index.vue
+17
-2
No files found.
src/views/notice/noticeList/index.vue
View file @
842542e3
...
@@ -35,8 +35,8 @@
...
@@ -35,8 +35,8 @@
</van-tab>
</van-tab>
<van-tab
title=
"问题记录"
>
<van-tab
title=
"问题记录"
>
<van-checkbox-group
v-model=
"result"
@
change=
"checkedEvent"
ref=
"checkboxGroup"
>
<van-checkbox-group
v-model=
"result"
@
change=
"checkedEvent"
ref=
"checkboxGroup"
>
<div
class=
"card"
v-for=
"(item,index) in noticeQuestionList"
:key=
"index"
>
<div
class=
"card"
v-for=
"(item,index) in noticeQuestionList"
:key=
"index"
@
click=
"cardClick(item)"
>
<van-checkbox
:name=
"item.id"
:disabled=
"finish=='true'?true:item.checkSubmitId?true:false"
>
问题
{{
i
tem
.
id
}}
</van-checkbox>
<van-checkbox
:name=
"item.id"
:disabled=
"finish=='true'?true:item.checkSubmitId?true:false"
>
问题
{{
i
ndex
+
1
}}
</van-checkbox>
<div>
负责人姓名:
{{
item
.
realName
}}
</div>
<div>
负责人姓名:
{{
item
.
realName
}}
</div>
<div>
问题名称:
{{
item
.
title
}}
</div>
<div>
问题名称:
{{
item
.
title
}}
</div>
<div>
问题位置:
{{
item
.
address
}}
</div>
<div>
问题位置:
{{
item
.
address
}}
</div>
...
@@ -44,6 +44,7 @@
...
@@ -44,6 +44,7 @@
<div>
发现时间:
{{
item
.
checkTime
}}
</div>
<div>
发现时间:
{{
item
.
checkTime
}}
</div>
</div>
</div>
</van-checkbox-group>
</van-checkbox-group>
<div
class=
"page-footer"
>
<div
class=
"page-footer"
>
<van-checkbox
v-model=
"checkedAll"
@
change=
"checkedAllEvent"
@
click=
"checkedAllClick"
:disabled=
"finish=='true'?true:false"
>
全选
</van-checkbox>
<van-checkbox
v-model=
"checkedAll"
@
change=
"checkedAllEvent"
@
click=
"checkedAllClick"
:disabled=
"finish=='true'?true:false"
>
全选
</van-checkbox>
</div>
</div>
...
@@ -66,6 +67,7 @@
...
@@ -66,6 +67,7 @@
</van-tab>
</van-tab>
</van-tabs>
</van-tabs>
<tab-bar
:index=
"1"
></tab-bar>
<tab-bar
:index=
"1"
></tab-bar>
</div>
</div>
</
template
>
</
template
>
...
@@ -81,6 +83,7 @@ export default {
...
@@ -81,6 +83,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
show
:
false
,
//遮罩层是否展示
istext
:
true
,
//是否显示文字
istext
:
true
,
//是否显示文字
isImg
:
false
,
//是否显示图片
isImg
:
false
,
//是否显示图片
istext2
:
true
,
//是否显示文字2
istext2
:
true
,
//是否显示文字2
...
@@ -184,6 +187,10 @@ export default {
...
@@ -184,6 +187,10 @@ export default {
/* ---新增---- */
/* ---新增---- */
this
.
isFinish
=
Response
.
data
.
isFinish
this
.
isFinish
=
Response
.
data
.
isFinish
this
.
noticeQuestionList
=
Response
.
data
.
list
this
.
noticeQuestionList
=
Response
.
data
.
list
this
.
noticeQuestionList
.
forEach
((
item
)
=>
{
item
.
show
=
false
})
console
.
log
(
this
.
noticeQuestionList
)
/* ----详情---- */
/* ----详情---- */
if
(
this
.
isFinish
){
if
(
this
.
isFinish
){
//获取选中状态数组
//获取选中状态数组
...
@@ -320,6 +327,10 @@ export default {
...
@@ -320,6 +327,10 @@ export default {
this
.
$toast
.
fail
(
'
提交失败,请稍后再试
'
)
this
.
$toast
.
fail
(
'
提交失败,请稍后再试
'
)
})
})
})
})
},
//卡片单击事件
cardClick
(){
}
}
}
}
}
}
...
@@ -375,4 +386,8 @@ export default {
...
@@ -375,4 +386,8 @@ export default {
width: 2rem;
width: 2rem;
height: 1rem;
height: 1rem;
}
}
.wrapper {
width: 10%;
height: 10%;
}
</
style
>
</
style
>
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