From ebddfec2292c68500aeea16d706058137904a1a0 Mon Sep 17 00:00:00 2001 From: cuiyouliang Date: Thu, 5 Jun 2025 09:42:18 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81Radio=E5=AD=97=E5=85=B8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E4=BF=AE=E6=94=B9=E5=85=BC=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DictData/index.js | 21 ++ src/components/DictRadio/index.vue | 55 ++++ src/components/DictSelect/index.vue | 39 +++ src/components/HeaderSearch/index.vue | 190 +++++++++++++ src/components/InBody/InBody.vue | 18 ++ src/components/InOutTypeSelect.vue | 55 ++++ src/components/NumberRange.vue | 67 +++++ src/components/OssImageUpload/index.vue | 208 ++++++++++++++ src/components/PanThumb/index.vue | 142 +++++++++ src/components/RightPanel/index.vue | 149 ++++++++++ src/components/RuoYi/Doc/index.vue | 21 ++ src/components/RuoYi/Git/index.vue | 21 ++ src/components/ThemePicker/index.vue | 173 +++++++++++ src/layout/components/Navbar.vue | 10 +- src/views/act/couponActivity/index.vue | 285 ++++++++----------- src/views/act/couponActivity/receiveList.vue | 86 +++--- src/views/login.vue | 1 + src/views/oms/aftersale/index.vue | 16 +- src/views/oms/order/index.vue | 8 +- src/views/oms/orderOperateHistory/index.vue | 162 +++++------ src/views/pms/brand/index.vue | 4 +- src/views/pms/product/AddProduct.vue | 2 +- src/views/pms/product/index.vue | 2 +- src/views/pms/productCategory/index.vue | 4 +- 24 files changed, 1420 insertions(+), 319 deletions(-) create mode 100644 src/components/DictData/index.js create mode 100644 src/components/DictRadio/index.vue create mode 100644 src/components/DictSelect/index.vue create mode 100644 src/components/HeaderSearch/index.vue create mode 100644 src/components/InBody/InBody.vue create mode 100644 src/components/InOutTypeSelect.vue create mode 100644 src/components/NumberRange.vue create mode 100644 src/components/OssImageUpload/index.vue create mode 100644 src/components/PanThumb/index.vue create mode 100644 src/components/RightPanel/index.vue create mode 100644 src/components/RuoYi/Doc/index.vue create mode 100644 src/components/RuoYi/Git/index.vue create mode 100644 src/components/ThemePicker/index.vue 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 @@