Browse Source

feat:1.盼达点餐的后台管理系统

suwenjiang 1 week ago
commit
8394e876e4
100 changed files with 3274 additions and 0 deletions
  1. 22 0
      .editorconfig
  2. 14 0
      .env.development
  3. 14 0
      .env.production
  4. 14 0
      .env.staging
  5. 10 0
      .eslintignore
  6. 199 0
      .eslintrc.js
  7. 23 0
      .gitignore
  8. 29 0
      README.md
  9. 13 0
      babel.config.js
  10. 12 0
      bin/build.bat
  11. 12 0
      bin/package.bat
  12. 12 0
      bin/run-web.bat
  13. 35 0
      build/index.js
  14. 91 0
      package.json
  15. BIN
      public/favicon.ico
  16. 21 0
      public/html/ie.html
  17. 202 0
      public/index.html
  18. 2 0
      public/robots.txt
  19. 19 0
      src/App.vue
  20. 40 0
      src/api/article.js
  21. 67 0
      src/api/balance.js
  22. 40 0
      src/api/banner.js
  23. 101 0
      src/api/book.js
  24. 123 0
      src/api/cashier.js
  25. 45 0
      src/api/commission/cash.js
  26. 45 0
      src/api/commission/log.js
  27. 46 0
      src/api/commission/rule.js
  28. 11 0
      src/api/common.js
  29. 18 0
      src/api/coupon/confirmLog.js
  30. 75 0
      src/api/coupon/coupon.js
  31. 18 0
      src/api/coupon/give.js
  32. 57 0
      src/api/coupon/group.js
  33. 18 0
      src/api/coupon/sendLog.js
  34. 19 0
      src/api/coupon/userCoupon.js
  35. 85 0
      src/api/goods.js
  36. 40 0
      src/api/goodsCate.js
  37. 18 0
      src/api/home.js
  38. 43 0
      src/api/login.js
  39. 92 0
      src/api/member.js
  40. 57 0
      src/api/memberGroup.js
  41. 9 0
      src/api/menu.js
  42. 49 0
      src/api/merchant.js
  43. 48 0
      src/api/openGift.js
  44. 83 0
      src/api/order.js
  45. 58 0
      src/api/point.js
  46. 65 0
      src/api/printer.js
  47. 44 0
      src/api/refund.js
  48. 39 0
      src/api/settlement.js
  49. 36 0
      src/api/smsManager.js
  50. 48 0
      src/api/smsTemplate.js
  51. 56 0
      src/api/staff.js
  52. 27 0
      src/api/statistic.js
  53. 40 0
      src/api/stock.js
  54. 49 0
      src/api/store.js
  55. 48 0
      src/api/subMessage.js
  56. 127 0
      src/api/system/account.js
  57. 60 0
      src/api/system/config.js
  58. 52 0
      src/api/system/dict/data.js
  59. 60 0
      src/api/system/dict/type.js
  60. 48 0
      src/api/system/genCode.js
  61. 18 0
      src/api/system/logs.js
  62. 60 0
      src/api/system/menu.js
  63. 44 0
      src/api/system/notice.js
  64. 111 0
      src/api/system/role.js
  65. 40 0
      src/api/table.js
  66. 76 0
      src/api/tool/gen.js
  67. 48 0
      src/api/userGrade.js
  68. BIN
      src/assets/401_images/401.gif
  69. BIN
      src/assets/404_images/404.png
  70. BIN
      src/assets/404_images/404_cloud.png
  71. 9 0
      src/assets/icons/index.js
  72. 1 0
      src/assets/icons/svg/404.svg
  73. 1 0
      src/assets/icons/svg/bug.svg
  74. 1 0
      src/assets/icons/svg/build.svg
  75. 0 0
      src/assets/icons/svg/button.svg
  76. 0 0
      src/assets/icons/svg/cascader.svg
  77. 1 0
      src/assets/icons/svg/chart.svg
  78. 1 0
      src/assets/icons/svg/checkbox.svg
  79. 1 0
      src/assets/icons/svg/clipboard.svg
  80. 1 0
      src/assets/icons/svg/code.svg
  81. 0 0
      src/assets/icons/svg/color.svg
  82. 0 0
      src/assets/icons/svg/component.svg
  83. 0 0
      src/assets/icons/svg/dashboard.svg
  84. 0 0
      src/assets/icons/svg/date-range.svg
  85. 0 0
      src/assets/icons/svg/date.svg
  86. 0 0
      src/assets/icons/svg/dict.svg
  87. 1 0
      src/assets/icons/svg/documentation.svg
  88. 1 0
      src/assets/icons/svg/download.svg
  89. 1 0
      src/assets/icons/svg/drag.svg
  90. 1 0
      src/assets/icons/svg/druid.svg
  91. 1 0
      src/assets/icons/svg/edit.svg
  92. 1 0
      src/assets/icons/svg/education.svg
  93. 1 0
      src/assets/icons/svg/email.svg
  94. 1 0
      src/assets/icons/svg/example.svg
  95. 1 0
      src/assets/icons/svg/excel.svg
  96. 1 0
      src/assets/icons/svg/exit-fullscreen.svg
  97. 1 0
      src/assets/icons/svg/eye-open.svg
  98. 1 0
      src/assets/icons/svg/eye.svg
  99. 0 0
      src/assets/icons/svg/form.svg
  100. 1 0
      src/assets/icons/svg/fullscreen.svg

+ 22 - 0
.editorconfig

@@ -0,0 +1,22 @@
+# 告诉EditorConfig插件,这是根文件,不用继续往上查找
+root = true
+
+# 匹配全部文件
+[*]
+# 设置字符集
+charset = utf-8
+# 缩进风格,可选space、tab
+indent_style = space
+# 缩进的空格数
+indent_size = 2
+# 结尾换行符,可选lf、cr、crlf
+end_of_line = lf
+# 在文件结尾插入新行
+insert_final_newline = true
+# 删除一行中的前后空格
+trim_trailing_whitespace = true
+
+# 匹配md结尾的文件
+[*.md]
+insert_final_newline = false
+trim_trailing_whitespace = false

+ 14 - 0
.env.development

@@ -0,0 +1,14 @@
+# 页面标题
+VUE_APP_TITLE = fuint餐饮点餐营销管理系统
+
+# 开发环境配置
+ENV = 'development'
+
+# fuint会员营销系统/开发环境
+VUE_APP_BASE_API = '/dev-api'
+
+# 发布目录
+VUE_APP_PUBLIC_PATH = '/'
+
+# 后端接口地址
+VUE_APP_SERVER_URL = 'http://192.168.1.44:8080'

+ 14 - 0
.env.production

@@ -0,0 +1,14 @@
+# 页面标题
+VUE_APP_TITLE = fuint餐饮点餐营销管理系统
+
+# 生产环境配置
+ENV = 'production'
+
+# fuint会员营销系统/生产环境
+VUE_APP_BASE_API = '/fuint-food/'
+
+# 发布目录
+VUE_APP_PUBLIC_PATH = '/fuintFood/'
+
+# 后端接口地址
+VUE_APP_SERVER_URL = 'https://www.fuint.cn/fuint-food/'

+ 14 - 0
.env.staging

@@ -0,0 +1,14 @@
+# 页面标题
+VUE_APP_TITLE = fuint会员营销管理系统
+
+# 测试环境配置
+ENV = 'staging'
+
+# fuint会员营销系统/测试环境
+VUE_APP_BASE_API = '/stage-api'
+
+# 发布目录
+VUE_APP_PUBLIC_PATH = '/'
+
+# 后端接口地址
+VUE_APP_SERVER_URL = 'http://localhost:8082/stage-api/'

+ 10 - 0
.eslintignore

@@ -0,0 +1,10 @@
+# 忽略build目录下类型为js的文件的语法检查
+build/*.js
+# 忽略src/assets目录下文件的语法检查
+src/assets
+# 忽略public目录下文件的语法检查
+public
+# 忽略当前目录下为js的文件的语法检查
+*.js
+# 忽略当前目录下为vue的文件的语法检查
+*.vue

+ 199 - 0
.eslintrc.js

@@ -0,0 +1,199 @@
+// ESlint 检查配置
+module.exports = {
+  root: true,
+  parserOptions: {
+    parser: 'babel-eslint',
+    sourceType: 'module'
+  },
+  env: {
+    browser: true,
+    node: true,
+    es6: true,
+  },
+  extends: ['plugin:vue/recommended', 'eslint:recommended'],
+
+  // add your custom rules here
+  //it is base on https://github.com/vuejs/eslint-config-vue
+  rules: {
+    "vue/max-attributes-per-line": [2, {
+      "singleline": 10,
+      "multiline": {
+        "max": 1,
+        "allowFirstLine": false
+      }
+    }],
+    "vue/singleline-html-element-content-newline": "off",
+    "vue/multiline-html-element-content-newline":"off",
+    "vue/name-property-casing": ["error", "PascalCase"],
+    "vue/no-v-html": "off",
+    'accessor-pairs': 2,
+    'arrow-spacing': [2, {
+      'before': true,
+      'after': true
+    }],
+    'block-spacing': [2, 'always'],
+    'brace-style': [2, '1tbs', {
+      'allowSingleLine': true
+    }],
+    'camelcase': [0, {
+      'properties': 'always'
+    }],
+    'comma-dangle': [2, 'never'],
+    'comma-spacing': [2, {
+      'before': false,
+      'after': true
+    }],
+    'comma-style': [2, 'last'],
+    'constructor-super': 2,
+    'curly': [2, 'multi-line'],
+    'dot-location': [2, 'property'],
+    'eol-last': 2,
+    'eqeqeq': ["error", "always", {"null": "ignore"}],
+    'generator-star-spacing': [2, {
+      'before': true,
+      'after': true
+    }],
+    'handle-callback-err': [2, '^(err|error)$'],
+    'indent': [2, 2, {
+      'SwitchCase': 1
+    }],
+    'jsx-quotes': [2, 'prefer-single'],
+    'key-spacing': [2, {
+      'beforeColon': false,
+      'afterColon': true
+    }],
+    'keyword-spacing': [2, {
+      'before': true,
+      'after': true
+    }],
+    'new-cap': [2, {
+      'newIsCap': true,
+      'capIsNew': false
+    }],
+    'new-parens': 2,
+    'no-array-constructor': 2,
+    'no-caller': 2,
+    'no-console': 'off',
+    'no-class-assign': 2,
+    'no-cond-assign': 2,
+    'no-const-assign': 2,
+    'no-control-regex': 0,
+    'no-delete-var': 2,
+    'no-dupe-args': 2,
+    'no-dupe-class-members': 2,
+    'no-dupe-keys': 2,
+    'no-duplicate-case': 2,
+    'no-empty-character-class': 2,
+    'no-empty-pattern': 2,
+    'no-eval': 2,
+    'no-ex-assign': 2,
+    'no-extend-native': 2,
+    'no-extra-bind': 2,
+    'no-extra-boolean-cast': 2,
+    'no-extra-parens': [2, 'functions'],
+    'no-fallthrough': 2,
+    'no-floating-decimal': 2,
+    'no-func-assign': 2,
+    'no-implied-eval': 2,
+    'no-inner-declarations': [2, 'functions'],
+    'no-invalid-regexp': 2,
+    'no-irregular-whitespace': 2,
+    'no-iterator': 2,
+    'no-label-var': 2,
+    'no-labels': [2, {
+      'allowLoop': false,
+      'allowSwitch': false
+    }],
+    'no-lone-blocks': 2,
+    'no-mixed-spaces-and-tabs': 2,
+    'no-multi-spaces': 2,
+    'no-multi-str': 2,
+    'no-multiple-empty-lines': [2, {
+      'max': 1
+    }],
+    'no-native-reassign': 2,
+    'no-negated-in-lhs': 2,
+    'no-new-object': 2,
+    'no-new-require': 2,
+    'no-new-symbol': 2,
+    'no-new-wrappers': 2,
+    'no-obj-calls': 2,
+    'no-octal': 2,
+    'no-octal-escape': 2,
+    'no-path-concat': 2,
+    'no-proto': 2,
+    'no-redeclare': 2,
+    'no-regex-spaces': 2,
+    'no-return-assign': [2, 'except-parens'],
+    'no-self-assign': 2,
+    'no-self-compare': 2,
+    'no-sequences': 2,
+    'no-shadow-restricted-names': 2,
+    'no-spaced-func': 2,
+    'no-sparse-arrays': 2,
+    'no-this-before-super': 2,
+    'no-throw-literal': 2,
+    'no-trailing-spaces': 2,
+    'no-undef': 2,
+    'no-undef-init': 2,
+    'no-unexpected-multiline': 2,
+    'no-unmodified-loop-condition': 2,
+    'no-unneeded-ternary': [2, {
+      'defaultAssignment': false
+    }],
+    'no-unreachable': 2,
+    'no-unsafe-finally': 2,
+    'no-unused-vars': [2, {
+      'vars': 'all',
+      'args': 'none'
+    }],
+    'no-useless-call': 2,
+    'no-useless-computed-key': 2,
+    'no-useless-constructor': 2,
+    'no-useless-escape': 0,
+    'no-whitespace-before-property': 2,
+    'no-with': 2,
+    'one-var': [2, {
+      'initialized': 'never'
+    }],
+    'operator-linebreak': [2, 'after', {
+      'overrides': {
+        '?': 'before',
+        ':': 'before'
+      }
+    }],
+    'padded-blocks': [2, 'never'],
+    'quotes': [2, 'single', {
+      'avoidEscape': true,
+      'allowTemplateLiterals': true
+    }],
+    'semi': [2, 'never'],
+    'semi-spacing': [2, {
+      'before': false,
+      'after': true
+    }],
+    'space-before-blocks': [2, 'always'],
+    'space-before-function-paren': [2, 'never'],
+    'space-in-parens': [2, 'never'],
+    'space-infix-ops': 2,
+    'space-unary-ops': [2, {
+      'words': true,
+      'nonwords': false
+    }],
+    'spaced-comment': [2, 'always', {
+      'markers': ['global', 'globals', 'eslint', 'eslint-disable', '*package', '!', ',']
+    }],
+    'template-curly-spacing': [2, 'never'],
+    'use-isnan': 2,
+    'valid-typeof': 2,
+    'wrap-iife': [2, 'any'],
+    'yield-star-spacing': [2, 'both'],
+    'yoda': [2, 'never'],
+    'prefer-const': 2,
+    'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0,
+    'object-curly-spacing': [2, 'always', {
+      objectsInObjects: false
+    }],
+    'array-bracket-spacing': [2, 'never']
+  }
+}

+ 23 - 0
.gitignore

@@ -0,0 +1,23 @@
+.DS_Store
+node_modules/
+dist/
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+**/*.log
+
+tests/**/coverage/
+tests/e2e/reports
+selenium-debug.log
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.local
+
+package-lock.json
+yarn.lock

