This commit is contained in:
2023-03-21 22:47:23 +08:00
parent 58d702f6f7
commit e151ad7c9c
11 changed files with 885 additions and 127 deletions

View File

@@ -1,9 +1,25 @@
import Vue from 'vue';
import { parseTime, resetForm, handleTree, addDateRange } from '@/utils/ruoyi';
import { deepClone } from '@/utils/index';
import { download } from '@/utils/request';
import { getConfigKey } from '@/api/system/config';
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'
// 全局方法挂载
Vue.prototype.parseTime = parseTime;
@@ -13,3 +29,6 @@ Vue.prototype.handleTree = handleTree;
Vue.prototype.deepClone = deepClone;
Vue.prototype.addDateRange = addDateRange;
Vue.prototype.getConfigKey = getConfigKey;
Vue.prototype.getDicts = getDicts;
Vue.prototype.selectDictLabel = selectDictLabel;
Vue.prototype.isNullOrEmpty = isNullOrEmpty