task#11347,index值计入
This commit is contained in:
@ -101,7 +101,12 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
goPrePage(){
|
goPrePage(){
|
||||||
this.$router.push({ name: 'caseList', });
|
this.$router.push({
|
||||||
|
name: 'caseList',
|
||||||
|
params: {
|
||||||
|
type: this.type
|
||||||
|
}
|
||||||
|
});
|
||||||
},
|
},
|
||||||
onRefresh() {
|
onRefresh() {
|
||||||
this.getList()
|
this.getList()
|
||||||
@ -147,8 +152,7 @@ export default {
|
|||||||
index:this.activeIndex,
|
index:this.activeIndex,
|
||||||
batchCode:this.id,
|
batchCode:this.id,
|
||||||
getUrlId:this.getUrlId,
|
getUrlId:this.getUrlId,
|
||||||
type:this.type
|
type:this.type,}
|
||||||
}
|
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
|
@ -73,6 +73,8 @@ export default {
|
|||||||
async mounted() {
|
async mounted() {
|
||||||
await this.getCount();
|
await this.getCount();
|
||||||
await this.getList()
|
await this.getList()
|
||||||
|
// console.log("***",this.$route.params.type)
|
||||||
|
this.activeIndex = (this.$route.params.type - 1) || this.activeIndex
|
||||||
},
|
},
|
||||||
computed:{
|
computed:{
|
||||||
show() {
|
show() {
|
||||||
@ -81,7 +83,7 @@ export default {
|
|||||||
},
|
},
|
||||||
methods:{
|
methods:{
|
||||||
async onLoad(){
|
async onLoad(){
|
||||||
console.log('00000000000000000000')
|
// console.log('00000000000000000000')
|
||||||
this.pageNum++;
|
this.pageNum++;
|
||||||
await this.getList()
|
await this.getList()
|
||||||
// 加载状态结束
|
// 加载状态结束
|
||||||
@ -146,7 +148,8 @@ export default {
|
|||||||
name: 'caseAuditList', // 目标路由的名称
|
name: 'caseAuditList', // 目标路由的名称
|
||||||
params: {
|
params: {
|
||||||
id: id, // 参数对象的属性
|
id: id, // 参数对象的属性
|
||||||
type: this.activeIndex+1
|
type: this.activeIndex+1,
|
||||||
|
page1Index:this.activeIndex
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user