Commit 14c778c5 by 莫晓莉

mxl

parent d6322a40
......@@ -3,7 +3,7 @@
{
"path": "pages/main/main",
"style": {
"navigationBarTitleText": "登录模板"
"navigationBarTitleText": "残联评价app"
}
},
{
......@@ -49,7 +49,7 @@
,{
"path" : "pages/service-apl-history/service-apl-history",
"style" : {
"navigationBarTitleText": "审批记录 "
"navigationBarTitleText": "申请记录 "
}
}
],
......
......@@ -5,7 +5,7 @@
<view :data-current="index" @click="ontabtap" class="tybe-tab" :class="statusIndex==index ? 'z-active' : ''">{{tab.name}}</view>
</block>
</view>
<block v-if="statusIndex==0">
<!-- <block v-if="statusIndex==0"> -->
<view class="list-area">
<view v-for="(item,index) in applyProjectList" :key="index" class="m-his-list" style="">
<view class="his-item">申请人:{{item.name}}</view>
......@@ -16,7 +16,11 @@
<view class="his-item-result mt10">审批结果:{{item.applyResult}}</view>
</view>
</view>
</block>
<view v-if="applyProjectList.length==0" style="text-align: center;padding:150upx 0;">
没有数据
</view>
<!-- </block> -->
</view>
</template>
......@@ -30,7 +34,7 @@
return {
page:1,
size:5,
hasMore:true,
hasMore:false,
statusIndex:0,
StatusList:[
{
......@@ -101,17 +105,19 @@
methods: {
ontabtap(e){
let index = e.target.dataset.current || e.currentTarget.dataset.current;
var noneArray=[];
if(this.statusIndex==index){
return
}
this.statusIndex=index;
this.applyProjectList=noneArray;
this.page=1;
this.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) {
uni.showToast({
title: '系统繁忙,加载失败!',
......
......@@ -38,7 +38,7 @@
</view>
<view class="center-list-item" @click="aplHis">
<text class="list-icon">&#xe65f;</text>
<text class="list-text">服务申请记录</text>
<text class="list-text">申请记录</text>
<text class="navigat-arrow">&#xe65e;</text>
</view>
</view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment