|
|
@@ -167,7 +167,6 @@ export default {
|
|
|
operateData: {},
|
|
|
tabIndex: '0',
|
|
|
tabsData: [{text:'花材列表',key:'0'}],
|
|
|
- selects: {},
|
|
|
sort: { status: false, },
|
|
|
classId: 0,
|
|
|
cpId:0,
|
|
|
@@ -234,7 +233,8 @@ export default {
|
|
|
currentCpClassName:'',
|
|
|
currentItemClassName:'',
|
|
|
cpClassData:[],
|
|
|
- cpClassStyle:"-1"
|
|
|
+ cpClassStyle:"-1",
|
|
|
+ selects:{ids:[]}
|
|
|
};
|
|
|
},
|
|
|
computed: {},
|
|
|
@@ -390,6 +390,11 @@ export default {
|
|
|
ctx.service(this.$service.item)
|
|
|
.set('table', {
|
|
|
columns: [
|
|
|
+ {
|
|
|
+ type: 'selection',
|
|
|
+ align: 'center',
|
|
|
+ width: '60'
|
|
|
+ },
|
|
|
{
|
|
|
prop: 'id',
|
|
|
label: 'ID',
|
|
|
@@ -444,6 +449,11 @@ export default {
|
|
|
minWidth: 180,
|
|
|
},
|
|
|
],
|
|
|
+ on: {
|
|
|
+ 'selection-change': selection => {
|
|
|
+ this.selects.ids = selection.map(e => e.id)
|
|
|
+ }
|
|
|
+ },
|
|
|
op: {
|
|
|
visible: true,
|
|
|
props: {
|