| | |
| | | type: Array |
| | | } |
| | | }, |
| | | watch:{ |
| | | btmType:{ |
| | | handler(newval,oldval){ |
| | | console.log('监听',newval,oldval) |
| | | }, |
| | | deep:true, |
| | | immediate:true |
| | | } |
| | | }, |
| | | data() { |
| | | return { |
| | | form: {}, |
| | |
| | | }, |
| | | // 属性池加载 |
| | | attrRefOnLoad(){ |
| | | if (this.attrRef.queryNotIn != ''){ |
| | | this.attrRef.queryNotIn = ''; |
| | | this.btmType.attributes.forEach(item => { |
| | | this.attrRef.queryNotIn += (item.id + ",") |
| | | }) |
| | | } |
| | | this.attrRef.loading = true; |
| | | queryPage(this.attrRef.key,this.attrRef.queryNotIn,this.attrRef.page.currentPage, this.attrRef.page.pageSize).then(res => { |
| | | const data = res.data.data; |