diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue
index c446a38..294b26e 100644
--- a/pages/handlecase/component/list.vue
+++ b/pages/handlecase/component/list.vue
@@ -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() {
diff --git a/pages/handlecase/component/newlyAddedCase.vue b/pages/handlecase/component/newlyAddedCase.vue
index 3bc8515..e99f75c 100644
--- a/pages/handlecase/component/newlyAddedCase.vue
+++ b/pages/handlecase/component/newlyAddedCase.vue
@@ -325,9 +325,10 @@
icon: 'none',
duration: 1000
})
- uni.navigateBack({
- delta: 1
+ uni.navigateTo({
+ url:'../index'
})
+ // this.$router.go(-1)
});
},
//修改案件
diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue
index 2c92b20..a033ec2 100644
--- a/pages/handlecase/index.vue
+++ b/pages/handlecase/index.vue
@@ -3,7 +3,7 @@
-
@@ -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({