task#11347,index值计入

This commit is contained in:
2024-02-26 15:05:02 +08:00
parent 546cda7eeb
commit 74b2782525
2 changed files with 12 additions and 5 deletions

View File

@ -101,7 +101,12 @@ export default {
},
methods:{
goPrePage(){
this.$router.push({ name: 'caseList', });
this.$router.push({
name: 'caseList',
params: {
type: this.type
}
});
},
onRefresh() {
this.getList()
@ -147,8 +152,7 @@ export default {
index:this.activeIndex,
batchCode:this.id,
getUrlId:this.getUrlId,
type:this.type
}
type:this.type,}
});
},

View File

@ -73,6 +73,8 @@ export default {
async mounted() {
await this.getCount();
await this.getList()
// console.log("***",this.$route.params.type)
this.activeIndex = (this.$route.params.type - 1) || this.activeIndex
},
computed:{
show() {
@ -81,7 +83,7 @@ export default {
},
methods:{
async onLoad(){
console.log('00000000000000000000')
// console.log('00000000000000000000')
this.pageNum++;
await this.getList()
// 加载状态结束
@ -146,7 +148,8 @@ export default {
name: 'caseAuditList', // 目标路由的名称
params: {
id: id, // 参数对象的属性
type: this.activeIndex+1
type: this.activeIndex+1,
page1Index:this.activeIndex
}
});
},