| | |
| | | ref="dialogCrud" |
| | | :data="attrData" |
| | | :option="dialogAttrOption" |
| | | @select-all="selectAllHandler" |
| | | @select="selectHandler"> |
| | | </avue-crud> |
| | | <span slot="footer" class="dialog-footer"> |
| | |
| | | }) |
| | | }, |
| | | selectHandler(selection, row){ |
| | | this.dialogSelectionRow=selection |
| | | this.dialogSelectionRow = selection; |
| | | }, |
| | | selectAllHandler(selection){ |
| | | this.dialogSelectionRow = selection; |
| | | }, |
| | | changeTemp(data) { |
| | | this.$refs.queryCrud.clearSelection(); |
| | |
| | | let abNames=this.dialogSelectionRow.map(item => { |
| | | return item.id |
| | | }) |
| | | |
| | | if(abNames.length==0){ |
| | | this.$message.error('请选择查询属性'); |
| | | return false; |