| | |
| | | import Pagination from '@/components/Pagination' |
| | | // 自定义表格工具扩展 |
| | | import RightToolbar from '@/components/RightToolbar' |
| | | // 拖拽弹窗 |
| | | import drag from './directive/el-drag-dialog/drag' |
| | | |
| | | // 过滤器统一处理加载 |
| | | Object.keys(filter).forEach(key => { |
| | |
| | | Vue.prototype.$messageSuc = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'success' }) |
| | | } |
| | | Vue.prototype.$messagewarn = function(msg) { |
| | | Vue.prototype.$messageWarn = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'warning' }) |
| | | } |
| | | Vue.prototype.$messageError = function(msg) { |
| | | this.$message({ message: msg, dangerouslyUseHTMLString: true, type: 'error' }) |
| | | } |
| | | |
| | | Vue.directive('el-drag-dialog', drag) |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | new Vue({ |