|
|
@@ -182,7 +182,7 @@ export default {
|
|
|
{
|
|
|
prop: 'nian_du_',
|
|
|
label: '年度',
|
|
|
- width: 50,
|
|
|
+ width: 100,
|
|
|
dateFormat: 'yyyy',
|
|
|
sortable: 'custom'
|
|
|
},
|
|
|
@@ -643,7 +643,8 @@ export default {
|
|
|
return el.key === 'add'
|
|
|
})
|
|
|
if (chongfu.length === 0 && this.depth !== 0) {
|
|
|
- this.listConfig.toolbars.push({ key: 'add' })
|
|
|
+ this.listConfig.toolbars.splice(1, 0, { key: 'add' })
|
|
|
+ // this.listConfig.toolbars.push({ key: 'add' })
|
|
|
}
|
|
|
} else {
|
|
|
this.listConfig.toolbars = this.listConfig.toolbars.filter(
|