新增页面开发

This commit is contained in:
gyj
2024-02-02 17:18:17 +08:00
parent 629b23c27a
commit accf8e8c3f
3 changed files with 221 additions and 0 deletions
+9
View File
@@ -1,5 +1,8 @@
<template>
<view class="handlecase">
<view class="" v-if="sysType == 2">
<button type="primary" @tap="newlyAddedCases">新增案件</button>
</view>
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :key="index"
v-if="item.pendingStatus == 0" :sysType='sysType'>
</List>
@@ -109,6 +112,12 @@
}
},
// 新增案件
newlyAddedCases(){
uni.navigateTo({
url:`/pages/handlecase/component/newlyAddedCase?title=新增案件`
})
},
// 触底
onReachBottom() {
if (this.caseList.length < 1) {