From 4de052a45e3b18f4bb3316079f5d4bcaae04e30b Mon Sep 17 00:00:00 2001 From: heimawl <1785969728@qq.com> Date: 星期五, 02 六月 2023 10:40:40 +0800 Subject: [PATCH] 吴龙分支初始提交 --- src/assets/styles/index.scss | 0 src/assets/icons/svg/eye.svg | 0 src/api/smartor/ivrtasksms.js | 0 src/api/smartor/svyexception.js | 0 src/views/components/icons/index.vue | 0 src/layout/index.vue | 0 src/views/smartor/ivrtaskcalldetail/index.vue | 0 src/views/system/user/authRole.vue | 0 src/api/system/notice.js | 0 src/assets/icons/svg/cascader.svg | 0 src/views/tool/build/CodeTypeDialog.vue | 0 src/views/dashboard/BarChart.vue | 0 src/api/smartor/smsparam.js | 0 src/assets/icons/svg/tool.svg | 0 src/api/login.js | 0 src/assets/icons/svg/radio.svg | 0 src/assets/401_images/401.gif | 0 src/utils/generator/config.js | 0 src/utils/generator/html.js | 0 src/components/SizeSelect/index.vue | 0 src/views/smartor/svytopic/maint.vue | 0 bin/run-web.bat | 0 src/utils/dict/DictData.js | 0 src/api/tool/gen.js | 0 src/assets/styles/element-variables.scss | 2 src/assets/icons/svg/time.svg | 0 src/components/TopNav/index.vue | 0 src/api/smartor/schemeplan.js | 0 src/directive/permission/hasPermi.js | 0 src/views/smartor/svyfinishoption/index.vue | 0 src/assets/icons/svg/upload.svg | 0 src/assets/icons/svg/theme.svg | 0 src/api/smartor/ivrtemplatetarget.js | 0 src/assets/icons/svg/guide.svg | 0 src/views/error/401.vue | 0 src/smartor/dataobject/dw_svytopic_maint.vue | 0 src/views/tool/gen/editTable.vue | 0 src/views/tool/gen/importTable.vue | 0 src/assets/icons/svg/job.svg | 0 src/api/smartor/ivrtarget.js | 0 src/api/smartor/patinhosp.js | 0 src/api/smartor/svyfinishtopic.js | 0 src/assets/icons/svg/checkbox.svg | 0 public/index.html | 0 src/views/system/dept/index.vue | 0 src/utils/generator/render.js | 0 src/api/smartor/schemetaskrepeatconfig.js | 0 src/views/smartor/ivrlibscriptmodel/index.vue | 0 src/views/smartor/ivrtemplatetarget/index.vue | 0 src/api/smartor/smsrecords.js | 0 src/views/smartor/schemetriggerrule/index.vue | 0 src/views/smartor/svytitle/index.vue | 0 src/plugins/download.js | 0 src/assets/icons/svg/language.svg | 0 src/assets/icons/svg/github.svg | 0 src/views/smartor/ivrlibascript/index.vue | 0 src/views/dashboard/PieChart.vue | 0 src/assets/styles/btn.scss | 0 src/views/dashboard/mixins/resize.js | 0 src/views/smartor/ivrtaskcallrecord/index.vue | 0 src/assets/icons/svg/row.svg | 0 src/assets/icons/svg/link.svg | 0 src/utils/generator/icon.json | 0 src/assets/icons/svg/druid.svg | 0 src/views/register.vue | 121 ++++++-- src/api/system/category.js | 0 src/layout/components/Sidebar/Logo.vue | 128 +++++++++ bin/package.bat | 0 src/assets/icons/svg/input.svg | 0 src/assets/icons/svg/validCode.svg | 0 src/views/smartor/ivrextemplate/index.vue | 0 src/assets/icons/svg/icon.svg | 0 src/smartor/dataobject/dw_patouthosp_base.vue | 0 src/views/tool/gen/basicInfoForm.vue | 0 src/assets/icons/svg/rate.svg | 0 src/api/smartor/schemeautofinshrule.js | 0 src/components/Pagination/index.vue | 0 src/assets/icons/svg/phone.svg | 0 src/assets/icons/svg/size.svg | 0 src/assets/icons/svg/system.svg | 0 src/api/smartor/svytitle.js | 0 src/api/smartor/ivrscripttarget.js | 0 src/assets/images/dark.svg | 0 src/api/monitor/job.js | 0 src/components/RuoYi/Git/index.vue | 0 src/api/smartor/ivrscenecategory.js | 0 src/plugins/tab.js | 0 src/utils/errorCode.js | 0 src/components/HeaderSearch/index.vue | 0 src/api/smartor/svyfinishoption.js | 0 src/views/smartor/ivrglobalconfig/index.vue | 0 src/assets/icons/svg/international.svg | 0 src/views/smartor/ivrquestionlib/QuestionMaint.vue | 0 src/api/smartor/ivrintent.js | 0 src/api/smartor/ivrtaskcalldetail.js | 0 src/components/RightPanel/index.vue | 0 src/views/monitor/job/index.vue | 0 src/assets/icons/svg/pdf.svg | 0 src/views/smartor/hecategory/index.vue | 0 src/api/smartor/ivrlibintent.js | 0 src/components/RightToolbar/index.vue | 0 src/views/monitor/online/index.vue | 0 src/views/smartor/ivrtasksms/index.vue | 0 src/views/tool/swagger/index.vue | 0 src/views/tool/gen/genInfoForm.vue | 0 src/assets/icons/svg/search.svg | 0 src/layout/components/IframeToggle/index.vue | 0 package.json | 0 src/views/smartor/smsrecords/index.vue | 0 src/components/IconSelect/requireIcons.js | 0 src/components/Crontab/index.vue | 0 vue.config.js | 0 src/views/smartor/ivrlibscript/index.vue | 0 src/assets/icons/svg/shopping.svg | 0 src/api/smartor/ivrflownode.js | 0 src/assets/icons/svg/button.svg | 0 src/views/smartor/patouthosp/index.vue | 0 src/assets/icons/svg/peoples.svg | 0 src/store/modules/settings.js | 0 src/assets/icons/svg/tab.svg | 0 src/api/smartor/patphysical.js | 0 src/api/smartor/schemecalldetail.js | 0 src/views/smartor/ivrexecuteconfig/index.vue | 0 src/assets/icons/svg/online.svg | 0 src/views/monitor/job/log.vue | 0 src/components/ImageUpload/index.vue | 0 src/views/dashboard/PanelGroup.vue | 0 src/smartor/dataobject/dw_patouthosp_list.vue | 0 src/assets/icons/svg/404.svg | 0 src/store/modules/user.js | 0 src/store/index.js | 0 src/views/smartor/ivrtask/index.vue | 0 src/api/system/dict/data.js | 0 src/assets/icons/svg/tree-table.svg | 0 src/assets/icons/svg/documentation.svg | 0 src/layout/components/Sidebar/Link.vue | 0 src/components/ParentView/index.vue | 0 src/plugins/index.js | 0 src/utils/index.js | 0 src/api/monitor/cache.js | 0 src/api/smartor/ivrrecall.js | 0 src/directive/module/clipboard.js | 0 src/assets/icons/svg/people.svg | 0 src/views/monitor/cache/list.vue | 0 src/views/redirect.vue | 0 src/api/smartor/ivrscript.js | 0 src/views/smartor/ivrflownode/index.vue | 0 src/views/smartor/ivrrecall/index.vue | 0 src/components/Crontab/month.vue | 0 src/views/system/menu/index.vue | 0 src/api/smartor/ivrtask.js | 0 src/directive/index.js | 0 src/api/smartor/svytopic.js | 0 src/assets/icons/svg/server.svg | 0 src/layout/components/Sidebar/index.vue | 79 +++++ src/api/smartor/ivrextemplate.js | 0 src/api/smartor/patouthosp.js | 0 src/api/system/user.js | 0 src/assets/icons/svg/table.svg | 0 src/assets/styles/sidebar.scss | 0 src/assets/styles/element-ui.scss | 0 src/utils/dict/DictConverter.js | 0 src/assets/icons/svg/redis-list.svg | 0 src/assets/icons/svg/star.svg | 0 src/assets/icons/svg/code.svg | 0 src/smartor/dataobject/dw_patinhosp_base.vue | 0 src/views/index.vue | 0 src/assets/icons/svg/fullscreen.svg | 0 src/assets/icons/index.js | 0 src/assets/icons/svg/dashboard.svg | 0 src/views/system/user/profile/userAvatar.vue | 0 src/api/smartor/ivrlibscriptmodel.js | 0 src/components/Screenfull/index.vue | 0 src/views/index_v1.vue | 0 src/assets/icons/svg/date.svg | 0 src/api/system/dept.js | 0 src/views/system/role/authUser.vue | 0 src/views/smartor/ivrlibintentcategory/index.vue | 0 public/favicon.ico | 0 .editorconfig | 0 src/assets/icons/svg/nested.svg | 0 src/components/PanThumb/index.vue | 0 src/views/tool/build/index.vue | 0 src/permission.js | 0 src/assets/icons/svg/monitor.svg | 0 src/utils/scroll-to.js | 0 src/api/smartor/ivrtaskcall.js | 0 src/views/system/user/profile/index.vue | 0 src/assets/styles/transition.scss | 0 src/assets/icons/svg/time-range.svg | 0 README.md | 0 src/plugins/modal.js | 0 src/api/smartor/svyresult.js | 0 src/main.js | 0 src/components/DictData/index.js | 0 src/api/smartor/svyfinish.js | 0 src/layout/components/TagsView/ScrollPane.vue | 0 src/layout/components/index.js | 0 src/views/smartor/ivrintent/index.vue | 0 src/views/smartor/svyfinishtopic/index.vue | 0 src/views/smartor/schemetaskrecord/index.vue | 0 src/api/smartor/hecategory.js | 0 src/views/tool/build/RightPanel.vue | 0 src/layout/components/Navbar.vue | 0 src/smartor/dataobject/dw_patarchive_base.vue | 0 src/views/smartor/ivrscenecategory/index.vue | 0 src/layout/components/Sidebar/SidebarItem.vue | 0 public/html/ie.html | 0 src/assets/icons/svg/redis.svg | 0 src/views/smartor/patinhosp/index.vue | 0 src/components/DictTag/index.vue | 0 src/views/smartor/schemetaskrepeatconfig/index.vue | 0 src/api/smartor/smstemplet.js | 0 src/assets/icons/svg/swagger.svg | 0 src/store/modules/permission.js | 0 src/utils/validate.js | 0 src/utils/permission.js | 0 src/store/modules/dict.js | 0 src/views/dashboard/LineChart.vue | 0 src/views/smartor/svytopic/index1.vue | 0 src/api/system/post.js | 0 src/assets/icons/svg/tree.svg | 0 src/directive/permission/hasRole.js | 0 src/views/components/icons/element-icons.js | 0 src/api/smartor/smsaccount.js | 0 src/assets/icons/svg/select.svg | 0 src/views/smartor/ivrlibintent/index.vue | 0 src/assets/icons/svg/component.svg | 0 src/assets/icons/svg/clipboard.svg | 0 src/assets/icons/svg/download.svg | 0 src/assets/images/light.svg | 0 src/utils/generator/drawingDefault.js | 0 public/robots.txt | 0 src/views/smartor/ivrscript/index.vue | 0 src/views/monitor/operlog/index.vue | 0 src/views/smartor/ivrscriptmodel/index.vue | 0 src/views/tool/build/IconsDialog.vue | 0 src/views/tool/build/DraggableItem.vue | 0 src/smartor/dataobject/dw_svytopicoption_maint.vue | 0 src/api/monitor/jobLog.js | 0 src/views/smartor/svytopic/index.vue | 0 src/views/monitor/cache/index.vue | 0 src/views/error/404.vue | 0 src/directive/dialog/dragHeight.js | 0 src/settings.js | 0 src/views/smartor/schemetaskconfig/index.vue | 0 src/assets/icons/svg/user.svg | 0 src/components/Breadcrumb/index.vue | 0 .env.development | 0 src/assets/icons/svg/form.svg | 0 src/store/modules/tagsView.js | 0 src/views/smartor/schemelibrary/index.vue | 0 src/assets/icons/svg/chart.svg | 0 src/assets/icons/svg/switch.svg | 0 src/assets/styles/mixin.scss | 0 src/views/smartor/svycategory/index.vue | 0 src/views/system/role/index.vue | 0 src/views/smartor/svyresult/index.vue | 0 src/assets/icons/svg/log.svg | 0 src/utils/ruoyi.js | 0 src/api/smartor/schemecategory.js | 0 src/assets/icons/svg/date-range.svg | 0 src/views/monitor/server/index.vue | 0 src/views/smartor/schemeautofinshrule/index.vue | 0 src/api/smartor/ivrscene.js | 0 src/views/system/dict/data.vue | 0 src/directive/dialog/drag.js | 0 src/api/smartor/schemetaskrecord.js | 0 src/layout/mixin/ResizeHandler.js | 0 src/assets/icons/svg/qq.svg | 0 src/views/smartor/smstemplet/index.vue | 0 babel.config.js | 0 src/views/system/user/profile/userInfo.vue | 0 src/components/iFrame/index.vue | 0 src/components/ThemePicker/index.vue | 0 src/api/smartor/ivrlibintentcategory.js | 0 src/components/RuoYi/Doc/index.vue | 0 src/views/smartor/schemecalldetail/index.vue | 0 src/api/smartor/ivrscriptmodel.js | 0 src/plugins/auth.js | 0 src/assets/icons/svg/dict.svg | 0 src/views/smartor/svyfinish/index.vue | 0 src/api/smartor/ivrlibscriptcategory.js | 0 src/assets/icons/svg/wechat.svg | 0 .eslintrc.js | 0 src/api/smartor/schemelibrary.js | 0 src/assets/icons/svg/number.svg | 0 src/views/smartor/patarchive/index0.vue | 0 src/assets/icons/svg/exit-fullscreen.svg | 0 src/router/index.js | 0 src/layout/components/Sidebar/FixiOSBug.js | 0 src/assets/icons/svg/money.svg | 0 src/api/smartor/ivrtemplate.js | 0 src/api/smartor/svycategory.js | 0 src/components/FileUpload/index.vue | 0 src/views/system/dict/index.vue | 0 src/assets/404_images/404.png | 0 src/api/monitor/online.js | 0 src/components/Crontab/year.vue | 0 .gitignore | 0 src/utils/generator/css.js | 0 src/views/monitor/druid/index.vue | 0 src/api/smartor/svytopicoption.js | 0 src/views/smartor/svytitle/index0.vue | 0 src/views/smartor/ivrlibscriptcategory/index.vue | 0 src/views/system/role/selectUser.vue | 0 src/views/smartor/ivrflow/index.vue | 0 src/assets/icons/svg/education.svg | 0 src/api/smartor/ivrlibascript.js | 0 src/smartor/components/dataview/xformview/xformview.vue | 0 src/assets/404_images/404_cloud.png | 0 src/components/SvgIcon/index.vue | 0 src/components/Crontab/day.vue | 0 src/views/smartor/ivrtemplatescript/index.vue | 0 src/api/monitor/server.js | 0 src/components/IconSelect/index.vue | 0 src/views/system/user/index.vue | 0 src/views/login.vue | 108 +++++-- src/api/smartor/helibrary.js | 0 src/App.vue | 0 src/assets/images/login-background.jpg | 0 src/api/smartor/ivrflow.js | 0 src/assets/icons/svg/message.svg | 0 src/utils/dict/Dict.js | 0 src/assets/icons/svg/drag.svg | 0 src/assets/icons/svg/textarea.svg | 0 src/assets/icons/svgo.yml | 0 bin/fix.txt | 0 src/views/smartor/smsparam/index.vue | 0 src/views/monitor/logininfor/index.vue | 0 src/assets/styles/ruoyi.scss | 0 src/assets/icons/svg/list.svg | 0 src/views/smartor/ivrscene/index.vue | 0 src/views/smartor/smsaccount/index.vue | 0 src/assets/icons/svg/eye-open.svg | 0 src/api/system/menu.js | 0 src/views/smartor/ivrtarget/index.vue | 0 src/views/smartor/helibrary/index.vue | 0 src/components/Hamburger/index.vue | 0 src/views/tool/gen/index.vue | 0 src/views/smartor/schemetask/index.vue | 0 src/assets/icons/svg/password.svg | 0 src/components/ImagePreview/index.vue | 0 src/api/smartor/schemetriggerscene.js | 0 src/views/smartor/svyexception/index.vue | 0 src/api/smartor/patarchive.js | 0 src/views/smartor/schemeplan/index.vue | 0 src/smartor/dataobject/dw_svytopicoption_list.vue | 0 src/assets/icons/svg/question.svg | 0 src/assets/icons/svg/zip.svg | 0 src/components/Crontab/hour.vue | 0 src/views/smartor/patarchive/index.vue | 0 src/components/Crontab/result.vue | 0 src/assets/icons/svg/edit.svg | 0 src/api/smartor/ivrtemplatescript.js | 0 src/smartor/dataobject/dw_svytopic_view.vue | 0 src/components/Editor/index.vue | 0 src/api/monitor/logininfor.js | 0 src/directive/dialog/dragWidth.js | 0 src/assets/icons/svg/skill.svg | 0 src/views/system/category/index.vue | 0 src/views/smartor/ivrscripttarget/index.vue | 0 src/store/modules/app.js | 0 src/assets/icons/svg/excel.svg | 0 src/assets/styles/variables.scss | 8 src/assets/images/profile.jpg | 0 src/api/smartor/ivrextemplatescript.js | 0 src/layout/components/TagsView/index.vue | 0 src/smartor/components/dataview/xgridview/xgridview.vue | 0 src/views/smartor/ivrtaskcall/index.vue | 0 src/utils/request.js | 0 build/index.js | 0 src/views/system/user/profile/resetPwd.vue | 0 src/layout/components/AppMain.vue | 0 .eslintignore | 0 src/assets/icons/svg/post.svg | 0 src/views/smartor/ivrtemplate/index.vue | 0 src/views/smartor/svytitle/index1.vue | 0 src/components/Crontab/second.vue | 0 src/assets/icons/svg/build.svg | 0 src/api/system/config.js | 0 src/api/smartor/ivrflownodebranch.js | 0 src/utils/auth.js | 0 src/views/dashboard/RaddarChart.vue | 0 src/layout/components/InnerLink/index.vue | 0 src/api/system/dict/type.js | 0 src/store/getters.js | 0 src/api/smartor/ivrlibscript.js | 0 src/api/smartor/ivrglobalconfig.js | 0 src/utils/dict/index.js | 0 src/views/system/post/index.vue | 0 src/api/smartor/schemetask.js | 0 src/assets/icons/svg/example.svg | 0 src/utils/generator/js.js | 0 src/layout/components/Sidebar/Item.vue | 0 src/views/smartor/svytopicoption/index.vue | 0 src/assets/icons/svg/logininfor.svg | 0 src/views/smartor/schemecategory/index.vue | 0 src/api/smartor/ivrtaskcallrecord.js | 0 src/views/smartor/patphysical/index.vue | 0 .env.production | 0 src/views/system/notice/index.vue | 0 src/layout/components/Settings/index.vue | 322 +++++++++++++++++++++++ bin/build.bat | 0 src/assets/icons/svg/lock.svg | 0 src/views/system/config/index.vue | 0 src/api/system/role.js | 0 src/views/smartor/schemetriggerscene/index.vue | 0 src/smartor/dataobject/dw_patarchive_list.vue | 0 src/utils/jsencrypt.js | 0 src/api/smartor/schemetaskconfig.js | 0 src/components/Crontab/min.vue | 0 .env.staging | 0 src/views/smartor/ivrflownodebranch/index.vue | 0 src/assets/icons/svg/bug.svg | 0 src/views/tool/build/TreeNodeDialog.vue | 0 src/api/smartor/ivrexecuteconfig.js | 0 src/api/monitor/operlog.js | 0 src/assets/icons/svg/email.svg | 0 src/views/smartor/svytopicoption/index1.vue | 0 src/utils/dict/DictOptions.js | 0 src/assets/icons/svg/color.svg | 0 src/assets/icons/svg/slider.svg | 0 src/views/smartor/ivrextemplatescript/index.vue | 0 src/assets/logo/logo.png | 0 src/api/menu.js | 0 src/views/components/icons/svg-icons.js | 0 src/utils/dict/DictMeta.js | 0 /dev/null | 57 ---- src/plugins/cache.js | 0 src/components/Crontab/week.vue | 0 src/api/smartor/schemetriggerrule.js | 0 src/smartor/dataobject/dw_patinhosp_list.vue | 0 433 files changed, 690 insertions(+), 135 deletions(-) diff --git a/ruoyi-ui/.editorconfig b/.editorconfig similarity index 100% rename from ruoyi-ui/.editorconfig rename to .editorconfig diff --git a/ruoyi-ui/.env.development b/.env.development similarity index 100% rename from ruoyi-ui/.env.development rename to .env.development diff --git a/ruoyi-ui/.env.production b/.env.production similarity index 100% rename from ruoyi-ui/.env.production rename to .env.production diff --git a/ruoyi-ui/.env.staging b/.env.staging similarity index 100% rename from ruoyi-ui/.env.staging rename to .env.staging diff --git a/ruoyi-ui/.eslintignore b/.eslintignore similarity index 100% rename from ruoyi-ui/.eslintignore rename to .eslintignore diff --git a/ruoyi-ui/.eslintrc.js b/.eslintrc.js similarity index 100% rename from ruoyi-ui/.eslintrc.js rename to .eslintrc.js diff --git a/ruoyi-ui/.gitignore b/.gitignore similarity index 100% rename from ruoyi-ui/.gitignore rename to .gitignore diff --git a/ruoyi-ui/README.md b/README.md similarity index 100% rename from ruoyi-ui/README.md rename to README.md diff --git a/ruoyi-ui/babel.config.js b/babel.config.js similarity index 100% rename from ruoyi-ui/babel.config.js rename to babel.config.js diff --git a/ruoyi-ui/bin/build.bat b/bin/build.bat similarity index 100% rename from ruoyi-ui/bin/build.bat rename to bin/build.bat diff --git a/ruoyi-ui/bin/fix.txt b/bin/fix.txt similarity index 100% rename from ruoyi-ui/bin/fix.txt rename to bin/fix.txt diff --git a/ruoyi-ui/bin/package.bat b/bin/package.bat similarity index 100% rename from ruoyi-ui/bin/package.bat rename to bin/package.bat diff --git a/ruoyi-ui/bin/run-web.bat b/bin/run-web.bat similarity index 100% rename from ruoyi-ui/bin/run-web.bat rename to bin/run-web.bat diff --git a/ruoyi-ui/build/index.js b/build/index.js similarity index 100% rename from ruoyi-ui/build/index.js rename to build/index.js diff --git a/ruoyi-ui/package.json b/package.json similarity index 100% rename from ruoyi-ui/package.json rename to package.json diff --git a/ruoyi-ui/public/favicon.ico b/public/favicon.ico similarity index 100% rename from ruoyi-ui/public/favicon.ico rename to public/favicon.ico Binary files differ diff --git a/ruoyi-ui/public/html/ie.html b/public/html/ie.html similarity index 100% rename from ruoyi-ui/public/html/ie.html rename to public/html/ie.html diff --git a/ruoyi-ui/public/index.html b/public/index.html similarity index 100% rename from ruoyi-ui/public/index.html rename to public/index.html diff --git a/ruoyi-ui/public/robots.txt b/public/robots.txt similarity index 100% rename from ruoyi-ui/public/robots.txt rename to public/robots.txt diff --git a/ruoyi-ui/src/layout/components/Settings/index.vue b/ruoyi-ui/src/layout/components/Settings/index.vue deleted file mode 100644 index 8b49842..0000000 --- a/ruoyi-ui/src/layout/components/Settings/index.vue +++ /dev/null @@ -1,260 +0,0 @@ -<template> - <el-drawer size="280px" :visible="visible" :with-header="false" :append-to-body="true" :show-close="false"> - <div class="drawer-container"> - <div> - <div class="setting-drawer-content"> - <div class="setting-drawer-title"> - <h3 class="drawer-title">涓婚椋庢牸璁剧疆</h3> - </div> - <div class="setting-drawer-block-checbox"> - <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-dark')"> - <img src="@/assets/images/dark.svg" alt="dark"> - <div v-if="sideTheme === 'theme-dark'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> - <i aria-label="鍥炬爣: check" class="anticon anticon-check"> - <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class=""> - <path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"/> - </svg> - </i> - </div> - </div> - <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-light')"> - <img src="@/assets/images/light.svg" alt="light"> - <div v-if="sideTheme === 'theme-light'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> - <i aria-label="鍥炬爣: check" class="anticon anticon-check"> - <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class=""> - <path d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"/> - </svg> - </i> - </div> - </div> - </div> - - <div class="drawer-item"> - <span>涓婚棰滆壊</span> - <theme-picker style="float: right;height: 26px;margin: -3px 8px 0 0;" @change="themeChange" /> - </div> - </div> - - <el-divider/> - - <h3 class="drawer-title">绯荤粺甯冨眬閰嶇疆</h3> - - <div class="drawer-item"> - <span>寮�鍚� TopNav</span> - <el-switch v-model="topNav" class="drawer-switch" /> - </div> - - <div class="drawer-item"> - <span>寮�鍚� Tags-Views</span> - <el-switch v-model="tagsView" class="drawer-switch" /> - </div> - - <div class="drawer-item"> - <span>鍥哄畾 Header</span> - <el-switch v-model="fixedHeader" class="drawer-switch" /> - </div> - - <div class="drawer-item"> - <span>鏄剧ず Logo</span> - <el-switch v-model="sidebarLogo" class="drawer-switch" /> - </div> - - <div class="drawer-item"> - <span>鍔ㄦ�佹爣棰�</span> - <el-switch v-model="dynamicTitle" class="drawer-switch" /> - </div> - - <el-divider/> - - <el-button size="small" type="primary" plain icon="el-icon-document-add" @click="saveSetting">淇濆瓨閰嶇疆</el-button> - <el-button size="small" plain icon="el-icon-refresh" @click="resetSetting">閲嶇疆閰嶇疆</el-button> - </div> - </div> - </el-drawer> -</template> - -<script> -import ThemePicker from '@/components/ThemePicker' - -export default { - components: { ThemePicker }, - data() { - return { - theme: this.$store.state.settings.theme, - sideTheme: this.$store.state.settings.sideTheme - }; - }, - computed: { - visible: { - get() { - return this.$store.state.settings.showSettings - } - }, - fixedHeader: { - get() { - return this.$store.state.settings.fixedHeader - }, - set(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'fixedHeader', - value: val - }) - } - }, - topNav: { - get() { - return this.$store.state.settings.topNav - }, - set(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'topNav', - value: val - }) - if (!val) { - this.$store.dispatch('app/toggleSideBarHide', false); - this.$store.commit("SET_SIDEBAR_ROUTERS", this.$store.state.permission.defaultRoutes); - } - } - }, - tagsView: { - get() { - return this.$store.state.settings.tagsView - }, - set(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'tagsView', - value: val - }) - } - }, - sidebarLogo: { - get() { - return this.$store.state.settings.sidebarLogo - }, - set(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'sidebarLogo', - value: val - }) - } - }, - dynamicTitle: { - get() { - return this.$store.state.settings.dynamicTitle - }, - set(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'dynamicTitle', - value: val - }) - } - }, - }, - methods: { - themeChange(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'theme', - value: val - }) - this.theme = val; - }, - handleTheme(val) { - this.$store.dispatch('settings/changeSetting', { - key: 'sideTheme', - value: val - }) - this.sideTheme = val; - }, - saveSetting() { - this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍊�..."); - this.$cache.local.set( - "layout-setting", - `{ - "topNav":${this.topNav}, - "tagsView":${this.tagsView}, - "fixedHeader":${this.fixedHeader}, - "sidebarLogo":${this.sidebarLogo}, - "dynamicTitle":${this.dynamicTitle}, - "sideTheme":"${this.sideTheme}", - "theme":"${this.theme}" - }` - ); - setTimeout(this.$modal.closeLoading(), 1000) - }, - resetSetting() { - this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍊�..."); - this.$cache.local.remove("layout-setting") - setTimeout("window.location.reload()", 1000) - } - } -} -</script> - -<style lang="scss" scoped> - .setting-drawer-content { - .setting-drawer-title { - margin-bottom: 12px; - color: rgba(0, 0, 0, .85); - font-size: 14px; - line-height: 22px; - font-weight: bold; - } - - .setting-drawer-block-checbox { - display: flex; - justify-content: flex-start; - align-items: center; - margin-top: 10px; - margin-bottom: 20px; - - .setting-drawer-block-checbox-item { - position: relative; - margin-right: 16px; - border-radius: 2px; - cursor: pointer; - - img { - width: 48px; - height: 48px; - } - - .setting-drawer-block-checbox-selectIcon { - position: absolute; - top: 0; - right: 0; - width: 100%; - height: 100%; - padding-top: 15px; - padding-left: 24px; - color: #1890ff; - font-weight: 700; - font-size: 14px; - } - } - } - } - - .drawer-container { - padding: 20px; - font-size: 14px; - line-height: 1.5; - word-wrap: break-word; - - .drawer-title { - margin-bottom: 12px; - color: rgba(0, 0, 0, .85); - font-size: 14px; - line-height: 22px; - } - - .drawer-item { - color: rgba(0, 0, 0, .65); - font-size: 14px; - padding: 12px 0; - } - - .drawer-switch { - float: right - } - } -</style> diff --git a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue b/ruoyi-ui/src/layout/components/Sidebar/Logo.vue deleted file mode 100644 index c4c2d20..0000000 --- a/ruoyi-ui/src/layout/components/Sidebar/Logo.vue +++ /dev/null @@ -1,93 +0,0 @@ -<template> - <div class="sidebar-logo-container" :class="{'collapse':collapse}" :style="{ backgroundColor: sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> - <transition name="sidebarLogoFade"> - <router-link v-if="collapse" key="collapse" class="sidebar-logo-link" to="/"> - <img v-if="logo" :src="logo" class="sidebar-logo" /> - <h1 v-else class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> - </router-link> - <router-link v-else key="expand" class="sidebar-logo-link" to="/"> - <img v-if="logo" :src="logo" class="sidebar-logo" /> - <h1 class="sidebar-title" :style="{ color: sideTheme === 'theme-dark' ? variables.logoTitleColor : variables.logoLightTitleColor }">{{ title }} </h1> - </router-link> - </transition> - </div> -</template> - -<script> -import logoImg from '@/assets/logo/logo.png' -import variables from '@/assets/styles/variables.scss' - -export default { - name: 'SidebarLogo', - props: { - collapse: { - type: Boolean, - required: true - } - }, - computed: { - variables() { - return variables; - }, - sideTheme() { - return this.$store.state.settings.sideTheme - } - }, - data() { - return { - title: '鏅烘収闅忚绠$悊绯荤粺', - logo: logoImg - } - } -} -</script> - -<style lang="scss" scoped> -.sidebarLogoFade-enter-active { - transition: opacity 1.5s; -} - -.sidebarLogoFade-enter, -.sidebarLogoFade-leave-to { - opacity: 0; -} - -.sidebar-logo-container { - position: relative; - width: 100%; - height: 50px; - line-height: 50px; - background: #2b2f3a; - text-align: center; - overflow: hidden; - - & .sidebar-logo-link { - height: 100%; - width: 100%; - - & .sidebar-logo { - width: 32px; - height: 32px; - vertical-align: middle; - margin-right: 12px; - } - - & .sidebar-title { - display: inline-block; - margin: 0; - color: #fff; - font-weight: 600; - line-height: 50px; - font-size: 14px; - font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif; - vertical-align: middle; - } - } - - &.collapse { - .sidebar-logo { - margin-right: 0px; - } - } -} -</style> diff --git a/ruoyi-ui/src/layout/components/Sidebar/index.vue b/ruoyi-ui/src/layout/components/Sidebar/index.vue deleted file mode 100644 index 51d0839..0000000 --- a/ruoyi-ui/src/layout/components/Sidebar/index.vue +++ /dev/null @@ -1,57 +0,0 @@ -<template> - <div :class="{'has-logo':showLogo}" :style="{ backgroundColor: settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground }"> - <logo v-if="showLogo" :collapse="isCollapse" /> - <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> - <el-menu - :default-active="activeMenu" - :collapse="isCollapse" - :background-color="settings.sideTheme === 'theme-dark' ? variables.menuBackground : variables.menuLightBackground" - :text-color="settings.sideTheme === 'theme-dark' ? variables.menuColor : variables.menuLightColor" - :unique-opened="true" - :active-text-color="settings.theme" - :collapse-transition="false" - mode="vertical" - > - <sidebar-item - v-for="(route, index) in sidebarRouters" - :key="route.path + index" - :item="route" - :base-path="route.path" - /> - </el-menu> - </el-scrollbar> - </div> -</template> - -<script> -import { mapGetters, mapState } from "vuex"; -import Logo from "./Logo"; -import SidebarItem from "./SidebarItem"; -import variables from "@/assets/styles/variables.scss"; - -export default { - components: { SidebarItem, Logo }, - computed: { - ...mapState(["settings"]), - ...mapGetters(["sidebarRouters", "sidebar"]), - activeMenu() { - const route = this.$route; - const { meta, path } = route; - // if set path, the sidebar will highlight the path you set - if (meta.activeMenu) { - return meta.activeMenu; - } - return path; - }, - showLogo() { - return this.$store.state.settings.sidebarLogo; - }, - variables() { - return variables; - }, - isCollapse() { - return !this.sidebar.opened; - } - } -}; -</script> diff --git a/ruoyi-ui/src/App.vue b/src/App.vue similarity index 100% rename from ruoyi-ui/src/App.vue rename to src/App.vue diff --git a/ruoyi-ui/src/api/login.js b/src/api/login.js similarity index 100% rename from ruoyi-ui/src/api/login.js rename to src/api/login.js diff --git a/ruoyi-ui/src/api/menu.js b/src/api/menu.js similarity index 100% rename from ruoyi-ui/src/api/menu.js rename to src/api/menu.js diff --git a/ruoyi-ui/src/api/monitor/cache.js b/src/api/monitor/cache.js similarity index 100% rename from ruoyi-ui/src/api/monitor/cache.js rename to src/api/monitor/cache.js diff --git a/ruoyi-ui/src/api/monitor/job.js b/src/api/monitor/job.js similarity index 100% rename from ruoyi-ui/src/api/monitor/job.js rename to src/api/monitor/job.js diff --git a/ruoyi-ui/src/api/monitor/jobLog.js b/src/api/monitor/jobLog.js similarity index 100% rename from ruoyi-ui/src/api/monitor/jobLog.js rename to src/api/monitor/jobLog.js diff --git a/ruoyi-ui/src/api/monitor/logininfor.js b/src/api/monitor/logininfor.js similarity index 100% rename from ruoyi-ui/src/api/monitor/logininfor.js rename to src/api/monitor/logininfor.js diff --git a/ruoyi-ui/src/api/monitor/online.js b/src/api/monitor/online.js similarity index 100% rename from ruoyi-ui/src/api/monitor/online.js rename to src/api/monitor/online.js diff --git a/ruoyi-ui/src/api/monitor/operlog.js b/src/api/monitor/operlog.js similarity index 100% rename from ruoyi-ui/src/api/monitor/operlog.js rename to src/api/monitor/operlog.js diff --git a/ruoyi-ui/src/api/monitor/server.js b/src/api/monitor/server.js similarity index 100% rename from ruoyi-ui/src/api/monitor/server.js rename to src/api/monitor/server.js diff --git a/ruoyi-ui/src/api/smartor/hecategory.js b/src/api/smartor/hecategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/hecategory.js rename to src/api/smartor/hecategory.js diff --git a/ruoyi-ui/src/api/smartor/helibrary.js b/src/api/smartor/helibrary.js similarity index 100% rename from ruoyi-ui/src/api/smartor/helibrary.js rename to src/api/smartor/helibrary.js diff --git a/ruoyi-ui/src/api/smartor/ivrexecuteconfig.js b/src/api/smartor/ivrexecuteconfig.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrexecuteconfig.js rename to src/api/smartor/ivrexecuteconfig.js diff --git a/ruoyi-ui/src/api/smartor/ivrextemplate.js b/src/api/smartor/ivrextemplate.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrextemplate.js rename to src/api/smartor/ivrextemplate.js diff --git a/ruoyi-ui/src/api/smartor/ivrextemplatescript.js b/src/api/smartor/ivrextemplatescript.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrextemplatescript.js rename to src/api/smartor/ivrextemplatescript.js diff --git a/ruoyi-ui/src/api/smartor/ivrflow.js b/src/api/smartor/ivrflow.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrflow.js rename to src/api/smartor/ivrflow.js diff --git a/ruoyi-ui/src/api/smartor/ivrflownode.js b/src/api/smartor/ivrflownode.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrflownode.js rename to src/api/smartor/ivrflownode.js diff --git a/ruoyi-ui/src/api/smartor/ivrflownodebranch.js b/src/api/smartor/ivrflownodebranch.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrflownodebranch.js rename to src/api/smartor/ivrflownodebranch.js diff --git a/ruoyi-ui/src/api/smartor/ivrglobalconfig.js b/src/api/smartor/ivrglobalconfig.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrglobalconfig.js rename to src/api/smartor/ivrglobalconfig.js diff --git a/ruoyi-ui/src/api/smartor/ivrintent.js b/src/api/smartor/ivrintent.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrintent.js rename to src/api/smartor/ivrintent.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibascript.js b/src/api/smartor/ivrlibascript.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibascript.js rename to src/api/smartor/ivrlibascript.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibintent.js b/src/api/smartor/ivrlibintent.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibintent.js rename to src/api/smartor/ivrlibintent.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibintentcategory.js b/src/api/smartor/ivrlibintentcategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibintentcategory.js rename to src/api/smartor/ivrlibintentcategory.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibscript.js b/src/api/smartor/ivrlibscript.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibscript.js rename to src/api/smartor/ivrlibscript.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibscriptcategory.js b/src/api/smartor/ivrlibscriptcategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibscriptcategory.js rename to src/api/smartor/ivrlibscriptcategory.js diff --git a/ruoyi-ui/src/api/smartor/ivrlibscriptmodel.js b/src/api/smartor/ivrlibscriptmodel.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrlibscriptmodel.js rename to src/api/smartor/ivrlibscriptmodel.js diff --git a/ruoyi-ui/src/api/smartor/ivrrecall.js b/src/api/smartor/ivrrecall.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrrecall.js rename to src/api/smartor/ivrrecall.js diff --git a/ruoyi-ui/src/api/smartor/ivrscene.js b/src/api/smartor/ivrscene.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrscene.js rename to src/api/smartor/ivrscene.js diff --git a/ruoyi-ui/src/api/smartor/ivrscenecategory.js b/src/api/smartor/ivrscenecategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrscenecategory.js rename to src/api/smartor/ivrscenecategory.js diff --git a/ruoyi-ui/src/api/smartor/ivrscript.js b/src/api/smartor/ivrscript.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrscript.js rename to src/api/smartor/ivrscript.js diff --git a/ruoyi-ui/src/api/smartor/ivrscriptmodel.js b/src/api/smartor/ivrscriptmodel.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrscriptmodel.js rename to src/api/smartor/ivrscriptmodel.js diff --git a/ruoyi-ui/src/api/smartor/ivrscripttarget.js b/src/api/smartor/ivrscripttarget.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrscripttarget.js rename to src/api/smartor/ivrscripttarget.js diff --git a/ruoyi-ui/src/api/smartor/ivrtarget.js b/src/api/smartor/ivrtarget.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtarget.js rename to src/api/smartor/ivrtarget.js diff --git a/ruoyi-ui/src/api/smartor/ivrtask.js b/src/api/smartor/ivrtask.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtask.js rename to src/api/smartor/ivrtask.js diff --git a/ruoyi-ui/src/api/smartor/ivrtaskcall.js b/src/api/smartor/ivrtaskcall.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtaskcall.js rename to src/api/smartor/ivrtaskcall.js diff --git a/ruoyi-ui/src/api/smartor/ivrtaskcalldetail.js b/src/api/smartor/ivrtaskcalldetail.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtaskcalldetail.js rename to src/api/smartor/ivrtaskcalldetail.js diff --git a/ruoyi-ui/src/api/smartor/ivrtaskcallrecord.js b/src/api/smartor/ivrtaskcallrecord.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtaskcallrecord.js rename to src/api/smartor/ivrtaskcallrecord.js diff --git a/ruoyi-ui/src/api/smartor/ivrtasksms.js b/src/api/smartor/ivrtasksms.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtasksms.js rename to src/api/smartor/ivrtasksms.js diff --git a/ruoyi-ui/src/api/smartor/ivrtemplate.js b/src/api/smartor/ivrtemplate.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtemplate.js rename to src/api/smartor/ivrtemplate.js diff --git a/ruoyi-ui/src/api/smartor/ivrtemplatescript.js b/src/api/smartor/ivrtemplatescript.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtemplatescript.js rename to src/api/smartor/ivrtemplatescript.js diff --git a/ruoyi-ui/src/api/smartor/ivrtemplatetarget.js b/src/api/smartor/ivrtemplatetarget.js similarity index 100% rename from ruoyi-ui/src/api/smartor/ivrtemplatetarget.js rename to src/api/smartor/ivrtemplatetarget.js diff --git a/ruoyi-ui/src/api/smartor/patarchive.js b/src/api/smartor/patarchive.js similarity index 100% rename from ruoyi-ui/src/api/smartor/patarchive.js rename to src/api/smartor/patarchive.js diff --git a/ruoyi-ui/src/api/smartor/patinhosp.js b/src/api/smartor/patinhosp.js similarity index 100% rename from ruoyi-ui/src/api/smartor/patinhosp.js rename to src/api/smartor/patinhosp.js diff --git a/ruoyi-ui/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js similarity index 100% rename from ruoyi-ui/src/api/smartor/patouthosp.js rename to src/api/smartor/patouthosp.js diff --git a/ruoyi-ui/src/api/smartor/patphysical.js b/src/api/smartor/patphysical.js similarity index 100% rename from ruoyi-ui/src/api/smartor/patphysical.js rename to src/api/smartor/patphysical.js diff --git a/ruoyi-ui/src/api/smartor/schemeautofinshrule.js b/src/api/smartor/schemeautofinshrule.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemeautofinshrule.js rename to src/api/smartor/schemeautofinshrule.js diff --git a/ruoyi-ui/src/api/smartor/schemecalldetail.js b/src/api/smartor/schemecalldetail.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemecalldetail.js rename to src/api/smartor/schemecalldetail.js diff --git a/ruoyi-ui/src/api/smartor/schemecategory.js b/src/api/smartor/schemecategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemecategory.js rename to src/api/smartor/schemecategory.js diff --git a/ruoyi-ui/src/api/smartor/schemelibrary.js b/src/api/smartor/schemelibrary.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemelibrary.js rename to src/api/smartor/schemelibrary.js diff --git a/ruoyi-ui/src/api/smartor/schemeplan.js b/src/api/smartor/schemeplan.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemeplan.js rename to src/api/smartor/schemeplan.js diff --git a/ruoyi-ui/src/api/smartor/schemetask.js b/src/api/smartor/schemetask.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetask.js rename to src/api/smartor/schemetask.js diff --git a/ruoyi-ui/src/api/smartor/schemetaskconfig.js b/src/api/smartor/schemetaskconfig.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetaskconfig.js rename to src/api/smartor/schemetaskconfig.js diff --git a/ruoyi-ui/src/api/smartor/schemetaskrecord.js b/src/api/smartor/schemetaskrecord.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetaskrecord.js rename to src/api/smartor/schemetaskrecord.js diff --git a/ruoyi-ui/src/api/smartor/schemetaskrepeatconfig.js b/src/api/smartor/schemetaskrepeatconfig.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetaskrepeatconfig.js rename to src/api/smartor/schemetaskrepeatconfig.js diff --git a/ruoyi-ui/src/api/smartor/schemetriggerrule.js b/src/api/smartor/schemetriggerrule.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetriggerrule.js rename to src/api/smartor/schemetriggerrule.js diff --git a/ruoyi-ui/src/api/smartor/schemetriggerscene.js b/src/api/smartor/schemetriggerscene.js similarity index 100% rename from ruoyi-ui/src/api/smartor/schemetriggerscene.js rename to src/api/smartor/schemetriggerscene.js diff --git a/ruoyi-ui/src/api/smartor/smsaccount.js b/src/api/smartor/smsaccount.js similarity index 100% rename from ruoyi-ui/src/api/smartor/smsaccount.js rename to src/api/smartor/smsaccount.js diff --git a/ruoyi-ui/src/api/smartor/smsparam.js b/src/api/smartor/smsparam.js similarity index 100% rename from ruoyi-ui/src/api/smartor/smsparam.js rename to src/api/smartor/smsparam.js diff --git a/ruoyi-ui/src/api/smartor/smsrecords.js b/src/api/smartor/smsrecords.js similarity index 100% rename from ruoyi-ui/src/api/smartor/smsrecords.js rename to src/api/smartor/smsrecords.js diff --git a/ruoyi-ui/src/api/smartor/smstemplet.js b/src/api/smartor/smstemplet.js similarity index 100% rename from ruoyi-ui/src/api/smartor/smstemplet.js rename to src/api/smartor/smstemplet.js diff --git a/ruoyi-ui/src/api/smartor/svycategory.js b/src/api/smartor/svycategory.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svycategory.js rename to src/api/smartor/svycategory.js diff --git a/ruoyi-ui/src/api/smartor/svyexception.js b/src/api/smartor/svyexception.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svyexception.js rename to src/api/smartor/svyexception.js diff --git a/ruoyi-ui/src/api/smartor/svyfinish.js b/src/api/smartor/svyfinish.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svyfinish.js rename to src/api/smartor/svyfinish.js diff --git a/ruoyi-ui/src/api/smartor/svyfinishoption.js b/src/api/smartor/svyfinishoption.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svyfinishoption.js rename to src/api/smartor/svyfinishoption.js diff --git a/ruoyi-ui/src/api/smartor/svyfinishtopic.js b/src/api/smartor/svyfinishtopic.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svyfinishtopic.js rename to src/api/smartor/svyfinishtopic.js diff --git a/ruoyi-ui/src/api/smartor/svyresult.js b/src/api/smartor/svyresult.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svyresult.js rename to src/api/smartor/svyresult.js diff --git a/ruoyi-ui/src/api/smartor/svytitle.js b/src/api/smartor/svytitle.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svytitle.js rename to src/api/smartor/svytitle.js diff --git a/ruoyi-ui/src/api/smartor/svytopic.js b/src/api/smartor/svytopic.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svytopic.js rename to src/api/smartor/svytopic.js diff --git a/ruoyi-ui/src/api/smartor/svytopicoption.js b/src/api/smartor/svytopicoption.js similarity index 100% rename from ruoyi-ui/src/api/smartor/svytopicoption.js rename to src/api/smartor/svytopicoption.js diff --git a/ruoyi-ui/src/api/system/category.js b/src/api/system/category.js similarity index 100% rename from ruoyi-ui/src/api/system/category.js rename to src/api/system/category.js diff --git a/ruoyi-ui/src/api/system/config.js b/src/api/system/config.js similarity index 100% rename from ruoyi-ui/src/api/system/config.js rename to src/api/system/config.js diff --git a/ruoyi-ui/src/api/system/dept.js b/src/api/system/dept.js similarity index 100% rename from ruoyi-ui/src/api/system/dept.js rename to src/api/system/dept.js diff --git a/ruoyi-ui/src/api/system/dict/data.js b/src/api/system/dict/data.js similarity index 100% rename from ruoyi-ui/src/api/system/dict/data.js rename to src/api/system/dict/data.js diff --git a/ruoyi-ui/src/api/system/dict/type.js b/src/api/system/dict/type.js similarity index 100% rename from ruoyi-ui/src/api/system/dict/type.js rename to src/api/system/dict/type.js diff --git a/ruoyi-ui/src/api/system/menu.js b/src/api/system/menu.js similarity index 100% rename from ruoyi-ui/src/api/system/menu.js rename to src/api/system/menu.js diff --git a/ruoyi-ui/src/api/system/notice.js b/src/api/system/notice.js similarity index 100% rename from ruoyi-ui/src/api/system/notice.js rename to src/api/system/notice.js diff --git a/ruoyi-ui/src/api/system/post.js b/src/api/system/post.js similarity index 100% rename from ruoyi-ui/src/api/system/post.js rename to src/api/system/post.js diff --git a/ruoyi-ui/src/api/system/role.js b/src/api/system/role.js similarity index 100% rename from ruoyi-ui/src/api/system/role.js rename to src/api/system/role.js diff --git a/ruoyi-ui/src/api/system/user.js b/src/api/system/user.js similarity index 100% rename from ruoyi-ui/src/api/system/user.js rename to src/api/system/user.js diff --git a/ruoyi-ui/src/api/tool/gen.js b/src/api/tool/gen.js similarity index 100% rename from ruoyi-ui/src/api/tool/gen.js rename to src/api/tool/gen.js diff --git a/ruoyi-ui/src/assets/401_images/401.gif b/src/assets/401_images/401.gif similarity index 100% rename from ruoyi-ui/src/assets/401_images/401.gif rename to src/assets/401_images/401.gif Binary files differ diff --git a/ruoyi-ui/src/assets/404_images/404.png b/src/assets/404_images/404.png similarity index 100% rename from ruoyi-ui/src/assets/404_images/404.png rename to src/assets/404_images/404.png Binary files differ diff --git a/ruoyi-ui/src/assets/404_images/404_cloud.png b/src/assets/404_images/404_cloud.png similarity index 100% rename from ruoyi-ui/src/assets/404_images/404_cloud.png rename to src/assets/404_images/404_cloud.png Binary files differ diff --git a/ruoyi-ui/src/assets/icons/index.js b/src/assets/icons/index.js similarity index 100% rename from ruoyi-ui/src/assets/icons/index.js rename to src/assets/icons/index.js diff --git a/ruoyi-ui/src/assets/icons/svg/404.svg b/src/assets/icons/svg/404.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/404.svg rename to src/assets/icons/svg/404.svg diff --git a/ruoyi-ui/src/assets/icons/svg/bug.svg b/src/assets/icons/svg/bug.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/bug.svg rename to src/assets/icons/svg/bug.svg diff --git a/ruoyi-ui/src/assets/icons/svg/build.svg b/src/assets/icons/svg/build.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/build.svg rename to src/assets/icons/svg/build.svg diff --git a/ruoyi-ui/src/assets/icons/svg/button.svg b/src/assets/icons/svg/button.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/button.svg rename to src/assets/icons/svg/button.svg diff --git a/ruoyi-ui/src/assets/icons/svg/cascader.svg b/src/assets/icons/svg/cascader.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/cascader.svg rename to src/assets/icons/svg/cascader.svg diff --git a/ruoyi-ui/src/assets/icons/svg/chart.svg b/src/assets/icons/svg/chart.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/chart.svg rename to src/assets/icons/svg/chart.svg diff --git a/ruoyi-ui/src/assets/icons/svg/checkbox.svg b/src/assets/icons/svg/checkbox.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/checkbox.svg rename to src/assets/icons/svg/checkbox.svg diff --git a/ruoyi-ui/src/assets/icons/svg/clipboard.svg b/src/assets/icons/svg/clipboard.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/clipboard.svg rename to src/assets/icons/svg/clipboard.svg diff --git a/ruoyi-ui/src/assets/icons/svg/code.svg b/src/assets/icons/svg/code.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/code.svg rename to src/assets/icons/svg/code.svg diff --git a/ruoyi-ui/src/assets/icons/svg/color.svg b/src/assets/icons/svg/color.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/color.svg rename to src/assets/icons/svg/color.svg diff --git a/ruoyi-ui/src/assets/icons/svg/component.svg b/src/assets/icons/svg/component.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/component.svg rename to src/assets/icons/svg/component.svg diff --git a/ruoyi-ui/src/assets/icons/svg/dashboard.svg b/src/assets/icons/svg/dashboard.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/dashboard.svg rename to src/assets/icons/svg/dashboard.svg diff --git a/ruoyi-ui/src/assets/icons/svg/date-range.svg b/src/assets/icons/svg/date-range.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/date-range.svg rename to src/assets/icons/svg/date-range.svg diff --git a/ruoyi-ui/src/assets/icons/svg/date.svg b/src/assets/icons/svg/date.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/date.svg rename to src/assets/icons/svg/date.svg diff --git a/ruoyi-ui/src/assets/icons/svg/dict.svg b/src/assets/icons/svg/dict.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/dict.svg rename to src/assets/icons/svg/dict.svg diff --git a/ruoyi-ui/src/assets/icons/svg/documentation.svg b/src/assets/icons/svg/documentation.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/documentation.svg rename to src/assets/icons/svg/documentation.svg diff --git a/ruoyi-ui/src/assets/icons/svg/download.svg b/src/assets/icons/svg/download.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/download.svg rename to src/assets/icons/svg/download.svg diff --git a/ruoyi-ui/src/assets/icons/svg/drag.svg b/src/assets/icons/svg/drag.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/drag.svg rename to src/assets/icons/svg/drag.svg diff --git a/ruoyi-ui/src/assets/icons/svg/druid.svg b/src/assets/icons/svg/druid.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/druid.svg rename to src/assets/icons/svg/druid.svg diff --git a/ruoyi-ui/src/assets/icons/svg/edit.svg b/src/assets/icons/svg/edit.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/edit.svg rename to src/assets/icons/svg/edit.svg diff --git a/ruoyi-ui/src/assets/icons/svg/education.svg b/src/assets/icons/svg/education.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/education.svg rename to src/assets/icons/svg/education.svg diff --git a/ruoyi-ui/src/assets/icons/svg/email.svg b/src/assets/icons/svg/email.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/email.svg rename to src/assets/icons/svg/email.svg diff --git a/ruoyi-ui/src/assets/icons/svg/example.svg b/src/assets/icons/svg/example.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/example.svg rename to src/assets/icons/svg/example.svg diff --git a/ruoyi-ui/src/assets/icons/svg/excel.svg b/src/assets/icons/svg/excel.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/excel.svg rename to src/assets/icons/svg/excel.svg diff --git a/ruoyi-ui/src/assets/icons/svg/exit-fullscreen.svg b/src/assets/icons/svg/exit-fullscreen.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/exit-fullscreen.svg rename to src/assets/icons/svg/exit-fullscreen.svg diff --git a/ruoyi-ui/src/assets/icons/svg/eye-open.svg b/src/assets/icons/svg/eye-open.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/eye-open.svg rename to src/assets/icons/svg/eye-open.svg diff --git a/ruoyi-ui/src/assets/icons/svg/eye.svg b/src/assets/icons/svg/eye.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/eye.svg rename to src/assets/icons/svg/eye.svg diff --git a/ruoyi-ui/src/assets/icons/svg/form.svg b/src/assets/icons/svg/form.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/form.svg rename to src/assets/icons/svg/form.svg diff --git a/ruoyi-ui/src/assets/icons/svg/fullscreen.svg b/src/assets/icons/svg/fullscreen.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/fullscreen.svg rename to src/assets/icons/svg/fullscreen.svg diff --git a/ruoyi-ui/src/assets/icons/svg/github.svg b/src/assets/icons/svg/github.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/github.svg rename to src/assets/icons/svg/github.svg diff --git a/ruoyi-ui/src/assets/icons/svg/guide.svg b/src/assets/icons/svg/guide.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/guide.svg rename to src/assets/icons/svg/guide.svg diff --git a/ruoyi-ui/src/assets/icons/svg/icon.svg b/src/assets/icons/svg/icon.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/icon.svg rename to src/assets/icons/svg/icon.svg diff --git a/ruoyi-ui/src/assets/icons/svg/input.svg b/src/assets/icons/svg/input.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/input.svg rename to src/assets/icons/svg/input.svg diff --git a/ruoyi-ui/src/assets/icons/svg/international.svg b/src/assets/icons/svg/international.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/international.svg rename to src/assets/icons/svg/international.svg diff --git a/ruoyi-ui/src/assets/icons/svg/job.svg b/src/assets/icons/svg/job.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/job.svg rename to src/assets/icons/svg/job.svg diff --git a/ruoyi-ui/src/assets/icons/svg/language.svg b/src/assets/icons/svg/language.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/language.svg rename to src/assets/icons/svg/language.svg diff --git a/ruoyi-ui/src/assets/icons/svg/link.svg b/src/assets/icons/svg/link.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/link.svg rename to src/assets/icons/svg/link.svg diff --git a/ruoyi-ui/src/assets/icons/svg/list.svg b/src/assets/icons/svg/list.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/list.svg rename to src/assets/icons/svg/list.svg diff --git a/ruoyi-ui/src/assets/icons/svg/lock.svg b/src/assets/icons/svg/lock.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/lock.svg rename to src/assets/icons/svg/lock.svg diff --git a/ruoyi-ui/src/assets/icons/svg/log.svg b/src/assets/icons/svg/log.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/log.svg rename to src/assets/icons/svg/log.svg diff --git a/ruoyi-ui/src/assets/icons/svg/logininfor.svg b/src/assets/icons/svg/logininfor.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/logininfor.svg rename to src/assets/icons/svg/logininfor.svg diff --git a/ruoyi-ui/src/assets/icons/svg/message.svg b/src/assets/icons/svg/message.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/message.svg rename to src/assets/icons/svg/message.svg diff --git a/ruoyi-ui/src/assets/icons/svg/money.svg b/src/assets/icons/svg/money.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/money.svg rename to src/assets/icons/svg/money.svg diff --git a/ruoyi-ui/src/assets/icons/svg/monitor.svg b/src/assets/icons/svg/monitor.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/monitor.svg rename to src/assets/icons/svg/monitor.svg diff --git a/ruoyi-ui/src/assets/icons/svg/nested.svg b/src/assets/icons/svg/nested.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/nested.svg rename to src/assets/icons/svg/nested.svg diff --git a/ruoyi-ui/src/assets/icons/svg/number.svg b/src/assets/icons/svg/number.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/number.svg rename to src/assets/icons/svg/number.svg diff --git a/ruoyi-ui/src/assets/icons/svg/online.svg b/src/assets/icons/svg/online.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/online.svg rename to src/assets/icons/svg/online.svg diff --git a/ruoyi-ui/src/assets/icons/svg/password.svg b/src/assets/icons/svg/password.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/password.svg rename to src/assets/icons/svg/password.svg diff --git a/ruoyi-ui/src/assets/icons/svg/pdf.svg b/src/assets/icons/svg/pdf.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/pdf.svg rename to src/assets/icons/svg/pdf.svg diff --git a/ruoyi-ui/src/assets/icons/svg/people.svg b/src/assets/icons/svg/people.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/people.svg rename to src/assets/icons/svg/people.svg diff --git a/ruoyi-ui/src/assets/icons/svg/peoples.svg b/src/assets/icons/svg/peoples.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/peoples.svg rename to src/assets/icons/svg/peoples.svg diff --git a/ruoyi-ui/src/assets/icons/svg/phone.svg b/src/assets/icons/svg/phone.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/phone.svg rename to src/assets/icons/svg/phone.svg diff --git a/ruoyi-ui/src/assets/icons/svg/post.svg b/src/assets/icons/svg/post.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/post.svg rename to src/assets/icons/svg/post.svg diff --git a/ruoyi-ui/src/assets/icons/svg/qq.svg b/src/assets/icons/svg/qq.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/qq.svg rename to src/assets/icons/svg/qq.svg diff --git a/ruoyi-ui/src/assets/icons/svg/question.svg b/src/assets/icons/svg/question.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/question.svg rename to src/assets/icons/svg/question.svg diff --git a/ruoyi-ui/src/assets/icons/svg/radio.svg b/src/assets/icons/svg/radio.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/radio.svg rename to src/assets/icons/svg/radio.svg diff --git a/ruoyi-ui/src/assets/icons/svg/rate.svg b/src/assets/icons/svg/rate.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/rate.svg rename to src/assets/icons/svg/rate.svg diff --git a/ruoyi-ui/src/assets/icons/svg/redis-list.svg b/src/assets/icons/svg/redis-list.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/redis-list.svg rename to src/assets/icons/svg/redis-list.svg diff --git a/ruoyi-ui/src/assets/icons/svg/redis.svg b/src/assets/icons/svg/redis.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/redis.svg rename to src/assets/icons/svg/redis.svg diff --git a/ruoyi-ui/src/assets/icons/svg/row.svg b/src/assets/icons/svg/row.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/row.svg rename to src/assets/icons/svg/row.svg diff --git a/ruoyi-ui/src/assets/icons/svg/search.svg b/src/assets/icons/svg/search.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/search.svg rename to src/assets/icons/svg/search.svg diff --git a/ruoyi-ui/src/assets/icons/svg/select.svg b/src/assets/icons/svg/select.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/select.svg rename to src/assets/icons/svg/select.svg diff --git a/ruoyi-ui/src/assets/icons/svg/server.svg b/src/assets/icons/svg/server.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/server.svg rename to src/assets/icons/svg/server.svg diff --git a/ruoyi-ui/src/assets/icons/svg/shopping.svg b/src/assets/icons/svg/shopping.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/shopping.svg rename to src/assets/icons/svg/shopping.svg diff --git a/ruoyi-ui/src/assets/icons/svg/size.svg b/src/assets/icons/svg/size.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/size.svg rename to src/assets/icons/svg/size.svg diff --git a/ruoyi-ui/src/assets/icons/svg/skill.svg b/src/assets/icons/svg/skill.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/skill.svg rename to src/assets/icons/svg/skill.svg diff --git a/ruoyi-ui/src/assets/icons/svg/slider.svg b/src/assets/icons/svg/slider.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/slider.svg rename to src/assets/icons/svg/slider.svg diff --git a/ruoyi-ui/src/assets/icons/svg/star.svg b/src/assets/icons/svg/star.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/star.svg rename to src/assets/icons/svg/star.svg diff --git a/ruoyi-ui/src/assets/icons/svg/swagger.svg b/src/assets/icons/svg/swagger.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/swagger.svg rename to src/assets/icons/svg/swagger.svg diff --git a/ruoyi-ui/src/assets/icons/svg/switch.svg b/src/assets/icons/svg/switch.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/switch.svg rename to src/assets/icons/svg/switch.svg diff --git a/ruoyi-ui/src/assets/icons/svg/system.svg b/src/assets/icons/svg/system.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/system.svg rename to src/assets/icons/svg/system.svg diff --git a/ruoyi-ui/src/assets/icons/svg/tab.svg b/src/assets/icons/svg/tab.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/tab.svg rename to src/assets/icons/svg/tab.svg diff --git a/ruoyi-ui/src/assets/icons/svg/table.svg b/src/assets/icons/svg/table.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/table.svg rename to src/assets/icons/svg/table.svg diff --git a/ruoyi-ui/src/assets/icons/svg/textarea.svg b/src/assets/icons/svg/textarea.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/textarea.svg rename to src/assets/icons/svg/textarea.svg diff --git a/ruoyi-ui/src/assets/icons/svg/theme.svg b/src/assets/icons/svg/theme.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/theme.svg rename to src/assets/icons/svg/theme.svg diff --git a/ruoyi-ui/src/assets/icons/svg/time-range.svg b/src/assets/icons/svg/time-range.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/time-range.svg rename to src/assets/icons/svg/time-range.svg diff --git a/ruoyi-ui/src/assets/icons/svg/time.svg b/src/assets/icons/svg/time.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/time.svg rename to src/assets/icons/svg/time.svg diff --git a/ruoyi-ui/src/assets/icons/svg/tool.svg b/src/assets/icons/svg/tool.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/tool.svg rename to src/assets/icons/svg/tool.svg diff --git a/ruoyi-ui/src/assets/icons/svg/tree-table.svg b/src/assets/icons/svg/tree-table.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/tree-table.svg rename to src/assets/icons/svg/tree-table.svg diff --git a/ruoyi-ui/src/assets/icons/svg/tree.svg b/src/assets/icons/svg/tree.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/tree.svg rename to src/assets/icons/svg/tree.svg diff --git a/ruoyi-ui/src/assets/icons/svg/upload.svg b/src/assets/icons/svg/upload.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/upload.svg rename to src/assets/icons/svg/upload.svg diff --git a/ruoyi-ui/src/assets/icons/svg/user.svg b/src/assets/icons/svg/user.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/user.svg rename to src/assets/icons/svg/user.svg diff --git a/ruoyi-ui/src/assets/icons/svg/validCode.svg b/src/assets/icons/svg/validCode.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/validCode.svg rename to src/assets/icons/svg/validCode.svg diff --git a/ruoyi-ui/src/assets/icons/svg/wechat.svg b/src/assets/icons/svg/wechat.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/wechat.svg rename to src/assets/icons/svg/wechat.svg diff --git a/ruoyi-ui/src/assets/icons/svg/zip.svg b/src/assets/icons/svg/zip.svg similarity index 100% rename from ruoyi-ui/src/assets/icons/svg/zip.svg rename to src/assets/icons/svg/zip.svg diff --git a/ruoyi-ui/src/assets/icons/svgo.yml b/src/assets/icons/svgo.yml similarity index 100% rename from ruoyi-ui/src/assets/icons/svgo.yml rename to src/assets/icons/svgo.yml diff --git a/ruoyi-ui/src/assets/images/dark.svg b/src/assets/images/dark.svg similarity index 100% rename from ruoyi-ui/src/assets/images/dark.svg rename to src/assets/images/dark.svg diff --git a/ruoyi-ui/src/assets/images/light.svg b/src/assets/images/light.svg similarity index 100% rename from ruoyi-ui/src/assets/images/light.svg rename to src/assets/images/light.svg diff --git a/ruoyi-ui/src/assets/images/login-background.jpg b/src/assets/images/login-background.jpg similarity index 100% rename from ruoyi-ui/src/assets/images/login-background.jpg rename to src/assets/images/login-background.jpg Binary files differ diff --git a/ruoyi-ui/src/assets/images/profile.jpg b/src/assets/images/profile.jpg similarity index 100% rename from ruoyi-ui/src/assets/images/profile.jpg rename to src/assets/images/profile.jpg Binary files differ diff --git a/ruoyi-ui/src/assets/logo/logo.png b/src/assets/logo/logo.png similarity index 100% rename from ruoyi-ui/src/assets/logo/logo.png rename to src/assets/logo/logo.png Binary files differ diff --git a/ruoyi-ui/src/assets/styles/btn.scss b/src/assets/styles/btn.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/btn.scss rename to src/assets/styles/btn.scss diff --git a/ruoyi-ui/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/element-ui.scss rename to src/assets/styles/element-ui.scss diff --git a/ruoyi-ui/src/assets/styles/element-variables.scss b/src/assets/styles/element-variables.scss similarity index 96% rename from ruoyi-ui/src/assets/styles/element-variables.scss rename to src/assets/styles/element-variables.scss index 1615ff2..1a7cce3 100644 --- a/ruoyi-ui/src/assets/styles/element-variables.scss +++ b/src/assets/styles/element-variables.scss @@ -4,7 +4,7 @@ **/ /* theme color */ -$--color-primary: #1890ff; +$--color-primary: #3a80c2; $--color-success: #13ce66; $--color-warning: #ffba00; $--color-danger: #ff4949; diff --git a/ruoyi-ui/src/assets/styles/index.scss b/src/assets/styles/index.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/index.scss rename to src/assets/styles/index.scss diff --git a/ruoyi-ui/src/assets/styles/mixin.scss b/src/assets/styles/mixin.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/mixin.scss rename to src/assets/styles/mixin.scss diff --git a/ruoyi-ui/src/assets/styles/ruoyi.scss b/src/assets/styles/ruoyi.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/ruoyi.scss rename to src/assets/styles/ruoyi.scss diff --git a/ruoyi-ui/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/sidebar.scss rename to src/assets/styles/sidebar.scss diff --git a/ruoyi-ui/src/assets/styles/transition.scss b/src/assets/styles/transition.scss similarity index 100% rename from ruoyi-ui/src/assets/styles/transition.scss rename to src/assets/styles/transition.scss diff --git a/ruoyi-ui/src/assets/styles/variables.scss b/src/assets/styles/variables.scss similarity index 91% rename from ruoyi-ui/src/assets/styles/variables.scss rename to src/assets/styles/variables.scss index 34484d4..12360a4 100644 --- a/ruoyi-ui/src/assets/styles/variables.scss +++ b/src/assets/styles/variables.scss @@ -7,18 +7,20 @@ $tiffany: #4AB7BD; $yellow:#FEC171; $panGreen: #30B08F; +$menuActiveText:#4fa8db; + // 榛樿鑿滃崟涓婚椋庢牸 -$base-menu-color:#bfcbd9; +$base-menu-color:#f7f8f8; $base-menu-color-active:#f4f4f5; -$base-menu-background:#304156; +$base-menu-background:#4780d4; $base-logo-title-color: #ffffff; $base-menu-light-color:rgba(0,0,0,.70); $base-menu-light-background:#ffffff; $base-logo-light-title-color: #001529; -$base-sub-menu-background:#1f2d3d; +$base-sub-menu-background:#82afe4; $base-sub-menu-hover:#001528; // 鑷畾涔夋殫鑹茶彍鍗曢鏍� diff --git a/ruoyi-ui/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue similarity index 100% rename from ruoyi-ui/src/components/Breadcrumb/index.vue rename to src/components/Breadcrumb/index.vue diff --git a/ruoyi-ui/src/components/Crontab/day.vue b/src/components/Crontab/day.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/day.vue rename to src/components/Crontab/day.vue diff --git a/ruoyi-ui/src/components/Crontab/hour.vue b/src/components/Crontab/hour.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/hour.vue rename to src/components/Crontab/hour.vue diff --git a/ruoyi-ui/src/components/Crontab/index.vue b/src/components/Crontab/index.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/index.vue rename to src/components/Crontab/index.vue diff --git a/ruoyi-ui/src/components/Crontab/min.vue b/src/components/Crontab/min.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/min.vue rename to src/components/Crontab/min.vue diff --git a/ruoyi-ui/src/components/Crontab/month.vue b/src/components/Crontab/month.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/month.vue rename to src/components/Crontab/month.vue diff --git a/ruoyi-ui/src/components/Crontab/result.vue b/src/components/Crontab/result.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/result.vue rename to src/components/Crontab/result.vue diff --git a/ruoyi-ui/src/components/Crontab/second.vue b/src/components/Crontab/second.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/second.vue rename to src/components/Crontab/second.vue diff --git a/ruoyi-ui/src/components/Crontab/week.vue b/src/components/Crontab/week.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/week.vue rename to src/components/Crontab/week.vue diff --git a/ruoyi-ui/src/components/Crontab/year.vue b/src/components/Crontab/year.vue similarity index 100% rename from ruoyi-ui/src/components/Crontab/year.vue rename to src/components/Crontab/year.vue diff --git a/ruoyi-ui/src/components/DictData/index.js b/src/components/DictData/index.js similarity index 100% rename from ruoyi-ui/src/components/DictData/index.js rename to src/components/DictData/index.js diff --git a/ruoyi-ui/src/components/DictTag/index.vue b/src/components/DictTag/index.vue similarity index 100% rename from ruoyi-ui/src/components/DictTag/index.vue rename to src/components/DictTag/index.vue diff --git a/ruoyi-ui/src/components/Editor/index.vue b/src/components/Editor/index.vue similarity index 100% rename from ruoyi-ui/src/components/Editor/index.vue rename to src/components/Editor/index.vue diff --git a/ruoyi-ui/src/components/FileUpload/index.vue b/src/components/FileUpload/index.vue similarity index 100% rename from ruoyi-ui/src/components/FileUpload/index.vue rename to src/components/FileUpload/index.vue diff --git a/ruoyi-ui/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue similarity index 100% rename from ruoyi-ui/src/components/Hamburger/index.vue rename to src/components/Hamburger/index.vue diff --git a/ruoyi-ui/src/components/HeaderSearch/index.vue b/src/components/HeaderSearch/index.vue similarity index 100% rename from ruoyi-ui/src/components/HeaderSearch/index.vue rename to src/components/HeaderSearch/index.vue diff --git a/ruoyi-ui/src/components/IconSelect/index.vue b/src/components/IconSelect/index.vue similarity index 100% rename from ruoyi-ui/src/components/IconSelect/index.vue rename to src/components/IconSelect/index.vue diff --git a/ruoyi-ui/src/components/IconSelect/requireIcons.js b/src/components/IconSelect/requireIcons.js similarity index 100% rename from ruoyi-ui/src/components/IconSelect/requireIcons.js rename to src/components/IconSelect/requireIcons.js diff --git a/ruoyi-ui/src/components/ImagePreview/index.vue b/src/components/ImagePreview/index.vue similarity index 100% rename from ruoyi-ui/src/components/ImagePreview/index.vue rename to src/components/ImagePreview/index.vue diff --git a/ruoyi-ui/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue similarity index 100% rename from ruoyi-ui/src/components/ImageUpload/index.vue rename to src/components/ImageUpload/index.vue diff --git a/ruoyi-ui/src/components/Pagination/index.vue b/src/components/Pagination/index.vue similarity index 100% rename from ruoyi-ui/src/components/Pagination/index.vue rename to src/components/Pagination/index.vue diff --git a/ruoyi-ui/src/components/PanThumb/index.vue b/src/components/PanThumb/index.vue similarity index 100% rename from ruoyi-ui/src/components/PanThumb/index.vue rename to src/components/PanThumb/index.vue diff --git a/ruoyi-ui/src/components/ParentView/index.vue b/src/components/ParentView/index.vue similarity index 100% rename from ruoyi-ui/src/components/ParentView/index.vue rename to src/components/ParentView/index.vue diff --git a/ruoyi-ui/src/components/RightPanel/index.vue b/src/components/RightPanel/index.vue similarity index 100% rename from ruoyi-ui/src/components/RightPanel/index.vue rename to src/components/RightPanel/index.vue diff --git a/ruoyi-ui/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue similarity index 100% rename from ruoyi-ui/src/components/RightToolbar/index.vue rename to src/components/RightToolbar/index.vue diff --git a/ruoyi-ui/src/components/RuoYi/Doc/index.vue b/src/components/RuoYi/Doc/index.vue similarity index 100% rename from ruoyi-ui/src/components/RuoYi/Doc/index.vue rename to src/components/RuoYi/Doc/index.vue diff --git a/ruoyi-ui/src/components/RuoYi/Git/index.vue b/src/components/RuoYi/Git/index.vue similarity index 100% rename from ruoyi-ui/src/components/RuoYi/Git/index.vue rename to src/components/RuoYi/Git/index.vue diff --git a/ruoyi-ui/src/components/Screenfull/index.vue b/src/components/Screenfull/index.vue similarity index 100% rename from ruoyi-ui/src/components/Screenfull/index.vue rename to src/components/Screenfull/index.vue diff --git a/ruoyi-ui/src/components/SizeSelect/index.vue b/src/components/SizeSelect/index.vue similarity index 100% rename from ruoyi-ui/src/components/SizeSelect/index.vue rename to src/components/SizeSelect/index.vue diff --git a/ruoyi-ui/src/components/SvgIcon/index.vue b/src/components/SvgIcon/index.vue similarity index 100% rename from ruoyi-ui/src/components/SvgIcon/index.vue rename to src/components/SvgIcon/index.vue diff --git a/ruoyi-ui/src/components/ThemePicker/index.vue b/src/components/ThemePicker/index.vue similarity index 100% rename from ruoyi-ui/src/components/ThemePicker/index.vue rename to src/components/ThemePicker/index.vue diff --git a/ruoyi-ui/src/components/TopNav/index.vue b/src/components/TopNav/index.vue similarity index 100% rename from ruoyi-ui/src/components/TopNav/index.vue rename to src/components/TopNav/index.vue diff --git a/ruoyi-ui/src/components/iFrame/index.vue b/src/components/iFrame/index.vue similarity index 100% rename from ruoyi-ui/src/components/iFrame/index.vue rename to src/components/iFrame/index.vue diff --git a/ruoyi-ui/src/directive/dialog/drag.js b/src/directive/dialog/drag.js similarity index 100% rename from ruoyi-ui/src/directive/dialog/drag.js rename to src/directive/dialog/drag.js diff --git a/ruoyi-ui/src/directive/dialog/dragHeight.js b/src/directive/dialog/dragHeight.js similarity index 100% rename from ruoyi-ui/src/directive/dialog/dragHeight.js rename to src/directive/dialog/dragHeight.js diff --git a/ruoyi-ui/src/directive/dialog/dragWidth.js b/src/directive/dialog/dragWidth.js similarity index 100% rename from ruoyi-ui/src/directive/dialog/dragWidth.js rename to src/directive/dialog/dragWidth.js diff --git a/ruoyi-ui/src/directive/index.js b/src/directive/index.js similarity index 100% rename from ruoyi-ui/src/directive/index.js rename to src/directive/index.js diff --git a/ruoyi-ui/src/directive/module/clipboard.js b/src/directive/module/clipboard.js similarity index 100% rename from ruoyi-ui/src/directive/module/clipboard.js rename to src/directive/module/clipboard.js diff --git a/ruoyi-ui/src/directive/permission/hasPermi.js b/src/directive/permission/hasPermi.js similarity index 100% rename from ruoyi-ui/src/directive/permission/hasPermi.js rename to src/directive/permission/hasPermi.js diff --git a/ruoyi-ui/src/directive/permission/hasRole.js b/src/directive/permission/hasRole.js similarity index 100% rename from ruoyi-ui/src/directive/permission/hasRole.js rename to src/directive/permission/hasRole.js diff --git a/ruoyi-ui/src/layout/components/AppMain.vue b/src/layout/components/AppMain.vue similarity index 100% rename from ruoyi-ui/src/layout/components/AppMain.vue rename to src/layout/components/AppMain.vue diff --git a/ruoyi-ui/src/layout/components/IframeToggle/index.vue b/src/layout/components/IframeToggle/index.vue similarity index 100% rename from ruoyi-ui/src/layout/components/IframeToggle/index.vue rename to src/layout/components/IframeToggle/index.vue diff --git a/ruoyi-ui/src/layout/components/InnerLink/index.vue b/src/layout/components/InnerLink/index.vue similarity index 100% rename from ruoyi-ui/src/layout/components/InnerLink/index.vue rename to src/layout/components/InnerLink/index.vue diff --git a/ruoyi-ui/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue similarity index 100% rename from ruoyi-ui/src/layout/components/Navbar.vue rename to src/layout/components/Navbar.vue diff --git a/src/layout/components/Settings/index.vue b/src/layout/components/Settings/index.vue new file mode 100644 index 0000000..ac8860e --- /dev/null +++ b/src/layout/components/Settings/index.vue @@ -0,0 +1,322 @@ +<template> + <el-drawer + size="280px" + :visible="visible" + :with-header="false" + :append-to-body="true" + :show-close="false" + > + <div class="drawer-container"> + <div> + <div class="setting-drawer-content"> + <div class="setting-drawer-title"> + <h3 class="drawer-title">涓婚椋庢牸璁剧疆</h3> + </div> + <div class="setting-drawer-block-checbox"> + <div + class="setting-drawer-block-checbox-item" + @click="handleTheme('theme-dark')" + > + <img src="@/assets/images/dark.svg" alt="dark" /> + <div + v-if="sideTheme === 'theme-dark'" + class="setting-drawer-block-checbox-selectIcon" + style="display: block" + > + <i aria-label="鍥炬爣: check" class="anticon anticon-check"> + <svg + viewBox="64 64 896 896" + data-icon="check" + width="1em" + height="1em" + :fill="theme" + aria-hidden="true" + focusable="false" + class="" + > + <path + d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" + /> + </svg> + </i> + </div> + </div> + <div + class="setting-drawer-block-checbox-item" + @click="handleTheme('theme-light')" + > + <img src="@/assets/images/light.svg" alt="light" /> + <div + v-if="sideTheme === 'theme-light'" + class="setting-drawer-block-checbox-selectIcon" + style="display: block" + > + <i aria-label="鍥炬爣: check" class="anticon anticon-check"> + <svg + viewBox="64 64 896 896" + data-icon="check" + width="1em" + height="1em" + :fill="theme" + aria-hidden="true" + focusable="false" + class="" + > + <path + d="M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 0 0-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" + /> + </svg> + </i> + </div> + </div> + </div> + + <div class="drawer-item"> + <span>涓婚棰滆壊</span> + <theme-picker + style="float: right; height: 26px; margin: -3px 8px 0 0" + @change="themeChange" + /> + </div> + </div> + + <el-divider /> + + <h3 class="drawer-title">绯荤粺甯冨眬閰嶇疆</h3> + + <div class="drawer-item"> + <span>寮�鍚� TopNav</span> + <el-switch v-model="topNav" class="drawer-switch" /> + </div> + + <div class="drawer-item"> + <span>寮�鍚� Tags-Views</span> + <el-switch v-model="tagsView" class="drawer-switch" /> + </div> + + <div class="drawer-item"> + <span>鍥哄畾 Header</span> + <el-switch v-model="fixedHeader" class="drawer-switch" /> + </div> + + <div class="drawer-item"> + <span>鏄剧ず Logo</span> + <el-switch v-model="sidebarLogo" class="drawer-switch" /> + </div> + + <div class="drawer-item"> + <span>鍔ㄦ�佹爣棰�</span> + <el-switch v-model="dynamicTitle" class="drawer-switch" /> + </div> + + <el-divider /> + + <el-button + size="small" + type="primary" + plain + icon="el-icon-document-add" + @click="saveSetting" + >淇濆瓨閰嶇疆</el-button + > + <el-button + size="small" + plain + icon="el-icon-refresh" + @click="resetSetting" + >閲嶇疆閰嶇疆</el-button + > + </div> + </div> + </el-drawer> +</template> + +<script> +import ThemePicker from "@/components/ThemePicker"; + +export default { + components: { ThemePicker }, + data() { + return { + theme: this.$store.state.settings.theme, + sideTheme: this.$store.state.settings.sideTheme, + }; + }, + computed: { + visible: { + get() { + return this.$store.state.settings.showSettings; + }, + }, + fixedHeader: { + get() { + return this.$store.state.settings.fixedHeader; + }, + set(val) { + this.$store.dispatch("settings/changeSetting", { + key: "fixedHeader", + value: val, + }); + }, + }, + topNav: { + get() { + return this.$store.state.settings.topNav; + }, + set(val) { + this.$store.dispatch("settings/changeSetting", { + key: "topNav", + value: val, + }); + if (!val) { + this.$store.dispatch("app/toggleSideBarHide", false); + this.$store.commit( + "SET_SIDEBAR_ROUTERS", + this.$store.state.permission.defaultRoutes + ); + } + }, + }, + tagsView: { + get() { + return this.$store.state.settings.tagsView; + }, + set(val) { + this.$store.dispatch("settings/changeSetting", { + key: "tagsView", + value: val, + }); + }, + }, + sidebarLogo: { + get() { + return this.$store.state.settings.sidebarLogo; + }, + set(val) { + this.$store.dispatch("settings/changeSetting", { + key: "sidebarLogo", + value: val, + }); + }, + }, + dynamicTitle: { + get() { + return this.$store.state.settings.dynamicTitle; + }, + set(val) { + this.$store.dispatch("settings/changeSetting", { + key: "dynamicTitle", + value: val, + }); + }, + }, + }, + methods: { + themeChange(val) { + this.$store.dispatch("settings/changeSetting", { + key: "theme", + value: val, + }); + this.theme = val; + }, + handleTheme(val) { + this.$store.dispatch("settings/changeSetting", { + key: "sideTheme", + value: val, + }); + this.sideTheme = val; + }, + saveSetting() { + this.$modal.loading("姝e湪淇濆瓨鍒版湰鍦帮紝璇风◢鍊�..."); + //瀛樺偍鏈湴鏁版嵁 + this.$cache.local.set( + "layout-setting", + `{ + "topNav":${this.topNav}, + "tagsView":${this.tagsView}, + "fixedHeader":${this.fixedHeader}, + "sidebarLogo":${this.sidebarLogo}, + "dynamicTitle":${this.dynamicTitle}, + "sideTheme":"${this.sideTheme}", + "theme":"${this.theme}" + }` + ); + setTimeout(this.$modal.closeLoading(), 1000); + }, + resetSetting() { + this.$modal.loading("姝e湪娓呴櫎璁剧疆缂撳瓨骞跺埛鏂帮紝璇风◢鍊�..."); + this.$cache.local.remove("layout-setting"); + setTimeout("window.location.reload()", 1000); + }, + }, +}; +</script> + +<style lang="scss" scoped> +.setting-drawer-content { + .setting-drawer-title { + margin-bottom: 12px; + color: rgba(0, 0, 0, 0.85); + font-size: 14px; + line-height: 22px; + font-weight: bold; + } + + .setting-drawer-block-checbox { + display: flex; + justify-content: flex-start; + align-items: center; + margin-top: 10px; + margin-bottom: 20px; + + .setting-drawer-block-checbox-item { + position: relative; + margin-right: 16px; + border-radius: 2px; + cursor: pointer; + + img { + width: 48px; + height: 48px; + } + + .setting-drawer-block-checbox-selectIcon { + position: absolute; + top: 0; + right: 0; + width: 100%; + height: 100%; + padding-top: 15px; + padding-left: 24px; + color: #1890ff; + font-weight: 700; + font-size: 14px; + } + } + } +} + +.drawer-container { + padding: 20px; + font-size: 14px; + line-height: 1.5; + word-wrap: break-word; + + .drawer-title { + margin-bottom: 12px; + color: rgba(0, 0, 0, 0.85); + font-size: 14px; + line-height: 22px; + } + + .drawer-item { + color: rgba(0, 0, 0, 0.65); + font-size: 14px; + padding: 12px 0; + } + + .drawer-switch { + float: right; + } +} +</style> diff --git a/ruoyi-ui/src/layout/components/Sidebar/FixiOSBug.js b/src/layout/components/Sidebar/FixiOSBug.js similarity index 100% rename from ruoyi-ui/src/layout/components/Sidebar/FixiOSBug.js rename to src/layout/components/Sidebar/FixiOSBug.js diff --git a/ruoyi-ui/src/layout/components/Sidebar/Item.vue b/src/layout/components/Sidebar/Item.vue similarity index 100% rename from ruoyi-ui/src/layout/components/Sidebar/Item.vue rename to src/layout/components/Sidebar/Item.vue diff --git a/ruoyi-ui/src/layout/components/Sidebar/Link.vue b/src/layout/components/Sidebar/Link.vue similarity index 100% rename from ruoyi-ui/src/layout/components/Sidebar/Link.vue rename to src/layout/components/Sidebar/Link.vue diff --git a/src/layout/components/Sidebar/Logo.vue b/src/layout/components/Sidebar/Logo.vue new file mode 100644 index 0000000..7fe6855 --- /dev/null +++ b/src/layout/components/Sidebar/Logo.vue @@ -0,0 +1,128 @@ +<template> + <div + class="sidebar-logo-container" + :class="{ collapse: collapse }" + :style="{ + backgroundColor: + sideTheme === 'theme-dark' + ? variables.menuBackground + : variables.menuLightBackground, + }" + > + <transition name="sidebarLogoFade"> + <router-link + v-if="collapse" + key="collapse" + class="sidebar-logo-link" + to="/" + > + <img v-if="logo" :src="logo" class="sidebar-logo" /> + <h1 + v-else + class="sidebar-title" + :style="{ + color: + sideTheme === 'theme-dark' + ? variables.logoTitleColor + : variables.logoLightTitleColor, + }" + > + {{ title }} + </h1> + </router-link> + <router-link v-else key="expand" class="sidebar-logo-link" to="/"> + <img v-if="logo" :src="logo" class="sidebar-logo" /> + <h1 + class="sidebar-title" + :style="{ + color: + sideTheme === 'theme-dark' + ? variables.logoTitleColor + : variables.logoLightTitleColor, + }" + > + {{ title }} + </h1> + </router-link> + </transition> + </div> +</template> + +<script> +import logoImg from "@/assets/logo/logo.png"; +import variables from "@/assets/styles/variables.scss"; + +export default { + name: "SidebarLogo", + props: { + collapse: { + type: Boolean, + required: true, + }, + }, + computed: { + variables() { + return variables; + }, + sideTheme() { + return this.$store.state.settings.sideTheme; + }, + }, + data() { + return { + title: "鏅烘収闅忚绠$悊绯荤粺", + logo: logoImg, + }; + }, +}; +</script> + +<style lang="scss" scoped> +.sidebarLogoFade-enter-active { + transition: opacity 1.5s; +} + +.sidebarLogoFade-enter, +.sidebarLogoFade-leave-to { + opacity: 0; +} + +.sidebar-logo-container { + position: relative; + width: 100%; + height: 50px; + line-height: 50px; + background: #2b2f3a; + text-align: center; + overflow: hidden; + + & .sidebar-logo-link { + height: 100%; + width: 100%; + + & .sidebar-logo { + width: 32px; + height: 32px; + vertical-align: middle; + margin-right: 12px; + } + + & .sidebar-title { + display: inline-block; + margin: 0; + color: #fff; + font-weight: 600; + line-height: 50px; + font-size: 14px; + font-family: Avenir, Helvetica Neue, Arial, Helvetica, sans-serif; + vertical-align: middle; + } + } + + &.collapse { + .sidebar-logo { + margin-right: 0px; + } + } +} +</style> diff --git a/ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue similarity index 100% rename from ruoyi-ui/src/layout/components/Sidebar/SidebarItem.vue rename to src/layout/components/Sidebar/SidebarItem.vue diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue new file mode 100644 index 0000000..f6adb6b --- /dev/null +++ b/src/layout/components/Sidebar/index.vue @@ -0,0 +1,79 @@ +<template> + <div + :class="{ 'has-logo': showLogo }" + :style="{ + backgroundColor: + settings.sideTheme === 'theme-dark' + ? variables.menuBackground + : variables.menuLightBackground, + }" + > + <logo v-if="showLogo" :collapse="isCollapse" /> + <el-scrollbar :class="settings.sideTheme" wrap-class="scrollbar-wrapper"> + <el-menu + :default-active="activeMenu" + :collapse="isCollapse" + :background-color=" + settings.sideTheme === 'theme-dark' + ? variables.menuBackground + : variables.menuLightBackground + " + :text-color=" + settings.sideTheme === 'theme-dark' + ? variables.menuColor + : variables.menuLightColor + " + :unique-opened="true" + :active-text-color="variables.menuActiveText" + :collapse-transition="false" + mode="vertical" + > + <sidebar-item + v-for="(route, index) in sidebarRouters" + :key="route.path + index" + :item="route" + :base-path="route.path" + /> + </el-menu> + </el-scrollbar> + </div> +</template> + +<script> +import { mapGetters, mapState } from "vuex"; +import Logo from "./Logo"; +import SidebarItem from "./SidebarItem"; +import variables from "@/assets/styles/variables.scss"; + +export default { + components: { SidebarItem, Logo }, + computed: { + ...mapState(["settings"]), + ...mapGetters(["sidebarRouters", "sidebar"]), + activeMenu() { + const route = this.$route; + const { meta, path } = route; + // if set path, the sidebar will highlight the path you set + if (meta.activeMenu) { + return meta.activeMenu; + } + return path; + }, + showLogo() { + return this.$store.state.settings.sidebarLogo; + }, + variables() { + return variables; + }, + isCollapse() { + return !this.sidebar.opened; + }, + }, +}; +</script> + +<style lang="scss" scoped> +.el-menu-demo { + font-size: 28px; +} +</style> diff --git a/ruoyi-ui/src/layout/components/TagsView/ScrollPane.vue b/src/layout/components/TagsView/ScrollPane.vue similarity index 100% rename from ruoyi-ui/src/layout/components/TagsView/ScrollPane.vue rename to src/layout/components/TagsView/ScrollPane.vue diff --git a/ruoyi-ui/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue similarity index 100% rename from ruoyi-ui/src/layout/components/TagsView/index.vue rename to src/layout/components/TagsView/index.vue diff --git a/ruoyi-ui/src/layout/components/index.js b/src/layout/components/index.js similarity index 100% rename from ruoyi-ui/src/layout/components/index.js rename to src/layout/components/index.js diff --git a/ruoyi-ui/src/layout/index.vue b/src/layout/index.vue similarity index 100% rename from ruoyi-ui/src/layout/index.vue rename to src/layout/index.vue diff --git a/ruoyi-ui/src/layout/mixin/ResizeHandler.js b/src/layout/mixin/ResizeHandler.js similarity index 100% rename from ruoyi-ui/src/layout/mixin/ResizeHandler.js rename to src/layout/mixin/ResizeHandler.js diff --git a/ruoyi-ui/src/main.js b/src/main.js similarity index 100% rename from ruoyi-ui/src/main.js rename to src/main.js diff --git a/ruoyi-ui/src/permission.js b/src/permission.js similarity index 100% rename from ruoyi-ui/src/permission.js rename to src/permission.js diff --git a/ruoyi-ui/src/plugins/auth.js b/src/plugins/auth.js similarity index 100% rename from ruoyi-ui/src/plugins/auth.js rename to src/plugins/auth.js diff --git a/ruoyi-ui/src/plugins/cache.js b/src/plugins/cache.js similarity index 100% rename from ruoyi-ui/src/plugins/cache.js rename to src/plugins/cache.js diff --git a/ruoyi-ui/src/plugins/download.js b/src/plugins/download.js similarity index 100% rename from ruoyi-ui/src/plugins/download.js rename to src/plugins/download.js diff --git a/ruoyi-ui/src/plugins/index.js b/src/plugins/index.js similarity index 100% rename from ruoyi-ui/src/plugins/index.js rename to src/plugins/index.js diff --git a/ruoyi-ui/src/plugins/modal.js b/src/plugins/modal.js similarity index 100% rename from ruoyi-ui/src/plugins/modal.js rename to src/plugins/modal.js diff --git a/ruoyi-ui/src/plugins/tab.js b/src/plugins/tab.js similarity index 100% rename from ruoyi-ui/src/plugins/tab.js rename to src/plugins/tab.js diff --git a/ruoyi-ui/src/router/index.js b/src/router/index.js similarity index 100% rename from ruoyi-ui/src/router/index.js rename to src/router/index.js diff --git a/ruoyi-ui/src/settings.js b/src/settings.js similarity index 100% rename from ruoyi-ui/src/settings.js rename to src/settings.js diff --git a/ruoyi-ui/src/smartor/components/dataview/xformview/xformview.vue b/src/smartor/components/dataview/xformview/xformview.vue similarity index 100% rename from ruoyi-ui/src/smartor/components/dataview/xformview/xformview.vue rename to src/smartor/components/dataview/xformview/xformview.vue diff --git a/ruoyi-ui/src/smartor/components/dataview/xgridview/xgridview.vue b/src/smartor/components/dataview/xgridview/xgridview.vue similarity index 100% rename from ruoyi-ui/src/smartor/components/dataview/xgridview/xgridview.vue rename to src/smartor/components/dataview/xgridview/xgridview.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patarchive_base.vue b/src/smartor/dataobject/dw_patarchive_base.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patarchive_base.vue rename to src/smartor/dataobject/dw_patarchive_base.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue b/src/smartor/dataobject/dw_patarchive_list.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patarchive_list.vue rename to src/smartor/dataobject/dw_patarchive_list.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patinhosp_base.vue b/src/smartor/dataobject/dw_patinhosp_base.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patinhosp_base.vue rename to src/smartor/dataobject/dw_patinhosp_base.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patinhosp_list.vue b/src/smartor/dataobject/dw_patinhosp_list.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patinhosp_list.vue rename to src/smartor/dataobject/dw_patinhosp_list.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patouthosp_base.vue b/src/smartor/dataobject/dw_patouthosp_base.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patouthosp_base.vue rename to src/smartor/dataobject/dw_patouthosp_base.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_patouthosp_list.vue b/src/smartor/dataobject/dw_patouthosp_list.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_patouthosp_list.vue rename to src/smartor/dataobject/dw_patouthosp_list.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopic_maint.vue b/src/smartor/dataobject/dw_svytopic_maint.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_svytopic_maint.vue rename to src/smartor/dataobject/dw_svytopic_maint.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopic_view.vue b/src/smartor/dataobject/dw_svytopic_view.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_svytopic_view.vue rename to src/smartor/dataobject/dw_svytopic_view.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue b/src/smartor/dataobject/dw_svytopicoption_list.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_list.vue rename to src/smartor/dataobject/dw_svytopicoption_list.vue diff --git a/ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue b/src/smartor/dataobject/dw_svytopicoption_maint.vue similarity index 100% rename from ruoyi-ui/src/smartor/dataobject/dw_svytopicoption_maint.vue rename to src/smartor/dataobject/dw_svytopicoption_maint.vue diff --git a/ruoyi-ui/src/store/getters.js b/src/store/getters.js similarity index 100% rename from ruoyi-ui/src/store/getters.js rename to src/store/getters.js diff --git a/ruoyi-ui/src/store/index.js b/src/store/index.js similarity index 100% rename from ruoyi-ui/src/store/index.js rename to src/store/index.js diff --git a/ruoyi-ui/src/store/modules/app.js b/src/store/modules/app.js similarity index 100% rename from ruoyi-ui/src/store/modules/app.js rename to src/store/modules/app.js diff --git a/ruoyi-ui/src/store/modules/dict.js b/src/store/modules/dict.js similarity index 100% rename from ruoyi-ui/src/store/modules/dict.js rename to src/store/modules/dict.js diff --git a/ruoyi-ui/src/store/modules/permission.js b/src/store/modules/permission.js similarity index 100% rename from ruoyi-ui/src/store/modules/permission.js rename to src/store/modules/permission.js diff --git a/ruoyi-ui/src/store/modules/settings.js b/src/store/modules/settings.js similarity index 100% rename from ruoyi-ui/src/store/modules/settings.js rename to src/store/modules/settings.js diff --git a/ruoyi-ui/src/store/modules/tagsView.js b/src/store/modules/tagsView.js similarity index 100% rename from ruoyi-ui/src/store/modules/tagsView.js rename to src/store/modules/tagsView.js diff --git a/ruoyi-ui/src/store/modules/user.js b/src/store/modules/user.js similarity index 100% rename from ruoyi-ui/src/store/modules/user.js rename to src/store/modules/user.js diff --git a/ruoyi-ui/src/utils/auth.js b/src/utils/auth.js similarity index 100% rename from ruoyi-ui/src/utils/auth.js rename to src/utils/auth.js diff --git a/ruoyi-ui/src/utils/dict/Dict.js b/src/utils/dict/Dict.js similarity index 100% rename from ruoyi-ui/src/utils/dict/Dict.js rename to src/utils/dict/Dict.js diff --git a/ruoyi-ui/src/utils/dict/DictConverter.js b/src/utils/dict/DictConverter.js similarity index 100% rename from ruoyi-ui/src/utils/dict/DictConverter.js rename to src/utils/dict/DictConverter.js diff --git a/ruoyi-ui/src/utils/dict/DictData.js b/src/utils/dict/DictData.js similarity index 100% rename from ruoyi-ui/src/utils/dict/DictData.js rename to src/utils/dict/DictData.js diff --git a/ruoyi-ui/src/utils/dict/DictMeta.js b/src/utils/dict/DictMeta.js similarity index 100% rename from ruoyi-ui/src/utils/dict/DictMeta.js rename to src/utils/dict/DictMeta.js diff --git a/ruoyi-ui/src/utils/dict/DictOptions.js b/src/utils/dict/DictOptions.js similarity index 100% rename from ruoyi-ui/src/utils/dict/DictOptions.js rename to src/utils/dict/DictOptions.js diff --git a/ruoyi-ui/src/utils/dict/index.js b/src/utils/dict/index.js similarity index 100% rename from ruoyi-ui/src/utils/dict/index.js rename to src/utils/dict/index.js diff --git a/ruoyi-ui/src/utils/errorCode.js b/src/utils/errorCode.js similarity index 100% rename from ruoyi-ui/src/utils/errorCode.js rename to src/utils/errorCode.js diff --git a/ruoyi-ui/src/utils/generator/config.js b/src/utils/generator/config.js similarity index 100% rename from ruoyi-ui/src/utils/generator/config.js rename to src/utils/generator/config.js diff --git a/ruoyi-ui/src/utils/generator/css.js b/src/utils/generator/css.js similarity index 100% rename from ruoyi-ui/src/utils/generator/css.js rename to src/utils/generator/css.js diff --git a/ruoyi-ui/src/utils/generator/drawingDefault.js b/src/utils/generator/drawingDefault.js similarity index 100% rename from ruoyi-ui/src/utils/generator/drawingDefault.js rename to src/utils/generator/drawingDefault.js diff --git a/ruoyi-ui/src/utils/generator/html.js b/src/utils/generator/html.js similarity index 100% rename from ruoyi-ui/src/utils/generator/html.js rename to src/utils/generator/html.js diff --git a/ruoyi-ui/src/utils/generator/icon.json b/src/utils/generator/icon.json similarity index 100% rename from ruoyi-ui/src/utils/generator/icon.json rename to src/utils/generator/icon.json diff --git a/ruoyi-ui/src/utils/generator/js.js b/src/utils/generator/js.js similarity index 100% rename from ruoyi-ui/src/utils/generator/js.js rename to src/utils/generator/js.js diff --git a/ruoyi-ui/src/utils/generator/render.js b/src/utils/generator/render.js similarity index 100% rename from ruoyi-ui/src/utils/generator/render.js rename to src/utils/generator/render.js diff --git a/ruoyi-ui/src/utils/index.js b/src/utils/index.js similarity index 100% rename from ruoyi-ui/src/utils/index.js rename to src/utils/index.js diff --git a/ruoyi-ui/src/utils/jsencrypt.js b/src/utils/jsencrypt.js similarity index 100% rename from ruoyi-ui/src/utils/jsencrypt.js rename to src/utils/jsencrypt.js diff --git a/ruoyi-ui/src/utils/permission.js b/src/utils/permission.js similarity index 100% rename from ruoyi-ui/src/utils/permission.js rename to src/utils/permission.js diff --git a/ruoyi-ui/src/utils/request.js b/src/utils/request.js similarity index 100% rename from ruoyi-ui/src/utils/request.js rename to src/utils/request.js diff --git a/ruoyi-ui/src/utils/ruoyi.js b/src/utils/ruoyi.js similarity index 100% rename from ruoyi-ui/src/utils/ruoyi.js rename to src/utils/ruoyi.js diff --git a/ruoyi-ui/src/utils/scroll-to.js b/src/utils/scroll-to.js similarity index 100% rename from ruoyi-ui/src/utils/scroll-to.js rename to src/utils/scroll-to.js diff --git a/ruoyi-ui/src/utils/validate.js b/src/utils/validate.js similarity index 100% rename from ruoyi-ui/src/utils/validate.js rename to src/utils/validate.js diff --git a/ruoyi-ui/src/views/components/icons/element-icons.js b/src/views/components/icons/element-icons.js similarity index 100% rename from ruoyi-ui/src/views/components/icons/element-icons.js rename to src/views/components/icons/element-icons.js diff --git a/ruoyi-ui/src/views/components/icons/index.vue b/src/views/components/icons/index.vue similarity index 100% rename from ruoyi-ui/src/views/components/icons/index.vue rename to src/views/components/icons/index.vue diff --git a/ruoyi-ui/src/views/components/icons/svg-icons.js b/src/views/components/icons/svg-icons.js similarity index 100% rename from ruoyi-ui/src/views/components/icons/svg-icons.js rename to src/views/components/icons/svg-icons.js diff --git a/ruoyi-ui/src/views/dashboard/BarChart.vue b/src/views/dashboard/BarChart.vue similarity index 100% rename from ruoyi-ui/src/views/dashboard/BarChart.vue rename to src/views/dashboard/BarChart.vue diff --git a/ruoyi-ui/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue similarity index 100% rename from ruoyi-ui/src/views/dashboard/LineChart.vue rename to src/views/dashboard/LineChart.vue diff --git a/ruoyi-ui/src/views/dashboard/PanelGroup.vue b/src/views/dashboard/PanelGroup.vue similarity index 100% rename from ruoyi-ui/src/views/dashboard/PanelGroup.vue rename to src/views/dashboard/PanelGroup.vue diff --git a/ruoyi-ui/src/views/dashboard/PieChart.vue b/src/views/dashboard/PieChart.vue similarity index 100% rename from ruoyi-ui/src/views/dashboard/PieChart.vue rename to src/views/dashboard/PieChart.vue diff --git a/ruoyi-ui/src/views/dashboard/RaddarChart.vue b/src/views/dashboard/RaddarChart.vue similarity index 100% rename from ruoyi-ui/src/views/dashboard/RaddarChart.vue rename to src/views/dashboard/RaddarChart.vue diff --git a/ruoyi-ui/src/views/dashboard/mixins/resize.js b/src/views/dashboard/mixins/resize.js similarity index 100% rename from ruoyi-ui/src/views/dashboard/mixins/resize.js rename to src/views/dashboard/mixins/resize.js diff --git a/ruoyi-ui/src/views/error/401.vue b/src/views/error/401.vue similarity index 100% rename from ruoyi-ui/src/views/error/401.vue rename to src/views/error/401.vue diff --git a/ruoyi-ui/src/views/error/404.vue b/src/views/error/404.vue similarity index 100% rename from ruoyi-ui/src/views/error/404.vue rename to src/views/error/404.vue diff --git a/ruoyi-ui/src/views/index.vue b/src/views/index.vue similarity index 100% rename from ruoyi-ui/src/views/index.vue rename to src/views/index.vue diff --git a/ruoyi-ui/src/views/index_v1.vue b/src/views/index_v1.vue similarity index 100% rename from ruoyi-ui/src/views/index_v1.vue rename to src/views/index_v1.vue diff --git a/ruoyi-ui/src/views/login.vue b/src/views/login.vue similarity index 67% rename from ruoyi-ui/src/views/login.vue rename to src/views/login.vue index 7e54a6c..6402807 100644 --- a/ruoyi-ui/src/views/login.vue +++ b/src/views/login.vue @@ -1,6 +1,11 @@ <template> <div class="login"> - <el-form ref="loginForm" :model="loginForm" :rules="loginRules" class="login-form"> + <el-form + ref="loginForm" + :model="loginForm" + :rules="loginRules" + class="login-form" + > <h3 class="title">鏅烘収闅忚绠$悊绯荤粺</h3> <el-form-item prop="username"> <el-input @@ -9,7 +14,11 @@ auto-complete="off" placeholder="璐﹀彿" > - <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="user" + class="el-input__icon input-icon" + /> </el-input> </el-form-item> <el-form-item prop="password"> @@ -20,7 +29,11 @@ placeholder="瀵嗙爜" @keyup.enter.native="handleLogin" > - <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="password" + class="el-input__icon input-icon" + /> </el-input> </el-form-item> <el-form-item prop="code" v-if="captchaEnabled"> @@ -31,26 +44,36 @@ style="width: 63%" @keyup.enter.native="handleLogin" > - <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="validCode" + class="el-input__icon input-icon" + /> </el-input> <div class="login-code"> - <img :src="codeUrl" @click="getCode" class="login-code-img"/> + <img :src="codeUrl" @click="getCode" class="login-code-img" /> </div> </el-form-item> - <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">璁颁綇瀵嗙爜</el-checkbox> - <el-form-item style="width:100%;"> + <el-checkbox + v-model="loginForm.rememberMe" + style="margin: 0px 0px 25px 0px" + >璁颁綇瀵嗙爜</el-checkbox + > + <el-form-item style="width: 100%"> <el-button :loading="loading" size="medium" type="primary" - style="width:100%;" + style="width: 100%" @click.native.prevent="handleLogin" > <span v-if="!loading">鐧� 褰�</span> <span v-else>鐧� 褰� 涓�...</span> </el-button> - <div style="float: right;" v-if="register"> - <router-link class="link-type" :to="'/register'">绔嬪嵆娉ㄥ唽1</router-link> + <div style="float: right" v-if="register"> + <router-link class="link-type" :to="'/register'" + >绔嬪嵆娉ㄥ唽1</router-link + > </div> </el-form-item> </el-form> @@ -64,7 +87,7 @@ <script> import { getCodeImg } from "@/api/login"; import Cookies from "js-cookie"; -import { encrypt, decrypt } from '@/utils/jsencrypt' +import { encrypt, decrypt } from "@/utils/jsencrypt"; export default { name: "Login", @@ -76,32 +99,32 @@ password: "admin123", rememberMe: false, code: "", - uuid: "" + uuid: "", }, loginRules: { username: [ - { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" } + { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" }, ], password: [ - { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" } + { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" }, ], - code: [{ required: true, trigger: "change", message: "璇疯緭鍏ラ獙璇佺爜" }] + code: [{ required: true, trigger: "change", message: "璇疯緭鍏ラ獙璇佺爜" }], }, loading: false, // 楠岃瘉鐮佸紑鍏� captchaEnabled: true, // 娉ㄥ唽寮�鍏� register: false, - redirect: undefined + redirect: undefined, }; }, watch: { $route: { - handler: function(route) { + handler: function (route) { this.redirect = route.query && route.query.redirect; }, - immediate: true - } + immediate: true, + }, }, created() { this.getCode(); @@ -109,8 +132,9 @@ }, methods: { getCode() { - getCodeImg().then(res => { - this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; + getCodeImg().then((res) => { + this.captchaEnabled = + res.captchaEnabled === undefined ? true : res.captchaEnabled; if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.img; this.loginForm.uuid = res.uuid; @@ -120,38 +144,46 @@ getCookie() { const username = Cookies.get("username"); const password = Cookies.get("password"); - const rememberMe = Cookies.get('rememberMe') + const rememberMe = Cookies.get("rememberMe"); this.loginForm = { username: username === undefined ? this.loginForm.username : username, - password: password === undefined ? this.loginForm.password : decrypt(password), - rememberMe: rememberMe === undefined ? false : Boolean(rememberMe) + password: + password === undefined ? this.loginForm.password : decrypt(password), + rememberMe: rememberMe === undefined ? false : Boolean(rememberMe), }; }, handleLogin() { - this.$refs.loginForm.validate(valid => { + this.$refs.loginForm.validate((valid) => { if (valid) { this.loading = true; if (this.loginForm.rememberMe) { Cookies.set("username", this.loginForm.username, { expires: 30 }); - Cookies.set("password", encrypt(this.loginForm.password), { expires: 30 }); - Cookies.set('rememberMe', this.loginForm.rememberMe, { expires: 30 }); + Cookies.set("password", encrypt(this.loginForm.password), { + expires: 30, + }); + Cookies.set("rememberMe", this.loginForm.rememberMe, { + expires: 30, + }); } else { Cookies.remove("username"); Cookies.remove("password"); - Cookies.remove('rememberMe'); + Cookies.remove("rememberMe"); } - this.$store.dispatch("Login", this.loginForm).then(() => { - this.$router.push({ path: this.redirect || "/" }).catch(()=>{}); - }).catch(() => { - this.loading = false; - if (this.captchaEnabled) { - this.getCode(); - } - }); + this.$store + .dispatch("Login", this.loginForm) + .then(() => { + this.$router.push({ path: this.redirect || "/" }).catch(() => {}); + }) + .catch(() => { + this.loading = false; + if (this.captchaEnabled) { + this.getCode(); + } + }); } }); - } - } + }, + }, }; </script> diff --git a/ruoyi-ui/src/views/monitor/cache/index.vue b/src/views/monitor/cache/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/cache/index.vue rename to src/views/monitor/cache/index.vue diff --git a/ruoyi-ui/src/views/monitor/cache/list.vue b/src/views/monitor/cache/list.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/cache/list.vue rename to src/views/monitor/cache/list.vue diff --git a/ruoyi-ui/src/views/monitor/druid/index.vue b/src/views/monitor/druid/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/druid/index.vue rename to src/views/monitor/druid/index.vue diff --git a/ruoyi-ui/src/views/monitor/job/index.vue b/src/views/monitor/job/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/job/index.vue rename to src/views/monitor/job/index.vue diff --git a/ruoyi-ui/src/views/monitor/job/log.vue b/src/views/monitor/job/log.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/job/log.vue rename to src/views/monitor/job/log.vue diff --git a/ruoyi-ui/src/views/monitor/logininfor/index.vue b/src/views/monitor/logininfor/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/logininfor/index.vue rename to src/views/monitor/logininfor/index.vue diff --git a/ruoyi-ui/src/views/monitor/online/index.vue b/src/views/monitor/online/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/online/index.vue rename to src/views/monitor/online/index.vue diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/src/views/monitor/operlog/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/operlog/index.vue rename to src/views/monitor/operlog/index.vue diff --git a/ruoyi-ui/src/views/monitor/server/index.vue b/src/views/monitor/server/index.vue similarity index 100% rename from ruoyi-ui/src/views/monitor/server/index.vue rename to src/views/monitor/server/index.vue diff --git a/ruoyi-ui/src/views/redirect.vue b/src/views/redirect.vue similarity index 100% rename from ruoyi-ui/src/views/redirect.vue rename to src/views/redirect.vue diff --git a/ruoyi-ui/src/views/register.vue b/src/views/register.vue similarity index 62% rename from ruoyi-ui/src/views/register.vue rename to src/views/register.vue index 28a181a..5530e9a 100644 --- a/ruoyi-ui/src/views/register.vue +++ b/src/views/register.vue @@ -1,10 +1,24 @@ <template> <div class="register"> - <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form"> + <el-form + ref="registerForm" + :model="registerForm" + :rules="registerRules" + class="register-form" + > <h3 class="title">鏅烘収闅忚绠$悊绯荤粺</h3> <el-form-item prop="username"> - <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="璐﹀彿"> - <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" /> + <el-input + v-model="registerForm.username" + type="text" + auto-complete="off" + placeholder="璐﹀彿" + > + <svg-icon + slot="prefix" + icon-class="user" + class="el-input__icon input-icon" + /> </el-input> </el-form-item> <el-form-item prop="password"> @@ -15,7 +29,11 @@ placeholder="瀵嗙爜" @keyup.enter.native="handleRegister" > - <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="password" + class="el-input__icon input-icon" + /> </el-input> </el-form-item> <el-form-item prop="confirmPassword"> @@ -26,7 +44,11 @@ placeholder="纭瀵嗙爜" @keyup.enter.native="handleRegister" > - <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="password" + class="el-input__icon input-icon" + /> </el-input> </el-form-item> <el-form-item prop="code" v-if="captchaEnabled"> @@ -37,25 +59,31 @@ style="width: 63%" @keyup.enter.native="handleRegister" > - <svg-icon slot="prefix" icon-class="validCode" class="el-input__icon input-icon" /> + <svg-icon + slot="prefix" + icon-class="validCode" + class="el-input__icon input-icon" + /> </el-input> <div class="register-code"> - <img :src="codeUrl" @click="getCode" class="register-code-img"/> + <img :src="codeUrl" @click="getCode" class="register-code-img" /> </div> </el-form-item> - <el-form-item style="width:100%;"> + <el-form-item style="width: 100%"> <el-button :loading="loading" size="medium" type="primary" - style="width:100%;" + style="width: 100%" @click.native.prevent="handleRegister" > <span v-if="!loading">娉� 鍐�</span> <span v-else>娉� 鍐� 涓�...</span> </el-button> - <div style="float: right;"> - <router-link class="link-type" :to="'/login'">浣跨敤宸叉湁璐︽埛鐧诲綍</router-link> + <div style="float: right"> + <router-link class="link-type" :to="'/login'" + >浣跨敤宸叉湁璐︽埛鐧诲綍</router-link + > </div> </el-form-item> </el-form> @@ -86,25 +114,35 @@ password: "", confirmPassword: "", code: "", - uuid: "" + uuid: "", }, registerRules: { username: [ { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勮处鍙�" }, - { min: 2, max: 20, message: '鐢ㄦ埛璐﹀彿闀垮害蹇呴』浠嬩簬 2 鍜� 20 涔嬮棿', trigger: 'blur' } + { + min: 2, + max: 20, + message: "鐢ㄦ埛璐﹀彿闀垮害蹇呴』浠嬩簬 2 鍜� 20 涔嬮棿", + trigger: "blur", + }, ], password: [ { required: true, trigger: "blur", message: "璇疯緭鍏ユ偍鐨勫瘑鐮�" }, - { min: 5, max: 20, message: '鐢ㄦ埛瀵嗙爜闀垮害蹇呴』浠嬩簬 5 鍜� 20 涔嬮棿', trigger: 'blur' } + { + min: 5, + max: 20, + message: "鐢ㄦ埛瀵嗙爜闀垮害蹇呴』浠嬩簬 5 鍜� 20 涔嬮棿", + trigger: "blur", + }, ], confirmPassword: [ { required: true, trigger: "blur", message: "璇峰啀娆¤緭鍏ユ偍鐨勫瘑鐮�" }, - { required: true, validator: equalToPassword, trigger: "blur" } + { required: true, validator: equalToPassword, trigger: "blur" }, ], - code: [{ required: true, trigger: "change", message: "璇疯緭鍏ラ獙璇佺爜" }] + code: [{ required: true, trigger: "change", message: "璇疯緭鍏ラ獙璇佺爜" }], }, loading: false, - captchaEnabled: true + captchaEnabled: true, }; }, created() { @@ -112,8 +150,9 @@ }, methods: { getCode() { - getCodeImg().then(res => { - this.captchaEnabled = res.captchaEnabled === undefined ? true : res.captchaEnabled; + getCodeImg().then((res) => { + this.captchaEnabled = + res.captchaEnabled === undefined ? true : res.captchaEnabled; if (this.captchaEnabled) { this.codeUrl = "data:image/gif;base64," + res.img; this.registerForm.uuid = res.uuid; @@ -121,27 +160,37 @@ }); }, handleRegister() { - this.$refs.registerForm.validate(valid => { + this.$refs.registerForm.validate((valid) => { if (valid) { this.loading = true; - register(this.registerForm).then(res => { - const username = this.registerForm.username; - this.$alert("<font color='red'>鎭枩浣狅紝鎮ㄧ殑璐﹀彿 " + username + " 娉ㄥ唽鎴愬姛锛�</font>", '绯荤粺鎻愮ず', { - dangerouslyUseHTMLString: true, - type: 'success' - }).then(() => { - this.$router.push("/login"); - }).catch(() => {}); - }).catch(() => { - this.loading = false; - if (this.captchaEnabled) { - this.getCode(); - } - }) + register(this.registerForm) + .then((res) => { + const username = this.registerForm.username; + this.$alert( + "<font color='red'>鎭枩浣狅紝鎮ㄧ殑璐﹀彿 " + + username + + " 娉ㄥ唽鎴愬姛锛�</font>", + "绯荤粺鎻愮ず", + { + dangerouslyUseHTMLString: true, + type: "success", + } + ) + .then(() => { + this.$router.push("/login"); + }) + .catch(() => {}); + }) + .catch(() => { + this.loading = false; + if (this.captchaEnabled) { + this.getCode(); + } + }); } }); - } - } + }, + }, }; </script> diff --git a/ruoyi-ui/src/views/smartor/hecategory/index.vue b/src/views/smartor/hecategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/hecategory/index.vue rename to src/views/smartor/hecategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/helibrary/index.vue b/src/views/smartor/helibrary/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/helibrary/index.vue rename to src/views/smartor/helibrary/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrexecuteconfig/index.vue b/src/views/smartor/ivrexecuteconfig/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrexecuteconfig/index.vue rename to src/views/smartor/ivrexecuteconfig/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrextemplate/index.vue b/src/views/smartor/ivrextemplate/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrextemplate/index.vue rename to src/views/smartor/ivrextemplate/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrextemplatescript/index.vue b/src/views/smartor/ivrextemplatescript/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrextemplatescript/index.vue rename to src/views/smartor/ivrextemplatescript/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrflow/index.vue b/src/views/smartor/ivrflow/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrflow/index.vue rename to src/views/smartor/ivrflow/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrflownode/index.vue b/src/views/smartor/ivrflownode/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrflownode/index.vue rename to src/views/smartor/ivrflownode/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrflownodebranch/index.vue b/src/views/smartor/ivrflownodebranch/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrflownodebranch/index.vue rename to src/views/smartor/ivrflownodebranch/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrglobalconfig/index.vue b/src/views/smartor/ivrglobalconfig/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrglobalconfig/index.vue rename to src/views/smartor/ivrglobalconfig/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrintent/index.vue b/src/views/smartor/ivrintent/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrintent/index.vue rename to src/views/smartor/ivrintent/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibascript/index.vue b/src/views/smartor/ivrlibascript/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibascript/index.vue rename to src/views/smartor/ivrlibascript/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibintent/index.vue b/src/views/smartor/ivrlibintent/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibintent/index.vue rename to src/views/smartor/ivrlibintent/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibintentcategory/index.vue b/src/views/smartor/ivrlibintentcategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibintentcategory/index.vue rename to src/views/smartor/ivrlibintentcategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibscript/index.vue b/src/views/smartor/ivrlibscript/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibscript/index.vue rename to src/views/smartor/ivrlibscript/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibscriptcategory/index.vue b/src/views/smartor/ivrlibscriptcategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibscriptcategory/index.vue rename to src/views/smartor/ivrlibscriptcategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrlibscriptmodel/index.vue b/src/views/smartor/ivrlibscriptmodel/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrlibscriptmodel/index.vue rename to src/views/smartor/ivrlibscriptmodel/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrquestionlib/QuestionMaint.vue b/src/views/smartor/ivrquestionlib/QuestionMaint.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrquestionlib/QuestionMaint.vue rename to src/views/smartor/ivrquestionlib/QuestionMaint.vue diff --git a/ruoyi-ui/src/views/smartor/ivrrecall/index.vue b/src/views/smartor/ivrrecall/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrrecall/index.vue rename to src/views/smartor/ivrrecall/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrscene/index.vue b/src/views/smartor/ivrscene/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrscene/index.vue rename to src/views/smartor/ivrscene/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrscenecategory/index.vue b/src/views/smartor/ivrscenecategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrscenecategory/index.vue rename to src/views/smartor/ivrscenecategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrscript/index.vue b/src/views/smartor/ivrscript/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrscript/index.vue rename to src/views/smartor/ivrscript/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrscriptmodel/index.vue b/src/views/smartor/ivrscriptmodel/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrscriptmodel/index.vue rename to src/views/smartor/ivrscriptmodel/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrscripttarget/index.vue b/src/views/smartor/ivrscripttarget/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrscripttarget/index.vue rename to src/views/smartor/ivrscripttarget/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtarget/index.vue b/src/views/smartor/ivrtarget/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtarget/index.vue rename to src/views/smartor/ivrtarget/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtask/index.vue b/src/views/smartor/ivrtask/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtask/index.vue rename to src/views/smartor/ivrtask/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtaskcall/index.vue b/src/views/smartor/ivrtaskcall/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtaskcall/index.vue rename to src/views/smartor/ivrtaskcall/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtaskcalldetail/index.vue b/src/views/smartor/ivrtaskcalldetail/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtaskcalldetail/index.vue rename to src/views/smartor/ivrtaskcalldetail/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtaskcallrecord/index.vue b/src/views/smartor/ivrtaskcallrecord/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtaskcallrecord/index.vue rename to src/views/smartor/ivrtaskcallrecord/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtasksms/index.vue b/src/views/smartor/ivrtasksms/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtasksms/index.vue rename to src/views/smartor/ivrtasksms/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtemplate/index.vue b/src/views/smartor/ivrtemplate/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtemplate/index.vue rename to src/views/smartor/ivrtemplate/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtemplatescript/index.vue b/src/views/smartor/ivrtemplatescript/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtemplatescript/index.vue rename to src/views/smartor/ivrtemplatescript/index.vue diff --git a/ruoyi-ui/src/views/smartor/ivrtemplatetarget/index.vue b/src/views/smartor/ivrtemplatetarget/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/ivrtemplatetarget/index.vue rename to src/views/smartor/ivrtemplatetarget/index.vue diff --git a/ruoyi-ui/src/views/smartor/patarchive/index.vue b/src/views/smartor/patarchive/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/patarchive/index.vue rename to src/views/smartor/patarchive/index.vue diff --git a/ruoyi-ui/src/views/smartor/patarchive/index0.vue b/src/views/smartor/patarchive/index0.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/patarchive/index0.vue rename to src/views/smartor/patarchive/index0.vue diff --git a/ruoyi-ui/src/views/smartor/patinhosp/index.vue b/src/views/smartor/patinhosp/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/patinhosp/index.vue rename to src/views/smartor/patinhosp/index.vue diff --git a/ruoyi-ui/src/views/smartor/patouthosp/index.vue b/src/views/smartor/patouthosp/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/patouthosp/index.vue rename to src/views/smartor/patouthosp/index.vue diff --git a/ruoyi-ui/src/views/smartor/patphysical/index.vue b/src/views/smartor/patphysical/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/patphysical/index.vue rename to src/views/smartor/patphysical/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemeautofinshrule/index.vue b/src/views/smartor/schemeautofinshrule/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemeautofinshrule/index.vue rename to src/views/smartor/schemeautofinshrule/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemecalldetail/index.vue b/src/views/smartor/schemecalldetail/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemecalldetail/index.vue rename to src/views/smartor/schemecalldetail/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemecategory/index.vue b/src/views/smartor/schemecategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemecategory/index.vue rename to src/views/smartor/schemecategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemelibrary/index.vue b/src/views/smartor/schemelibrary/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemelibrary/index.vue rename to src/views/smartor/schemelibrary/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemeplan/index.vue b/src/views/smartor/schemeplan/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemeplan/index.vue rename to src/views/smartor/schemeplan/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetask/index.vue b/src/views/smartor/schemetask/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetask/index.vue rename to src/views/smartor/schemetask/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetaskconfig/index.vue b/src/views/smartor/schemetaskconfig/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetaskconfig/index.vue rename to src/views/smartor/schemetaskconfig/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetaskrecord/index.vue b/src/views/smartor/schemetaskrecord/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetaskrecord/index.vue rename to src/views/smartor/schemetaskrecord/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetaskrepeatconfig/index.vue b/src/views/smartor/schemetaskrepeatconfig/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetaskrepeatconfig/index.vue rename to src/views/smartor/schemetaskrepeatconfig/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetriggerrule/index.vue b/src/views/smartor/schemetriggerrule/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetriggerrule/index.vue rename to src/views/smartor/schemetriggerrule/index.vue diff --git a/ruoyi-ui/src/views/smartor/schemetriggerscene/index.vue b/src/views/smartor/schemetriggerscene/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/schemetriggerscene/index.vue rename to src/views/smartor/schemetriggerscene/index.vue diff --git a/ruoyi-ui/src/views/smartor/smsaccount/index.vue b/src/views/smartor/smsaccount/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/smsaccount/index.vue rename to src/views/smartor/smsaccount/index.vue diff --git a/ruoyi-ui/src/views/smartor/smsparam/index.vue b/src/views/smartor/smsparam/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/smsparam/index.vue rename to src/views/smartor/smsparam/index.vue diff --git a/ruoyi-ui/src/views/smartor/smsrecords/index.vue b/src/views/smartor/smsrecords/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/smsrecords/index.vue rename to src/views/smartor/smsrecords/index.vue diff --git a/ruoyi-ui/src/views/smartor/smstemplet/index.vue b/src/views/smartor/smstemplet/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/smstemplet/index.vue rename to src/views/smartor/smstemplet/index.vue diff --git a/ruoyi-ui/src/views/smartor/svycategory/index.vue b/src/views/smartor/svycategory/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svycategory/index.vue rename to src/views/smartor/svycategory/index.vue diff --git a/ruoyi-ui/src/views/smartor/svyexception/index.vue b/src/views/smartor/svyexception/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svyexception/index.vue rename to src/views/smartor/svyexception/index.vue diff --git a/ruoyi-ui/src/views/smartor/svyfinish/index.vue b/src/views/smartor/svyfinish/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svyfinish/index.vue rename to src/views/smartor/svyfinish/index.vue diff --git a/ruoyi-ui/src/views/smartor/svyfinishoption/index.vue b/src/views/smartor/svyfinishoption/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svyfinishoption/index.vue rename to src/views/smartor/svyfinishoption/index.vue diff --git a/ruoyi-ui/src/views/smartor/svyfinishtopic/index.vue b/src/views/smartor/svyfinishtopic/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svyfinishtopic/index.vue rename to src/views/smartor/svyfinishtopic/index.vue diff --git a/ruoyi-ui/src/views/smartor/svyresult/index.vue b/src/views/smartor/svyresult/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svyresult/index.vue rename to src/views/smartor/svyresult/index.vue diff --git a/ruoyi-ui/src/views/smartor/svytitle/index.vue b/src/views/smartor/svytitle/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytitle/index.vue rename to src/views/smartor/svytitle/index.vue diff --git a/ruoyi-ui/src/views/smartor/svytitle/index0.vue b/src/views/smartor/svytitle/index0.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytitle/index0.vue rename to src/views/smartor/svytitle/index0.vue diff --git a/ruoyi-ui/src/views/smartor/svytitle/index1.vue b/src/views/smartor/svytitle/index1.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytitle/index1.vue rename to src/views/smartor/svytitle/index1.vue diff --git a/ruoyi-ui/src/views/smartor/svytopic/index.vue b/src/views/smartor/svytopic/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytopic/index.vue rename to src/views/smartor/svytopic/index.vue diff --git a/ruoyi-ui/src/views/smartor/svytopic/index1.vue b/src/views/smartor/svytopic/index1.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytopic/index1.vue rename to src/views/smartor/svytopic/index1.vue diff --git a/ruoyi-ui/src/views/smartor/svytopic/maint.vue b/src/views/smartor/svytopic/maint.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytopic/maint.vue rename to src/views/smartor/svytopic/maint.vue diff --git a/ruoyi-ui/src/views/smartor/svytopicoption/index.vue b/src/views/smartor/svytopicoption/index.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytopicoption/index.vue rename to src/views/smartor/svytopicoption/index.vue diff --git a/ruoyi-ui/src/views/smartor/svytopicoption/index1.vue b/src/views/smartor/svytopicoption/index1.vue similarity index 100% rename from ruoyi-ui/src/views/smartor/svytopicoption/index1.vue rename to src/views/smartor/svytopicoption/index1.vue diff --git a/ruoyi-ui/src/views/system/category/index.vue b/src/views/system/category/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/category/index.vue rename to src/views/system/category/index.vue diff --git a/ruoyi-ui/src/views/system/config/index.vue b/src/views/system/config/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/config/index.vue rename to src/views/system/config/index.vue diff --git a/ruoyi-ui/src/views/system/dept/index.vue b/src/views/system/dept/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/dept/index.vue rename to src/views/system/dept/index.vue diff --git a/ruoyi-ui/src/views/system/dict/data.vue b/src/views/system/dict/data.vue similarity index 100% rename from ruoyi-ui/src/views/system/dict/data.vue rename to src/views/system/dict/data.vue diff --git a/ruoyi-ui/src/views/system/dict/index.vue b/src/views/system/dict/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/dict/index.vue rename to src/views/system/dict/index.vue diff --git a/ruoyi-ui/src/views/system/menu/index.vue b/src/views/system/menu/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/menu/index.vue rename to src/views/system/menu/index.vue diff --git a/ruoyi-ui/src/views/system/notice/index.vue b/src/views/system/notice/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/notice/index.vue rename to src/views/system/notice/index.vue diff --git a/ruoyi-ui/src/views/system/post/index.vue b/src/views/system/post/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/post/index.vue rename to src/views/system/post/index.vue diff --git a/ruoyi-ui/src/views/system/role/authUser.vue b/src/views/system/role/authUser.vue similarity index 100% rename from ruoyi-ui/src/views/system/role/authUser.vue rename to src/views/system/role/authUser.vue diff --git a/ruoyi-ui/src/views/system/role/index.vue b/src/views/system/role/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/role/index.vue rename to src/views/system/role/index.vue diff --git a/ruoyi-ui/src/views/system/role/selectUser.vue b/src/views/system/role/selectUser.vue similarity index 100% rename from ruoyi-ui/src/views/system/role/selectUser.vue rename to src/views/system/role/selectUser.vue diff --git a/ruoyi-ui/src/views/system/user/authRole.vue b/src/views/system/user/authRole.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/authRole.vue rename to src/views/system/user/authRole.vue diff --git a/ruoyi-ui/src/views/system/user/index.vue b/src/views/system/user/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/index.vue rename to src/views/system/user/index.vue diff --git a/ruoyi-ui/src/views/system/user/profile/index.vue b/src/views/system/user/profile/index.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/profile/index.vue rename to src/views/system/user/profile/index.vue diff --git a/ruoyi-ui/src/views/system/user/profile/resetPwd.vue b/src/views/system/user/profile/resetPwd.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/profile/resetPwd.vue rename to src/views/system/user/profile/resetPwd.vue diff --git a/ruoyi-ui/src/views/system/user/profile/userAvatar.vue b/src/views/system/user/profile/userAvatar.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/profile/userAvatar.vue rename to src/views/system/user/profile/userAvatar.vue diff --git a/ruoyi-ui/src/views/system/user/profile/userInfo.vue b/src/views/system/user/profile/userInfo.vue similarity index 100% rename from ruoyi-ui/src/views/system/user/profile/userInfo.vue rename to src/views/system/user/profile/userInfo.vue diff --git a/ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue b/src/views/tool/build/CodeTypeDialog.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/CodeTypeDialog.vue rename to src/views/tool/build/CodeTypeDialog.vue diff --git a/ruoyi-ui/src/views/tool/build/DraggableItem.vue b/src/views/tool/build/DraggableItem.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/DraggableItem.vue rename to src/views/tool/build/DraggableItem.vue diff --git a/ruoyi-ui/src/views/tool/build/IconsDialog.vue b/src/views/tool/build/IconsDialog.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/IconsDialog.vue rename to src/views/tool/build/IconsDialog.vue diff --git a/ruoyi-ui/src/views/tool/build/RightPanel.vue b/src/views/tool/build/RightPanel.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/RightPanel.vue rename to src/views/tool/build/RightPanel.vue diff --git a/ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue b/src/views/tool/build/TreeNodeDialog.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/TreeNodeDialog.vue rename to src/views/tool/build/TreeNodeDialog.vue diff --git a/ruoyi-ui/src/views/tool/build/index.vue b/src/views/tool/build/index.vue similarity index 100% rename from ruoyi-ui/src/views/tool/build/index.vue rename to src/views/tool/build/index.vue diff --git a/ruoyi-ui/src/views/tool/gen/basicInfoForm.vue b/src/views/tool/gen/basicInfoForm.vue similarity index 100% rename from ruoyi-ui/src/views/tool/gen/basicInfoForm.vue rename to src/views/tool/gen/basicInfoForm.vue diff --git a/ruoyi-ui/src/views/tool/gen/editTable.vue b/src/views/tool/gen/editTable.vue similarity index 100% rename from ruoyi-ui/src/views/tool/gen/editTable.vue rename to src/views/tool/gen/editTable.vue diff --git a/ruoyi-ui/src/views/tool/gen/genInfoForm.vue b/src/views/tool/gen/genInfoForm.vue similarity index 100% rename from ruoyi-ui/src/views/tool/gen/genInfoForm.vue rename to src/views/tool/gen/genInfoForm.vue diff --git a/ruoyi-ui/src/views/tool/gen/importTable.vue b/src/views/tool/gen/importTable.vue similarity index 100% rename from ruoyi-ui/src/views/tool/gen/importTable.vue rename to src/views/tool/gen/importTable.vue diff --git a/ruoyi-ui/src/views/tool/gen/index.vue b/src/views/tool/gen/index.vue similarity index 100% rename from ruoyi-ui/src/views/tool/gen/index.vue rename to src/views/tool/gen/index.vue diff --git a/ruoyi-ui/src/views/tool/swagger/index.vue b/src/views/tool/swagger/index.vue similarity index 100% rename from ruoyi-ui/src/views/tool/swagger/index.vue rename to src/views/tool/swagger/index.vue diff --git a/ruoyi-ui/vue.config.js b/vue.config.js similarity index 100% rename from ruoyi-ui/vue.config.js rename to vue.config.js -- Gitblit v1.9.3