|
@@ -163,12 +163,13 @@
|
|
|
if(this.tabIdx===1||this.tabIdx===3||this.tabIdx===4){
|
|
|
let checklistTypeId=undefined;
|
|
|
let enums={1:2,3:3,4:1}
|
|
|
- getchecklistByPage({
|
|
|
+ let params={
|
|
|
...this.conditions,
|
|
|
targetType,
|
|
|
- targetId,
|
|
|
- checklistTypeId:enums[this.tabIdx]
|
|
|
- }).then((res)=>{
|
|
|
+ targetId,
|
|
|
+ }
|
|
|
+ if(this.tabIdx!==1){params.checklistTypeId=enums[this.tabIdx]}
|
|
|
+ getchecklistByPage(params).then((res)=>{
|
|
|
let items=JSON.parse(JSON.stringify(this.items))
|
|
|
this.items=items.concat(res.data)
|
|
|
this.total=res.total
|