管理系统PC前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dm-manage-web/src/global/func.js

35 lines
767 B

2 years ago
import Vue from 'vue';
2 years ago
2 years ago
import {
parseTime,
resetForm,
handleTree,
addDateRange,
selectDictLabel,
isNullOrEmpty
} from '@/utils/ruoyi';
import {
deepClone
} from '@/utils/index';
import {
download
} from '@/utils/request';
import {
getConfigKey
} from '@/api/system/config';
import {
getDicts
} from '@/api/system/dict/data'
2 years ago
// 全局方法挂载
Vue.prototype.parseTime = parseTime;
Vue.prototype.resetForm = resetForm;
Vue.prototype.download = download;
Vue.prototype.handleTree = handleTree;
Vue.prototype.deepClone = deepClone;
2 years ago
Vue.prototype.addDateRange = addDateRange;
Vue.prototype.getConfigKey = getConfigKey;
2 years ago
Vue.prototype.getDicts = getDicts;
Vue.prototype.selectDictLabel = selectDictLabel;
Vue.prototype.isNullOrEmpty = isNullOrEmpty