小程序测试bug

This commit is contained in:
gyj
2024-02-23 13:57:53 +08:00
parent ac0a1da090
commit 24a80a9a62
11 changed files with 59 additions and 64 deletions
+3 -15
View File
@@ -1,9 +1,9 @@
<template>
<view class="handlecase">
<view class="" v-if="sysType == 2">
<button type="primary" @tap="newlyAddedCases">新增案件</button>
<button type="primary" @tap="newlyAddedCases" v-if="checkPermi(['caseManagement:list:add'])">新增案件</button>
</view>
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
:sysType='sysType'>
</List>
<view class="emptyBox" v-if="caseList.length == 0">
@@ -17,8 +17,7 @@
import {
respondentList,
caseApplicationTj,
queryCaseFlowInfo,
caseDelete
queryCaseFlowInfo
} from '../../api/handlecase/index.js'
import LuanqingEmpty from "@/components/luanqing-empty.vue"
export default {
@@ -130,17 +129,6 @@
}
},
deleteCase(objValue){
caseDelete(objValue).then(res =>{
uni.showToast({
title: '删除成功',
icon: 'none',
duration: 1000
})
})
this.$router.go(0)
},
// 新增案件
newlyAddedCases() {
uni.navigateTo({