提交修改错误 #32
@@ -159,9 +159,7 @@
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
this.$router.go(0)
|
||||
//this.$emit("getList");
|
||||
})
|
||||
},
|
||||
@@ -178,16 +176,7 @@
|
||||
batchNumber:"",
|
||||
caseFlowId:this.defalutVal.caseFlowId
|
||||
}
|
||||
caseDelete(objValue).then(res =>{
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
})
|
||||
})
|
||||
this.$emit('pDeleteCase',objValue)
|
||||
},
|
||||
},
|
||||
created() {
|
||||
|
||||
@@ -325,9 +325,10 @@
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
uni.navigateTo({
|
||||
url:'../index'
|
||||
})
|
||||
// this.$router.go(-1)
|
||||
});
|
||||
},
|
||||
//修改案件
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<view class="" v-if="sysType == 2">
|
||||
<button type="primary" @tap="newlyAddedCases">新增案件</button>
|
||||
</view>
|
||||
<List class="caseList" v-for="(item,index) in caseList" :defalutVal='item' :buttonList='buttonList' :key="index"
|
||||
<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">
|
||||
@@ -17,7 +17,8 @@
|
||||
import {
|
||||
respondentList,
|
||||
caseApplicationTj,
|
||||
queryCaseFlowInfo
|
||||
queryCaseFlowInfo,
|
||||
caseDelete
|
||||
} from '../../api/handlecase/index.js'
|
||||
import LuanqingEmpty from "@/components/luanqing-empty.vue"
|
||||
export default {
|
||||
@@ -50,6 +51,7 @@
|
||||
})
|
||||
},
|
||||
getList(parms) {
|
||||
console.log(111)
|
||||
if (this.sysType == 1) {
|
||||
respondentList(parms).then(res => {
|
||||
// this.caseList = res.rows;
|
||||
@@ -128,6 +130,17 @@
|
||||
}
|
||||
|
||||
},
|
||||
deleteCase(objValue){
|
||||
caseDelete(objValue).then(res =>{
|
||||
uni.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'none',
|
||||
duration: 1000
|
||||
})
|
||||
|
||||
})
|
||||
this.$router.go(0)
|
||||
},
|
||||
// 新增案件
|
||||
newlyAddedCases() {
|
||||
uni.navigateTo({
|
||||
|
||||
Reference in New Issue
Block a user