|
@@ -509,10 +509,7 @@ export default {
|
|
|
this.app = app;
|
|
this.app = app;
|
|
|
if (this.$route.query.classId) {
|
|
if (this.$route.query.classId) {
|
|
|
this.classId = this.$route.query.classId;
|
|
this.classId = this.$route.query.classId;
|
|
|
- if (this.$route.query.name != '') {
|
|
|
|
|
- this.tabsData[0].text = this.$route.query.tabName;
|
|
|
|
|
- this.$forceUpdate();
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ this.currentItemClassName = this.$route.query.className ? this.$route.query.className : ''
|
|
|
}
|
|
}
|
|
|
ctx.service(this.$service.item)
|
|
ctx.service(this.$service.item)
|
|
|
.set('table', {
|
|
.set('table', {
|
|
@@ -607,16 +604,16 @@ export default {
|
|
|
})
|
|
})
|
|
|
.set('dict', {
|
|
.set('dict', {
|
|
|
search: {
|
|
search: {
|
|
|
- keyWord: 'name',
|
|
|
|
|
|
|
+ keyWord:'name',
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
.set('search', {
|
|
.set('search', {
|
|
|
key: {
|
|
key: {
|
|
|
- placeholder: '花材名称',
|
|
|
|
|
|
|
+ placeholder:'花材名称',
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
.set('pagination', {
|
|
.set('pagination', {
|
|
|
- size:50
|
|
|
|
|
|
|
+ size:20
|
|
|
})
|
|
})
|
|
|
.set('layout', [
|
|
.set('layout', [
|
|
|
['slot-tabs'],
|
|
['slot-tabs'],
|