0222bug
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
<view class="" v-if="sysType == 2">
|
||||
<button type="primary" @tap="newlyAddedCases">新增案件</button>
|
||||
</view>
|
||||
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
|
||||
:sysType='sysType'>
|
||||
<List class="caseList" @pDeleteCase='deleteCase' v-for="(item,index) in caseList" :defalutVal='item'
|
||||
:buttonList='buttonList' :key="index" :sysType='sysType'>
|
||||
</List>
|
||||
<view class="emptyBox" v-if="caseList.length == 0">
|
||||
<luanqing-empty :show="true" textColor="#000"></luanqing-empty>
|
||||
@@ -52,6 +52,7 @@
|
||||
},
|
||||
getList(parms) {
|
||||
console.log(111)
|
||||
this.caseList = [];
|
||||
if (this.sysType == 1) {
|
||||
respondentList(parms).then(res => {
|
||||
// this.caseList = res.rows;
|
||||
@@ -130,15 +131,15 @@
|
||||
}
|
||||
|
||||
},
|
||||
deleteCase(objValue){
|
||||
caseDelete(objValue).then(res =>{
|
||||
deleteCase(objValue) {
|
||||
caseDelete(objValue).then(res => {
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
|
||||
})
|
||||
|
||||
})
|
||||
this.$router.go(0)
|
||||
},
|
||||
// 新增案件
|
||||
|
||||
Reference in New Issue
Block a user