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
7be65abb
Commit
7be65abb
authored
Nov 25, 2021
by
罗新东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去掉接口没有加搜索条件的列表页面
parent
c8394bd0
Pipeline
#7273
passed with stage
in 12 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
166 additions
and
166 deletions
+166
-166
src/views/danger/managerDanger/index.vue
src/views/danger/managerDanger/index.vue
+163
-163
src/views/danger/standBook/index.vue
src/views/danger/standBook/index.vue
+3
-3
No files found.
src/views/danger/managerDanger/index.vue
View file @
7be65abb
<
template
>
<div>
<LHeader
:text=
"text"
></LHeader>
<van-sticky
offset-top=
"1.5rem"
>
<!--
<van-sticky
offset-top=
"1.5rem"
>
<van-search
v-model=
"searchValue"
show-action
...
...
@@ -12,7 +12,7 @@
<div
@
click=
"onSearch"
>
搜索
</div>
</
template
>
</van-search>
</van-sticky
>
</van-sticky>
--
>
<!-- 内容列表 -->
<!-- 接口对接4 START -->
<div
class=
"con-list"
@
touchmove=
"showIndex = null"
>
...
...
@@ -73,7 +73,7 @@
<
script
>
import
tabBar
from
"
@/components/TabBar
"
;
import
LHeader
from
"
@/components/header.vue
"
;
import
{
getFun
,
postFun
}
from
"
@/service/table.js
"
;
import
{
getFun
,
postFun
}
from
"
@/service/table.js
"
;
import
{
superviseList
}
from
"
@/service/danger
"
;
/*接口对接2 START*/
...
...
@@ -110,7 +110,7 @@ export default {
this
.
getList
();
},
methods
:
{
getList
(
select
=
''
)
{
getList
(
select
=
""
)
{
/*接口对接3 START*/
// 例子:
this
.
$toast
.
loading
({
...
...
@@ -119,9 +119,9 @@ export default {
loadingType
:
"
spinner
"
,
duration
:
0
,
});
let
formdata
=
new
FormData
();
formdata
.
append
(
'
select
'
,
select
);
superviseList
(
"
/supervise/list
"
,
formdata
)
let
formdata
=
new
FormData
();
formdata
.
append
(
"
select
"
,
select
);
superviseList
(
"
/supervise/list
"
,
formdata
)
.
then
((
res
)
=>
{
this
.
$toast
.
clear
();
this
.
messageList
=
res
.
data
;
...
...
@@ -137,7 +137,7 @@ export default {
/*接口对接3 END*/
},
onSearch
(
val
)
{
this
.
getList
(
this
.
searchValue
)
this
.
getList
(
this
.
searchValue
);
},
touchstart
(
index
,
item
)
{
...
...
src/views/danger/standBook/index.vue
View file @
7be65abb
...
...
@@ -3,7 +3,7 @@
<van-sticky>
<LHeader
:text=
"text"
></LHeader>
</van-sticky>
<van-sticky
offset-top=
"1.5rem"
>
<
!--
<
van-sticky
offset-top=
"1.5rem"
>
<van-search
v-model=
"searchValue"
show-action
...
...
@@ -14,11 +14,11 @@
<div
@
click=
"onSearch"
>
搜索
</div>
</
template
>
</van-search>
</van-sticky>
</van-sticky>
-->
<!-- tab标签 -->
<van-tabs
v-model=
"active"
@
change=
"postList"
color=
"#2980f7"
animated
:sticky=
"true"
offset-top=
"
3
rem"
>
offset-top=
"
1.5
rem"
>
<van-tab
v-for=
"(item, key) in tabs"
:key=
"key"
:title=
"item.title"
>
<div
v-show=
"key == active"
>
<div
class=
"con-list"
@
touchmove=
"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