| | |
| | | editBtn: this.vaildData(this.permission[this.$route.query.id].EDIT, false), |
| | | exportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT, false), |
| | | importBtn: this.vaildData(this.permission[this.$route.query.id].IMPORT, false), |
| | | actionTopAddBtn: this.vaildData(this.permission[this.$route.query.id].USE, false), |
| | | actionTopDelBtn: this.vaildData(this.permission[this.$route.query.id].RESET, false), |
| | | actionTopEditBtn: this.vaildData(this.permission[this.$route.query.id].RECYCLE, false), |
| | | actionTopExportBtn: this.vaildData(this.permission[this.$route.query.id].DOWNLOADFILE, false), |
| | | actionBottomAddBtn: this.vaildData(this.permission[this.$route.query.id].FREEZE, false), |
| | | actionBottomDelBtn: this.vaildData(this.permission[this.$route.query.id].BATCHAPPLY, false), |
| | | actionBottomEditBtn: this.vaildData(this.permission[this.$route.query.id].CODEAPPLY, false), |
| | | actionTopAddBtn: this.vaildData(this.permission[this.$route.query.id].ADD2, false), |
| | | actionTopDelBtn: this.vaildData(this.permission[this.$route.query.id].DELETE2, false), |
| | | actionTopEditBtn: this.vaildData(this.permission[this.$route.query.id].EDIT2, false), |
| | | actionTopExportBtn: this.vaildData(this.permission[this.$route.query.id].EXPORT2, false), |
| | | actionBottomAddBtn: this.vaildData(this.permission[this.$route.query.id].ADD3, false), |
| | | actionBottomDelBtn: this.vaildData(this.permission[this.$route.query.id].DELETE3, false), |
| | | actionBottomEditBtn: this.vaildData(this.permission[this.$route.query.id].EDIT3, false), |
| | | }; |
| | | }, |
| | | treeCrudOption(){ |
| | |
| | | label: '分类', |
| | | prop: 'plActionCls', |
| | | type: 'tree', |
| | | defaultExpandedKeys:['root'], |
| | | props: { |
| | | label: 'name', |
| | | value: 'id', |