| | |
| | | import Vue from 'vue' |
| | | import { ACCESS_TOKEN, TENANT_ID } from "@/store/mutation-types" |
| | | import store from '@/store' |
| | | import { buttonShowAuthFilter } from '@/utils/authFilter' |
| | | |
| | | export const JeecgListMixin = { |
| | | data(){ |
| | |
| | | ipagination:{ |
| | | current: 1, |
| | | pageSize: 10, |
| | | pageSizeOptions: ['10', '20', '30'], |
| | | pageSizeOptions: ['10', '20', '30', '50'], |
| | | showTotal: (total, range) => { |
| | | return range[0] + "-" + range[1] + " 共" + total + "条" |
| | | }, |
| | |
| | | } |
| | | }, |
| | | methods:{ |
| | | isShowAuth(code){ |
| | | return buttonShowAuthFilter(code); |
| | | }, |
| | | loadData(arg) { |
| | | if(!this.url.list){ |
| | | this.$message.error("请设置url.list属性!") |