From fdb0891feaed7cbab0934c966b639e679ded9c74 Mon Sep 17 00:00:00 2001 From: bob Date: Thu, 23 Feb 2023 13:56:56 +0800 Subject: [PATCH] feat(h5) add workbench --- ruoyi-ui/src/router/index.js | 9 + ruoyi-ui/src/views/h5/h5apply/index.vue | 293 ++++++++++++++++ ruoyi-ui/src/views/h5/h5process/index.vue | 405 ++++++++++++++++++++++ ruoyi-ui/src/views/h5/workbench/index.vue | 60 ++++ ruoyi-ui/src/views/h5login.vue | 2 +- 5 files changed, 768 insertions(+), 1 deletion(-) create mode 100644 ruoyi-ui/src/views/h5/h5apply/index.vue create mode 100644 ruoyi-ui/src/views/h5/h5process/index.vue create mode 100644 ruoyi-ui/src/views/h5/workbench/index.vue diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 481cc45..616f68e 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -52,6 +52,15 @@ export const constantRoutes = [ path: '/h5todo', component: (resolve) => require(['@/views/h5/h5todo'], resolve), hidden: true + }, { + path: '/h5process', + component: (resolve) => require(['@/views/h5/h5process'], resolve), + hidden: true + }, + { + path: '/workbench', + component: (resolve) => require(['@/views/h5/workbench'], resolve), + hidden: true }, { path: '/h5record', diff --git a/ruoyi-ui/src/views/h5/h5apply/index.vue b/ruoyi-ui/src/views/h5/h5apply/index.vue new file mode 100644 index 0000000..3d2feb0 --- /dev/null +++ b/ruoyi-ui/src/views/h5/h5apply/index.vue @@ -0,0 +1,293 @@ + + + + + diff --git a/ruoyi-ui/src/views/h5/h5process/index.vue b/ruoyi-ui/src/views/h5/h5process/index.vue new file mode 100644 index 0000000..a2364c0 --- /dev/null +++ b/ruoyi-ui/src/views/h5/h5process/index.vue @@ -0,0 +1,405 @@ + + + + diff --git a/ruoyi-ui/src/views/h5/workbench/index.vue b/ruoyi-ui/src/views/h5/workbench/index.vue new file mode 100644 index 0000000..806c04f --- /dev/null +++ b/ruoyi-ui/src/views/h5/workbench/index.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/ruoyi-ui/src/views/h5login.vue b/ruoyi-ui/src/views/h5login.vue index e601f28..2ffb3b6 100644 --- a/ruoyi-ui/src/views/h5login.vue +++ b/ruoyi-ui/src/views/h5login.vue @@ -127,7 +127,7 @@ export default { Cookies.remove('rememberMe'); } this.$store.dispatch("Login", this.loginForm).then(() => { - this.$router.push({ path: this.redirect || "/h5todo" }).catch(()=>{}); + this.$router.push({ path: this.redirect || "/workbench" }).catch(()=>{}); }).catch(() => { this.loading = false; this.getCode();