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
2fc1d86c
Commit
2fc1d86c
authored
Jan 17, 2022
by
13841799530
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug修复
解润东 20220117
parent
420bcbe6
Pipeline
#7838
passed with stage
in 15 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
21 deletions
+39
-21
src/views/checked/index.vue
src/views/checked/index.vue
+31
-19
src/views/checked/problem/index.vue
src/views/checked/problem/index.vue
+7
-1
src/views/checked/problem/note/index.vue
src/views/checked/problem/note/index.vue
+1
-1
No files found.
src/views/checked/index.vue
View file @
2fc1d86c
...
@@ -21,20 +21,24 @@
...
@@ -21,20 +21,24 @@
<div
@
click=
"onSearch"
>
搜索
</div>
<div
@
click=
"onSearch"
>
搜索
</div>
</
template
>
</
template
>
</van-search>
</van-search>
<div
class=
"card"
v-for=
"(item,index) in checkedList"
:key=
"index"
@
click=
"cardLocation(item)"
>
<van-tabs
v-model=
"active"
:swipe-threshold=
"3"
>
<div>
检查编号:{{item.no}}
</div>
<van-tab
v-for=
"(item,index) in checkedConfirmList"
:key=
"index"
:title=
"item.title"
>
<div>
检查名称:{{item.name}}
</div>
<div
class=
"card"
v-for=
"(it,index) in item.list"
:key=
"index"
@
click=
"cardLocation(it)"
>
<div>
检查类型:{{item.type}}
</div>
<div>
检查编号:{{it.no}}
</div>
<div
v-show=
"item.isOpen"
>
<div>
检查名称:{{it.name}}
</div>
<div>
开始时间:{{item.planStartTime}}
</div>
<div>
检查类型:{{it.type}}
</div>
<div>
结束时间:{{item.planEndTime}}
</div>
<div
v-show=
"it.isOpen"
>
<div>
检查地点:{{item.address}}
</div>
<div>
开始时间:{{it.planStartTime}}
</div>
<div>
是否提交:{{item.finish?'已提交':'未提交'}}
</div>
<div>
结束时间:{{it.planEndTime}}
</div>
<div>
检查地点:{{it.address}}
</div>
<div>
是否提交:{{it.finish?'已提交':'未提交'}}
</div>
</div>
</div>
<div
class=
"more"
@
click.stop=
"toggle(item
)"
>
<div
class=
"more"
@
click.stop=
"toggle(it
)"
>
{{ item
.OpenText }}
{{ it
.OpenText }}
</div>
</div>
</div>
</div>
</van-tab>
</van-tabs>
<tab-bar
:index=
"1"
></tab-bar>
<tab-bar
:index=
"1"
></tab-bar>
</div>
</div>
</template>
</template>
...
@@ -51,9 +55,10 @@ export default {
...
@@ -51,9 +55,10 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
active
:
'
0
'
,
//默认选中状态
goback
:
'
save-workbench
'
,
//返回工作台
goback
:
'
save-workbench
'
,
//返回工作台
value
:
''
,
//列表搜索关键字值
value
:
''
,
//列表搜索关键字值
checkedList
:[],
//检查列表
checked
Confirm
List
:[],
//检查列表
text
:
'
检查执行
'
,
//顶部文本
text
:
'
检查执行
'
,
//顶部文本
finish
:
''
,
//问题是否提交
finish
:
''
,
//问题是否提交
}
}
...
@@ -73,11 +78,18 @@ export default {
...
@@ -73,11 +78,18 @@ export default {
})
})
getFun
(
'
check/carry/user/list
'
,{
name
:
this
.
value
}).
then
((
Response
)
=>
{
getFun
(
'
check/carry/user/list
'
,{
name
:
this
.
value
}).
then
((
Response
)
=>
{
this
.
$toast
.
clear
()
this
.
$toast
.
clear
()
this
.
checkedList
=
Response
.
data
// this.checkedList=Response.data
this
.
checkedList
.
forEach
((
item
)
=>
{
this
.
checkedConfirmList
=
Response
.
data
.
data
item
.
isOpen
=
false
this
.
checkedConfirmList
.
forEach
((
item
)
=>
{
item
.
OpenText
=
"
展开 ▼
"
;
item
.
list
.
forEach
((
it
)
=>
{
it
.
isOpen
=
false
it
.
OpenText
=
"
展开 ▼
"
;
})
})
})
// this.checkedList.forEach((item)=>{
// item.isOpen=false
// item.OpenText="展开 ▼";
// })
}).
catch
(()
=>
{
}).
catch
(()
=>
{
this
.
$toast
.
clear
()
this
.
$toast
.
clear
()
this
.
$toast
.
fail
(
'
加载失败,请稍后再试
'
)
this
.
$toast
.
fail
(
'
加载失败,请稍后再试
'
)
...
...
src/views/checked/problem/index.vue
View file @
2fc1d86c
...
@@ -41,6 +41,7 @@ export default {
...
@@ -41,6 +41,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
noTroubleFlag
:
false
,
//是否有问题提交参数
id
:
''
,
//问题上报清单列表列表id
id
:
''
,
//问题上报清单列表列表id
nums
:{},
//问题上报清单列表
nums
:{},
//问题上报清单列表
text
:
'
问题上报
'
,
//顶部文本
text
:
'
问题上报
'
,
//顶部文本
...
@@ -103,11 +104,16 @@ export default {
...
@@ -103,11 +104,16 @@ export default {
return
return
}
}
}
}
if
(
this
.
submitTroubleNumber
==
0
){
this
.
noTroubleFlag
=
true
}
else
{
this
.
noTroubleFlag
=
false
}
this
.
$dialog
.
confirm
({
this
.
$dialog
.
confirm
({
title
:
'
提示
'
,
title
:
'
提示
'
,
message
:
'
您已提交
'
+
this
.
submitTroubleNumber
+
'
个问题
'
+
'
确定结束检查上报?
'
,
message
:
'
您已提交
'
+
this
.
submitTroubleNumber
+
'
个问题
'
+
'
确定结束检查上报?
'
,
}).
then
(()
=>
{
}).
then
(()
=>
{
postFun
(
'
check/carry/trouble/finish
'
,{
planId
:
this
.
id
}).
then
((
Response
)
=>
{
postFun
(
'
check/carry/trouble/finish
'
,{
planId
:
this
.
id
,
noTroubleFlag
:
this
.
noTroubleFlag
}).
then
((
Response
)
=>
{
this
.
$toast
.
clear
()
this
.
$toast
.
clear
()
this
.
$router
.
push
(
'
/checked
'
)
this
.
$router
.
push
(
'
/checked
'
)
}).
catch
(()
=>
{
}).
catch
(()
=>
{
...
...
src/views/checked/problem/note/index.vue
View file @
2fc1d86c
...
@@ -61,7 +61,7 @@ export default {
...
@@ -61,7 +61,7 @@ export default {
this
.
id
=
sessionStorage
.
getItem
(
'
noteId
'
)
this
.
id
=
sessionStorage
.
getItem
(
'
noteId
'
)
}
}
if
(
sessionStorage
.
getItem
(
'
checkedFinish
'
)){
if
(
sessionStorage
.
getItem
(
'
checkedFinish
'
)){
this
.
finish
=
sessionStorage
.
getItem
(
'
checkedFinish
'
)
==
'
fals
e
'
?
false
:
true
this
.
finish
=
sessionStorage
.
getItem
(
'
checkedFinish
'
)
!=
'
tru
e
'
?
false
:
true
}
}
this
.
init
()
this
.
init
()
},
},
...
...
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