zx il y a 1 mois
commit
7a6904c89b
100 fichiers modifiés avec 5510 ajouts et 0 suppressions
  1. 22 0
      .editorconfig
  2. 8 0
      .env.development
  3. 5 0
      .env.production
  4. 7 0
      .env.staging
  5. 10 0
      .eslintignore
  6. 199 0
      .eslintrc.js
  7. 26 0
      .gitignore
  8. 36 0
      README.en.md
  9. 37 0
      README.md
  10. 13 0
      babel.config.js
  11. 35 0
      build/index.js
  12. 124 0
      package.json
  13. 208 0
      public/index.html
  14. 2 0
      public/robots.txt
  15. 11 0
      src/App.vue
  16. 47 0
      src/api/common.js
  17. 93 0
      src/api/company/company.js
  18. 53 0
      src/api/company/companyConfig.js
  19. 61 0
      src/api/company/companyDeduct.js
  20. 61 0
      src/api/company/companyDept.js
  21. 53 0
      src/api/company/companyLogininfor.js
  22. 53 0
      src/api/company/companyMenu.js
  23. 52 0
      src/api/company/companyMoneyLogs.js
  24. 53 0
      src/api/company/companyOperLog.js
  25. 53 0
      src/api/company/companyPost.js
  26. 69 0
      src/api/company/companyProfit.js
  27. 61 0
      src/api/company/companyRecharge.js
  28. 53 0
      src/api/company/companyRole.js
  29. 53 0
      src/api/company/companyRoleDept.js
  30. 53 0
      src/api/company/companyRoleMenu.js
  31. 53 0
      src/api/company/companySms.js
  32. 53 0
      src/api/company/companySmsLogs.js
  33. 53 0
      src/api/company/companySmsOrder.js
  34. 53 0
      src/api/company/companySmsPackage.js
  35. 61 0
      src/api/company/companySmsTemp.js
  36. 69 0
      src/api/company/companyUser.js
  37. 53 0
      src/api/company/companyUserPost.js
  38. 53 0
      src/api/company/companyUserRole.js
  39. 53 0
      src/api/company/companyVoice.js
  40. 60 0
      src/api/company/companyVoiceApi.js
  41. 53 0
      src/api/company/companyVoiceBlacklist.js
  42. 72 0
      src/api/company/companyVoiceCaller.js
  43. 53 0
      src/api/company/companyVoiceConfig.js
  44. 53 0
      src/api/company/companyVoiceLogs.js
  45. 61 0
      src/api/company/companyVoiceMobile.js
  46. 53 0
      src/api/company/companyVoicePackage.js
  47. 53 0
      src/api/company/companyVoicePackageOrder.js
  48. 10 0
      src/api/company/index.js
  49. 60 0
      src/api/company/schedule.js
  50. 103 0
      src/api/company/scheduleReport.js
  51. 44 0
      src/api/company/statistics.js
  52. 53 0
      src/api/course/courseAnswerlogs.js
  53. 53 0
      src/api/course/courseDomainName.js
  54. 53 0
      src/api/course/courseLink.js
  55. 53 0
      src/api/course/courseQuestionBank.js
  56. 64 0
      src/api/course/courseRedPacketLog.js
  57. 53 0
      src/api/course/courseTrafficLog.js
  58. 53 0
      src/api/course/courseWatchLog.js
  59. 82 0
      src/api/course/userCourse.js
  60. 76 0
      src/api/course/userCourseCategory.js
  61. 53 0
      src/api/course/userCourseComment.js
  62. 53 0
      src/api/course/userCourseCommentLike.js
  63. 53 0
      src/api/course/userCourseFavorite.js
  64. 53 0
      src/api/course/userCourseNote.js
  65. 53 0
      src/api/course/userCourseNoteLike.js
  66. 53 0
      src/api/course/userCourseOrder.js
  67. 53 0
      src/api/course/userCourseStudy.js
  68. 53 0
      src/api/course/userCourseStudyLog.js
  69. 71 0
      src/api/course/userCourseVideo.js
  70. 69 0
      src/api/course/userTalent.js
  71. 53 0
      src/api/course/userTalentFollow.js
  72. 106 0
      src/api/course/userVideo.js
  73. 53 0
      src/api/course/userVideoComment.js
  74. 53 0
      src/api/course/userVipOrder.js
  75. 53 0
      src/api/course/userVipPackage.js
  76. 158 0
      src/api/crm/customer.js
  77. 21 0
      src/api/crm/customerAssign.js
  78. 53 0
      src/api/crm/customerContacts.js
  79. 53 0
      src/api/crm/customerExt.js
  80. 53 0
      src/api/crm/customerLogs.js
  81. 53 0
      src/api/crm/customerUser.js
  82. 53 0
      src/api/crm/customerVisit.js
  83. 53 0
      src/api/crm/event.js
  84. 53 0
      src/api/crm/msg.js
  85. 94 0
      src/api/crm/third.js
  86. 53 0
      src/api/doc/doc.js
  87. 53 0
      src/api/doc/docOrder.js
  88. 53 0
      src/api/doc/docOrderReply.js
  89. 53 0
      src/api/doc/docRecord.js
  90. 53 0
      src/api/doc/docRecordReply.js
  91. 40 0
      src/api/login.js
  92. 9 0
      src/api/menu.js
  93. 80 0
      src/api/monitor/job.js
  94. 35 0
      src/api/monitor/jobLog.js
  95. 35 0
      src/api/monitor/logininfor.js
  96. 18 0
      src/api/monitor/online.js
  97. 35 0
      src/api/monitor/operlog.js
  98. 9 0
      src/api/monitor/server.js
  99. 71 0
      src/api/oms/apply.js
  100. 60 0
      src/api/oms/category.js

+ 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

+ 8 - 0
.env.development

@@ -0,0 +1,8 @@
+# 开发环境配置
+ENV = 'development'
+
+# FS管理系统/开发环境
+VUE_APP_BASE_API = '/dev-api'
+
+# 路由懒加载
+VUE_CLI_BABEL_TRANSPILE_MODULES = true

+ 5 - 0
.env.production

@@ -0,0 +1,5 @@
+# 生产环境配置
+ENV = 'production'
+
+#FS管理系统/生产环境
+VUE_APP_BASE_API = '/prod-api'

+ 7 - 0
.env.staging

@@ -0,0 +1,7 @@
+NODE_ENV = production
+
+# 测试环境配置
+ENV = 'staging'
+
+#FS管理系统/测试环境
+VUE_APP_BASE_API = '/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']
+  }
+}

+ 26 - 0
.gitignore

@@ -0,0 +1,26 @@
+.DS_Store
+node_modules
+/dist
+
+
+# local env files
+.env.local
+.env.*.local
+
+# Log files
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+
+# Editor directories and files
+.idea
+.vscode
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?
+
+package-lock.json
+yarn.lock

+ 36 - 0
README.en.md

