Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
comment_app
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
莫晓莉
comment_app
Commits
14c778c5
Commit
14c778c5
authored
Sep 19, 2020
by
莫晓莉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mxl
parent
d6322a40
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
8 deletions
+14
-8
pages.json
+2
-2
pages/service-apl-history/service-apl-history.vue
+11
-5
pages/user/user.vue
+1
-1
No files found.
pages.json
View file @
14c778c5
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
{
{
"path"
:
"pages/main/main"
,
"path"
:
"pages/main/main"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
登录模板
"
"navigationBarTitleText"
:
"
残联评价app
"
}
}
},
},
{
{
...
@@ -49,7 +49,7 @@
...
@@ -49,7 +49,7 @@
,{
,{
"path"
:
"pages/service-apl-history/service-apl-history"
,
"path"
:
"pages/service-apl-history/service-apl-history"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
审批
记录 "
"navigationBarTitleText"
:
"
申请
记录 "
}
}
}
}
],
],
...
...
pages/service-apl-history/service-apl-history.vue
View file @
14c778c5
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<view
:data-current=
"index"
@
click=
"ontabtap"
class=
"tybe-tab"
:class=
"statusIndex==index ? 'z-active' : ''"
>
{{
tab
.
name
}}
</view>
<view
:data-current=
"index"
@
click=
"ontabtap"
class=
"tybe-tab"
:class=
"statusIndex==index ? 'z-active' : ''"
>
{{
tab
.
name
}}
</view>
</block>
</block>
</view>
</view>
<
block
v-if=
"statusIndex==0"
>
<
!--
<block
v-if=
"statusIndex==0"
>
--
>
<view
class=
"list-area"
>
<view
class=
"list-area"
>
<view
v-for=
"(item,index) in applyProjectList"
:key=
"index"
class=
"m-his-list"
style=
""
>
<view
v-for=
"(item,index) in applyProjectList"
:key=
"index"
class=
"m-his-list"
style=
""
>
<view
class=
"his-item"
>
申请人:
{{
item
.
name
}}
</view>
<view
class=
"his-item"
>
申请人:
{{
item
.
name
}}
</view>
...
@@ -16,7 +16,11 @@
...
@@ -16,7 +16,11 @@
<view
class=
"his-item-result mt10"
>
审批结果:
{{
item
.
applyResult
}}
</view>
<view
class=
"his-item-result mt10"
>
审批结果:
{{
item
.
applyResult
}}
</view>
</view>
</view>
</view>
</view>
</block>
<view
v-if=
"applyProjectList.length==0"
style=
"text-align: center;padding:150upx 0;"
>
没有数据
</view>
<!--
</block>
-->
</view>
</view>
</
template
>
</
template
>
...
@@ -30,7 +34,7 @@
...
@@ -30,7 +34,7 @@
return
{
return
{
page
:
1
,
page
:
1
,
size
:
5
,
size
:
5
,
hasMore
:
tru
e
,
hasMore
:
fals
e
,
statusIndex
:
0
,
statusIndex
:
0
,
StatusList
:[
StatusList
:[
{
{
...
@@ -101,17 +105,19 @@
...
@@ -101,17 +105,19 @@
methods
:
{
methods
:
{
ontabtap
(
e
){
ontabtap
(
e
){
let
index
=
e
.
target
.
dataset
.
current
||
e
.
currentTarget
.
dataset
.
current
;
let
index
=
e
.
target
.
dataset
.
current
||
e
.
currentTarget
.
dataset
.
current
;
var
noneArray
=
[];
if
(
this
.
statusIndex
==
index
){
if
(
this
.
statusIndex
==
index
){
return
return
}
}
this
.
statusIndex
=
index
;
this
.
statusIndex
=
index
;
this
.
applyProjectList
=
noneArray
;
this
.
page
=
1
;
this
.
getApplyProject
();
this
.
getApplyProject
();
},
},
// 分页获取列表
// 分页获取列表
getApplyProject
(){
getApplyProject
(){
getApplyProject
({
page
:
this
.
page
,
size
:
this
.
size
}).
then
(
res
=>
{
getApplyProject
({
status
:
this
.
statusIndex
,
page
:
this
.
page
,
size
:
this
.
size
}).
then
(
res
=>
{
if
(
res
.
code
!=
200
)
{
if
(
res
.
code
!=
200
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'系统繁忙,加载失败!'
,
title
:
'系统繁忙,加载失败!'
,
...
...
pages/user/user.vue
View file @
14c778c5
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
</view>
</view>
<view
class=
"center-list-item"
@
click=
"aplHis"
>
<view
class=
"center-list-item"
@
click=
"aplHis"
>
<text
class=
"list-icon"
>

</text>
<text
class=
"list-icon"
>

</text>
<text
class=
"list-text"
>
服务
申请记录
</text>
<text
class=
"list-text"
>
申请记录
</text>
<text
class=
"navigat-arrow"
>

</text>
<text
class=
"navigat-arrow"
>

</text>
</view>
</view>
</view>
</view>
...
...
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