diff --git a/src/components/DictData/index.js b/src/components/DictData/index.js new file mode 100644 index 0000000..dbe965b --- /dev/null +++ b/src/components/DictData/index.js @@ -0,0 +1,21 @@ +import Vue from 'vue'; +import DataDict from '@/utils/dictionary'; +import { getDicts as getDicts } from '@/api/system/dict/data'; + +function install() { + Vue.use(DataDict, { + metas: { + '*': { + labelField: 'dictLabel', + valueField: 'dictValue', + request(dictMeta) { + return getDicts(dictMeta.type).then((res) => res.data); + } + } + } + }); +} + +export default { + install +}; diff --git a/src/components/DictRadio/index.vue b/src/components/DictRadio/index.vue new file mode 100644 index 0000000..3e758ae --- /dev/null +++ b/src/components/DictRadio/index.vue @@ -0,0 +1,55 @@ + + + diff --git a/src/components/DictSelect/index.vue b/src/components/DictSelect/index.vue new file mode 100644 index 0000000..54b20b0 --- /dev/null +++ b/src/components/DictSelect/index.vue @@ -0,0 +1,39 @@ + + + diff --git a/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue new file mode 100644 index 0000000..c44eff5 --- /dev/null +++ b/src/components/HeaderSearch/index.vue @@ -0,0 +1,190 @@ + + + + + diff --git a/src/components/InBody/InBody.vue b/src/components/InBody/InBody.vue new file mode 100644 index 0000000..099d8fd --- /dev/null +++ b/src/components/InBody/InBody.vue @@ -0,0 +1,18 @@ + + diff --git a/src/components/InOutTypeSelect.vue b/src/components/InOutTypeSelect.vue new file mode 100644 index 0000000..0fbf902 --- /dev/null +++ b/src/components/InOutTypeSelect.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/components/NumberRange.vue b/src/components/NumberRange.vue new file mode 100644 index 0000000..ea733d7 --- /dev/null +++ b/src/components/NumberRange.vue @@ -0,0 +1,67 @@ + + + + + diff --git a/src/components/OssImageUpload/index.vue b/src/components/OssImageUpload/index.vue new file mode 100644 index 0000000..6ebcabc --- /dev/null +++ b/src/components/OssImageUpload/index.vue @@ -0,0 +1,208 @@ + + + + + diff --git a/src/components/PanThumb/index.vue b/src/components/PanThumb/index.vue new file mode 100644 index 0000000..1bcf417 --- /dev/null +++ b/src/components/PanThumb/index.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue new file mode 100644 index 0000000..fbf27eb --- /dev/null +++ b/src/components/RightPanel/index.vue @@ -0,0 +1,149 @@ + + + + + + + diff --git a/src/components/RuoYi/Doc/index.vue b/src/components/RuoYi/Doc/index.vue new file mode 100644 index 0000000..75fa864 --- /dev/null +++ b/src/components/RuoYi/Doc/index.vue @@ -0,0 +1,21 @@ + + + \ No newline at end of file diff --git a/src/components/RuoYi/Git/index.vue b/src/components/RuoYi/Git/index.vue new file mode 100644 index 0000000..bdafbae --- /dev/null +++ b/src/components/RuoYi/Git/index.vue @@ -0,0 +1,21 @@ + + + \ No newline at end of file diff --git a/src/components/ThemePicker/index.vue b/src/components/ThemePicker/index.vue new file mode 100644 index 0000000..1714e1f --- /dev/null +++ b/src/components/ThemePicker/index.vue @@ -0,0 +1,173 @@ + + + + + diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index efb1ae3..b3e5a83 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -8,7 +8,7 @@