+ 29 - 0
README.md

@@ -0,0 +1,29 @@
+## 开发
+
+```bash
+#node 版本
+v16.20.2
+# 进入项目目录
+cd fuintAdmin
+
+# 安装依赖
+npm install
+
+# 建议不要直接使用 cnpm 安装依赖,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
+npm install --registry=https://registry.npmmirror.com
+
+# 启动服务
+npm run dev
+```
+
+浏览器访问 http://localhost:8081
+
+## 发布
+
+```bash
+# 构建测试环境
+npm run build:stage
+
+# 构建生产环境
+npm run build:prod
+```

+ 13 - 0
babel.config.js

@@ -0,0 +1,13 @@
+module.exports = {
+  presets: [
+    // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
+    '@vue/cli-plugin-babel/preset'
+  ],
+  'env': {
+    'development': {
+      // babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
+      // This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
+      'plugins': ['dynamic-import-node']
+    }
+  }
+}

+ 12 - 0
bin/build.bat

@@ -0,0 +1,12 @@
+@echo off
+echo.
+echo [信息] 打包Web工程,生成dist文件。
+echo.
+
+%~d0
+cd %~dp0
+
+cd ..
+npm run build:prod
+
+pause

+ 12 - 0
bin/package.bat

@@ -0,0 +1,12 @@
+@echo off
+echo.
+echo [信息] 安装Web工程,生成node_modules文件。
+echo.
+
+%~d0
+cd %~dp0
+
+cd ..
+npm install --registry=https://registry.npmmirror.com
+
+pause

+ 12 - 0
bin/run-web.bat

@@ -0,0 +1,12 @@
+@echo off
+echo.
+echo [信息] 使用 Vue CLI 命令运行 Web 工程。
+echo.
+
+%~d0
+cd %~dp0
+
+cd ..
+npm run dev
+
+pause

+ 35 - 0
build/index.js

@@ -0,0 +1,35 @@
+const { run } = require('runjs')
+const chalk = require('chalk')
+const config = require('../vue.config.js')
+const rawArgv = process.argv.slice(2)
+const args = rawArgv.join(' ')
+
+if (process.env.npm_config_preview || rawArgv.includes('--preview')) {
+  const report = rawArgv.includes('--report')
+
+  run(`vue-cli-service build ${args}`)
+
+  const port = 9526
+  const publicPath = config.publicPath
+
+  var connect = require('connect')
+  var serveStatic = require('serve-static')
+  const app = connect()
+
+  app.use(
+    publicPath,
+    serveStatic('./dist', {
+      index: ['index.html', '/']
+    })
+  )
+
+  app.listen(port, function () {
+    console.log(chalk.green(`> Preview at  http://localhost:${port}${publicPath}`))
+    if (report) {
+      console.log(chalk.green(`> Report at  http://localhost:${port}${publicPath}report.html`))
+    }
+
+  })
+} else {
+  run(`vue-cli-service build ${args}`)
+}

+ 91 - 0
package.json

@@ -0,0 +1,91 @@
+{
+  "name": "fuintAdmin",
+  "version": "3.0.3",
+  "description": "fuint会员营销系统后台管理端",
+  "author": "FSQ",
+  "license": "MIT",
+  "scripts": {
+    "dev": "vue-cli-service serve",
+    "build:prod": "vue-cli-service build",
+    "build:stage": "vue-cli-service build --mode staging",
+    "preview": "node build/index.js --preview",
+    "lint": "eslint --ext .js,.vue src"
+  },
+  "husky": {
+    "hooks": {
+      "pre-commit": "lint-staged"
+    }
+  },
+  "lint-staged": {
+    "src/**/*.{js,vue}": [
+      "eslint --fix",
+      "git add"
+    ]
+  },
+  "keywords": [
+    "vue",
+    "admin",
+    "dashboard",
+    "element-ui",
+    "boilerplate",
+    "admin-template",
+    "management-system"
+  ],
+  "repository": {
+    "type": "git",
+    "url": "https://gitee.com/fuint/fuint-uniapp.git"
+  },
+  "dependencies": {
+    "@riophae/vue-treeselect": "0.4.0",
+    "axios": "0.24.0",
+    "clipboard": "2.0.8",
+    "core-js": "3.25.3",
+    "echarts": "4.9.0",
+    "element-ui": "2.15.12",
+    "file-saver": "2.0.5",
+    "fuse.js": "6.4.3",
+    "highlight.js": "9.18.5",
+    "js-beautify": "1.13.0",
+    "js-cookie": "3.0.1",
+    "jsencrypt": "3.0.0-rc.1",
+    "nprogress": "0.2.0",
+    "quill": "1.3.7",
+    "screenfull": "5.0.2",
+    "sortablejs": "1.10.2",
+    "vue": "2.6.12",
+    "vue-count-to": "1.0.13",
+    "vue-cropper": "0.5.5",
+    "vue-meta": "2.4.0",
+    "vue-print-nb": "^1.7.5",
+    "vue-router": "3.4.9",
+    "vuedraggable": "2.24.3",
+    "vuex": "3.6.0"
+  },
+  "devDependencies": {
+    "@vue/cli-plugin-babel": "4.4.6",
+    "@vue/cli-plugin-eslint": "4.4.6",
+    "@vue/cli-service": "4.4.6",
+    "babel-eslint": "10.1.0",
+    "babel-plugin-dynamic-import-node": "2.3.3",
+    "chalk": "4.1.0",
+    "compression-webpack-plugin": "5.0.2",
+    "connect": "3.6.6",
+    "eslint": "^6.0.0",
+    "eslint-plugin-vue": "7.2.0",
+    "lint-staged": "10.5.3",
+    "runjs": "4.4.2",
+    "sass": "1.32.13",
+    "sass-loader": "10.1.1",
+    "script-ext-html-webpack-plugin": "2.1.5",
+    "svg-sprite-loader": "5.1.1",
+    "vue-template-compiler": "2.6.12"
+  },
+  "engines": {
+    "node": ">=8.9",
+    "npm": ">= 3.0.0"
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions"
+  ]
+}

BIN
public/favicon.ico


File diff suppressed because it is too large
+ 21 - 0
public/html/ie.html


+ 202 - 0
public/index.html

@@ -0,0 +1,202 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8">
+    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
+    <meta name="renderer" content="webkit">
+    <meta name="robots" content="nofollow"/>
+    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+    <link rel="icon" href="<%= BASE_URL %>favicon.ico">
+    <title><%= webpackConfig.name %></title>
+    <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]-->
+      <style>
+    html,
+    body,
+    #app {
+      height: 100%;
+      margin: 0px;
+      padding: 0px;
+    }
+
+    #loader-wrapper {
+      position: fixed;
+      top: 0;
+      left: 0;
+      width: 100%;
+      height: 100%;
+      z-index: 999999;
+    }
+
+    #loader {
+      display: block;
+      position: relative;
+      left: 50%;
+      top: 50%;
+      width: 150px;
+      height: 150px;
+      margin: -75px 0 0 -75px;
+      border-radius: 50%;
+      border: 3px solid transparent;
+      border-top-color: #FFF;
+      -webkit-animation: spin 2s linear infinite;
+      -ms-animation: spin 2s linear infinite;
+      -moz-animation: spin 2s linear infinite;
+      -o-animation: spin 2s linear infinite;
+      animation: spin 2s linear infinite;
+      z-index: 1001;
+    }
+
+    #loader:before {
+      content: "";
+      position: absolute;
+      top: 5px;
+      left: 5px;
+      right: 5px;
+      bottom: 5px;
+      border-radius: 50%;
+      border: 3px solid transparent;
+      border-top-color: #FFF;
+      -webkit-animation: spin 3s linear infinite;
+      -moz-animation: spin 3s linear infinite;
+      -o-animation: spin 3s linear infinite;
+      -ms-animation: spin 3s linear infinite;
+      animation: spin 3s linear infinite;
+    }
+
+    #loader:after {
+      content: "";
+      position: absolute;
+      top: 15px;
+      left: 15px;
+      right: 15px;
+      bottom: 15px;
+      border-radius: 50%;
+      border: 3px solid transparent;
+      border-top-color: #FFF;
+      -moz-animation: spin 1.5s linear infinite;
+      -o-animation: spin 1.5s linear infinite;
+      -ms-animation: spin 1.5s linear infinite;
+      -webkit-animation: spin 1.5s linear infinite;
+      animation: spin 1.5s linear infinite;
+    }
+
+
+    @-webkit-keyframes spin {
+      0% {
+        -webkit-transform: rotate(0deg);
+        -ms-transform: rotate(0deg);
+        transform: rotate(0deg);
+      }
+      100% {
+        -webkit-transform: rotate(360deg);
+        -ms-transform: rotate(360deg);
+        transform: rotate(360deg);
+      }
+    }
+
+    @keyframes spin {
+      0% {
+        -webkit-transform: rotate(0deg);
+        -ms-transform: rotate(0deg);
+        transform: rotate(0deg);
+      }
+      100% {
+        -webkit-transform: rotate(360deg);
+        -ms-transform: rotate(360deg);
+        transform: rotate(360deg);
+      }
+    }
+
+
+    #loader-wrapper .loader-section {
+      position: fixed;
+      top: 0;
+      width: 51%;
+      height: 100%;
+      background: #304156;
+      z-index: 1000;
+      -webkit-transform: translateX(0);
+      -ms-transform: translateX(0);
+      transform: translateX(0);
+    }
+
+    #loader-wrapper .loader-section.section-left {
+      left: 0;
+    }
+
+    #loader-wrapper .loader-section.section-right {
+      right: 0;
+    }
+
+    .loaded #loader-wrapper .loader-section.section-left {
+      -webkit-transform: translateX(-100%);
+      -ms-transform: translateX(-100%);
+      transform: translateX(-100%);
+      -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
+      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
+    }
+
+    .loaded #loader-wrapper .loader-section.section-right {
+      -webkit-transform: translateX(100%);
+      -ms-transform: translateX(100%);
+      transform: translateX(100%);
+      -webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
+      transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
+    }
+
+    .loaded #loader {
+      opacity: 0;
+      -webkit-transition: all 0.3s ease-out;
+      transition: all 0.3s ease-out;
+    }
+
+    .loaded #loader-wrapper {
+      visibility: hidden;
+      -webkit-transform: translateY(-100%);
+      -ms-transform: translateY(-100%);
+      transform: translateY(-100%);
+      -webkit-transition: all 0.3s 1s ease-out;
+      transition: all 0.3s 1s ease-out;
+    }
+
+    .no-js #loader-wrapper {
+      display: none;
+    }
+
+    .no-js h1 {
+      color: #222222;
+    }
+
+    #loader-wrapper .load_title {
+      font-family: 'Open Sans';
+      color: #FFF;
+      font-size: 19px;
+      width: 100%;
+      text-align: center;
+      z-index: 9999999999999;
+      position: absolute;
+      top: 60%;
+      opacity: 1;
+      line-height: 30px;
+    }
+
+    #loader-wrapper .load_title span {
+      font-weight: normal;
+      font-style: italic;
+      font-size: 13px;
+      color: #FFF;
+      opacity: 0.5;
+    }
+  </style>
+  </head>
+  <body>
+    <div id="app">
+       <div id="loader-wrapper">
+          <div id="loader"></div>
+          <div class="loader-section section-left"></div>
+          <div class="loader-section section-right"></div>
+          <div class="load_title">正在加载系统资源,请耐心等待...</div>
+       </div>
+  </div>
+  </body>
+</html>

+ 2 - 0
public/robots.txt

@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /

+ 19 - 0
src/App.vue

@@ -0,0 +1,19 @@
+<template>
+  <div id="app">
+    <router-view />
+  </div>
+</template>
+
+<script>
+export default  {
+  name:  'App',
+    metaInfo() {
+        return {
+            title: this.$store.state.settings.dynamicTitle && this.$store.state.settings.title,
+            titleTemplate: title => {
+                return title ? `${title} - ${process.env.VUE_APP_TITLE}` : process.env.VUE_APP_TITLE
+            }
+        }
+    }
+}
+</script>

+ 40 - 0
src/api/article.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 分页查询文章列表
+export function getArticleList(query) {
+  return request({
+      url: 'backendApi/article/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询文章信息
+export function getArticle(articleId) {
+  return request({
+    url: 'backendApi/article/info/' + articleId,
+    method: 'get'
+  })
+}
+
+// 更新文章状态
+export function updateStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/article/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存数据
+export function saveArticle(data) {
+  return request({
+    url: 'backendApi/article/save',
+    method: 'post',
+    data: data
+  })
+}

+ 67 - 0
src/api/balance.js

@@ -0,0 +1,67 @@
+import request from '@/utils/request'
+
+// 分页查询余额明细列表
+export function getBalanceList(query) {
+  return request({
+      url: 'backendApi/balance/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询明细详情
+export function getBalanceInfo(memberId) {
+  return request({
+    url: 'backendApi/balance/info/' + memberId,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateBalanceStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/balance/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 获取配置信息
+export function getSettingInfo() {
+  return request({
+    url: 'backendApi/balance/setting',
+    method: 'get'
+  })
+}
+
+// 保存配置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/balance/saveSetting',
+    method: 'post',
+    data: data
+  })
+}
+
+// 确定充值
+export function doRecharge(data) {
+  return request({
+    url: 'backendApi/balance/doRecharge',
+    method: 'post',
+    data: data
+  })
+}
+
+// 发放余额
+export function distribute(data) {
+  return request({
+    url: 'backendApi/balance/distribute',
+    method: 'post',
+    data: data
+  })
+}
+

+ 40 - 0
src/api/banner.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 分页查询banner列表
+export function getBannerList(query) {
+  return request({
+      url: 'backendApi/banner/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询banner信息
+export function getBannerInfo(bannerId) {
+  return request({
+    url: 'backendApi/banner/info/' + bannerId,
+    method: 'get'
+  })
+}
+
+// 更新banner状态
+export function updateBannerStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/banner/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存数据
+export function saveBanner(data) {
+  return request({
+    url: 'backendApi/banner/save',
+    method: 'post',
+    data: data
+  })
+}

+ 101 - 0
src/api/book.js

@@ -0,0 +1,101 @@
+import request from '@/utils/request'
+
+// 分页预约分类列表
+export function getBookCateList(param) {
+  return request({
+      url: 'backendApi/bookCate/list',
+      method: 'get',
+      params: param
+  })
+}
+
+// 更新预约分类状态
+export function updateBookCateStatus(cateId, status) {
+  const data = {
+    cateId,
+    status
+  }
+  return request({
+      url: 'backendApi/bookCate/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 查询预约详情
+export function getBookInfo(bookId) {
+  return request({
+    url: 'backendApi/book/info/' + bookId,
+    method: 'get'
+  })
+}
+
+// 保存预约分类
+export function saveBookCate(data) {
+  return request({
+    url: 'backendApi/bookCate/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询预约分类详情
+export function getBookCateInfo(cateId) {
+  return request({
+    url: 'backendApi/bookCate/info/' + cateId,
+    method: 'get'
+  })
+}
+
+// 分页预约项目列表
+export function getBookList(param) {
+  return request({
+    url: 'backendApi/book/list',
+    method: 'get',
+    params: param
+  })
+}
+
+// 更新预约项目状态
+export function updateBookStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+    url: 'backendApi/book/updateStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 保存预约项目
+export function saveBook(data) {
+  return request({
+    url: 'backendApi/book/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 分页预约订单列表
+export function getBookItemList(param) {
+  return request({
+    url: 'backendApi/bookItem/list',
+    method: 'get',
+    params: param
+  })
+}
+
+// 更新预约订单状态
+export function updateBookItemStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+    url: 'backendApi/bookItem/updateStatus',
+    method: 'post',
+    data: data
+  })
+}

+ 123 - 0
src/api/cashier.js

@@ -0,0 +1,123 @@
+import request from '@/utils/request'
+
+// 初始化数据
+export function init(userId) {
+  return request({
+      url: 'backendApi/cashier/init/' + userId,
+      method: 'get'
+  })
+}
+
+// 查询商品详情
+export function getGoodsInfo(goodsId) {
+  return request({
+    url: 'backendApi/cashier/getGoodsInfo/' + goodsId,
+    method: 'get'
+  })
+}
+
+// 查询商品
+export function searchGoods(data) {
+  return request({
+    url: 'backendApi/cashier/searchGoods',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询会员信息
+export function getMemberInfo(data) {
+  return request({
+    url: 'backendApi/cashier/getMemberInfo',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询会员信息
+export function getMemberInfoById(userId) {
+  return request({
+    url: 'backendApi/cashier/getMemberInfoById/' + userId,
+    method: 'get'
+  })
+}
+
+// 获取购物车列表
+export function getCartList(data) {
+  return request({
+    url: 'clientApi/cart/list',
+    method: 'post',
+    data: data
+  })
+}
+
+// 保存购物车
+export function saveCart(data) {
+  return request({
+    url: 'clientApi/cart/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 删除购物车
+export function removeFromCart(data) {
+  return request({
+    url: 'clientApi/cart/clear',
+    method: 'post',
+    data: data
+  })
+}
+
+// 提交结算
+export function submitSettlement(data) {
+  return request({
+    url: 'clientApi/settlement/submit',
+    method: 'post',
+    data: data
+  })
+}
+
+// 发起支付
+export function doPay(params) {
+  return request({
+    url: 'clientApi/pay/doPay',
+    method: 'get',
+    params: params
+  })
+}
+
+// 获取订单列表
+export function getOrderList(data) {
+  return request({
+    url: 'backendApi/order/latest',
+    method: 'post',
+    data: data
+  })
+}
+
+// 执行挂单
+export function doHangUp(data) {
+  return request({
+    url: 'backendApi/cashier/doHangUp',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取挂单
+export function getHangUpList() {
+  return request({
+    url: 'backendApi/cashier/getHangUpList',
+    method: 'get'
+  })
+}
+
+// 删除挂单
+export function removeHangUp(data) {
+  return request({
+    url: 'clientApi/cart/clear',
+    method: 'post',
+    data: data
+  })
+}

+ 45 - 0
src/api/commission/cash.js

@@ -0,0 +1,45 @@
+import request from '@/utils/request'
+
+// 分页查询提现列表
+export function getCashList(query) {
+  return request({
+      url: 'backendApi/commissionCash/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询提现详情
+export function getCashDetail(bannerId) {
+  return request({
+    url: 'backendApi/commissionCash/info/' + bannerId,
+    method: 'get'
+  })
+}
+
+// 更新提现
+export function updateCommissionCash(data) {
+  return request({
+      url: 'backendApi/commissionCash/save',
+      method: 'post',
+      data: data
+  })
+}
+
+// 确认结算
+export function confirmCommissionCash(data) {
+  return request({
+    url: 'backendApi/commissionCash/confirm',
+    method: 'post',
+    data: data
+  })
+}
+
+// 取消结算
+export function cancelCommissionCash(data) {
+  return request({
+    url: 'backendApi/commissionCash/cancel',
+    method: 'post',
+    data: data
+  })
+}

+ 45 - 0
src/api/commission/log.js

@@ -0,0 +1,45 @@
+import request from '@/utils/request'
+
+// 查询分佣记录列表
+export function getCommissionLogList(query) {
+  return request({
+    url: 'backendApi/commissionLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询分佣记录详情
+export function getCommissionLogDetail(query) {
+  return request({
+    url: 'backendApi/commissionLog/detail',
+    method: 'get',
+    params: query
+  })
+}
+
+// 更新分佣记录
+export function updateCommissionLog(data) {
+  return request({
+    url: 'backendApi/commissionLog/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 作废分佣记录
+export function deleteCommissionLog(id) {
+  return request({
+    url: 'backendApi/commissionLog/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 结算分佣记录
+export function doSettle(data) {
+  return request({
+    url: 'backendApi/commissionLog/doSettle',
+    method: 'post',
+    data: data
+  })
+}

+ 46 - 0
src/api/commission/rule.js

@@ -0,0 +1,46 @@
+import request from '@/utils/request'
+
+// 分页查询分销提成规则列表
+export function getCommissionRuleList(query) {
+  return request({
+      url: 'backendApi/commissionRule/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询分销提成规则详情
+export function getCommissionRuleInfo(ruleId) {
+  return request({
+     url: 'backendApi/commissionRule/info/' + ruleId,
+     method: 'get'
+  })
+}
+
+// 更新分销提成规则状态
+export function updateCommissionRuleStatus(ruleId, status) {
+  const data = { ruleId, status }
+  return request({
+     url: 'backendApi/commissionRule/updateStatus',
+     method: 'post',
+     data: data
+  })
+}
+
+// 保存分销提成规则
+export function saveCommissionRule(data) {
+  return request({
+     url: 'backendApi/commissionRule/save',
+     method: 'post',
+     data: data
+  })
+}
+
+// 删除分销提成规则
+export function removeCommissionRule(data) {
+  return request({
+    url: 'backendApi/commissionRule/updateStatus',
+    method: 'post',
+    data: data
+  })
+}

+ 11 - 0
src/api/common.js

@@ -0,0 +1,11 @@
+import request from '@/utils/request'
+
+// 生成二维码
+export function createQrCode(data) {
+  return request({
+    url: 'backendApi/common/createQrCode',
+    method: 'post',
+    data: data
+  })
+}
+

+ 18 - 0
src/api/coupon/confirmLog.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 分页查询核销流水列表
+export function getConfirmLogList(query) {
+  return request({
+      url: 'backendApi/confirmLog/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 撤销已使用的卡券
+export function rollbackUserCoupon(id, userCouponId) {
+  return request({
+    url: 'backendApi/confirmLog/rollbackUserCoupon/' + id + '?userCouponId=' + userCouponId,
+    method: 'get',
+  })
+}

+ 75 - 0
src/api/coupon/coupon.js

@@ -0,0 +1,75 @@
+import request from '@/utils/request'
+
+// 分页查询卡券列表
+export function getCouponList(query) {
+  return request({
+      url: 'backendApi/coupon/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询卡券信息
+export function getCouponInfo(id) {
+  return request({
+    url: 'backendApi/coupon/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateCouponStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/coupon/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除卡券
+export function deleteCoupon(id) {
+  return request({
+    url: 'backendApi/coupon/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存卡券
+export function saveCoupon(data) {
+  return request({
+    url: 'backendApi/coupon/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询卡券核销信息
+export function getConfirmInfo(data) {
+  return request({
+    url: 'backendApi/doConfirm/info',
+    method: 'post',
+    data: data
+  })
+}
+
+// 执行核销
+export function doConfirm(data) {
+  return request({
+    url: 'backendApi/doConfirm/doConfirm',
+    method: 'post',
+    data: data
+  })
+}
+
+// 发放卡券
+export function sendCoupon(params) {
+  return request({
+    url: 'backendApi/coupon/sendCoupon',
+    method: 'get',
+    params: params
+  })
+}

+ 18 - 0
src/api/coupon/give.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 分页查询转赠记录列表
+export function getGiveLogList(query) {
+  return request({
+      url: 'backendApi/give/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 获取转赠详情
+export function getGiveItem(id) {
+  return request({
+      url: 'backendApi/give/giveItem?giveId=' + id,
+      method: 'get',
+  })
+}

+ 57 - 0
src/api/coupon/group.js

@@ -0,0 +1,57 @@
+import request from '@/utils/request'
+
+// 分页查询卡券分组列表
+export function getGroupList(query) {
+  return request({
+      url: 'backendApi/couponGroup/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询卡券分组列表
+export function getAllGroupList(query) {
+  return request({
+    url: 'backendApi/couponGroup/quickSearch',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询分组信息
+export function getGroupInfo(id) {
+  return request({
+    url: 'backendApi/couponGroup/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateGroupStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/couponGroup/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除卡券分组
+export function deleteGroup(id) {
+  return request({
+    url: 'backendApi/couponGroup/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存卡券分组数据
+export function saveGroup(data) {
+  return request({
+    url: 'backendApi/couponGroup/save',
+    method: 'post',
+    data: data
+  })
+}

+ 18 - 0
src/api/coupon/sendLog.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 分页查询发券记录列表
+export function getSendLogList(query) {
+  return request({
+      url: 'backendApi/sendLog/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 撤销已发放的卡券
+export function removeUserCoupon(id) {
+  return request({
+    url: 'backendApi/sendLog/removeUserCoupon/' + id,
+    method: 'get',
+  })
+}

+ 19 - 0
src/api/coupon/userCoupon.js

@@ -0,0 +1,19 @@
+import request from '@/utils/request'
+
+// 分页查询会员卡券列表
+export function getUserCouponList(query) {
+  return request({
+      url: 'backendApi/userCoupon/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 作废会员卡券
+export function deleteUserCoupon(id) {
+  return request({
+      url: 'backendApi/userCoupon/delete/' + id,
+      method: 'get',
+  })
+}
+

+ 85 - 0
src/api/goods.js

@@ -0,0 +1,85 @@
+import request from '@/utils/request'
+
+// 分页查询商品列表
+export function getGoodsList(query) {
+  return request({
+      url: 'backendApi/goods/goods/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询商品详情
+export function getGoodsInfo(goodsId) {
+  return request({
+    url: 'backendApi/goods/goods/info/' + goodsId,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateGoodsStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/goods/goods/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存分类数据
+export function saveGoods(data) {
+  return request({
+      url: 'backendApi/goods/goods/save',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存商品规格名称
+export function saveSpecName(data) {
+  return request({
+      url: 'backendApi/goods/goods/saveSpecName',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存商品规格值
+export function saveSpecValue(data) {
+  return request({
+      url: 'backendApi/goods/goods/saveSpecValue',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除商品规格
+export function deleteSpec(query) {
+  return request({
+      url: 'backendApi/goods/goods/deleteSpec',
+      method: 'get',
+      params: query
+  })
+}
+
+// 删除商品规格值
+export function deleteSpecValue(query) {
+  return request({
+      url: 'backendApi/goods/goods/deleteSpecValue',
+      method: 'get',
+      params: query
+  })
+}
+
+// 获取选择商品列表
+export function selectGoodsList(data) {
+  return request({
+     url: 'backendApi/goods/goods/selectGoods',
+     method: 'post',
+     data: data
+  })
+}

+ 40 - 0
src/api/goodsCate.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 分页查询商品分类列表
+export function getGoodsCateList(query) {
+  return request({
+      url: 'backendApi/goods/cate/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询商品分类详情
+export function getGoodsCateInfo(cateId) {
+  return request({
+    url: 'backendApi/goods/cate/info/' + cateId,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateGoodsCateStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+    url: 'backendApi/goods/cate/updateStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 保存分类数据
+export function saveGoodsCate(data) {
+  return request({
+    url: 'backendApi/goods/cate/save',
+    method: 'post',
+    data: data
+  })
+}

+ 18 - 0
src/api/home.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 获取首页数据
+export function getHomeData() {
+  return request({
+    url: 'backendApi/home/index',
+    method: 'get'
+  })
+}
+
+// 获取统计数据
+export function getStatisticData(query) {
+  return request({
+    url: 'backendApi/home/statistic',
+    method: 'get',
+    params: query
+  })
+}

+ 43 - 0
src/api/login.js

@@ -0,0 +1,43 @@
+import request from '@/utils/request'
+
+// 登录方法
+export function login(username, password, captchaCode, uuid) {
+  const data = {
+    username,
+    password,
+    captchaCode,
+    uuid
+  }
+  return request({
+    url: 'backendApi/login/doLogin',
+    headers: {
+      isToken: false
+    },
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取用户详细信息
+export function getInfo() {
+  return request({
+    url: 'backendApi/login/getInfo',
+    method: 'get'
+  })
+}
+
+// 退出方法
+export function logout() {
+  return request({
+    url: 'backendApi/login/logout',
+    method: 'post'
+  })
+}
+
+// 获取验证码
+export function getCodeImg() {
+  return request({
+    url: 'clientApi/captcha/getCode',
+    method: 'get'
+  })
+}

+ 92 - 0
src/api/member.js

@@ -0,0 +1,92 @@
+import request from '@/utils/request'
+
+// 分页查询会员列表
+export function getMemberList(query) {
+  return request({
+      url: 'backendApi/member/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询会员信息
+export function getMemberInfo(memberId) {
+  return request({
+    url: 'backendApi/member/info/' + memberId,
+    method: 'get'
+  })
+}
+
+// 查询会员设置
+export function getMemberSetting() {
+  return request({
+    url: 'backendApi/member/setting',
+    method: 'get'
+  })
+}
+
+// 保存会员设置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/member/saveSetting',
+    method: 'post',
+    data: data
+  })
+}
+
+// 更新会员状态
+export function updateMemberStatus(userId, status) {
+  const data = {
+    userId,
+    status
+  }
+  return request({
+      url: 'backendApi/member/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除会员信息
+export function deleteMember(memberId) {
+  return request({
+    url: 'backendApi/member/delete/' + memberId,
+    method: 'get'
+  })
+}
+
+// 保存会员信息
+export function saveMember(data) {
+  return request({
+    url: 'backendApi/member/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询会员分组列表
+export function getGroupList(query) {
+  return request({
+    url: 'backendApi/member/groupList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查找会员
+export function searchMembers(query) {
+  return request({
+    url: 'backendApi/member/searchMembers',
+    method: 'get',
+    params: query
+  })
+}
+
+// 重置会员密码
+export function resetMemberPwd(data) {
+  return request({
+    url: 'backendApi/member/resetPwd',
+    method: 'post',
+    data: data
+  })
+}

+ 57 - 0
src/api/memberGroup.js

@@ -0,0 +1,57 @@
+import request from '@/utils/request'
+
+// 分页查询会员分组列表
+export function getGroupList(query) {
+  return request({
+      url: 'backendApi/memberGroup/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询会员分组列表
+export function getAllGroupList(query) {
+  return request({
+    url: 'backendApi/memberGroup/quickSearch',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询会员分组信息
+export function getGroupInfo(id) {
+  return request({
+    url: 'backendApi/memberGroup/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新会员分组状态
+export function updateGroupStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/memberGroup/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除会员分组
+export function deleteGroup(id) {
+  return request({
+    url: 'backendApi/memberGroup/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存会员分组数据
+export function saveGroup(data) {
+  return request({
+    url: 'backendApi/memberGroup/save',
+    method: 'post',
+    data: data
+  })
+}

+ 9 - 0
src/api/menu.js

@@ -0,0 +1,9 @@
+import request from '@/utils/request'
+
+// 获取路由
+export const getRouters = () => {
+  return request({
+    url: 'backendApi/login/getRouters',
+    method: 'get'
+  })
+}

+ 49 - 0
src/api/merchant.js

@@ -0,0 +1,49 @@
+import request from '@/utils/request'
+
+// 分页查询商户列表
+export function getMerchantList(query) {
+  return request({
+     url: 'backendApi/merchant/list',
+     method: 'get',
+     params: query
+  })
+}
+
+// 查询商户信息
+export function getMerchantInfo(merchantId) {
+  return request({
+     url: 'backendApi/merchant/info/' + merchantId,
+     method: 'get'
+  })
+}
+
+// 查询商户列表
+export function searchMerchant(param) {
+  return request({
+     url: 'backendApi/merchant/searchMerchant',
+     method: 'get',
+     params: param
+  })
+}
+
+// 更新商户状态
+export function updateMerchantStatus(merchantId, status) {
+  const data = {
+     merchantId,
+     status
+  }
+  return request({
+     url: 'backendApi/merchant/updateStatus',
+     method: 'post',
+     data: data
+  })
+}
+
+// 保存商户信息
+export function saveMerchant(data) {
+  return request({
+     url: 'backendApi/merchant/save',
+     method: 'post',
+     data: data
+  })
+}

+ 48 - 0
src/api/openGift.js

@@ -0,0 +1,48 @@
+import request from '@/utils/request'
+
+// 分页查询开卡赠礼列表
+export function getOpenGiftList(query) {
+  return request({
+      url: 'backendApi/openGift/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询信息
+export function getOpenGiftInfo(id) {
+  return request({
+    url: 'backendApi/openGift/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateOpenGiftStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/openGift/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除开卡赠礼
+export function deleteOpenGift(id) {
+  return request({
+    url: 'backendApi/openGift/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存数据
+export function saveOpenGift(data) {
+  return request({
+    url: 'backendApi/openGift/save',
+    method: 'post',
+    data: data
+  })
+}

+ 83 - 0
src/api/order.js

@@ -0,0 +1,83 @@
+import request from '@/utils/request'
+
+// 分页查询订单列表
+export function getOrderList(data) {
+  return request({
+      url: 'backendApi/order/list',
+      method: 'post',
+      data: data
+  })
+}
+
+// 查询订单信息
+export function getOrderInfo(orderId) {
+  return request({
+    url: 'backendApi/order/info/' + orderId,
+    method: 'get'
+  })
+}
+
+// 更新订单状态
+export function updateOrderStatus(orderId, status) {
+  const data = {
+    orderId,
+    status
+  }
+  return request({
+      url: 'backendApi/order/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除订单
+export function deleteOrder(orderId) {
+  return request({
+    url: 'backendApi/order/delete/' + orderId,
+    method: 'get'
+  })
+}
+
+// 保存订单数据
+export function saveOrder(data) {
+  return request({
+    url: 'backendApi/order/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 验证核销订单
+export function verifyOrder(data) {
+  return request({
+    url: 'backendApi/order/verify',
+    method: 'post',
+    data: data
+  })
+}
+
+// 提交发货信息
+export function delivered(data) {
+  return request({
+    url: 'backendApi/order/delivered',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取配置信息
+export function getSettingInfo() {
+  return request({
+    url: 'backendApi/order/setting',
+    method: 'get'
+  })
+}
+
+// 保存配置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/order/saveSetting',
+    method: 'post',
+    data: data
+  })
+}

+ 58 - 0
src/api/point.js

@@ -0,0 +1,58 @@
+import request from '@/utils/request'
+
+// 分页查询积分明细列表
+export function getPointList(query) {
+  return request({
+      url: 'backendApi/point/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询明细详情
+export function getPointInfo(memberId) {
+  return request({
+    url: 'backendApi/point/info/' + memberId,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updatePointStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/point/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 获取配置信息
+export function getSettingInfo() {
+  return request({
+    url: 'backendApi/point/setting',
+    method: 'get'
+  })
+}
+
+// 保存配置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/point/saveSetting',
+    method: 'post',
+    data: data
+  })
+}
+
+// 确定充值
+export function doRecharge(data) {
+  return request({
+    url: 'backendApi/point/doRecharge',
+    method: 'post',
+    data: data
+  })
+}
+

+ 65 - 0
src/api/printer.js

@@ -0,0 +1,65 @@
+import request from '@/utils/request'
+
+// 分页查询打印机列表
+export function getPrinterList(query) {
+  return request({
+      url: 'backendApi/printer/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询打印机信息
+export function getPrinterInfo(printerId) {
+  return request({
+    url: 'backendApi/printer/info/' + printerId,
+    method: 'get'
+  })
+}
+
+// 更新打印机状态
+export function updatePrinterStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/printer/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存打印机
+export function savePrinter(data) {
+  return request({
+    url: 'backendApi/printer/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 保存打印设置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/printer/saveSetting',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取打印配置
+export function getSettingInfo() {
+  return request({
+    url: 'backendApi/printer/setting',
+    method: 'get'
+  })
+}
+
+// 打印订单信息
+export function doPrint(orderId) {
+  return request({
+    url: 'backendApi/printer/doPrint/' + orderId,
+    method: 'get'
+  })
+}

+ 44 - 0
src/api/refund.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 分页查询退款订单列表
+export function getRefundList(query) {
+  return request({
+      url: 'backendApi/refund/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询订单信息
+export function getRefundInfo(refundId) {
+  return request({
+    url: 'backendApi/refund/info/' + refundId,
+    method: 'get'
+  })
+}
+
+// 订单退款
+export function doRefund(data) {
+  return request({
+      url: 'backendApi/refund/doRefund',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除退款订单
+export function deleteRefund(refundId) {
+  return request({
+    url: 'backendApi/refund/delete/' + refundId,
+    method: 'get'
+  })
+}
+
+// 保存退款订单
+export function saveRefund(data) {
+  return request({
+    url: 'backendApi/refund/save',
+    method: 'post',
+    data: data
+  })
+}

+ 39 - 0
src/api/settlement.js

@@ -0,0 +1,39 @@
+import request from '@/utils/request'
+
+// 分页查询结算列表
+export function getSettlementList(query) {
+  return request({
+      url: 'backendApi/settlement/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询结算详情
+export function getSettlementInfo(query) {
+  return request({
+    url: 'backendApi/settlement/info/',
+    method: 'get',
+    params: query
+  })
+}
+
+// 提交结算
+export function doSubmit(data) {
+  return request({
+    url: 'backendApi/settlement/doSubmit',
+    method: 'post',
+    data: data
+  })
+}
+
+// 提交确认
+export function doConfirm(data) {
+  return request({
+    url: 'backendApi/settlement/doConfirm',
+    method: 'post',
+    data: data
+  })
+}
+
+

+ 36 - 0
src/api/smsManager.js

@@ -0,0 +1,36 @@
+import request from '@/utils/request'
+
+// 分页查询短信列表
+export function getSmsList(query) {
+  return request({
+      url: 'backendApi/smsManager/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 发送短信
+export function sendSms(data) {
+  return request({
+    url: 'backendApi/smsManager/send',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询短信设置
+export function getSmsSetting() {
+  return request({
+    url: 'backendApi/smsManager/setting',
+    method: 'get'
+  })
+}
+
+// 保存短信设置
+export function saveSetting(data) {
+  return request({
+    url: 'backendApi/smsManager/saveSetting',
+    method: 'post',
+    data: data
+  })
+}

+ 48 - 0
src/api/smsTemplate.js

@@ -0,0 +1,48 @@
+import request from '@/utils/request'
+
+// 分页查询短信模板列表
+export function getSmsTemplateList(query) {
+  return request({
+      url: 'backendApi/smsTemplate/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询信息
+export function getSmsTemplateInfo(id) {
+  return request({
+    url: 'backendApi/smsTemplate/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateSmsTemplateStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/smsTemplate/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除短信模板
+export function deleteSmsTemplate(id) {
+  return request({
+    url: 'backendApi/smsTemplate/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存数据
+export function saveSmsTemplate(data) {
+  return request({
+    url: 'backendApi/smsTemplate/save',
+    method: 'post',
+    data: data
+  })
+}

+ 56 - 0
src/api/staff.js

@@ -0,0 +1,56 @@
+import request from '@/utils/request'
+
+// 查询员工列表
+export function getStaffList(query) {
+  return request({
+      url: 'backendApi/staff/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询员工信息
+export function getStaffInfo(staffId) {
+  return request({
+    url: 'backendApi/staff/info/' + staffId,
+    method: 'get'
+  })
+}
+
+// 删除员工信息
+export function deleteStaff(staffId) {
+  return request({
+    url: 'backendApi/staff/delete/' + staffId,
+    method: 'get'
+  })
+}
+
+// 获取店铺员工列表
+export function getStoreStaffList(storeId) {
+  return request({
+    url: 'backendApi/staff/storeStaffList/' + storeId,
+    method: 'get'
+  })
+}
+
+// 更新员工状态
+export function updateStaffStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/staff/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存员工信息
+export function saveStaff(data) {
+  return request({
+    url: 'backendApi/staff/save',
+    method: 'post',
+    data: data
+  })
+}

+ 27 - 0
src/api/statistic.js

@@ -0,0 +1,27 @@
+import request from '@/utils/request'
+
+// 获取看板数据
+export function getMainData(params) {
+  return request({
+    url: 'backendApi/statistic/main',
+    method: 'post',
+    data: params
+  })
+}
+
+// 获取排行榜数据
+export function getTopData(params) {
+  return request({
+    url: 'backendApi/statistic/top',
+    method: 'post',
+    data: params
+  })
+}
+
+// 获取总会员数量
+export function getTotalMember() {
+  return request({
+    url: 'backendApi/statistic/totalMember',
+    method: 'get'
+  })
+}

+ 40 - 0
src/api/stock.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 分页查询库存管理记录列表
+export function getStockList(query) {
+  return request({
+      url: 'backendApi/stock/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 删除库存管理记录
+export function deleteStock(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+    url: 'backendApi/stock/delete',
+    method: 'post',
+    data: data
+  })
+}
+
+// 保存库存管理记录
+export function saveStock(data) {
+  return request({
+    url: 'backendApi/stock/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取库存管理记录详情
+export function getStockInfo(cateId) {
+  return request({
+    url: 'backendApi/stock/info/' + cateId,
+    method: 'get'
+  })
+}

+ 49 - 0
src/api/store.js

@@ -0,0 +1,49 @@
+import request from '@/utils/request'
+
+// 分页查询店铺列表
+export function getStoreList(query) {
+  return request({
+      url: 'backendApi/store/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询店铺信息
+export function getStoreInfo(storeId) {
+  return request({
+    url: 'backendApi/store/info/' + storeId,
+    method: 'get'
+  })
+}
+
+// 查询店铺列表
+export function searchStore(param) {
+  return request({
+    url: 'backendApi/store/searchStore',
+    method: 'get',
+    params: param
+  })
+}
+
+// 更新店铺状态
+export function updateStoreStatus(storeId, status) {
+  const data = {
+    storeId,
+    status
+  }
+  return request({
+      url: 'backendApi/store/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存店铺
+export function saveStore(data) {
+  return request({
+    url: 'backendApi/store/save',
+    method: 'post',
+    data: data
+  })
+}

+ 48 - 0
src/api/subMessage.js

@@ -0,0 +1,48 @@
+import request from '@/utils/request'
+
+// 分页查询订阅消息列表
+export function getSubMessageList(query) {
+  return request({
+      url: 'backendApi/subMessage/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询信息
+export function getSubMessageInfo(id) {
+  return request({
+    url: 'backendApi/subMessage/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateSubMessageStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/subMessage/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除订阅消息
+export function deleteSubMessage(id) {
+  return request({
+    url: 'backendApi/subMessage/delete/' + id,
+    method: 'get'
+  })
+}
+
+// 保存数据
+export function saveSubMessage(data) {
+  return request({
+    url: 'backendApi/subMessage/save',
+    method: 'post',
+    data: data
+  })
+}

+ 127 - 0
src/api/system/account.js

@@ -0,0 +1,127 @@
+import request from '@/utils/request'
+import { parseStrEmpty } from "@/utils/fuint";
+
+// 查询用户列表
+export function getAccountList(query) {
+  return request({
+    url: 'backendApi/account/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户详细
+export function getAccount(userId) {
+  return request({
+    url: 'backendApi/account/info/' + parseStrEmpty(userId),
+    method: 'get'
+  })
+}
+
+// 新增用户
+export function addAccount(data) {
+  return request({
+    url: 'backendApi/account/doCreate',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户
+export function updateAccount(data) {
+  return request({
+    url: 'backendApi/account/update',
+    method: 'post',
+    data: data
+  })
+}
+
+// 删除用户
+export function delAccount(userId) {
+  return request({
+    url: 'backendApi/account/delete/' + userId,
+    method: 'get'
+  })
+}
+
+// 用户密码重置
+export function resetAccountPwd(userId, password) {
+  const data = {
+    userId,
+    password
+  }
+  return request({
+    url: 'backendApi/account/resetPwd',
+    method: 'post',
+    data: data
+  })
+}
+
+// 用户状态修改
+export function changeAccountStatus(userId, status) {
+  const data = {
+    userId,
+    status
+  }
+  return request({
+    url: 'backendApi/account/updateStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询用户个人信息
+export function getAccountProfile() {
+  return request({
+    url: 'backendApi/account/profile',
+    method: 'get'
+  })
+}
+
+// 修改用户个人信息
+export function updateAccountProfile(data) {
+  return request({
+    url: 'backendApi/account/profile',
+    method: 'post',
+    data: data
+  })
+}
+
+// 用户密码重置
+export function updateAccountPwd(oldPassword, newPassword) {
+  const data = {
+    oldPassword,
+    newPassword
+  }
+  return request({
+    url: 'backendApi/account/profile/updatePwd',
+    method: 'post',
+    params: data
+  })
+}
+
+// 用户头像上传
+export function uploadAvatar(data) {
+  return request({
+    url: 'backendApi/account/profile/avatar',
+    method: 'post',
+    data: data
+  })
+}
+
+// 查询授权角色
+export function getAuthRole(userId) {
+  return request({
+    url: 'backendApi/account/authRole/' + userId,
+    method: 'get'
+  })
+}
+
+// 保存授权角色
+export function updateAuthRole(data) {
+  return request({
+    url: 'backendApi/account/authRole',
+    method: 'post',
+    params: data
+  })
+}

+ 60 - 0
src/api/system/config.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询参数列表
+export function listConfig(query) {
+  return request({
+    url: '/system/config/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询参数详细
+export function getConfig(configId) {
+  return request({
+    url: '/system/config/' + configId,
+    method: 'get'
+  })
+}
+
+// 根据参数键名查询参数值
+export function getConfigKey(configKey) {
+  return request({
+    url: '/system/config/configKey/' + configKey,
+    method: 'get'
+  })
+}
+
+// 新增参数配置
+export function addConfig(data) {
+  return request({
+    url: '/system/config',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改参数配置
+export function updateConfig(data) {
+  return request({
+    url: '/system/config',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除参数配置
+export function delConfig(configId) {
+  return request({
+    url: '/system/config/' + configId,
+    method: 'delete'
+  })
+}
+
+// 刷新参数缓存
+export function refreshCache() {
+  return request({
+    url: '/system/config/refreshCache',
+    method: 'delete'
+  })
+}

+ 52 - 0
src/api/system/dict/data.js

@@ -0,0 +1,52 @@
+import request from '@/utils/request'
+
+// 查询字典数据列表
+export function listData(query) {
+  return request({
+    url: '/system/dict/data/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询字典数据详细
+export function getData(dictCode) {
+  return request({
+    url: '/system/dict/data/' + dictCode,
+    method: 'get'
+  })
+}
+
+// 根据字典类型查询字典数据信息
+export function getDicts(dictType) {
+  return request({
+    url: '/system/dict/data/type/' + dictType,
+    method: 'get'
+  })
+}
+
+// 新增字典数据
+export function addData(data) {
+  return request({
+    url: '/system/dict/data',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改字典数据
+export function updateData(data) {
+  return request({
+    url: '/system/dict/data',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除字典数据
+export function delData(dictCode) {
+  return request({
+    url: '/system/dict/data/' + dictCode,
+    method: 'delete'
+  })
+}

+ 60 - 0
src/api/system/dict/type.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询字典类型列表
+export function listType(query) {
+  return request({
+    url: '/system/dict/type/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询字典类型详细
+export function getType(dictId) {
+  return request({
+    url: '/system/dict/type/' + dictId,
+    method: 'get'
+  })
+}
+
+// 新增字典类型
+export function addType(data) {
+  return request({
+    url: '/system/dict/type',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改字典类型
+export function updateType(data) {
+  return request({
+    url: '/system/dict/type',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除字典类型
+export function delType(dictId) {
+  return request({
+    url: '/system/dict/type/' + dictId,
+    method: 'delete'
+  })
+}
+
+// 刷新字典缓存
+export function refreshCache() {
+  return request({
+    url: '/system/dict/type/refreshCache',
+    method: 'delete'
+  })
+}
+
+// 获取字典选择框列表
+export function optionselect() {
+  return request({
+    url: '/system/dict/type/optionselect',
+    method: 'get'
+  })
+}

+ 48 - 0
src/api/system/genCode.js

@@ -0,0 +1,48 @@
+import request from '@/utils/request'
+
+// 分页查询生成代码列表
+export function getGenCodeList(query) {
+  return request({
+      url: 'backendApi/genCode/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询生成代码信息
+export function getGenCodeInfo(id) {
+  return request({
+    url: 'backendApi/genCode/info/' + id,
+    method: 'get'
+  })
+}
+
+// 更新生成代码状态
+export function updateGenCodeStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/genCode/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存生成代码
+export function saveGenCode(data) {
+  return request({
+    url: 'backendApi/genCode/save',
+    method: 'post',
+    data: data
+  })
+}
+
+// 执行生成代码
+export function doGenCode(id) {
+  return request({
+    url: 'backendApi/genCode/gen/' + id,
+    method: 'get'
+  })
+}

+ 18 - 0
src/api/system/logs.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 查询操作日志列表
+export function list(query) {
+  return request({
+    url: 'backendApi/actlog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除操作日志
+export function delOperlog(logId) {
+  return request({
+    url: 'backendApi/actlog/delete/' + logId,
+    method: 'get'
+  })
+}

+ 60 - 0
src/api/system/menu.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询菜单列表
+export function listMenu(query) {
+  return request({
+    url: 'backendApi/source/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询菜单详细
+export function getMenu(menuId) {
+  return request({
+    url: 'backendApi/source/info/' + menuId,
+    method: 'get'
+  })
+}
+
+// 查询菜单下拉树结构
+export function treeselect() {
+  return request({
+    url: 'backendApi/source/treeselect',
+    method: 'get'
+  })
+}
+
+// 根据角色ID查询菜单下拉树结构
+export function roleMenuTreeselect(roleId) {
+  return request({
+    url: 'backendApi/source/roleMenuTreeselect/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增菜单
+export function addMenu(data) {
+  return request({
+    url: 'backendApi/source/add',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改菜单
+export function updateMenu(data) {
+  return request({
+    url: 'backendApi/source/update',
+    method: 'post',
+    data: data
+  })
+}
+
+// 删除菜单
+export function delMenu(menuId) {
+  return request({
+    url: 'backendApi/source/delete/' + menuId,
+    method: 'get'
+  })
+}

+ 44 - 0
src/api/system/notice.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+// 查询公告列表
+export function listNotice(query) {
+  return request({
+    url: '/system/notice/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询公告详细
+export function getNotice(noticeId) {
+  return request({
+    url: '/system/notice/' + noticeId,
+    method: 'get'
+  })
+}
+
+// 新增公告
+export function addNotice(data) {
+  return request({
+    url: '/system/notice',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改公告
+export function updateNotice(data) {
+  return request({
+    url: '/system/notice',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除公告
+export function delNotice(noticeId) {
+  return request({
+    url: '/system/notice/' + noticeId,
+    method: 'delete'
+  })
+}

+ 111 - 0
src/api/system/role.js

@@ -0,0 +1,111 @@
+import request from '@/utils/request'
+
+// 查询角色列表
+export function listRole(query) {
+  return request({
+    url: 'backendApi/duty/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色详细
+export function getRole(roleId) {
+  return request({
+    url: 'backendApi/duty/info/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色
+export function addRole(data) {
+  return request({
+    url: 'backendApi/duty/add',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色
+export function updateRole(data) {
+  return request({
+    url: 'backendApi/duty/update',
+    method: 'post',
+    data: data
+  })
+}
+
+// 角色数据权限
+export function dataScope(data) {
+  return request({
+    url: 'backendApi/duty/dataScope',
+    method: 'post',
+    data: data
+  })
+}
+
+// 角色状态修改
+export function changeRoleStatus(roleId, status) {
+  const data = {
+    roleId,
+    status
+  }
+  return request({
+    url: 'backendApi/duty/changeStatus',
+    method: 'post',
+    data: data
+  })
+}
+
+// 删除角色
+export function delRole(roleId) {
+  return request({
+    url: 'backendApi/duty/delete/' + roleId,
+    method: 'post'
+  })
+}
+
+// 查询角色已授权用户列表
+export function getRoleUserList(query) {
+  return request({
+    url: 'backendApi/duty/getRoleUserList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色未授权用户列表
+export function unallocatedUserList(query) {
+  return request({
+    url: 'backendApi/duty/authUser/unallocatedList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 取消用户授权角色
+export function authUserCancel(data) {
+  return request({
+    url: 'backendApi/duty/authUser/cancel',
+    method: 'post',
+    data: data
+  })
+}
+
+// 批量取消用户授权角色
+export function authUserCancelAll(data) {
+  return request({
+    url: 'backendApi/duty/authUser/cancelAll',
+    method: 'post',
+    params: data
+  })
+}
+
+// 授权用户选择
+export function authUserSelectAll(data) {
+  return request({
+    url: 'backendApi/duty/authUser/selectAll',
+    method: 'post',
+    params: data
+  })
+}

+ 40 - 0
src/api/table.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 分页查询桌码列表
+export function getTableList(query) {
+  return request({
+      url: 'backendApi/table/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询桌码信息
+export function getTableInfo(tableId) {
+  return request({
+    url: 'backendApi/table/info/' + tableId,
+    method: 'get'
+  })
+}
+
+// 更新桌码状态
+export function updateTableStatus(id, status) {
+  const data = {
+    id,
+    status
+  }
+  return request({
+      url: 'backendApi/table/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 保存桌码信息
+export function saveTable(data) {
+  return request({
+    url: 'backendApi/table/save',
+    method: 'post',
+    data: data
+  })
+}

+ 76 - 0
src/api/tool/gen.js

@@ -0,0 +1,76 @@
+import request from '@/utils/request'
+
+// 查询生成表数据
+export function listTable(query) {
+  return request({
+    url: '/tool/gen/list',
+    method: 'get',
+    params: query
+  })
+}
+// 查询db数据库列表
+export function listDbTable(query) {
+  return request({
+    url: '/tool/gen/db/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询表详细信息
+export function getGenTable(tableId) {
+  return request({
+    url: '/tool/gen/' + tableId,
+    method: 'get'
+  })
+}
+
+// 修改代码生成信息
+export function updateGenTable(data) {
+  return request({
+    url: '/tool/gen',
+    method: 'put',
+    data: data
+  })
+}
+
+// 导入表
+export function importTable(data) {
+  return request({
+    url: '/tool/gen/importTable',
+    method: 'post',
+    params: data
+  })
+}
+
+// 预览生成代码
+export function previewTable(tableId) {
+  return request({
+    url: '/tool/gen/preview/' + tableId,
+    method: 'get'
+  })
+}
+
+// 删除表数据
+export function delTable(tableId) {
+  return request({
+    url: '/tool/gen/' + tableId,
+    method: 'delete'
+  })
+}
+
+// 生成代码(自定义路径)
+export function genCode(tableName) {
+  return request({
+    url: '/tool/gen/genCode/' + tableName,
+    method: 'get'
+  })
+}
+
+// 同步数据库
+export function synchDb(tableName) {
+  return request({
+    url: '/tool/gen/synchDb/' + tableName,
+    method: 'get'
+  })
+}

+ 48 - 0
src/api/userGrade.js

@@ -0,0 +1,48 @@
+import request from '@/utils/request'
+
+// 分页查询会员等级列表
+export function getUserGradeList(query) {
+  return request({
+      url: 'backendApi/userGrade/list',
+      method: 'get',
+      params: query
+  })
+}
+
+// 查询等级信息
+export function getUserGradeInfo(memberId) {
+  return request({
+    url: 'backendApi/userGrade/info/' + memberId,
+    method: 'get'
+  })
+}
+
+// 更新状态
+export function updateUserGradeStatus(userGradeId, status) {
+  const data = {
+    userGradeId,
+    status
+  }
+  return request({
+      url: 'backendApi/userGrade/updateStatus',
+      method: 'post',
+      data: data
+  })
+}
+
+// 删除会员等级信息
+export function deleteUserGrade(gradeId) {
+  return request({
+    url: 'backendApi/userGrade/delete/' + gradeId,
+    method: 'get'
+  })
+}
+
+// 保存数据
+export function saveUserGrade(data) {
+  return request({
+    url: 'backendApi/userGrade/save',
+    method: 'post',
+    data: data
+  })
+}

BIN
src/assets/401_images/401.gif


BIN
src/assets/404_images/404.png


BIN
src/assets/404_images/404_cloud.png


+ 9 - 0
src/assets/icons/index.js

@@ -0,0 +1,9 @@
+import Vue from 'vue'
+import SvgIcon from '@/components/SvgIcon'// svg component
+
+// register globally
+Vue.component('svg-icon', SvgIcon)
+
+const req = require.context('./svg', false, /\.svg$/)
+const requireAll = requireContext => requireContext.keys().map(requireContext)
+requireAll(req)

+ 1 - 0
src/assets/icons/svg/404.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M121.718 73.272v9.953c3.957-7.584 6.199-16.05 6.199-24.995C127.917 26.079 99.273 0 63.958 0 28.644 0 0 26.079 0 58.23c0 .403.028.806.028 1.21l22.97-25.953h13.34l-19.76 27.187h6.42V53.77l13.728-19.477v49.361H22.998V73.272H2.158c5.951 20.284 23.608 36.208 45.998 41.399-1.44 3.3-5.618 11.263-12.565 12.674-8.607 1.764 23.358.428 46.163-13.178 17.519-4.611 31.938-15.849 39.77-30.513h-13.506V73.272H85.02V59.464l22.998-25.977h13.008l-19.429 27.187h6.421v-7.433l13.727-19.402v39.433h-.027zm-78.24 2.822a10.516 10.516 0 0 1-.996-4.535V44.548c0-1.613.332-3.124.996-4.535a11.66 11.66 0 0 1 2.713-3.68c1.134-1.032 2.49-1.864 4.04-2.468 1.55-.605 3.21-.908 4.982-.908h11.292c1.77 0 3.431.303 4.981.908 1.522.604 2.85 1.41 3.986 2.418l-12.26 16.303v-2.898a1.96 1.96 0 0 0-.665-1.512c-.443-.403-.996-.604-1.66-.604-.665 0-1.218.201-1.661.604a1.96 1.96 0 0 0-.664 1.512v9.071L44.364 77.606a10.556 10.556 0 0 1-.886-1.512zm35.73-4.535c0 1.613-.332 3.124-.997 4.535a11.66 11.66 0 0 1-2.712 3.68c-1.134 1.032-2.49 1.864-4.04 2.469-1.55.604-3.21.907-4.982.907H55.185c-1.77 0-3.431-.303-4.981-.907-1.55-.605-2.906-1.437-4.041-2.47a12.49 12.49 0 0 1-1.384-1.512l13.727-18.217v6.375c0 .605.222 1.109.665 1.512.442.403.996.604 1.66.604.664 0 1.218-.201 1.66-.604a1.96 1.96 0 0 0 .665-1.512V53.87L75.97 36.838c.913.932 1.66 1.99 2.214 3.175.664 1.41.996 2.922.996 4.535v27.011h.028z"/></svg>

+ 1 - 0
src/assets/icons/svg/bug.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M127.88 73.143c0 1.412-.506 2.635-1.518 3.669-1.011 1.033-2.209 1.55-3.592 1.55h-17.887c0 9.296-1.783 17.178-5.35 23.645l16.609 17.044c1.011 1.034 1.517 2.257 1.517 3.67 0 1.412-.506 2.635-1.517 3.668-.958 1.033-2.155 1.55-3.593 1.55-1.438 0-2.635-.517-3.593-1.55l-15.811-16.063a15.49 15.49 0 0 1-1.196 1.06c-.532.434-1.65 1.208-3.353 2.322a50.104 50.104 0 0 1-5.192 2.974c-1.758.87-3.94 1.658-6.546 2.364-2.607.706-5.189 1.06-7.748 1.06V47.044H58.89v73.062c-2.716 0-5.417-.367-8.106-1.102-2.688-.734-5.003-1.631-6.945-2.692a66.769 66.769 0 0 1-5.268-3.179c-1.571-1.057-2.73-1.94-3.476-2.65L33.9 109.34l-14.611 16.877c-1.066 1.14-2.344 1.711-3.833 1.711-1.277 0-2.422-.434-3.434-1.304-1.012-.978-1.557-2.187-1.635-3.627-.079-1.44.333-2.705 1.236-3.794l16.129-18.51c-3.087-6.197-4.63-13.644-4.63-22.342H5.235c-1.383 0-2.58-.517-3.592-1.55S.125 74.545.125 73.132c0-1.412.506-2.635 1.518-3.668 1.012-1.034 2.21-1.55 3.592-1.55h17.887V43.939L9.308 29.833c-1.012-1.033-1.517-2.256-1.517-3.669 0-1.412.505-2.635 1.517-3.668 1.012-1.034 2.21-1.55 3.593-1.55s2.58.516 3.593 1.55l13.813 14.106h67.396l13.814-14.106c1.012-1.034 2.21-1.55 3.592-1.55 1.384 0 2.581.516 3.593 1.55 1.012 1.033 1.518 2.256 1.518 3.668 0 1.413-.506 2.636-1.518 3.67l-13.814 14.105v23.975h17.887c1.383 0 2.58.516 3.593 1.55 1.011 1.033 1.517 2.256 1.517 3.668l-.005.01zM89.552 26.175H38.448c0-7.23 2.489-13.386 7.466-18.469C50.892 2.623 56.92.082 64 .082c7.08 0 13.108 2.541 18.086 7.624 4.977 5.083 7.466 11.24 7.466 18.469z"/></svg>

+ 1 - 0
src/assets/icons/svg/build.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1568899741379" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2054" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M960 591.424V368.96c0-0.288 0.16-0.512 0.16-0.768S960 367.68 960 367.424V192a32 32 0 0 0-32-32H96a32 32 0 0 0-32 32v175.424c0 0.288-0.16 0.512-0.16 0.768s0.16 0.48 0.16 0.768v222.464c0 0.288-0.16 0.512-0.16 0.768s0.16 0.48 0.16 0.768V864a32 32 0 0 0 32 32h832a32 32 0 0 0 32-32v-271.04c0-0.288 0.16-0.512 0.16-0.768S960 591.68 960 591.424z m-560-31.232v-160H608v160h-208z m208 64V832h-208v-207.808H608z m-480-224h208v160H128v-160z m544 0h224v160h-224v-160zM896 224v112.192H128V224h768zM128 624.192h208V832H128v-207.808zM672 832v-207.808h224V832h-224z" p-id="2055"></path></svg>

File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/button.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/cascader.svg


+ 1 - 0
src/assets/icons/svg/chart.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M0 54.857h36.571V128H0V54.857zM91.429 27.43H128V128H91.429V27.429zM45.714 0h36.572v128H45.714V0z"/></svg>

+ 1 - 0
src/assets/icons/svg/checkbox.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1575982282951" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="902" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M828.40625 90.125H195.59375C137.375 90.125 90.125 137.375 90.125 195.59375v632.8125c0 58.21875 47.25 105.46875 105.46875 105.46875h632.8125c58.21875 0 105.46875-47.25 105.46875-105.46875V195.59375c0-58.21875-47.25-105.46875-105.46875-105.46875z m52.734375 738.28125c0 29.16-23.57015625 52.734375-52.734375 52.734375H195.59375c-29.109375 0-52.734375-23.574375-52.734375-52.734375V195.59375c0-29.109375 23.625-52.734375 52.734375-52.734375h632.8125c29.16 0 52.734375 23.625 52.734375 52.734375v632.8125z" p-id="903"></path><path d="M421.52890625 709.55984375a36.28125 36.28125 0 0 1-27.55265625-12.66890625L205.17453125 476.613125a36.28546875 36.28546875 0 0 1 55.10109375-47.22890625l164.986875 192.4846875 342.16171875-298.48078125a36.2896875 36.2896875 0 0 1 47.70984375 54.68765625L445.3859375 700.6203125a36.3234375 36.3234375 0 0 1-23.85703125 8.93953125z" p-id="904"></path></svg>

+ 1 - 0
src/assets/icons/svg/clipboard.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M54.857 118.857h64V73.143H89.143c-1.902 0-3.52-.668-4.855-2.002-1.335-1.335-2.002-2.954-2.002-4.855V36.57H54.857v82.286zM73.143 16v-4.571a2.2 2.2 0 0 0-.677-1.61 2.198 2.198 0 0 0-1.609-.676H20.571c-.621 0-1.158.225-1.609.676a2.198 2.198 0 0 0-.676 1.61V16a2.2 2.2 0 0 0 .676 1.61c.451.45.988.676 1.61.676h50.285c.622 0 1.158-.226 1.61-.677.45-.45.676-.987.676-1.609zm18.286 48h21.357L91.43 42.642V64zM128 73.143v48c0 1.902-.667 3.52-2.002 4.855-1.335 1.335-2.953 2.002-4.855 2.002H52.57c-1.901 0-3.52-.667-4.854-2.002-1.335-1.335-2.003-2.953-2.003-4.855v-11.429H6.857c-1.902 0-3.52-.667-4.855-2.002C.667 106.377 0 104.759 0 102.857v-96c0-1.902.667-3.52 2.002-4.855C3.337.667 4.955 0 6.857 0h77.714c1.902 0 3.52.667 4.855 2.002 1.335 1.335 2.003 2.953 2.003 4.855V30.29c1 .622 1.856 1.29 2.569 2.003l29.147 29.147c1.335 1.335 2.478 3.145 3.429 5.43.95 2.287 1.426 4.383 1.426 6.291v-.018z"/></svg>

+ 1 - 0
src/assets/icons/svg/code.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1546567861908" class="icon" style="" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="2422" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M318.577778 819.2L17.066667 512l301.511111-307.2 45.511111 45.511111L96.711111 512l267.377778 261.688889zM705.422222 819.2l-45.511111-45.511111L927.288889 512l-267.377778-261.688889 45.511111-45.511111L1006.933333 512zM540.785778 221.866667l55.751111 11.150222L483.157333 802.133333l-55.751111-11.093333z" fill="#bfbfbf" p-id="2423"></path></svg>

File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/color.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/component.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/dashboard.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/date-range.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/date.svg


File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/dict.svg


+ 1 - 0
src/assets/icons/svg/documentation.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M71.984 44.815H115.9L71.984 9.642v35.173zM16.094.05h63.875l47.906 38.37v76.74c0 3.392-1.682 6.645-4.677 9.044-2.995 2.399-7.056 3.746-11.292 3.746H16.094c-4.236 0-8.297-1.347-11.292-3.746-2.995-2.399-4.677-5.652-4.677-9.044V12.84C.125 5.742 7.23.05 16.094.05zm71.86 102.32V89.58h-71.86v12.79h71.86zm23.952-25.58V64H16.094v12.79h95.812z"/></svg>

+ 1 - 0
src/assets/icons/svg/download.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1569915748289" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="3062" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M768.35456 416a256 256 0 1 0-512 0 192 192 0 1 0 0 384v64a256 256 0 0 1-58.88-505.216 320.128 320.128 0 0 1 629.76 0A256.128 256.128 0 0 1 768.35456 864v-64a192 192 0 0 0 0-384z m-512 384h64v64H256.35456v-64z m448 0h64v64h-64v-64z" fill="#333333" p-id="3063"></path><path d="M539.04256 845.248V512.192a32.448 32.448 0 0 0-32-32.192c-17.664 0-32 14.912-32 32.192v333.056l-36.096-36.096a32.192 32.192 0 0 0-45.056 0.192 31.616 31.616 0 0 0-0.192 45.056l90.88 90.944a31.36 31.36 0 0 0 22.528 9.088 30.08 30.08 0 0 0 22.4-9.088l90.88-90.88a32.192 32.192 0 0 0-0.192-45.12 31.616 31.616 0 0 0-45.056-0.192l-36.096 36.096z" fill="#333333" p-id="3064"></path></svg>

+ 1 - 0
src/assets/icons/svg/drag.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M73.137 29.08h-9.209 29.7L63.886.093 34.373 29.08h20.49v27.035H27.238v17.948h27.625v27.133h18.274V74.063h27.41V56.115h-27.41V29.08zm-9.245 98.827l27.518-26.711H36.59l27.302 26.71zM.042 64.982l27.196 27.029V38.167L.042 64.982zm100.505-26.815V92.01l27.41-27.029-27.41-26.815z"/></svg>

+ 1 - 0
src/assets/icons/svg/druid.svg

@@ -0,0 +1 @@
+<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1566036347051" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="5853" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200"><defs><style type="text/css"></style></defs><path d="M832 128H192a64.19 64.19 0 0 0-64 64v640a64.19 64.19 0 0 0 64 64h640a64.19 64.19 0 0 0 64-64V192a64.19 64.19 0 0 0-64-64z m0 703.89l-0.11 0.11H192.11l-0.11-0.11V768h640zM832 544H720L605.6 696.54 442.18 435.07 333.25 544H192v-64h114.75l147.07-147.07L610.4 583.46 688 480h144z m0-288H192v-63.89l0.11-0.11h639.78l0.11 0.11z" p-id="5854"></path></svg>

+ 1 - 0
src/assets/icons/svg/edit.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M106.133 67.2a4.797 4.797 0 0 0-4.8 4.8c0 .187.014.36.027.533h-.027V118.4H9.6V26.667h50.133c2.654 0 4.8-2.147 4.8-4.8 0-2.654-2.146-4.8-4.8-4.8H9.6a9.594 9.594 0 0 0-9.6 9.6V118.4c0 5.307 4.293 9.6 9.6 9.6h91.733c5.307 0 9.6-4.293 9.6-9.6V72.533h-.026c.013-.173.026-.346.026-.533 0-2.653-2.146-4.8-4.8-4.8z"/><path d="M125.16 13.373L114.587 2.8c-3.747-3.747-9.854-3.72-13.6.027l-52.96 52.96a4.264 4.264 0 0 0-.907 1.36L33.813 88.533c-.746 1.76-.226 3.534.907 4.68 1.133 1.147 2.92 1.667 4.693.92l31.4-13.293c.507-.213.96-.52 1.36-.907l52.96-52.96c3.747-3.746 3.774-9.853.027-13.6zM66.107 72.4l-18.32 7.76 7.76-18.32L92.72 24.667l10.56 10.56L66.107 72.4zm52.226-52.227l-8.266 8.267-10.56-10.56 8.266-8.267.027-.026 10.56 10.56-.027.026z"/></svg>

+ 1 - 0
src/assets/icons/svg/education.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M88.883 119.565c-7.284 0-19.434 2.495-21.333 8.25v.127c-4.232.13-5.222 0-7.108 0-1.895-5.76-14.045-8.256-21.333-8.256H0V0h42.523c9.179 0 17.109 5.47 21.47 13.551C68.352 5.475 76.295 0 85.478 0H128v119.57l-39.113-.005h-.004zM60.442 24.763c0-9.651-8.978-16.507-17.777-16.507H7.108V111.43H39.11c7.054-.14 18.177.082 21.333 6.12v-4.628c-.134-5.722-.004-13.522 0-13.832V27.413l.004-2.655-.004.005zm60.442-16.517h-35.55c-8.802 0-17.78 6.856-17.78 16.493v74.259c.004.32.138 8.115 0 13.813v4.627c3.155-6.022 14.279-6.26 21.333-6.114h32V8.25l-.003-.005z"/></svg>

+ 1 - 0
src/assets/icons/svg/email.svg

@@ -0,0 +1 @@
+<svg width="128" height="96" xmlns="http://www.w3.org/2000/svg"><path d="M64.125 56.975L120.188.912A12.476 12.476 0 0 0 115.5 0h-103c-1.588 0-3.113.3-4.513.838l56.138 56.137z"/><path d="M64.125 68.287l-62.3-62.3A12.42 12.42 0 0 0 0 12.5v71C0 90.4 5.6 96 12.5 96h103c6.9 0 12.5-5.6 12.5-12.5v-71a12.47 12.47 0 0 0-1.737-6.35L64.125 68.287z"/></svg>

+ 1 - 0
src/assets/icons/svg/example.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M96.258 57.462h31.421C124.794 27.323 100.426 2.956 70.287.07v31.422a32.856 32.856 0 0 1 25.971 25.97zm-38.796-25.97V.07C27.323 2.956 2.956 27.323.07 57.462h31.422a32.856 32.856 0 0 1 25.97-25.97zm12.825 64.766v31.421c30.46-2.885 54.507-27.253 57.713-57.712H96.579c-2.886 13.466-13.146 23.726-26.292 26.291zM31.492 70.287H.07c2.886 30.46 27.253 54.507 57.713 57.713V96.579c-13.466-2.886-23.726-13.146-26.291-26.292z"/></svg>

+ 1 - 0
src/assets/icons/svg/excel.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M78.208 16.576v8.384h38.72v5.376h-38.72v8.704h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.576h38.72v5.376h-38.72v8.512h38.72v5.376h-38.72v11.136H128v-94.72H78.208zM0 114.368L72.128 128V0L0 13.632v100.736z"/><path d="M28.672 82.56h-11.2l14.784-23.488-14.08-22.592h11.52l8.192 14.976 8.448-14.976h11.136l-14.08 22.208L58.368 82.56H46.656l-8.768-15.68z"/></svg>

+ 1 - 0
src/assets/icons/svg/exit-fullscreen.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M49.217 41.329l-.136-35.24c-.06-2.715-2.302-4.345-5.022-4.405h-3.65c-2.712-.06-4.866 2.303-4.806 5.016l.152 19.164-24.151-23.79a6.698 6.698 0 0 0-9.499 0 6.76 6.76 0 0 0 0 9.526l23.93 23.713-18.345.074c-2.712-.069-5.228 1.813-5.64 5.02v3.462c.069 2.721 2.31 4.97 5.022 5.03l35.028-.207c.052.005.087.025.133.025l2.457.054a4.626 4.626 0 0 0 3.436-1.38c.88-.874 1.205-2.096 1.169-3.462l-.262-2.465c0-.048.182-.081.182-.136h.002zm52.523 51.212l18.32-.073c2.713.06 5.224-1.609 5.64-4.815v-3.462c-.068-2.722-2.317-4.97-5.021-5.04l-34.58.21c-.053 0-.086-.021-.138-.021l-2.451-.06a4.64 4.64 0 0 0-3.445 1.381c-.885.868-1.201 2.094-1.174 3.46l.27 2.46c.005.06-.177.095-.177.141l.141 34.697c.069 2.713 2.31 4.338 5.022 4.397l3.45.006c2.705.062 4.867-2.31 4.8-5.026l-.153-18.752 24.151 23.946a6.69 6.69 0 0 0 9.494 0 6.747 6.747 0 0 0 0-9.523L101.74 92.54v.001zM48.125 80.662a4.636 4.636 0 0 0-3.437-1.382l-2.457.06c-.05 0-.082.022-.137.022l-35.025-.21c-2.712.07-4.957 2.318-5.022 5.04v3.462c.409 3.206 2.925 4.874 5.633 4.814l18.554.06-24.132 23.928c-2.62 2.626-2.62 6.89 0 9.524a6.694 6.694 0 0 0 9.496 0l24.155-23.79-.155 18.866c-.06 2.722 2.094 5.093 4.801 5.025h3.65c2.72-.069 4.962-1.685 5.022-4.406l.141-34.956c0-.05-.182-.082-.182-.136l.262-2.46c.03-1.366-.286-2.592-1.166-3.46h-.001zM80.08 47.397a4.62 4.62 0 0 0 3.443 1.374l2.45-.054c.055 0 .088-.02.143-.028l35.08.21c2.712-.062 4.953-2.312 5.021-5.033l.009-3.463c-.417-3.211-2.937-5.084-5.64-5.025l-18.615-.073 23.917-23.715c2.63-2.623 2.63-6.879.008-9.513a6.691 6.691 0 0 0-9.494 0L92.251 26.016l.155-19.312c.065-2.713-2.097-5.085-4.802-5.025h-3.45c-2.713.069-4.954 1.693-5.022 4.406l-.139 35.247c0 .054.18.088.18.136l-.267 2.465c-.028 1.366.288 2.588 1.174 3.463v.001z"/></svg>

+ 1 - 0
src/assets/icons/svg/eye-open.svg

@@ -0,0 +1 @@
+<svg class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" width="128" height="128"><defs><style/></defs><path d="M512 128q69.675 0 135.51 21.163t115.498 54.997 93.483 74.837 73.685 82.006 51.67 74.837 32.17 54.827L1024 512q-2.347 4.992-6.315 13.483T998.87 560.17t-31.658 51.669-44.331 59.99-56.832 64.34-69.504 60.16-82.347 51.5-94.848 34.687T512 896q-69.675 0-135.51-21.163t-115.498-54.826-93.483-74.326-73.685-81.493-51.67-74.496-32.17-54.997L0 513.707q2.347-4.992 6.315-13.483t18.816-34.816 31.658-51.84 44.331-60.33 56.832-64.683 69.504-60.331 82.347-51.84 94.848-34.816T512 128.085zm0 85.333q-46.677 0-91.648 12.331t-81.152 31.83-70.656 47.146-59.648 54.485-48.853 57.686-37.675 52.821-26.325 43.99q12.33 21.674 26.325 43.52t37.675 52.351 48.853 57.003 59.648 53.845T339.2 767.02t81.152 31.488T512 810.667t91.648-12.331 81.152-31.659 70.656-46.848 59.648-54.186 48.853-57.344 37.675-52.651T927.957 512q-12.33-21.675-26.325-43.648t-37.675-52.65-48.853-57.345-59.648-54.186-70.656-46.848-81.152-31.659T512 213.334zm0 128q70.656 0 120.661 50.006T682.667 512 632.66 632.661 512 682.667 391.339 632.66 341.333 512t50.006-120.661T512 341.333zm0 85.334q-35.328 0-60.33 25.002T426.666 512t25.002 60.33T512 597.334t60.33-25.002T597.334 512t-25.002-60.33T512 426.666z"/></svg>

+ 1 - 0
src/assets/icons/svg/eye.svg

@@ -0,0 +1 @@
+<svg width="128" height="64" xmlns="http://www.w3.org/2000/svg"><path d="M127.072 7.994c1.37-2.208.914-5.152-.914-6.87-2.056-1.717-4.797-1.226-6.396.982-.229.245-25.586 32.382-55.74 32.382-29.24 0-55.74-32.382-55.968-32.627-1.6-1.963-4.57-2.208-6.397-.49C-.17 3.086-.399 6.275 1.2 8.238c.457.736 5.94 7.36 14.62 14.72L4.17 35.96c-1.828 1.963-1.6 5.152.228 6.87.457.98 1.6 1.471 2.742 1.471s2.284-.49 3.198-1.472l12.564-13.983c5.94 4.416 13.021 8.587 20.788 11.53l-4.797 17.418c-.685 2.699.686 5.397 3.198 6.133h1.37c2.057 0 3.884-1.472 4.341-3.68L52.6 42.83c3.655.736 7.538 1.227 11.422 1.227 3.883 0 7.767-.49 11.422-1.227l4.797 17.173c.457 2.208 2.513 3.68 4.34 3.68.457 0 .914 0 1.143-.246 2.513-.736 3.883-3.434 3.198-6.133l-4.797-17.172c7.767-2.944 14.848-7.114 20.788-11.53l12.336 13.738c.913.981 2.056 1.472 3.198 1.472s2.284-.49 3.198-1.472c1.828-1.963 1.828-4.906.228-6.87l-11.65-13.001c9.366-7.36 14.849-14.474 14.849-14.474z"/></svg>

File diff suppressed because it is too large
+ 0 - 0
src/assets/icons/svg/form.svg


+ 1 - 0
src/assets/icons/svg/fullscreen.svg

@@ -0,0 +1 @@
+<svg width="128" height="128" xmlns="http://www.w3.org/2000/svg"><path d="M38.47 52L52 38.462l-23.648-23.67L43.209 0H.035L0 43.137l14.757-14.865L38.47 52zm74.773 47.726L89.526 76 76 89.536l23.648 23.672L84.795 128h43.174L128 84.863l-14.757 14.863zM89.538 52l23.668-23.648L128 43.207V.038L84.866 0 99.73 14.76 76 38.472 89.538 52zM38.46 76L14.792 99.651 0 84.794v43.173l43.137.033-14.865-14.757L52 89.53 38.46 76z"/></svg>

Some files were not shown because too many files changed in this diff