management_UI/src/main.js
zhujida bbf82e56ce 4,评分环境 不等于 3.5 或3.75 评分说明 必填
6,绩效总分数 保留两位 四舍五入
2020-12-24 18:45:43 +08:00

41 lines
1.2 KiB
JavaScript

// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import Mixin from './mixins/gload'
import router from './router'
import store from './store'
import './utils/elementConfig'
import './utils/permission'
import './style/index.less'
import '@/icons'
import _ from 'lodash'
import VueCookie from 'vue-cookies'
import { debounce, departGetForm, personlGetForm, handleInput, messageSuccess, loading, loadingClose, handleBlur, isStringEmpty } from '@/utils/common'
import { format } from '@/utils/dateFormat'
Vue.prototype._ = _
Vue.mixin(Mixin)
Vue.use(VueCookie)
Vue.config.productionTip = false
Vue.prototype.$loadingStart = loading
Vue.prototype.$loadingEnd = loadingClose
Vue.prototype.$format = format
Vue.prototype.debounce = debounce
Vue.prototype.$personlGetForm = personlGetForm
Vue.prototype.$departGetForm = departGetForm
Vue.prototype.$handleInputInt = handleInput
Vue.prototype.$handleBlur = handleBlur
Vue.prototype.$msg = messageSuccess
Vue.prototype.$isStringEmpty = isStringEmpty
/* eslint-disable no-new */
new Vue({
el: '#app',
router,
store,
components: {
App
},
template: '<App/>'
})