| | |
| | | <template> |
| | | <basic-container> |
| | | <basic-container > |
| | | <avue-crud v-model="form" :option="option" :data="data" ref="crud" @on-load="onLoad" @row-save="rowSave" @row-update="rowUpdate" @row-del="rowDel" :page.sync="page"> |
| | | <template slot="menu" slot-scope="{ row, index }"> |
| | | <el-button |
| | |
| | | option: { |
| | | headerAlign: 'center', |
| | | align: 'center', |
| | | columnBtn:false, |
| | | border: true, |
| | | index: true, |
| | | rowKey:'id', |
| | | editBtn:false, |
| | | height:700, |
| | | delBtn:false, |
| | | column: [ |
| | | { |
| | |
| | | |
| | | }, |
| | | { |
| | | //写两个组合方法是因为id和name不能同时绑定这个prop来渲染,一个表格做隐藏来数据操作(表单隐藏),另一个表格做显示只显示在页面(表单隐藏)。 |
| | | label: '组合方法', |
| | | prop: 'combinationIds', |
| | | type: "checkbox", |