Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wx-boss
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
姜雷
wx-boss
Commits
9db8d416
Commit
9db8d416
authored
Jan 15, 2020
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
19f4afc8
2ab422d4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
0 deletions
+16
-0
EquipmentOperationDetails.js
...ts/EquipmentOperationDetails/EquipmentOperationDetails.js
+0
-0
EquipmentOperationDetails.ts
...ts/EquipmentOperationDetails/EquipmentOperationDetails.ts
+12
-0
EquipmentState.js
...program/pages/components/EquipmentState/EquipmentState.js
+0
-0
EquipmentState.ts
...program/pages/components/EquipmentState/EquipmentState.ts
+2
-0
EquipmentWarning.js
...ram/pages/components/EquipmentWarning/EquipmentWarning.js
+0
-0
EquipmentWarning.ts
...ram/pages/components/EquipmentWarning/EquipmentWarning.ts
+2
-0
No files found.
miniprogram/pages/components/EquipmentOperationDetails/EquipmentOperationDetails.js
View file @
9db8d416
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/EquipmentOperationDetails/EquipmentOperationDetails.ts
View file @
9db8d416
...
@@ -101,10 +101,15 @@ Component({
...
@@ -101,10 +101,15 @@ Component({
});
});
},
},
refreshList
()
{
refreshList
()
{
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
,
});
this
.
fetchList
({
this
.
fetchList
({
pageNum
:
1
,
pageNum
:
1
,
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
wx
.
hideLoading
();
const
{
list
}
=
res
.
data
;
const
{
list
}
=
res
.
data
;
this
.
setData
({
this
.
setData
({
pageNum
:
1
,
pageNum
:
1
,
...
@@ -112,14 +117,20 @@ Component({
...
@@ -112,14 +117,20 @@ Component({
});
});
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
wx
.
hideLoading
();
console
.
log
(
err
);
console
.
log
(
err
);
});
});
},
},
getMoreListItem
()
{
getMoreListItem
()
{
wx
.
showLoading
({
title
:
'加载中'
,
mask
:
true
,
});
this
.
fetchList
({
this
.
fetchList
({
pageNum
:
this
.
data
.
pageNum
+
1
,
pageNum
:
this
.
data
.
pageNum
+
1
,
})
})
.
then
(
res
=>
{
.
then
(
res
=>
{
wx
.
hideLoading
();
const
{
list
}
=
res
.
data
;
const
{
list
}
=
res
.
data
;
if
(
list
&&
list
.
length
)
{
if
(
list
&&
list
.
length
)
{
this
.
setData
!
({
this
.
setData
!
({
...
@@ -129,6 +140,7 @@ Component({
...
@@ -129,6 +140,7 @@ Component({
}
}
})
})
.
catch
(
err
=>
{
.
catch
(
err
=>
{
wx
.
hideLoading
();
console
.
log
(
err
);
console
.
log
(
err
);
});
});
},
},
...
...
miniprogram/pages/components/EquipmentState/EquipmentState.js
View file @
9db8d416
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/EquipmentState/EquipmentState.ts
View file @
9db8d416
...
@@ -109,6 +109,7 @@ Component({
...
@@ -109,6 +109,7 @@ Component({
refreshList
()
{
refreshList
()
{
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
,
});
});
this
.
fetchList
()
this
.
fetchList
()
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -132,6 +133,7 @@ Component({
...
@@ -132,6 +133,7 @@ Component({
getMoreListItem
()
{
getMoreListItem
()
{
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
,
});
});
let
nextPage
=
this
.
data
.
pagination
[
this
.
data
.
status
].
pageNum
+
1
;
let
nextPage
=
this
.
data
.
pagination
[
this
.
data
.
status
].
pageNum
+
1
;
this
.
fetchList
({
this
.
fetchList
({
...
...
miniprogram/pages/components/EquipmentWarning/EquipmentWarning.js
View file @
9db8d416
This diff is collapsed.
Click to expand it.
miniprogram/pages/components/EquipmentWarning/EquipmentWarning.ts
View file @
9db8d416
...
@@ -98,6 +98,7 @@ Component({
...
@@ -98,6 +98,7 @@ Component({
refreshList
()
{
refreshList
()
{
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
,
});
});
this
.
fetchList
({})
this
.
fetchList
({})
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -122,6 +123,7 @@ Component({
...
@@ -122,6 +123,7 @@ Component({
getMoreListItem
()
{
getMoreListItem
()
{
wx
.
showLoading
({
wx
.
showLoading
({
title
:
'加载中'
,
title
:
'加载中'
,
mask
:
true
,
});
});
let
nextPage
=
this
.
data
.
pageNum
+
1
;
let
nextPage
=
this
.
data
.
pageNum
+
1
;
this
.
fetchList
({
this
.
fetchList
({
...
...
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