@@ -0,0 +1,36 @@
+# yunl_adminUI
+
+#### Description
+yunl_admin_ui
+
+#### Software Architecture
+Software architecture description
+
+#### Installation
+
+1.  xxxx
+2.  xxxx
+3.  xxxx
+
+#### Instructions
+
+1.  xxxx
+2.  xxxx
+3.  xxxx
+
+#### Contribution
+
+1.  Fork the repository
+2.  Create Feat_xxx branch
+3.  Commit your code
+4.  Create Pull Request
+
+
+#### Gitee Feature
+
+1.  You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
+2.  Gitee blog [blog.gitee.com](https://blog.gitee.com)
+3.  Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
+4.  The most valuable open source project [GVP](https://gitee.com/gvp)
+5.  The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
+6.  The most popular members  [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

+ 37 - 0
README.md

@@ -0,0 +1,37 @@
+# yunl_adminUI
+
+#### 介绍
+yunl_admin_ui
+
+#### 软件架构
+软件架构说明
+
+
+#### 安装教程
+
+1.  xxxx
+2.  xxxx
+3.  xxxx
+
+#### 使用说明
+
+1.  xxxx
+2.  xxxx
+3.  xxxx
+
+#### 参与贡献
+
+1.  Fork 本仓库
+2.  新建 Feat_xxx 分支
+3.  提交代码
+4.  新建 Pull Request
+
+
+#### 特技
+
+1.  使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
+2.  Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
+3.  你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
+4.  [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
+5.  Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
+6.  Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

+ 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']
+    }
+  }
+}

+ 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}`)
+}

+ 124 - 0
package.json

@@ -0,0 +1,124 @@
+{
+  "name": "fs",
+  "version": "1.1.0",
+  "description": "倍力优会员商城私域平台",
+  "author": "FS",
+  "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",
+    "test:unit": "jest --clearCache && vue-cli-service test:unit",
+    "test:ci": "npm run lint && npm run test:unit",
+    "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml",
+    "new": "plop"
+  },
+  "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"
+  ],
+  "dependencies": {
+    "@huaweicloud/huaweicloud-sdk-core": "^3.1.105",
+    "@huaweicloud/huaweicloud-sdk-vod": "^3.1.105",
+    "@riophae/vue-treeselect": "0.4.0",
+    "axios": "0.18.1",
+    "bpmn-js": "^7.2.1",
+    "bpmn-js-properties-panel": "^0.34.0",
+    "bpmn-moddle": "^6.0.0",
+    "clipboard": "2.0.4",
+    "cos-js-sdk-v5": "^1.8.3",
+    "vod-js-sdk-v6": "^1.7.0",
+    "esdk-obs-browserjs": "^3.24.3",
+    "compression-webpack-plugin": "^5.0.1",
+    "core-js": "3.6.5",
+    "echarts": "4.2.1",
+    "element-ui": "2.15.5",
+    "file-saver": "2.0.1",
+    "form-making": "^1.2.9",
+    "fuse.js": "3.4.4",
+    "js-beautify": "1.10.2",
+    "js-cookie": "2.2.0",
+    "jsencrypt": "3.0.0-rc.1",
+    "lodash.clonedeep": "^4.5.0",
+    "lodash.merge": "^4.6.2",
+    "moment": "^2.29.1",
+    "normalize.css": "7.0.0",
+    "nprogress": "0.2.0",
+    "path-to-regexp": "2.4.0",
+    "qrcodejs2": "0.0.2",
+    "quill": "1.3.7",
+    "screenfull": "4.2.0",
+    "sortablejs": "1.8.4",
+    "stylus": "^0.54.7",
+    "stylus-loader": "^3.0.2",
+    "v-clipboard": "^2.2.3",
+    "vue": "2.6.10",
+    "vue-clipboard2": "^0.3.1",
+    "vue-count-to": "1.0.13",
+    "vue-cropper": "0.4.9",
+    "vue-full-calendar": "^2.8.1-0",
+    "vue-mobile-audio": "^0.1.3",
+    "vue-router": "3.0.2",
+    "vue-splitpane": "1.0.4",
+    "vue2-ace-editor": "0.0.15",
+    "vuedraggable": "2.20.0",
+    "vuex": "3.1.0",
+    "wangeditor": "^4.6.13"
+  },
+  "devDependencies": {
+    "@vue/cli-plugin-babel": "4.4.4",
+    "@vue/cli-plugin-eslint": "4.4.4",
+    "@vue/cli-plugin-unit-jest": "4.4.4",
+    "@vue/cli-service": "4.4.4",
+    "@vue/test-utils": "1.0.0-beta.29",
+    "autoprefixer": "9.5.1",
+    "babel-eslint": "10.1.0",
+    "babel-jest": "23.6.0",
+    "babel-plugin-dynamic-import-node": "2.3.3",
+    "chalk": "2.4.2",
+    "chokidar": "2.1.5",
+    "connect": "3.6.6",
+    "eslint": "6.7.2",
+    "eslint-plugin-vue": "6.2.2",
+    "html-webpack-plugin": "3.2.0",
+    "husky": "1.3.1",
+    "lint-staged": "8.1.5",
+    "mockjs": "1.0.1-beta3",
+    "node-sass": "4.14.1",
+    "plop": "2.3.0",
+    "runjs": "4.3.2",
+    "sass-loader": "8.0.2",
+    "script-ext-html-webpack-plugin": "2.1.3",
+    "script-loader": "0.7.2",
+    "serve-static": "1.13.2",
+    "svg-sprite-loader": "4.1.3",
+    "svgo": "1.2.0",
+    "vue-template-compiler": "2.6.10"
+  },
+  "engines": {
+    "node": ">=8.9",
+    "npm": ">= 3.0.0"
+  },
+  "browserslist": [
+    "> 1%",
+    "last 2 versions"
+  ]
+}

+ 208 - 0
public/index.html

@@ -0,0 +1,208 @@
+<!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="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>
+    <script charset="utf-8" src="https://map.qq.com/api/js?v=2.exp&key=ONIBZ-44LLJ-QHYFI-KGG6Y-5ADJT-A7BIO&libraries=drawing"></script>
+	  <style>
+    html,
+    body,
+    #app {
+      height: 100%;
+      margin: 0px;
+      padding: 0px;
+    }
+    .chromeframe {
+      margin: 0.2em 0;
+      background: #ccc;
+      color: #000;
+      padding: 0.2em 0;
+    }
+
+    #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: #13c2c2;
+      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: 16px;
+      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: /

+ 11 - 0
src/App.vue

@@ -0,0 +1,11 @@
+<template>
+  <div id="app">
+    <router-view />
+  </div>
+</template>
+
+<script>
+export default  {
+  name:  'App'
+}
+</script>

+ 47 - 0
src/api/common.js

@@ -0,0 +1,47 @@
+import request from '@/utils/request'
+
+import axios from 'axios'
+export function getSignature() {
+    return request({
+      url: '/common/getSignature',
+      method: 'post',
+    })
+  }
+
+export function uploadHuaWeiVod(file) {
+  const formData = new FormData();
+  formData.append('file', file);
+
+  return axios({
+    url: '/hwcloud/uploadHuaWeiVod',
+    method: 'post',
+    data: formData,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    }
+  });
+}
+
+export function uploadHuaWeiObs(file) {
+  const formData = new FormData();
+  formData.append('file', file);
+  console.log("data",formData)
+  return request({
+    url: '/hwcloud/uploadHuaWeiObs',
+    method: 'post',
+    data: formData,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    }
+  });
+}
+
+export function getTmpSecretKey(type) {
+  return request({
+    url: '/common/getTmpSecretKey',
+    method: 'get',
+    params:{
+      type:type
+    }
+  })
+}

+ 93 - 0
src/api/company/company.js

@@ -0,0 +1,93 @@
+import request from '@/utils/request'
+
+// 查询企业列表
+export function listCompany(query) {
+  return request({
+    url: '/company/company/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业详细
+export function getCompany(companyId) {
+  return request({
+    url: '/company/company/' + companyId,
+    method: 'get'
+  })
+}
+
+// 新增企业
+export function addCompany(data) {
+  return request({
+    url: '/company/company',
+    method: 'post',
+    data: data
+  })
+}
+export function resetPwd(companyId) {
+  return request({
+    url: '/company/company/resetPwd/'+companyId,
+    method: 'post'
+  })
+}
+ 
+
+
+// 修改企业
+export function updateCompany(data) {
+  return request({
+    url: '/company/company',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业
+export function delCompany(companyId) {
+  return request({
+    url: '/company/company/' + companyId,
+    method: 'delete'
+  })
+}
+
+// 导出企业
+export function exportCompany(query) {
+  return request({
+    url: '/company/company/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getCompanyList() {
+  return request({
+    url: '/company/company/getCompanyList',
+    method: 'get'
+  })
+}
+export function recharge(data) {
+  return request({
+    url: '/company/company/recharge',
+    method: 'post',
+    data: data
+  })
+}
+export function deduct(data) {
+  return request({
+    url: '/company/company/deduct',
+    method: 'post',
+    data: data
+  })
+}
+ 
+ 
+
+// 查询企业列表
+export function crmDayCountlist(query) {
+  return request({
+    url: '/company/company/crmDayCountlist',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyConfig.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询参数配置列表
+export function listCompanyConfig(query) {
+  return request({
+    url: '/company/companyConfig/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询参数配置详细
+export function getCompanyConfig(configId) {
+  return request({
+    url: '/company/companyConfig/' + configId,
+    method: 'get'
+  })
+}
+
+// 新增参数配置
+export function addCompanyConfig(data) {
+  return request({
+    url: '/company/companyConfig',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改参数配置
+export function updateCompanyConfig(data) {
+  return request({
+    url: '/company/companyConfig',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除参数配置
+export function delCompanyConfig(configId) {
+  return request({
+    url: '/company/companyConfig/' + configId,
+    method: 'delete'
+  })
+}
+
+// 导出参数配置
+export function exportCompanyConfig(query) {
+  return request({
+    url: '/company/companyConfig/export',
+    method: 'get',
+    params: query
+  })
+}

+ 61 - 0
src/api/company/companyDeduct.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询扣款列表
+export function listCompanyDeduct(query) {
+  return request({
+    url: '/company/companyDeduct/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询扣款详细
+export function getCompanyDeduct(deductId) {
+  return request({
+    url: '/company/companyDeduct/' + deductId,
+    method: 'get'
+  })
+}
+
+// 新增扣款
+export function addCompanyDeduct(data) {
+  return request({
+    url: '/company/companyDeduct',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改扣款
+export function updateCompanyDeduct(data) {
+  return request({
+    url: '/company/companyDeduct',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除扣款
+export function delCompanyDeduct(deductId) {
+  return request({
+    url: '/company/companyDeduct/' + deductId,
+    method: 'delete'
+  })
+}
+
+// 导出扣款
+export function exportCompanyDeduct(query) {
+  return request({
+    url: '/company/companyDeduct/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companyDeduct/audit',
+    method: 'post',
+    data: data
+  })
+}

+ 61 - 0
src/api/company/companyDept.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询部门列表
+export function listCompanyDept(query) {
+  return request({
+    url: '/company/companyDept/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询部门详细
+export function getCompanyDept(deptId) {
+  return request({
+    url: '/company/companyDept/' + deptId,
+    method: 'get'
+  })
+}
+
+// 新增部门
+export function addCompanyDept(data) {
+  return request({
+    url: '/company/companyDept',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改部门
+export function updateCompanyDept(data) {
+  return request({
+    url: '/company/companyDept',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除部门
+export function delCompanyDept(deptId) {
+  return request({
+    url: '/company/companyDept/' + deptId,
+    method: 'delete'
+  })
+}
+
+// 导出部门
+export function exportCompanyDept(query) {
+  return request({
+    url: '/company/companyDept/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function treeselect(query) {
+  return request({
+    url: '/company/companyDept/treeselect',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyLogininfor.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询系统访问记录列表
+export function listCompanyLogininfor(query) {
+  return request({
+    url: '/company/companyLogininfor/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询系统访问记录详细
+export function getCompanyLogininfor(infoId) {
+  return request({
+    url: '/company/companyLogininfor/' + infoId,
+    method: 'get'
+  })
+}
+
+// 新增系统访问记录
+export function addCompanyLogininfor(data) {
+  return request({
+    url: '/company/companyLogininfor',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改系统访问记录
+export function updateCompanyLogininfor(data) {
+  return request({
+    url: '/company/companyLogininfor',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除系统访问记录
+export function delCompanyLogininfor(infoId) {
+  return request({
+    url: '/company/companyLogininfor/' + infoId,
+    method: 'delete'
+  })
+}
+
+// 导出系统访问记录
+export function exportCompanyLogininfor(query) {
+  return request({
+    url: '/company/companyLogininfor/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyMenu.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询菜单权限列表
+export function listCompanyMenu(query) {
+  return request({
+    url: '/company/companyMenu/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询菜单权限详细
+export function getCompanyMenu(menuId) {
+  return request({
+    url: '/company/companyMenu/' + menuId,
+    method: 'get'
+  })
+}
+
+// 新增菜单权限
+export function addCompanyMenu(data) {
+  return request({
+    url: '/company/companyMenu',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改菜单权限
+export function updateCompanyMenu(data) {
+  return request({
+    url: '/company/companyMenu',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除菜单权限
+export function delCompanyMenu(menuId) {
+  return request({
+    url: '/company/companyMenu/' + menuId,
+    method: 'delete'
+  })
+}
+
+// 导出菜单权限
+export function exportCompanyMenu(query) {
+  return request({
+    url: '/company/companyMenu/export',
+    method: 'get',
+    params: query
+  })
+}

+ 52 - 0
src/api/company/companyMoneyLogs.js

@@ -0,0 +1,52 @@
+import request from '@/utils/request'
+
+// 查询企业账户记录列表
+export function listCompanyMoneyLogs(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listCompanyMoneyLogs1(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list1',
+    method: 'get',
+    params: query
+  })
+}
+export function listCompanyMoneyLogs2(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list2',
+    method: 'get',
+    params: query
+  })
+}
+export function listCompanyMoneyLogs3(query) {
+  return request({
+    url: '/company/companyMoneyLogs/list3',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业账户记录详细
+export function getCompanyMoneyLogs(logsId) {
+  return request({
+    url: '/company/companyMoneyLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+ 
+ 
+
+// 导出企业账户记录
+export function exportCompanyMoneyLogs(query) {
+  return request({
+    url: '/company/companyMoneyLogs/export',
+    method: 'get',
+    params: query
+  })
+} 

+ 53 - 0
src/api/company/companyOperLog.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询操作日志记录列表
+export function listCompanyOperLog(query) {
+  return request({
+    url: '/company/companyOperLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询操作日志记录详细
+export function getCompanyOperLog(operId) {
+  return request({
+    url: '/company/companyOperLog/' + operId,
+    method: 'get'
+  })
+}
+
+// 新增操作日志记录
+export function addCompanyOperLog(data) {
+  return request({
+    url: '/company/companyOperLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改操作日志记录
+export function updateCompanyOperLog(data) {
+  return request({
+    url: '/company/companyOperLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除操作日志记录
+export function delCompanyOperLog(operId) {
+  return request({
+    url: '/company/companyOperLog/' + operId,
+    method: 'delete'
+  })
+}
+
+// 导出操作日志记录
+export function exportCompanyOperLog(query) {
+  return request({
+    url: '/company/companyOperLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyPost.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询岗位信息列表
+export function listCompanyPost(query) {
+  return request({
+    url: '/company/companyPost/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询岗位信息详细
+export function getCompanyPost(postId) {
+  return request({
+    url: '/company/companyPost/' + postId,
+    method: 'get'
+  })
+}
+
+// 新增岗位信息
+export function addCompanyPost(data) {
+  return request({
+    url: '/company/companyPost',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改岗位信息
+export function updateCompanyPost(data) {
+  return request({
+    url: '/company/companyPost',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除岗位信息
+export function delCompanyPost(postId) {
+  return request({
+    url: '/company/companyPost/' + postId,
+    method: 'delete'
+  })
+}
+
+// 导出岗位信息
+export function exportCompanyPost(query) {
+  return request({
+    url: '/company/companyPost/export',
+    method: 'get',
+    params: query
+  })
+}

+ 69 - 0
src/api/company/companyProfit.js

@@ -0,0 +1,69 @@
+import request from '@/utils/request'
+
+// 查询提现列表
+export function listCompanyProfit(query) {
+  return request({
+    url: '/company/companyProfit/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询提现详细
+export function getCompanyProfit(profitId) {
+  return request({
+    url: '/company/companyProfit/' + profitId,
+    method: 'get'
+  })
+}
+
+// 新增提现
+export function audit1(data) {
+  return request({
+    url: '/company/companyProfit/audit1',
+    method: 'post',
+    data: data
+  })
+}
+
+export function audit2(data) {
+  return request({
+    url: '/company/companyProfit/audit2',
+    method: 'post',
+    data: data
+  })
+}
+
+export function audit3(data) {
+  return request({
+    url: '/company/companyProfit/audit3',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改提现
+export function updateCompanyProfit(data) {
+  return request({
+    url: '/company/companyProfit',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除提现
+export function delCompanyProfit(profitId) {
+  return request({
+    url: '/company/companyProfit/' + profitId,
+    method: 'delete'
+  })
+}
+
+// 导出提现
+export function exportCompanyProfit(query) {
+  return request({
+    url: '/company/companyProfit/export',
+    method: 'get',
+    params: query
+  })
+}

+ 61 - 0
src/api/company/companyRecharge.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询充值列表
+export function listCompanyRecharge(query) {
+  return request({
+    url: '/company/companyRecharge/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询充值详细
+export function getCompanyRecharge(rechargeId) {
+  return request({
+    url: '/company/companyRecharge/' + rechargeId,
+    method: 'get'
+  })
+}
+
+// 新增充值
+export function addCompanyRecharge(data) {
+  return request({
+    url: '/company/companyRecharge',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改充值
+export function updateCompanyRecharge(data) {
+  return request({
+    url: '/company/companyRecharge',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除充值
+export function delCompanyRecharge(rechargeId) {
+  return request({
+    url: '/company/companyRecharge/' + rechargeId,
+    method: 'delete'
+  })
+}
+
+// 导出充值
+export function exportCompanyRecharge(query) {
+  return request({
+    url: '/company/companyRecharge/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companyRecharge/audit',
+    method: 'post',
+    data: data
+  })
+}

+ 53 - 0
src/api/company/companyRole.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询角色信息列表
+export function listCompanyRole(query) {
+  return request({
+    url: '/company/companyRole/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色信息详细
+export function getCompanyRole(roleId) {
+  return request({
+    url: '/company/companyRole/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色信息
+export function addCompanyRole(data) {
+  return request({
+    url: '/company/companyRole',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色信息
+export function updateCompanyRole(data) {
+  return request({
+    url: '/company/companyRole',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色信息
+export function delCompanyRole(roleId) {
+  return request({
+    url: '/company/companyRole/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色信息
+export function exportCompanyRole(query) {
+  return request({
+    url: '/company/companyRole/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyRoleDept.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询角色和部门关联列表
+export function listCompanyRoleDept(query) {
+  return request({
+    url: '/company/companyRoleDept/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色和部门关联详细
+export function getCompanyRoleDept(roleId) {
+  return request({
+    url: '/company/companyRoleDept/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色和部门关联
+export function addCompanyRoleDept(data) {
+  return request({
+    url: '/company/companyRoleDept',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色和部门关联
+export function updateCompanyRoleDept(data) {
+  return request({
+    url: '/company/companyRoleDept',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色和部门关联
+export function delCompanyRoleDept(roleId) {
+  return request({
+    url: '/company/companyRoleDept/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色和部门关联
+export function exportCompanyRoleDept(query) {
+  return request({
+    url: '/company/companyRoleDept/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyRoleMenu.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询角色和菜单关联列表
+export function listCompanyRoleMenu(query) {
+  return request({
+    url: '/company/companyRoleMenu/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询角色和菜单关联详细
+export function getCompanyRoleMenu(roleId) {
+  return request({
+    url: '/company/companyRoleMenu/' + roleId,
+    method: 'get'
+  })
+}
+
+// 新增角色和菜单关联
+export function addCompanyRoleMenu(data) {
+  return request({
+    url: '/company/companyRoleMenu',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改角色和菜单关联
+export function updateCompanyRoleMenu(data) {
+  return request({
+    url: '/company/companyRoleMenu',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除角色和菜单关联
+export function delCompanyRoleMenu(roleId) {
+  return request({
+    url: '/company/companyRoleMenu/' + roleId,
+    method: 'delete'
+  })
+}
+
+// 导出角色和菜单关联
+export function exportCompanyRoleMenu(query) {
+  return request({
+    url: '/company/companyRoleMenu/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companySms.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询公司短信列表
+export function listCompanySms(query) {
+  return request({
+    url: '/company/companySms/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询公司短信详细
+export function getCompanySms(smsId) {
+  return request({
+    url: '/company/companySms/' + smsId,
+    method: 'get'
+  })
+}
+
+// 新增公司短信
+export function addCompanySms(data) {
+  return request({
+    url: '/company/companySms',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改公司短信
+export function updateCompanySms(data) {
+  return request({
+    url: '/company/companySms',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除公司短信
+export function delCompanySms(smsId) {
+  return request({
+    url: '/company/companySms/' + smsId,
+    method: 'delete'
+  })
+}
+
+// 导出公司短信
+export function exportCompanySms(query) {
+  return request({
+    url: '/company/companySms/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companySmsLogs.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短信发送记录列表
+export function listCompanySmsLogs(query) {
+  return request({
+    url: '/company/companySmsLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信发送记录详细
+export function getCompanySmsLogs(logsId) {
+  return request({
+    url: '/company/companySmsLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+// 新增短信发送记录
+export function addCompanySmsLogs(data) {
+  return request({
+    url: '/company/companySmsLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信发送记录
+export function updateCompanySmsLogs(data) {
+  return request({
+    url: '/company/companySmsLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信发送记录
+export function delCompanySmsLogs(logsId) {
+  return request({
+    url: '/company/companySmsLogs/' + logsId,
+    method: 'delete'
+  })
+}
+
+// 导出短信发送记录
+export function exportCompanySmsLogs(query) {
+  return request({
+    url: '/company/companySmsLogs/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companySmsOrder.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短信购买订单列表
+export function listCompanySmsOrder(query) {
+  return request({
+    url: '/company/companySmsOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信购买订单详细
+export function getCompanySmsOrder(orderId) {
+  return request({
+    url: '/company/companySmsOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增短信购买订单
+export function addCompanySmsOrder(data) {
+  return request({
+    url: '/company/companySmsOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信购买订单
+export function updateCompanySmsOrder(data) {
+  return request({
+    url: '/company/companySmsOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信购买订单
+export function delCompanySmsOrder(orderId) {
+  return request({
+    url: '/company/companySmsOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出短信购买订单
+export function exportCompanySmsOrder(query) {
+  return request({
+    url: '/company/companySmsOrder/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companySmsPackage.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短信套餐包列表
+export function listCompanySmsPackage(query) {
+  return request({
+    url: '/company/companySmsPackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信套餐包详细
+export function getCompanySmsPackage(packageId) {
+  return request({
+    url: '/company/companySmsPackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增短信套餐包
+export function addCompanySmsPackage(data) {
+  return request({
+    url: '/company/companySmsPackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信套餐包
+export function updateCompanySmsPackage(data) {
+  return request({
+    url: '/company/companySmsPackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信套餐包
+export function delCompanySmsPackage(packageId) {
+  return request({
+    url: '/company/companySmsPackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出短信套餐包
+export function exportCompanySmsPackage(query) {
+  return request({
+    url: '/company/companySmsPackage/export',
+    method: 'get',
+    params: query
+  })
+}

+ 61 - 0
src/api/company/companySmsTemp.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询短信模板列表
+export function listCompanySmsTemp(query) {
+  return request({
+    url: '/company/companySmsTemp/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短信模板详细
+export function getCompanySmsTemp(tempId) {
+  return request({
+    url: '/company/companySmsTemp/' + tempId,
+    method: 'get'
+  })
+}
+
+// 新增短信模板
+export function addCompanySmsTemp(data) {
+  return request({
+    url: '/company/companySmsTemp',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短信模板
+export function updateCompanySmsTemp(data) {
+  return request({
+    url: '/company/companySmsTemp',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短信模板
+export function delCompanySmsTemp(tempId) {
+  return request({
+    url: '/company/companySmsTemp/' + tempId,
+    method: 'delete'
+  })
+}
+
+// 导出短信模板
+export function exportCompanySmsTemp(query) {
+  return request({
+    url: '/company/companySmsTemp/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function audit(data) {
+  return request({
+    url: '/company/companySmsTemp/audit',
+    method: 'post',
+    data: data
+  })
+}

+ 69 - 0
src/api/company/companyUser.js

@@ -0,0 +1,69 @@
+import request from '@/utils/request'
+
+// 查询企业员工信息列表
+export function listCompanyUser(query) {
+  return request({
+    url: '/company/companyUser/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getAllUserlist(query) {
+  return request({
+    url: '/company/companyUser/getAllUserlist',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getUserListByDeptId(query) {
+  return request({
+    url: '/company/companyUser/getUserListByDeptId',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 查询企业员工信息详细
+export function getCompanyUser(userId) {
+  return request({
+    url: '/company/companyUser/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增企业员工信息
+export function addCompanyUser(data) {
+  return request({
+    url: '/company/companyUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业员工信息
+export function updateCompanyUser(data) {
+  return request({
+    url: '/company/companyUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业员工信息
+export function delCompanyUser(userId) {
+  return request({
+    url: '/company/companyUser/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出企业员工信息
+export function exportCompanyUser(query) {
+  return request({
+    url: '/company/companyUser/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyUserPost.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询用户与岗位关联列表
+export function listCompanyUserPost(query) {
+  return request({
+    url: '/company/companyUserPost/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户与岗位关联详细
+export function getCompanyUserPost(userId) {
+  return request({
+    url: '/company/companyUserPost/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增用户与岗位关联
+export function addCompanyUserPost(data) {
+  return request({
+    url: '/company/companyUserPost',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户与岗位关联
+export function updateCompanyUserPost(data) {
+  return request({
+    url: '/company/companyUserPost',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除用户与岗位关联
+export function delCompanyUserPost(userId) {
+  return request({
+    url: '/company/companyUserPost/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出用户与岗位关联
+export function exportCompanyUserPost(query) {
+  return request({
+    url: '/company/companyUserPost/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyUserRole.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询用户和角色关联列表
+export function listCompanyUserRole(query) {
+  return request({
+    url: '/company/companyUserRole/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询用户和角色关联详细
+export function getCompanyUserRole(userId) {
+  return request({
+    url: '/company/companyUserRole/' + userId,
+    method: 'get'
+  })
+}
+
+// 新增用户和角色关联
+export function addCompanyUserRole(data) {
+  return request({
+    url: '/company/companyUserRole',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改用户和角色关联
+export function updateCompanyUserRole(data) {
+  return request({
+    url: '/company/companyUserRole',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除用户和角色关联
+export function delCompanyUserRole(userId) {
+  return request({
+    url: '/company/companyUserRole/' + userId,
+    method: 'delete'
+  })
+}
+
+// 导出用户和角色关联
+export function exportCompanyUserRole(query) {
+  return request({
+    url: '/company/companyUserRole/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyVoice.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询企业通话列表
+export function listCompanyVoice(query) {
+  return request({
+    url: '/company/companyVoice/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业通话详细
+export function getCompanyVoice(voiceId) {
+  return request({
+    url: '/company/companyVoice/' + voiceId,
+    method: 'get'
+  })
+}
+
+// 新增企业通话
+export function addCompanyVoice(data) {
+  return request({
+    url: '/company/companyVoice',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业通话
+export function updateCompanyVoice(data) {
+  return request({
+    url: '/company/companyVoice',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业通话
+export function delCompanyVoice(voiceId) {
+  return request({
+    url: '/company/companyVoice/' + voiceId,
+    method: 'delete'
+  })
+}
+
+// 导出企业通话
+export function exportCompanyVoice(query) {
+  return request({
+    url: '/company/companyVoice/export',
+    method: 'get',
+    params: query
+  })
+}

+ 60 - 0
src/api/company/companyVoiceApi.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询呼叫接口列表
+export function listCompanyVoiceApi(query) {
+  return request({
+    url: '/company/companyVoiceApi/list',
+    method: 'get',
+    params: query
+  })
+}
+export function getVoiceApiList() {
+  return request({
+    url: '/company/companyVoiceApi/getVoiceApiList',
+    method: 'get'
+  })
+}
+
+
+// 查询呼叫接口详细
+export function getCompanyVoiceApi(apiId) {
+  return request({
+    url: '/company/companyVoiceApi/' + apiId,
+    method: 'get'
+  })
+}
+
+// 新增呼叫接口
+export function addCompanyVoiceApi(data) {
+  return request({
+    url: '/company/companyVoiceApi',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改呼叫接口
+export function updateCompanyVoiceApi(data) {
+  return request({
+    url: '/company/companyVoiceApi',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除呼叫接口
+export function delCompanyVoiceApi(apiId) {
+  return request({
+    url: '/company/companyVoiceApi/' + apiId,
+    method: 'delete'
+  })
+}
+
+// 导出呼叫接口
+export function exportCompanyVoiceApi(query) {
+  return request({
+    url: '/company/companyVoiceApi/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyVoiceBlacklist.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询黑名单列表
+export function listCompanyVoiceBlacklist(query) {
+  return request({
+    url: '/company/companyVoiceBlacklist/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询黑名单详细
+export function getCompanyVoiceBlacklist(blacklistId) {
+  return request({
+    url: '/company/companyVoiceBlacklist/' + blacklistId,
+    method: 'get'
+  })
+}
+
+// 新增黑名单
+export function addCompanyVoiceBlacklist(data) {
+  return request({
+    url: '/company/companyVoiceBlacklist',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改黑名单
+export function updateCompanyVoiceBlacklist(data) {
+  return request({
+    url: '/company/companyVoiceBlacklist',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除黑名单
+export function delCompanyVoiceBlacklist(blacklistId) {
+  return request({
+    url: '/company/companyVoiceBlacklist/' + blacklistId,
+    method: 'delete'
+  })
+}
+
+// 导出黑名单
+export function exportCompanyVoiceBlacklist(query) {
+  return request({
+    url: '/company/companyVoiceBlacklist/export',
+    method: 'get',
+    params: query
+  })
+}

+ 72 - 0
src/api/company/companyVoiceCaller.js

@@ -0,0 +1,72 @@
+import request from '@/utils/request'
+
+// 查询企业用户坐席列表
+export function listCompanyVoiceCaller(query) {
+  return request({
+    url: '/company/companyVoiceCaller/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询企业用户坐席详细
+export function getCompanyVoiceCaller(callingId) {
+  return request({
+    url: '/company/companyVoiceCaller/' + callingId,
+    method: 'get'
+  })
+}
+
+// 新增企业用户坐席
+export function addCompanyVoiceCaller(data) {
+  return request({
+    url: '/company/companyVoiceCaller',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改企业用户坐席
+export function updateCompanyVoiceCaller(data) {
+  return request({
+    url: '/company/companyVoiceCaller',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除企业用户坐席
+export function delCompanyVoiceCaller(callingId) {
+  return request({
+    url: '/company/companyVoiceCaller/' + callingId,
+    method: 'delete'
+  })
+}
+
+// 导出企业用户坐席
+export function exportCompanyVoiceCaller(query) {
+  return request({
+    url: '/company/companyVoiceCaller/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 下载用户导入模板
+export function importTemplate() {
+  return request({
+    url: '/company/companyVoiceCaller/importTemplate',
+    method: 'get'
+  })
+}
+export function recover(data) {
+  return request({
+    url: '/company/companyVoiceCaller/recover',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+

+ 53 - 0
src/api/company/companyVoiceConfig.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询呼叫频率配置列表
+export function listCompanyVoiceConfig(query) {
+  return request({
+    url: '/company/companyVoiceConfig/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询呼叫频率配置详细
+export function getCompanyVoiceConfig(configId) {
+  return request({
+    url: '/company/companyVoiceConfig/' + configId,
+    method: 'get'
+  })
+}
+
+// 新增呼叫频率配置
+export function addCompanyVoiceConfig(data) {
+  return request({
+    url: '/company/companyVoiceConfig',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改呼叫频率配置
+export function updateCompanyVoiceConfig(data) {
+  return request({
+    url: '/company/companyVoiceConfig',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除呼叫频率配置
+export function delCompanyVoiceConfig(configId) {
+  return request({
+    url: '/company/companyVoiceConfig/' + configId,
+    method: 'delete'
+  })
+}
+
+// 导出呼叫频率配置
+export function exportCompanyVoiceConfig(query) {
+  return request({
+    url: '/company/companyVoiceConfig/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyVoiceLogs.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询通话记录列表
+export function listCompanyVoiceLogs(query) {
+  return request({
+    url: '/company/companyVoiceLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询通话记录详细
+export function getCompanyVoiceLogs(voiceId) {
+  return request({
+    url: '/company/companyVoiceLogs/' + voiceId,
+    method: 'get'
+  })
+}
+
+// 新增通话记录
+export function addCompanyVoiceLogs(data) {
+  return request({
+    url: '/company/companyVoiceLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改通话记录
+export function updateCompanyVoiceLogs(data) {
+  return request({
+    url: '/company/companyVoiceLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除通话记录
+export function delCompanyVoiceLogs(voiceId) {
+  return request({
+    url: '/company/companyVoiceLogs/' + voiceId,
+    method: 'delete'
+  })
+}
+
+// 导出通话记录
+export function exportCompanyVoiceLogs(query) {
+  return request({
+    url: '/company/companyVoiceLogs/export',
+    method: 'get',
+    params: query
+  })
+}

+ 61 - 0
src/api/company/companyVoiceMobile.js

@@ -0,0 +1,61 @@
+import request from '@/utils/request'
+
+// 查询中间号列表
+export function listCompanyVoiceMobile(query) {
+  return request({
+    url: '/company/companyVoiceMobile/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询中间号详细
+export function getCompanyVoiceMobile(mobileId) {
+  return request({
+    url: '/company/companyVoiceMobile/' + mobileId,
+    method: 'get'
+  })
+}
+
+// 新增中间号
+export function addCompanyVoiceMobile(data) {
+  return request({
+    url: '/company/companyVoiceMobile',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改中间号
+export function updateCompanyVoiceMobile(data) {
+  return request({
+    url: '/company/companyVoiceMobile',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除中间号
+export function delCompanyVoiceMobile(mobileId) {
+  return request({
+    url: '/company/companyVoiceMobile/' + mobileId,
+    method: 'delete'
+  })
+}
+
+// 导出中间号
+export function exportCompanyVoiceMobile(query) {
+  return request({
+    url: '/company/companyVoiceMobile/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 下载用户导入模板
+export function importTemplate() {
+  return request({
+    url: '/company/companyVoiceMobile/importTemplate',
+    method: 'get'
+  })
+}

+ 53 - 0
src/api/company/companyVoicePackage.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询套餐列表
+export function listCompanyVoicePackage(query) {
+  return request({
+    url: '/company/companyVoicePackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询套餐详细
+export function getCompanyVoicePackage(packageId) {
+  return request({
+    url: '/company/companyVoicePackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增套餐
+export function addCompanyVoicePackage(data) {
+  return request({
+    url: '/company/companyVoicePackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改套餐
+export function updateCompanyVoicePackage(data) {
+  return request({
+    url: '/company/companyVoicePackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除套餐
+export function delCompanyVoicePackage(packageId) {
+  return request({
+    url: '/company/companyVoicePackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出套餐
+export function exportCompanyVoicePackage(query) {
+  return request({
+    url: '/company/companyVoicePackage/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/company/companyVoicePackageOrder.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询套餐订单列表
+export function listCompanyVoicePackageOrder(query) {
+  return request({
+    url: '/company/companyVoicePackageOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询套餐订单详细
+export function getCompanyVoicePackageOrder(orderId) {
+  return request({
+    url: '/company/companyVoicePackageOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增套餐订单
+export function addCompanyVoicePackageOrder(data) {
+  return request({
+    url: '/company/companyVoicePackageOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改套餐订单
+export function updateCompanyVoicePackageOrder(data) {
+  return request({
+    url: '/company/companyVoicePackageOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除套餐订单
+export function delCompanyVoicePackageOrder(orderId) {
+  return request({
+    url: '/company/companyVoicePackageOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出套餐订单
+export function exportCompanyVoicePackageOrder(query) {
+  return request({
+    url: '/company/companyVoicePackageOrder/export',
+    method: 'get',
+    params: query
+  })
+}

+ 10 - 0
src/api/company/index.js

@@ -0,0 +1,10 @@
+import request from '@/utils/request'
+
+ 
+export function getCount() {
+  return request({
+    url: '/company/index/getCount',
+    method: 'get'
+  })
+}
+ 

+ 60 - 0
src/api/company/schedule.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询中医档期管理列表
+export function listSchedule(query) {
+  return request({
+    url: '/company/schedule/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询中医档期管理详细
+export function getSchedule(id) {
+  return request({
+    url: '/company/schedule/' + id,
+    method: 'get'
+  })
+}
+
+// 新增中医档期管理
+export function addSchedule(data) {
+  return request({
+    url: '/company/schedule',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改中医档期管理
+export function updateSchedule(data) {
+  return request({
+    url: '/company/schedule',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除中医档期管理
+export function delSchedule(id) {
+  return request({
+    url: '/company/schedule/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出中医档期管理
+export function exportSchedule(query) {
+  return request({
+    url: '/company/schedule/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getTcmScheduleList() {
+  return request({
+    url: '/company/schedule/getTcmScheduleList',
+    method: 'get'
+  })
+}

+ 103 - 0
src/api/company/scheduleReport.js

@@ -0,0 +1,103 @@
+import request from '@/utils/request'
+
+// 查询中医档期业绩报表列表
+export function listTcmScheduleReport(query) {
+  return request({
+    url: '/company/scheduleReport/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 中医档期业绩报表统计
+export function listTcmStatisticsReport(query) {
+  return request({
+    url: '/company/scheduleReport/statistics',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 查询指定档期各团队统计报表
+export function getStatisticsByScheduleId(query) {
+  return request({
+    url: '/company/scheduleReport/getStatisticsByScheduleId',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询中医档期业绩报表详细
+export function getTcmScheduleReport(id) {
+  return request({
+    url: '/company/scheduleReport/' + id,
+    method: 'get'
+  })
+}
+
+// 新增中医档期业绩报表
+export function addTcmScheduleReport(data) {
+  return request({
+    url: '/company/scheduleReport',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改中医档期业绩报表
+export function updateTcmScheduleReport(data) {
+  return request({
+    url: '/company/scheduleReport',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除中医档期业绩报表
+export function delTcmScheduleReport(id) {
+  return request({
+    url: '/company/scheduleReport/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出中医档期业绩统计报表
+export function exportStatisticsScheduleReport(query) {
+  return request({
+    url: '/company/scheduleReport/exportStatistics',
+    method: 'get',
+    params: query
+  })
+}
+
+// 导出中医档期业绩报表
+export function exportTcmScheduleReport(query) {
+  return request({
+    url: '/company/scheduleReport/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+
+// 查询中医档期管理列表
+export function listSchedule(query) {
+  return request({
+    url: '/company/scheduleReport/getScheduleList',
+    method: 'get',
+    params: query
+  })
+}
+
+
+// 查询中医档期管理列表
+export function listAllSchedule(query) {
+  return request({
+    url: '/company/scheduleReport/getAllScheduleList',
+    method: 'get',
+    params: query
+  })
+}

+ 44 - 0
src/api/company/statistics.js

@@ -0,0 +1,44 @@
+import request from '@/utils/request'
+
+ 
+export function voiceLogs(query) {
+  return request({
+    url: '/company/statistics/voiceLogs',
+    method: 'get',
+    params: query
+  })
+}
+export function exportVoiceLogs(query) {
+  return request({
+    url: '/company/statistics/exportVoiceLogs',
+    method: 'get',
+    params: query
+  })
+}
+export function smsLogs(query) {
+  return request({
+    url: '/company/statistics/smsLogs',
+    method: 'get',
+    params: query
+  })
+}
+export function tuiMoney(query) {
+  return request({
+    url: '/company/statistics/tuiMoney',
+    method: 'get',
+    params: query
+  })
+}
+export function exportTuiMoney(query) {
+  return request({
+    url: '/company/statistics/exportTuiMoney',
+    method: 'get',
+    params: query
+  })
+}
+
+
+ 
+  
+ 
+  

+ 53 - 0
src/api/course/courseAnswerlogs.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询答题日志列表
+export function listLogs(query) {
+  return request({
+    url: '/course/courseAnswerLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询答题日志详细
+export function getLogs(logId) {
+  return request({
+    url: '/course/courseAnswerLog/' + logId,
+    method: 'get'
+  })
+}
+
+// 新增答题日志
+export function addLogs(data) {
+  return request({
+    url: '/course/courseAnswerLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改答题日志
+export function updateLogs(data) {
+  return request({
+    url: '/course/courseAnswerLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除答题日志
+export function delLogs(logId) {
+  return request({
+    url: '/course/courseAnswerLog/' + logId,
+    method: 'delete'
+  })
+}
+
+// 导出答题日志
+export function exportLogs(query) {
+  return request({
+    url: '/course/courseAnswerLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/courseDomainName.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课程短链域名列表
+export function listCourseDomainName(query) {
+  return request({
+    url: '/course/courseDomainName/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程短链域名详细
+export function getCourseDomainName(id) {
+  return request({
+    url: '/course/courseDomainName/' + id,
+    method: 'get'
+  })
+}
+
+// 新增课程短链域名
+export function addCourseDomainName(data) {
+  return request({
+    url: '/course/courseDomainName',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程短链域名
+export function updateCourseDomainName(data) {
+  return request({
+    url: '/course/courseDomainName',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程短链域名
+export function delCourseDomainName(id) {
+  return request({
+    url: '/course/courseDomainName/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出课程短链域名
+export function exportCourseDomainName(query) {
+  return request({
+    url: '/course/courseDomainName/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/courseLink.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短链列表
+export function listCourseLink(query) {
+  return request({
+    url: '/course/courseLink/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短链详细
+export function getCourseLink(linkId) {
+  return request({
+    url: '/course/courseLink/' + linkId,
+    method: 'get'
+  })
+}
+
+// 新增短链
+export function addCourseLink(data) {
+  return request({
+    url: '/course/courseLink',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短链
+export function updateCourseLink(data) {
+  return request({
+    url: '/course/courseLink',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短链
+export function delCourseLink(linkId) {
+  return request({
+    url: '/course/courseLink/' + linkId,
+    method: 'delete'
+  })
+}
+
+// 导出短链
+export function exportCourseLink(query) {
+  return request({
+    url: '/course/courseLink/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/courseQuestionBank.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询题库列表
+export function listCourseQuestionBank(query) {
+  return request({
+    url: '/course/courseQuestionBank/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询题库详细
+export function getCourseQuestionBank(id) {
+  return request({
+    url: '/course/courseQuestionBank/' + id,
+    method: 'get'
+  })
+}
+
+// 新增题库
+export function addCourseQuestionBank(data) {
+  return request({
+    url: '/course/courseQuestionBank',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改题库
+export function updateCourseQuestionBank(data) {
+  return request({
+    url: '/course/courseQuestionBank',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除题库
+export function delCourseQuestionBank(id) {
+  return request({
+    url: '/course/courseQuestionBank/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出题库
+export function exportCourseQuestionBank(query) {
+  return request({
+    url: '/course/courseQuestionBank/export',
+    method: 'get',
+    params: query
+  })
+}

+ 64 - 0
src/api/course/courseRedPacketLog.js

@@ -0,0 +1,64 @@
+import request from '@/utils/request'
+
+// 查询短链课程看课记录列表
+export function listCourseRedPacketLog(query) {
+  return request({
+    url: '/course/courseRedPacketLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短链课程看课记录详细
+export function getCourseRedPacketLog(logId) {
+  return request({
+    url: '/course/courseRedPacketLog/' + logId,
+    method: 'get'
+  })
+}
+export function courseList() {
+  return request({
+    url: '/course/courseRedPacketLog//courseList',
+    method: 'get',
+  })
+}
+export function videoList(id) {
+  return request({
+    url: '/course/courseRedPacketLog/videoList/' + id,
+    method: 'get'
+  })
+}
+// 新增短链课程看课记录
+export function addCourseRedPacketLog(data) {
+  return request({
+    url: '/course/courseRedPacketLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短链课程看课记录
+export function updateCourseRedPacketLog(data) {
+  return request({
+    url: '/course/courseRedPacketLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短链课程看课记录
+export function delCourseRedPacketLog(logId) {
+  return request({
+    url: '/course/courseRedPacketLog/' + logId,
+    method: 'delete'
+  })
+}
+
+// 导出短链课程看课记录
+export function exportCourseRedPacketLog(query) {
+  return request({
+    url: '/course/courseRedPacketLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/courseTrafficLog.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短链课程流量记录列表
+export function listCourseTrafficLog(query) {
+  return request({
+    url: '/course/courseTrafficLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短链课程流量记录详细
+export function getCourseTrafficLog(logId) {
+  return request({
+    url: '/course/courseTrafficLog/' + logId,
+    method: 'get'
+  })
+}
+
+// 新增短链课程流量记录
+export function addCourseTrafficLog(data) {
+  return request({
+    url: '/course/courseTrafficLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短链课程流量记录
+export function updateCourseTrafficLog(data) {
+  return request({
+    url: '/course/courseTrafficLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短链课程流量记录
+export function delCourseTrafficLog(logId) {
+  return request({
+    url: '/course/courseTrafficLog/' + logId,
+    method: 'delete'
+  })
+}
+
+// 导出短链课程流量记录
+export function exportCourseTrafficLog(query) {
+  return request({
+    url: '/course/courseTrafficLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/courseWatchLog.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询短链课程看课记录列表
+export function listCourseWatchLog(query) {
+  return request({
+    url: '/course/courseWatchLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询短链课程看课记录详细
+export function getCourseWatchLog(logId) {
+  return request({
+    url: '/course/courseWatchLog/' + logId,
+    method: 'get'
+  })
+}
+
+// 新增短链课程看课记录
+export function addCourseWatchLog(data) {
+  return request({
+    url: '/course/courseWatchLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改短链课程看课记录
+export function updateCourseWatchLog(data) {
+  return request({
+    url: '/course/courseWatchLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除短链课程看课记录
+export function delCourseWatchLog(logId) {
+  return request({
+    url: '/course/courseWatchLog/' + logId,
+    method: 'delete'
+  })
+}
+
+// 导出短链课程看课记录
+export function exportCourseWatchLog(query) {
+  return request({
+    url: '/course/courseWatchLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 82 - 0
src/api/course/userCourse.js

@@ -0,0 +1,82 @@
+import request from '@/utils/request'
+
+// 查询课程列表
+export function listUserCourse(query) {
+  return request({
+    url: '/course/userCourse/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程详细
+export function getUserCourse(courseId) {
+  return request({
+    url: '/course/userCourse/' + courseId,
+    method: 'get'
+  })
+}
+
+// 新增课程
+export function addUserCourse(data) {
+  return request({
+    url: '/course/userCourse',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程
+export function updateUserCourse(data) {
+  return request({
+    url: '/course/userCourse',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程
+export function delUserCourse(courseId) {
+  return request({
+    url: '/course/userCourse/' + courseId,
+    method: 'delete'
+  })
+}
+
+// 导出课程
+export function exportUserCourse(query) {
+  return request({
+    url: '/course/userCourse/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getAllCourse() {
+  return request({
+    url: '/course/userCourse/getAllList',
+    method: 'get'
+  })
+}
+
+
+export function updateIsShow(data) {
+  return request({
+    url: '/course/userCourse/updateIsShow',
+    method: 'post',
+    data: data
+  })
+}
+
+export function putOn(courseIds) {
+  return request({
+    url: '/course/userCourse/putOn/' + courseIds,
+    method: 'post'
+  })
+}
+export function pullOff(courseIds) {
+  return request({
+    url: '/course/userCourse/pullOff/' + courseIds,
+    method: 'post'
+  })
+}

+ 76 - 0
src/api/course/userCourseCategory.js

@@ -0,0 +1,76 @@
+import request from '@/utils/request'
+
+// 查询课堂分类列表
+export function listUserCourseCategory(query) {
+  return request({
+    url: '/course/userCourseCategory/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂分类详细
+export function getUserCourseCategory(cateId) {
+  return request({
+    url: '/course/userCourseCategory/' + cateId,
+    method: 'get'
+  })
+}
+
+// 新增课堂分类
+export function addUserCourseCategory(data) {
+  return request({
+    url: '/course/userCourseCategory',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂分类
+export function updateUserCourseCategory(data) {
+  return request({
+    url: '/course/userCourseCategory',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂分类
+export function delUserCourseCategory(cateId) {
+  return request({
+    url: '/course/userCourseCategory/' + cateId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂分类
+export function exportUserCourseCategory(query) {
+  return request({
+    url: '/course/userCourseCategory/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询分类父列表
+export function getAllCourseCategoryList() {
+  return request({
+    url: '/course/userCourseCategory/getAllList',
+    method: 'get'
+  })
+}
+
+
+export function getCatePidList() {
+  return request({
+    url: '/course/userCourseCategory/getCatePidList',
+    method: 'get'
+  })
+}
+
+export function getCateListByPid(pid) {
+  return request({
+    url: '/course/userCourseCategory/getCateListByPid/' + pid,
+    method: 'get'
+  })
+}

+ 53 - 0
src/api/course/userCourseComment.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课堂评论列表
+export function listUserCourseComment(query) {
+  return request({
+    url: '/course/userCourseComment/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂评论详细
+export function getUserCourseComment(commentId) {
+  return request({
+    url: '/course/userCourseComment/' + commentId,
+    method: 'get'
+  })
+}
+
+// 新增课堂评论
+export function addUserCourseComment(data) {
+  return request({
+    url: '/course/userCourseComment',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂评论
+export function updateUserCourseComment(data) {
+  return request({
+    url: '/course/userCourseComment',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂评论
+export function delUserCourseComment(commentId) {
+  return request({
+    url: '/course/userCourseComment/' + commentId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂评论
+export function exportUserCourseComment(query) {
+  return request({
+    url: '/course/userCourseComment/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseCommentLike.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课堂评论点赞列表
+export function listUserCourseCommentLike(query) {
+  return request({
+    url: '/course/userCourseCommentLike/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂评论点赞详细
+export function getUserCourseCommentLike(id) {
+  return request({
+    url: '/course/userCourseCommentLike/' + id,
+    method: 'get'
+  })
+}
+
+// 新增课堂评论点赞
+export function addUserCourseCommentLike(data) {
+  return request({
+    url: '/course/userCourseCommentLike',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂评论点赞
+export function updateUserCourseCommentLike(data) {
+  return request({
+    url: '/course/userCourseCommentLike',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂评论点赞
+export function delUserCourseCommentLike(id) {
+  return request({
+    url: '/course/userCourseCommentLike/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出课堂评论点赞
+export function exportUserCourseCommentLike(query) {
+  return request({
+    url: '/course/userCourseCommentLike/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseFavorite.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课程收藏列表
+export function listUserCourseFavorite(query) {
+  return request({
+    url: '/course/userCourseFavorite/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程收藏详细
+export function getUserCourseFavorite(favoriteId) {
+  return request({
+    url: '/course/userCourseFavorite/' + favoriteId,
+    method: 'get'
+  })
+}
+
+// 新增课程收藏
+export function addUserCourseFavorite(data) {
+  return request({
+    url: '/course/userCourseFavorite',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程收藏
+export function updateUserCourseFavorite(data) {
+  return request({
+    url: '/course/userCourseFavorite',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程收藏
+export function delUserCourseFavorite(favoriteId) {
+  return request({
+    url: '/course/userCourseFavorite/' + favoriteId,
+    method: 'delete'
+  })
+}
+
+// 导出课程收藏
+export function exportUserCourseFavorite(query) {
+  return request({
+    url: '/course/userCourseFavorite/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseNote.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课堂笔记列表
+export function listUserCourseNote(query) {
+  return request({
+    url: '/course/userCourseNote/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂笔记详细
+export function getUserCourseNote(noteId) {
+  return request({
+    url: '/course/userCourseNote/' + noteId,
+    method: 'get'
+  })
+}
+
+// 新增课堂笔记
+export function addUserCourseNote(data) {
+  return request({
+    url: '/course/userCourseNote',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂笔记
+export function updateUserCourseNote(data) {
+  return request({
+    url: '/course/userCourseNote',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂笔记
+export function delUserCourseNote(noteId) {
+  return request({
+    url: '/course/userCourseNote/' + noteId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂笔记
+export function exportUserCourseNote(query) {
+  return request({
+    url: '/course/userCourseNote/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseNoteLike.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课堂笔记点赞列表
+export function listUserCourseNoteLike(query) {
+  return request({
+    url: '/course/userCourseNoteLike/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂笔记点赞详细
+export function getUserCourseNoteLike(id) {
+  return request({
+    url: '/course/userCourseNoteLike/' + id,
+    method: 'get'
+  })
+}
+
+// 新增课堂笔记点赞
+export function addUserCourseNoteLike(data) {
+  return request({
+    url: '/course/userCourseNoteLike',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂笔记点赞
+export function updateUserCourseNoteLike(data) {
+  return request({
+    url: '/course/userCourseNoteLike',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂笔记点赞
+export function delUserCourseNoteLike(id) {
+  return request({
+    url: '/course/userCourseNoteLike/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出课堂笔记点赞
+export function exportUserCourseNoteLike(query) {
+  return request({
+    url: '/course/userCourseNoteLike/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseOrder.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课程订单信息列表
+export function listUserCourseOrder(query) {
+  return request({
+    url: '/course/userCourseOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程订单信息详细
+export function getUserCourseOrder(orderId) {
+  return request({
+    url: '/course/userCourseOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增课程订单信息
+export function addUserCourseOrder(data) {
+  return request({
+    url: '/course/userCourseOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程订单信息
+export function updateUserCourseOrder(data) {
+  return request({
+    url: '/course/userCourseOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程订单信息
+export function delUserCourseOrder(orderId) {
+  return request({
+    url: '/course/userCourseOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出课程订单信息
+export function exportUserCourseOrder(query) {
+  return request({
+    url: '/course/userCourseOrder/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseStudy.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课程用户关联列表
+export function listUserCourseStudy(query) {
+  return request({
+    url: '/course/userCourseStudy/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程用户关联详细
+export function getUserCourseStudy(studyId) {
+  return request({
+    url: '/course/userCourseStudy/' + studyId,
+    method: 'get'
+  })
+}
+
+// 新增课程用户关联
+export function addUserCourseStudy(data) {
+  return request({
+    url: '/course/userCourseStudy',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程用户关联
+export function updateUserCourseStudy(data) {
+  return request({
+    url: '/course/userCourseStudy',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程用户关联
+export function delUserCourseStudy(studyId) {
+  return request({
+    url: '/course/userCourseStudy/' + studyId,
+    method: 'delete'
+  })
+}
+
+// 导出课程用户关联
+export function exportUserCourseStudy(query) {
+  return request({
+    url: '/course/userCourseStudy/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userCourseStudyLog.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课程用户学习日志列表
+export function listUserCourseStudyLog(query) {
+  return request({
+    url: '/course/userCourseStudyLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课程用户学习日志详细
+export function getUserCourseStudyLog(logId) {
+  return request({
+    url: '/course/userCourseStudyLog/' + logId,
+    method: 'get'
+  })
+}
+
+// 新增课程用户学习日志
+export function addUserCourseStudyLog(data) {
+  return request({
+    url: '/course/userCourseStudyLog',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课程用户学习日志
+export function updateUserCourseStudyLog(data) {
+  return request({
+    url: '/course/userCourseStudyLog',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课程用户学习日志
+export function delUserCourseStudyLog(logId) {
+  return request({
+    url: '/course/userCourseStudyLog/' + logId,
+    method: 'delete'
+  })
+}
+
+// 导出课程用户学习日志
+export function exportUserCourseStudyLog(query) {
+  return request({
+    url: '/course/userCourseStudyLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 71 - 0
src/api/course/userCourseVideo.js

@@ -0,0 +1,71 @@
+import request from '@/utils/request'
+
+// 查询课堂视频列表
+export function listUserCourseVideo(query) {
+  return request({
+    url: '/course/userCourseVideo/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂视频详细
+export function getUserCourseVideo(videoId) {
+  return request({
+    url: '/course/userCourseVideo/' + videoId,
+    method: 'get'
+  })
+}
+
+export function getSort(courseId) {
+  return request({
+    url: '/course/userCourseVideo/getSort/' + courseId,
+    method: 'get'
+  })
+}
+
+// 新增课堂视频
+export function addUserCourseVideo(data) {
+  return request({
+    url: '/course/userCourseVideo',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂视频
+export function updateUserCourseVideo(data) {
+  return request({
+    url: '/course/userCourseVideo',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂视频
+export function delUserCourseVideo(videoId) {
+  return request({
+    url: '/course/userCourseVideo/' + videoId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂视频
+export function exportUserCourseVideo(query) {
+  return request({
+    url: '/course/userCourseVideo/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+export function getVideoListByCourseId(query) {
+  return request({
+    url: '/course/userCourseVideo/getVideoListByCourseId',
+    method: 'get',
+    params: query
+  })
+}
+
+

+ 69 - 0
src/api/course/userTalent.js

@@ -0,0 +1,69 @@
+import request from '@/utils/request'
+
+// 查询达人列表
+export function listUserTalent(query) {
+  return request({
+    url: '/course/userTalent/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询达人详细
+export function getUserTalent(talentId) {
+  return request({
+    url: '/course/userTalent/' + talentId,
+    method: 'get'
+  })
+}
+
+// 新增达人
+export function addUserTalent(data) {
+  return request({
+    url: '/course/userTalent',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改达人
+export function updateUserTalent(data) {
+  return request({
+    url: '/course/userTalent',
+    method: 'put',
+    data: data
+  })
+}
+
+export function auditUserTalent(data) {
+  return request({
+    url: '/course/userTalent/audit',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除达人
+export function delUserTalent(talentId) {
+  return request({
+    url: '/course/userTalent/' + talentId,
+    method: 'delete'
+  })
+}
+
+// 导出达人
+export function exportUserTalent(query) {
+  return request({
+    url: '/course/userTalent/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function listBySearch(query) {
+  return request({
+    url: '/course/userTalent/listBySearch',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userTalentFollow.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询达人关注列表
+export function listUserTalentFollow(query) {
+  return request({
+    url: '/course/userTalentFollow/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询达人关注详细
+export function getUserTalentFollow(id) {
+  return request({
+    url: '/course/userTalentFollow/' + id,
+    method: 'get'
+  })
+}
+
+// 新增达人关注
+export function addUserTalentFollow(data) {
+  return request({
+    url: '/course/userTalentFollow',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改达人关注
+export function updateUserTalentFollow(data) {
+  return request({
+    url: '/course/userTalentFollow',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除达人关注
+export function delUserTalentFollow(id) {
+  return request({
+    url: '/course/userTalentFollow/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出达人关注
+export function exportUserTalentFollow(query) {
+  return request({
+    url: '/course/userTalentFollow/export',
+    method: 'get',
+    params: query
+  })
+}

+ 106 - 0
src/api/course/userVideo.js

@@ -0,0 +1,106 @@
+import request from '@/utils/request'
+
+// 查询课堂视频列表
+export function listUserVideo(query) {
+  return request({
+    url: '/course/userVideo/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂视频详细
+export function getUserVideo(videoId) {
+  return request({
+    url: '/course/userVideo/' + videoId,
+    method: 'get'
+  })
+}
+
+export function getUserVideoItem(videoId) {
+  return request({
+    url: '/course/userVideo/getVideoDetails',
+    method: 'get',
+    params:{
+      videoId:videoId
+    }
+  })
+}
+
+// 新增课堂视频
+export function addUserVideo(data) {
+  return request({
+    url: '/course/userVideo/addVideo',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂视频
+export function updateUserVideo(data) {
+  return request({
+    url: '/course/userVideo',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂视频
+export function delUserVideo(videoId) {
+  return request({
+    url: '/course/userVideo/' + videoId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂视频
+export function exportUserVideo(query) {
+  return request({
+    url: '/course/userVideo/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+export function getVideoListByCourseId(query) {
+  return request({
+    url: '/course/userVideo/getVideoListByCourseId',
+    method: 'get',
+    params: query
+  })
+}
+
+export function auditUserVideo(data) {
+  return request({
+    url: '/course/userVideo/auditVideo',
+    method: 'post',
+    data: data
+  })
+}
+
+export function putOn(videoIds) {
+  return request({
+    url: '/course/userVideo/putOn/' + videoIds,
+    method: 'post'
+  })
+}
+export function pullOff(videoIds) {
+  return request({
+    url: '/course/userVideo/pullOff/' + videoIds,
+    method: 'post'
+  })
+}
+
+export function getThumbnail(file) {
+  const formData = new FormData();
+  formData.append('file', file);
+  return request({
+    url: '/course/userVideo/getThumbnail',
+    method: 'post',
+    data: formData,
+    headers: {
+      'Content-Type': 'multipart/form-data'
+    }
+  });
+}

+ 53 - 0
src/api/course/userVideoComment.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询课堂视频评论列表
+export function listUserVideoComment(query) {
+  return request({
+    url: '/course/userVideoComment/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询课堂视频评论详细
+export function getUserVideoComment(commentId) {
+  return request({
+    url: '/course/userVideoComment/' + commentId,
+    method: 'get'
+  })
+}
+
+// 新增课堂视频评论
+export function addUserVideoComment(data) {
+  return request({
+    url: '/course/userVideoComment',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改课堂视频评论
+export function updateUserVideoComment(data) {
+  return request({
+    url: '/course/userVideoComment',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除课堂视频评论
+export function delUserVideoComment(commentId) {
+  return request({
+    url: '/course/userVideoComment/' + commentId,
+    method: 'delete'
+  })
+}
+
+// 导出课堂视频评论
+export function exportUserVideoComment(query) {
+  return request({
+    url: '/course/userVideoComment/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userVipOrder.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询购买会员订单列表
+export function listUserVipOrder(query) {
+  return request({
+    url: '/course/userVipOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询购买会员订单详细
+export function getUserVipOrder(orderId) {
+  return request({
+    url: '/course/userVipOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增购买会员订单
+export function addUserVipOrder(data) {
+  return request({
+    url: '/course/userVipOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改购买会员订单
+export function updateUserVipOrder(data) {
+  return request({
+    url: '/course/userVipOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除购买会员订单
+export function delUserVipOrder(orderId) {
+  return request({
+    url: '/course/userVipOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出购买会员订单
+export function exportUserVipOrder(query) {
+  return request({
+    url: '/course/userVipOrder/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/course/userVipPackage.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询会员套餐列表
+export function listUserVipPackage(query) {
+  return request({
+    url: '/course/userVipPackage/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询会员套餐详细
+export function getUserVipPackage(packageId) {
+  return request({
+    url: '/course/userVipPackage/' + packageId,
+    method: 'get'
+  })
+}
+
+// 新增会员套餐
+export function addUserVipPackage(data) {
+  return request({
+    url: '/course/userVipPackage',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改会员套餐
+export function updateUserVipPackage(data) {
+  return request({
+    url: '/course/userVipPackage',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除会员套餐
+export function delUserVipPackage(packageId) {
+  return request({
+    url: '/course/userVipPackage/' + packageId,
+    method: 'delete'
+  })
+}
+
+// 导出会员套餐
+export function exportUserVipPackage(query) {
+  return request({
+    url: '/course/userVipPackage/export',
+    method: 'get',
+    params: query
+  })
+}

+ 158 - 0
src/api/crm/customer.js

@@ -0,0 +1,158 @@
+import request from '@/utils/request'
+
+export function listLineCustomer(query) {
+  return request({
+    url: '/crm/customer/lineList',
+    method: 'get',
+    params: query
+  })
+}
+export function getCustomerListByIds(query) {
+  return request({
+    url: '/crm/customer/getCustomerListByIds',
+    method: 'get',
+    params: query
+  })
+}
+export function addLineCustomer(data) {
+  return request({
+    url: '/crm/customer/addLine',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户
+export function updateLineCustomer(data) {
+  return request({
+    url: '/crm/customer/editLine',
+    method: 'put',
+    data: data
+  })
+}
+
+export function updateCustomerSource(data) {
+  return request({
+    url: '/crm/customer/updateCustomerSource',
+    method: 'post',
+    data: data
+  })
+}
+
+
+
+// 删除客户
+export function delLineCustomer(customerId) {
+  return request({
+    url: '/crm/customer/removeLine/' + customerId,
+    method: 'delete'
+  })
+}
+
+
+// 查询客户详细
+export function getLineCustomer(customerId) {
+  return request({
+    url: '/crm/customer/queryLine/' + customerId,
+    method: 'get'
+  })
+}
+
+// 导出客户
+export function exportLineCustomer(query) {
+  return request({
+    url: '/crm/customer/exportLine',
+    method: 'get',
+    params: query
+  })
+}
+export function exportCustomer(query) {
+  return request({
+    url: '/crm/customer/export',
+    method: 'get',
+    params: query
+  })
+}
+
+
+
+
+// 下载用户导入模板
+export function importLineTemplate() {
+  return request({
+    url: '/crm/customer/importLineTemplate',
+    method: 'get'
+  })
+}
+
+export function assignCustomer(data) {
+  return request({
+    url: '/crm/customer/assign',
+    method: 'post',
+    data: data
+  })
+}
+
+
+export function assignCrmToCompany(data) {
+  return request({
+    url: '/crm/customer/assignCrmToCompany',
+    method: 'post',
+    data: data
+  })
+}
+
+export function listCustomer(query) {
+  return request({
+    url: '/crm/customer/list',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getCustomer(customerId) {
+  return request({
+    url: '/crm/customer/query/' + customerId,
+    method: 'get'
+  })
+}
+
+export function getCustomer1(customerId) {
+  return request({
+    url: '/crm/customer/query1/' + customerId,
+    method: 'get'
+  })
+}
+
+export function getCustomer2(customerId) {
+  return request({
+    url: '/crm/customer/query2/' + customerId,
+    method: 'get'
+  })
+}
+
+
+export function addCustomer(data) {
+  return request({
+    url: '/crm/customer',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户
+export function updateCustomer(data) {
+  return request({
+    url: '/crm/customer',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户
+export function delCustomer(customerId) {
+  return request({
+    url: '/crm/customer/' + customerId,
+    method: 'delete'
+  })
+}

+ 21 - 0
src/api/crm/customerAssign.js

@@ -0,0 +1,21 @@
+import request from '@/utils/request'
+
+// 查询客户分配记录列表
+export function listCustomerAssign(query) {
+  return request({
+    url: '/crm/customerAssign/list',
+    method: 'get',
+    params: query
+  })
+}
+
+ 
+ 
+export function cancelCustomerAssign(data) {
+  return request({
+    url: '/crm/customerAssign/cancel' ,
+    method: 'post',
+    data: data
+  })
+}
+ 

+ 53 - 0
src/api/crm/customerContacts.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询客户联系人列表
+export function listCustomerContacts(query) {
+  return request({
+    url: '/crm/customerContacts/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户联系人详细
+export function getCustomerContacts(contactsId) {
+  return request({
+    url: '/crm/customerContacts/' + contactsId,
+    method: 'get'
+  })
+}
+
+// 新增客户联系人
+export function addCustomerContacts(data) {
+  return request({
+    url: '/crm/customerContacts',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户联系人
+export function updateCustomerContacts(data) {
+  return request({
+    url: '/crm/customerContacts',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户联系人
+export function delCustomerContacts(contactsId) {
+  return request({
+    url: '/crm/customerContacts/' + contactsId,
+    method: 'delete'
+  })
+}
+
+// 导出客户联系人
+export function exportCustomerContacts(query) {
+  return request({
+    url: '/crm/customerContacts/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/customerExt.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询客户字段扩展列表
+export function listCustomerExt(query) {
+  return request({
+    url: '/crm/customerExt/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户字段扩展详细
+export function getCustomerExt(extId) {
+  return request({
+    url: '/crm/customerExt/' + extId,
+    method: 'get'
+  })
+}
+
+// 新增客户字段扩展
+export function addCustomerExt(data) {
+  return request({
+    url: '/crm/customerExt',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户字段扩展
+export function updateCustomerExt(data) {
+  return request({
+    url: '/crm/customerExt',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户字段扩展
+export function delCustomerExt(extId) {
+  return request({
+    url: '/crm/customerExt/' + extId,
+    method: 'delete'
+  })
+}
+
+// 导出客户字段扩展
+export function exportCustomerExt(query) {
+  return request({
+    url: '/crm/customerExt/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/customerLogs.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询客户日志列表
+export function listCustomerLogs(query) {
+  return request({
+    url: '/crm/customerLogs/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户日志详细
+export function getCustomerLogs(logsId) {
+  return request({
+    url: '/crm/customerLogs/' + logsId,
+    method: 'get'
+  })
+}
+
+// 新增客户日志
+export function addCustomerLogs(data) {
+  return request({
+    url: '/crm/customerLogs',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户日志
+export function updateCustomerLogs(data) {
+  return request({
+    url: '/crm/customerLogs',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户日志
+export function delCustomerLogs(logsId) {
+  return request({
+    url: '/crm/customerLogs/' + logsId,
+    method: 'delete'
+  })
+}
+
+// 导出客户日志
+export function exportCustomerLogs(query) {
+  return request({
+    url: '/crm/customerLogs/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/customerUser.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询客户员工认领列表
+export function listCustomerUser(query) {
+  return request({
+    url: '/crm/customerUser/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户员工认领详细
+export function getCustomerUser(customerUserId) {
+  return request({
+    url: '/crm/customerUser/' + customerUserId,
+    method: 'get'
+  })
+}
+
+// 新增客户员工认领
+export function addCustomerUser(data) {
+  return request({
+    url: '/crm/customerUser',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户员工认领
+export function updateCustomerUser(data) {
+  return request({
+    url: '/crm/customerUser',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户员工认领
+export function delCustomerUser(customerUserId) {
+  return request({
+    url: '/crm/customerUser/' + customerUserId,
+    method: 'delete'
+  })
+}
+
+// 导出客户员工认领
+export function exportCustomerUser(query) {
+  return request({
+    url: '/crm/customerUser/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/customerVisit.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询跟进列表
+export function listCustomerVisit(query) {
+  return request({
+    url: '/crm/customerVisit/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询跟进详细
+export function getCustomerVisit(visitId) {
+  return request({
+    url: '/crm/customerVisit/' + visitId,
+    method: 'get'
+  })
+}
+
+// 新增跟进
+export function addCustomerVisit(data) {
+  return request({
+    url: '/crm/customerVisit',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改跟进
+export function updateCustomerVisit(data) {
+  return request({
+    url: '/crm/customerVisit',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除跟进
+export function delCustomerVisit(visitId) {
+  return request({
+    url: '/crm/customerVisit/' + visitId,
+    method: 'delete'
+  })
+}
+
+// 导出跟进
+export function exportCustomerVisit(query) {
+  return request({
+    url: '/crm/customerVisit/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/event.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询代办事项列表
+export function listEvent(query) {
+  return request({
+    url: '/crm/event/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询代办事项详细
+export function getEvent(eventId) {
+  return request({
+    url: '/crm/event/' + eventId,
+    method: 'get'
+  })
+}
+
+// 新增代办事项
+export function addEvent(data) {
+  return request({
+    url: '/crm/event',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改代办事项
+export function updateEvent(data) {
+  return request({
+    url: '/crm/event',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除代办事项
+export function delEvent(eventId) {
+  return request({
+    url: '/crm/event/' + eventId,
+    method: 'delete'
+  })
+}
+
+// 导出代办事项
+export function exportEvent(query) {
+  return request({
+    url: '/crm/event/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/crm/msg.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询 消息列表
+export function listMsg(query) {
+  return request({
+    url: '/crm/msg/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询 消息详细
+export function getMsg(msgId) {
+  return request({
+    url: '/crm/msg/' + msgId,
+    method: 'get'
+  })
+}
+
+// 新增 消息
+export function addMsg(data) {
+  return request({
+    url: '/crm/msg',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改 消息
+export function updateMsg(data) {
+  return request({
+    url: '/crm/msg',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除 消息
+export function delMsg(msgId) {
+  return request({
+    url: '/crm/msg/' + msgId,
+    method: 'delete'
+  })
+}
+
+// 导出 消息
+export function exportMsg(query) {
+  return request({
+    url: '/crm/msg/export',
+    method: 'get',
+    params: query
+  })
+}

+ 94 - 0
src/api/crm/third.js

@@ -0,0 +1,94 @@
+import request from '@/utils/request'
+
+// 查询客户线索三方平台列表
+export function listThird(query) {
+  return request({
+    url: '/crm/third/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询客户线索三方平台详细
+export function getThird(id) {
+  return request({
+    url: '/crm/third/' + id,
+    method: 'get'
+  })
+}
+
+// 新增客户线索三方平台
+export function addThird(data) {
+  return request({
+    url: '/crm/third',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改客户线索三方平台
+export function updateThird(data) {
+  return request({
+    url: '/crm/third',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除客户线索三方平台
+export function delThird(id) {
+  return request({
+    url: '/crm/third/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出客户线索三方平台
+export function exportThird(query) {
+  return request({
+    url: '/crm/third/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 保存auth令牌
+export function saveFeiyuAuth(data) {
+  return request({
+    url: '/third/feiyu/oauthCallback',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 获取广告商
+export function getAdvertisers(data) {
+  return request({
+    url: '/third/feiyu/getAdvertisers',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 获取飞鱼线索客户
+export function getClues(data) {
+  return request({
+    url: '/third/feiyu/getClues',
+    method: 'post',
+    data: data
+  })
+}
+
+
+// 从飞鱼批量导入线索客户
+export function importThird(data) {
+  return request({
+    url: '/third/feiyu/importThird',
+    method: 'put',
+    data: data
+  })
+}
+
+

+ 53 - 0
src/api/doc/doc.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询档案列表
+export function listDoc(query) {
+  return request({
+    url: '/doc/doc/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询档案详细
+export function getDoc(docId) {
+  return request({
+    url: '/doc/doc/' + docId,
+    method: 'get'
+  })
+}
+
+// 新增档案
+export function addDoc(data) {
+  return request({
+    url: '/doc/doc',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改档案
+export function updateDoc(data) {
+  return request({
+    url: '/doc/doc',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除档案
+export function delDoc(docId) {
+  return request({
+    url: '/doc/doc/' + docId,
+    method: 'delete'
+  })
+}
+
+// 导出档案
+export function exportDoc(query) {
+  return request({
+    url: '/doc/doc/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/doc/docOrder.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询问医生列表
+export function listDocOrder(query) {
+  return request({
+    url: '/doc/docOrder/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询问医生详细
+export function getDocOrder(orderId) {
+  return request({
+    url: '/doc/docOrder/' + orderId,
+    method: 'get'
+  })
+}
+
+// 新增问医生
+export function addDocOrder(data) {
+  return request({
+    url: '/doc/docOrder',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改问医生
+export function updateDocOrder(data) {
+  return request({
+    url: '/doc/docOrder',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除问医生
+export function delDocOrder(orderId) {
+  return request({
+    url: '/doc/docOrder/' + orderId,
+    method: 'delete'
+  })
+}
+
+// 导出问医生
+export function exportDocOrder(query) {
+  return request({
+    url: '/doc/docOrder/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/doc/docOrderReply.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询订单回复列表
+export function listDocOrderReply(query) {
+  return request({
+    url: '/doc/docOrderReply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询订单回复详细
+export function getDocOrderReply(replyId) {
+  return request({
+    url: '/doc/docOrderReply/' + replyId,
+    method: 'get'
+  })
+}
+
+// 新增订单回复
+export function addDocOrderReply(data) {
+  return request({
+    url: '/doc/docOrderReply',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改订单回复
+export function updateDocOrderReply(data) {
+  return request({
+    url: '/doc/docOrderReply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除订单回复
+export function delDocOrderReply(replyId) {
+  return request({
+    url: '/doc/docOrderReply/' + replyId,
+    method: 'delete'
+  })
+}
+
+// 导出订单回复
+export function exportDocOrderReply(query) {
+  return request({
+    url: '/doc/docOrderReply/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/doc/docRecord.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询记录列表
+export function listDocRecord(query) {
+  return request({
+    url: '/doc/docRecord/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询记录详细
+export function getDocRecord(recordId) {
+  return request({
+    url: '/doc/docRecord/' + recordId,
+    method: 'get'
+  })
+}
+
+// 新增记录
+export function addDocRecord(data) {
+  return request({
+    url: '/doc/docRecord',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改记录
+export function updateDocRecord(data) {
+  return request({
+    url: '/doc/docRecord',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除记录
+export function delDocRecord(recordId) {
+  return request({
+    url: '/doc/docRecord/' + recordId,
+    method: 'delete'
+  })
+}
+
+// 导出记录
+export function exportDocRecord(query) {
+  return request({
+    url: '/doc/docRecord/export',
+    method: 'get',
+    params: query
+  })
+}

+ 53 - 0
src/api/doc/docRecordReply.js

@@ -0,0 +1,53 @@
+import request from '@/utils/request'
+
+// 查询回复列表
+export function listDocRecordReply(query) {
+  return request({
+    url: '/doc/docRecordReply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询回复详细
+export function getDocRecordReply(replyId) {
+  return request({
+    url: '/doc/docRecordReply/' + replyId,
+    method: 'get'
+  })
+}
+
+// 新增回复
+export function addDocRecordReply(data) {
+  return request({
+    url: '/doc/docRecordReply',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改回复
+export function updateDocRecordReply(data) {
+  return request({
+    url: '/doc/docRecordReply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除回复
+export function delDocRecordReply(replyId) {
+  return request({
+    url: '/doc/docRecordReply/' + replyId,
+    method: 'delete'
+  })
+}
+
+// 导出回复
+export function exportDocRecordReply(query) {
+  return request({
+    url: '/doc/docRecordReply/export',
+    method: 'get',
+    params: query
+  })
+}

+ 40 - 0
src/api/login.js

@@ -0,0 +1,40 @@
+import request from '@/utils/request'
+
+// 登录方法
+export function login(username, password, code, uuid) {
+  const data = {
+    username,
+    password,
+    code,
+    uuid
+  }
+  return request({
+    url: '/login',
+    method: 'post',
+    data: data
+  })
+}
+
+// 获取用户详细信息
+export function getInfo() {
+  return request({
+    url: '/getInfo',
+    method: 'get'
+  })
+}
+
+// 退出方法
+export function logout() {
+  return request({
+    url: '/logout',
+    method: 'post'
+  })
+}
+
+// 获取验证码
+export function getCodeImg() {
+  return request({
+    url: '/captchaImage',
+    method: 'get'
+  })
+}

+ 9 - 0
src/api/menu.js

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

+ 80 - 0
src/api/monitor/job.js

@@ -0,0 +1,80 @@
+import request from '@/utils/request'
+
+// 查询定时任务调度列表
+export function listJob(query) {
+  return request({
+    url: '/monitor/job/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询定时任务调度详细
+export function getJob(jobId) {
+  return request({
+    url: '/monitor/job/' + jobId,
+    method: 'get'
+  })
+}
+
+// 新增定时任务调度
+export function addJob(data) {
+  return request({
+    url: '/monitor/job',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改定时任务调度
+export function updateJob(data) {
+  return request({
+    url: '/monitor/job',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除定时任务调度
+export function delJob(jobId) {
+  return request({
+    url: '/monitor/job/' + jobId,
+    method: 'delete'
+  })
+}
+
+// 导出定时任务调度
+export function exportJob(query) {
+  return request({
+    url: '/monitor/job/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 任务状态修改
+export function changeJobStatus(jobId, status) {
+  const data = {
+    jobId,
+    status
+  }
+  return request({
+    url: '/monitor/job/changeStatus',
+    method: 'put',
+    data: data
+  })
+}
+
+
+// 定时任务立即执行一次
+export function runJob(jobId, jobGroup) {
+  const data = {
+    jobId,
+    jobGroup
+  }
+  return request({
+    url: '/monitor/job/run',
+    method: 'put',
+    data: data
+  })
+}

+ 35 - 0
src/api/monitor/jobLog.js

@@ -0,0 +1,35 @@
+import request from '@/utils/request'
+
+// 查询调度日志列表
+export function listJobLog(query) {
+  return request({
+    url: '/monitor/jobLog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除调度日志
+export function delJobLog(jobLogId) {
+  return request({
+    url: '/monitor/jobLog/' + jobLogId,
+    method: 'delete'
+  })
+}
+
+// 清空调度日志
+export function cleanJobLog() {
+  return request({
+    url: '/monitor/jobLog/clean',
+    method: 'delete'
+  })
+}
+
+// 导出调度日志
+export function exportJobLog(query) {
+  return request({
+    url: '/monitor/jobLog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 35 - 0
src/api/monitor/logininfor.js

@@ -0,0 +1,35 @@
+import request from '@/utils/request'
+
+// 查询登录日志列表
+export function list(query) {
+  return request({
+    url: '/monitor/logininfor/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除登录日志
+export function delLogininfor(infoId) {
+  return request({
+    url: '/monitor/logininfor/' + infoId,
+    method: 'delete'
+  })
+}
+
+// 清空登录日志
+export function cleanLogininfor() {
+  return request({
+    url: '/monitor/logininfor/clean',
+    method: 'delete'
+  })
+}
+
+// 导出登录日志
+export function exportLogininfor(query) {
+  return request({
+    url: '/monitor/logininfor/export',
+    method: 'get',
+    params: query
+  })
+}

+ 18 - 0
src/api/monitor/online.js

@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 查询在线用户列表
+export function list(query) {
+  return request({
+    url: '/monitor/online/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 强退用户
+export function forceLogout(tokenId) {
+  return request({
+    url: '/monitor/online/' + tokenId,
+    method: 'delete'
+  })
+}

+ 35 - 0
src/api/monitor/operlog.js

@@ -0,0 +1,35 @@
+import request from '@/utils/request'
+
+// 查询操作日志列表
+export function list(query) {
+  return request({
+    url: '/monitor/operlog/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 删除操作日志
+export function delOperlog(operId) {
+  return request({
+    url: '/monitor/operlog/' + operId,
+    method: 'delete'
+  })
+}
+
+// 清空操作日志
+export function cleanOperlog() {
+  return request({
+    url: '/monitor/operlog/clean',
+    method: 'delete'
+  })
+}
+
+// 导出操作日志
+export function exportOperlog(query) {
+  return request({
+    url: '/monitor/operlog/export',
+    method: 'get',
+    params: query
+  })
+}

+ 9 - 0
src/api/monitor/server.js

@@ -0,0 +1,9 @@
+import request from '@/utils/request'
+
+// 查询服务器详细
+export function getServer() {
+  return request({
+    url: '/monitor/server',
+    method: 'get'
+  })
+}

+ 71 - 0
src/api/oms/apply.js

@@ -0,0 +1,71 @@
+import request from '@/utils/request'
+
+// 查询采购申请单列表
+export function listApply(query) {
+  return request({
+    url: '/oms/apply/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询采购申请单详细
+export function getApply(id) {
+  return request({
+    url: '/oms/apply/' + id,
+    method: 'get'
+  })
+}
+
+// 新增采购申请单
+export function addApply(data) {
+  return request({
+    url: '/oms/apply',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改采购申请单
+export function updateApply(data) {
+  return request({
+    url: '/oms/apply',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除采购申请单
+export function delApply(id) {
+  return request({
+    url: '/oms/apply/' + id,
+    method: 'delete'
+  })
+}
+
+// 导出采购申请单
+export function exportApply(query) {
+  return request({
+    url: '/oms/apply/export',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询采购申请单商品列表
+export function listProduct(query) {
+  return request({
+    url: '/oms/apply/productList',
+    method: 'get',
+    params: query
+  })
+}
+
+// 修改采购申请单状态
+export function updateApplyStatus(data) {
+  return request({
+    url: '/oms/apply/status',
+    method: 'put',
+    data: data
+  })
+}

+ 60 - 0
src/api/oms/category.js

@@ -0,0 +1,60 @@
+import request from '@/utils/request'
+
+// 查询商品分类列表
+export function listCategory(query) {
+  return request({
+    url: '/oms/category/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 查询商品分类详细
+export function getCategory(cateId) {
+  return request({
+    url: '/oms/category/' + cateId,
+    method: 'get'
+  })
+}
+
+// 新增商品分类
+export function addCategory(data) {
+  return request({
+    url: '/oms/category',
+    method: 'post',
+    data: data
+  })
+}
+
+// 修改商品分类
+export function updateCategory(data) {
+  return request({
+    url: '/oms/category',
+    method: 'put',
+    data: data
+  })
+}
+
+// 删除商品分类
+export function delCategory(cateId) {
+  return request({
+    url: '/oms/category/' + cateId,
+    method: 'delete'
+  })
+}
+
+// 导出商品分类
+export function exportCategory(query) {
+  return request({
+    url: '/oms/category/export',
+    method: 'get',
+    params: query
+  })
+}
+
+export function getAllOmsProductCategory() {
+  return request({
+    url: '/oms/category/getAllList' ,
+    method: 'get'
+  })
+}

Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff