|
|
@ -17,7 +17,7 @@ import store from './store' |
|
|
|
import config from '@/config' |
|
|
|
import config from '@/config' |
|
|
|
import permission from '@/router/permission'; |
|
|
|
import permission from '@/router/permission'; |
|
|
|
import { systemStatus, systemTypeStatus, systemAttributionStatus, courseTypeStatus, |
|
|
|
import { systemStatus, systemTypeStatus, systemAttributionStatus, courseTypeStatus, |
|
|
|
hoursStatus, roleStatus, orderTypeFn, orderStatusFn, orderNatureFn, Percentage, removeByValue, formatDate, formateTime, orderRoleType, orderRoleAttribute, setCookie, encodeString } from './utils/core'; |
|
|
|
hoursStatus, roleStatus, orderTypeFn, orderStatusFn, orderNatureFn, Percentage, removeByValue, formatDate, formateTime, orderRoleType, orderRoleAttribute, setCookie, encodeString,logout } from './utils/core'; |
|
|
|
import preventReClick from './store/preventReClick' //防多次点击,重复提交
|
|
|
|
import preventReClick from './store/preventReClick' //防多次点击,重复提交
|
|
|
|
|
|
|
|
|
|
|
|
// 插件
|
|
|
|
// 插件
|
|
|
@ -50,6 +50,7 @@ Vue.prototype.orderRoleAttribute = orderRoleAttribute; |
|
|
|
Vue.prototype.formateTime = formateTime; |
|
|
|
Vue.prototype.formateTime = formateTime; |
|
|
|
Vue.prototype.setCookie = setCookie; |
|
|
|
Vue.prototype.setCookie = setCookie; |
|
|
|
Vue.prototype.encodeString = encodeString; |
|
|
|
Vue.prototype.encodeString = encodeString; |
|
|
|
|
|
|
|
Vue.prototype.logout = logout; |
|
|
|
|
|
|
|
|
|
|
|
Vue.config.productionTip = false; |
|
|
|
Vue.config.productionTip = false; |
|
|
|
Vue.use(VueI18n); |
|
|
|
Vue.use(VueI18n); |
|
|
|