| | |
| | | import Selectuser from './views/user/selectuser' |
| | | import Selectdept from './views/user/selectdept' |
| | | import uploadfj from './views/yunpan/uploadfj' |
| | | |
| | | import { selectDictLabel } from './utils/ruoyi' |
| | | import { getDicts } from './api/data' |
| | | const Plugins = [ |
| | | hasPermission, |
| | | hasNoPermission, |
| | | hasAnyPermission |
| | | hasAnyPermission, |
| | | getDicts |
| | | ] |
| | | |
| | | Plugins.map((plugin) => { |
| | |
| | | Vue.component('Selectuser', Selectuser) |
| | | Vue.component('Selectdept', Selectdept) |
| | | Vue.component('uploadfj', uploadfj) |
| | | |
| | | Vue.prototype.getDicts = getDicts |
| | | Vue.prototype.$post = request.post |
| | | Vue.prototype.$get = request.get |
| | | Vue.prototype.$put = request.put |
| | | Vue.prototype.$delete = request.delete |
| | | Vue.prototype.selectDictLabel = selectDictLabel |
| | | Vue.prototype.$download = request.download |
| | | Vue.prototype.$upload = request.upload |
| | | Vue.prototype.$login = request.login |