250716提交
|
|
@ -0,0 +1,63 @@
|
|||
/aspnetcore
|
||||
/admin/.vscode
|
||||
/admin/yarn.lock
|
||||
/netcore/YB.DeviceV2/.vs
|
||||
/netcore/YB.DeviceV2/Furion.Extras.YB.DeviceV2/bin
|
||||
/netcore/YB.DeviceV2/Furion.Extras.YB.DeviceV2/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Application/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Application/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Core/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Core/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Database.Migrations/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Database.Migrations/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Domain/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Domain/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Domain.Shared/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Domain.Shared/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.EntityFramework.Core/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.EntityFramework.Core/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.EventBus/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.EventBus/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Serilog/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Serilog/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Util/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Util/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Core/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Core/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.WeiXin/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.WeiXin/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Body/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Body/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.WXApi/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.WXApi/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/App_Data
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/wwwroot/admin
|
||||
/netcore/YB.DeviceV2/YBDeviceV2.WorkerService/obj
|
||||
/netcore/YB.DeviceV2/YBDeviceV2.WorkerService/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/wwwroot/uploadfile/weixin/20220508
|
||||
/netcore/YB.DeviceV2/数据迁移/YBDeviceV2.OldToNewMigration/obj
|
||||
/netcore/YB.DeviceV2/数据迁移/YBDeviceV2.OldToNewMigration/bin
|
||||
/netcore/YB.DeviceV2/数据迁移/src/YBDeviceV2.OldToNewMigration/bin
|
||||
/netcore/YB.DeviceV2/数据迁移/src/YBDeviceV2.OldToNewMigration/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/wwwroot/uploadfile/product
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/wwwroot/uploadfile
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/wwwroot/download
|
||||
/netcore/YB.DeviceV2/MQTT/MQTT.Client/bin
|
||||
/netcore/YB.DeviceV2/MQTT/MQTT.Client/obj
|
||||
/netcore/YB.DeviceV2/MQTT/MQTT.Server/bin
|
||||
/netcore/YB.DeviceV2/MQTT/MQTT.Server/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Web.Entry/Properties/PublishProfiles/ybapi.pcxbc.com.pubxml.user
|
||||
/netcore/Test/YB.DeviceV2.Application.Test/obj
|
||||
/netcore/Test/YB.DeviceV2.Application.Test/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Speech/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.Speech/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.UserTag/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.UserTag/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.ThirdOpen/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.ThirdOpen/obj
|
||||
/netcore/Test/YB.DeviceV2.UserTag.Test/bin
|
||||
/netcore/Test/YB.DeviceV2.UserTag.Test/obj
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.HealthCheck/bin
|
||||
/netcore/YB.DeviceV2/YB.DeviceV2.HealthCheck/obj
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
###
|
||||
|
||||
## 品传设备平台
|
||||
|
||||
> sass平台
|
||||
>
|
||||
> EFCORE+Furion
|
||||
|
||||
[文档]([1.0 更新日志 | 郑州品传 (pcxbc.com)](http://ybdoc.pcxbc.com/docs/ybdevicev2/upgrade))
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
> 1%
|
||||
last 2 versions
|
||||
not ie <= 10
|
||||
|
|
@ -0,0 +1,39 @@
|
|||
[*]
|
||||
charset=utf-8
|
||||
end_of_line=lf
|
||||
insert_final_newline=false
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[{*.ng,*.sht,*.html,*.shtm,*.shtml,*.htm}]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[{*.jhm,*.xslt,*.xul,*.rng,*.xsl,*.xsd,*.ant,*.tld,*.fxml,*.jrxml,*.xml,*.jnlp,*.wsdl}]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[{.babelrc,.stylelintrc,jest.config,.eslintrc,.prettierrc,*.json,*.jsb3,*.jsb2,*.bowerrc}]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[*.svg]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[*.js.map]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[*.less]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[*.vue]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
[{.analysis_options,*.yml,*.yaml}]
|
||||
indent_style=space
|
||||
indent_size=2
|
||||
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
NODE_ENV=production
|
||||
VUE_APP_PREVIEW=false
|
||||
VUE_APP_API_BASE_URL=https://ybapi.pcxbc.com
|
||||
VUE_APP_SOCKET_BASE_URL=ws://ybapi.pcxbc.com
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
NODE_ENV=development
|
||||
VUE_APP_PREVIEW=true
|
||||
VUE_APP_API_BASE_URL=http://localhost:5566
|
||||
VUE_APP_SOCKET_BASE_URL=ws://localhost:5566
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
NODE_ENV=production
|
||||
VUE_APP_PREVIEW=false
|
||||
VUE_APP_API_BASE_URL=https://ttybapi.pcxbc.com
|
||||
VUE_APP_SOCKET_BASE_URL=ws://ttybapi.pcxbc.com
|
||||
|
|
@ -0,0 +1,77 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
env: {
|
||||
node: true
|
||||
},
|
||||
'extends': [
|
||||
'plugin:vue/strongly-recommended',
|
||||
'@vue/standard'
|
||||
],
|
||||
rules: {
|
||||
'no-console': 'off',
|
||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||
'generator-star-spacing': 'off',
|
||||
'no-mixed-operators': 0,
|
||||
'vue/max-attributes-per-line': [
|
||||
2,
|
||||
{
|
||||
'singleline': 5,
|
||||
'multiline': {
|
||||
'max': 1,
|
||||
'allowFirstLine': false
|
||||
}
|
||||
}
|
||||
],
|
||||
'vue/attribute-hyphenation': 0,
|
||||
'vue/html-self-closing': 0,
|
||||
'vue/component-name-in-template-casing': 0,
|
||||
'vue/html-closing-bracket-spacing': 0,
|
||||
'vue/singleline-html-element-content-newline': 0,
|
||||
'vue/no-unused-components': 0,
|
||||
'vue/multiline-html-element-content-newline': 0,
|
||||
'vue/no-use-v-if-with-v-for': 0,
|
||||
'vue/html-closing-bracket-newline': 0,
|
||||
'vue/no-parsing-error': 0,
|
||||
'no-tabs': 0,
|
||||
'quotes': [
|
||||
2,
|
||||
'single',
|
||||
{
|
||||
'avoidEscape': true,
|
||||
'allowTemplateLiterals': true
|
||||
}
|
||||
],
|
||||
'semi': [
|
||||
2,
|
||||
'never',
|
||||
{
|
||||
'beforeStatementContinuationChars': 'never'
|
||||
}
|
||||
],
|
||||
'no-delete-var': 2,
|
||||
'prefer-const': [
|
||||
2,
|
||||
{
|
||||
'ignoreReadBeforeAssign': false
|
||||
}
|
||||
],
|
||||
'template-curly-spacing': 'off',
|
||||
'indent': 'off',
|
||||
"space-before-function-paren": 0,
|
||||
'no-multi-spaces': 2, //不能用多余的空格
|
||||
},
|
||||
parserOptions: {
|
||||
parser: 'babel-eslint'
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: [
|
||||
'**/__tests__/*.{j,t}s?(x)',
|
||||
'**/tests/unit/**/*.spec.{j,t}s?(x)'
|
||||
],
|
||||
env: {
|
||||
jest: true
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
node_modules/
|
||||
.idea/
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"printWidth": 120,
|
||||
"semi": false,
|
||||
"singleQuote": true
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- 10.15.0
|
||||
cache: yarn
|
||||
script:
|
||||
- yarn
|
||||
- yarn run lint --no-fix && yarn run build
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
FROM nginx
|
||||
|
||||
COPY . /usr/share/nginx/html
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2018 Anan Yang
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
const IS_PROD = ['production', 'prod'].includes(process.env.NODE_ENV)
|
||||
|
||||
const plugins = []
|
||||
if (IS_PROD) {
|
||||
plugins.push('transform-remove-console')
|
||||
}
|
||||
|
||||
// lazy load ant-design-vue
|
||||
// if your use import on Demand, Use this code
|
||||
plugins.push(['import', {
|
||||
'libraryName': 'ant-design-vue',
|
||||
'libraryDirectory': 'es',
|
||||
'style': true // `style: true` 会加载 less 文件
|
||||
}])
|
||||
|
||||
module.exports = {
|
||||
presets: [
|
||||
[
|
||||
'@babel/preset-env',
|
||||
{
|
||||
'useBuiltIns': 'entry',
|
||||
'corejs': 3
|
||||
}
|
||||
],
|
||||
'@vue/cli-plugin-babel/preset'
|
||||
],
|
||||
plugins
|
||||
}
|
||||
|
|
@ -0,0 +1,46 @@
|
|||
const ThemeColorReplacer = require('webpack-theme-color-replacer')
|
||||
const generate = require('@ant-design/colors/lib/generate').default
|
||||
|
||||
const getAntdSerials = (color) => {
|
||||
// 淡化(即less的tint)
|
||||
const lightens = new Array(9).fill().map((t, i) => {
|
||||
return ThemeColorReplacer.varyColor.lighten(color, i / 10)
|
||||
})
|
||||
const colorPalettes = generate(color)
|
||||
const rgb = ThemeColorReplacer.varyColor.toNum3(color.replace('#', '')).join(',')
|
||||
return lightens.concat(colorPalettes).concat(rgb)
|
||||
}
|
||||
|
||||
const themePluginOption = {
|
||||
fileName: 'css/theme-colors-[contenthash:8].css',
|
||||
matchColors: getAntdSerials('#FA541C'), // 主色系列
|
||||
// 改变样式选择器,解决样式覆盖问题
|
||||
changeSelector (selector) {
|
||||
switch (selector) {
|
||||
case '.ant-calendar-today .ant-calendar-date':
|
||||
return ':not(.ant-calendar-selected-date):not(.ant-calendar-selected-day)' + selector
|
||||
case '.ant-btn:focus,.ant-btn:hover':
|
||||
return '.ant-btn:focus:not(.ant-btn-primary):not(.ant-btn-danger),.ant-btn:hover:not(.ant-btn-primary):not(.ant-btn-danger)'
|
||||
case '.ant-btn.active,.ant-btn:active':
|
||||
return '.ant-btn.active:not(.ant-btn-primary):not(.ant-btn-danger),.ant-btn:active:not(.ant-btn-primary):not(.ant-btn-danger)'
|
||||
case '.ant-steps-item-process .ant-steps-item-icon > .ant-steps-icon':
|
||||
case '.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon':
|
||||
return ':not(.ant-steps-item-process)' + selector
|
||||
case '.ant-menu-horizontal>.ant-menu-item-active,.ant-menu-horizontal>.ant-menu-item-open,.ant-menu-horizontal>.ant-menu-item-selected,.ant-menu-horizontal>.ant-menu-item:hover,.ant-menu-horizontal>.ant-menu-submenu-active,.ant-menu-horizontal>.ant-menu-submenu-open,.ant-menu-horizontal>.ant-menu-submenu-selected,.ant-menu-horizontal>.ant-menu-submenu:hover':
|
||||
case '.ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal > .ant-menu-submenu-selected,.ant-menu-horizontal > .ant-menu-submenu:hover':
|
||||
return '.ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover'
|
||||
case '.ant-menu-horizontal > .ant-menu-item-selected > a':
|
||||
case '.ant-menu-horizontal>.ant-menu-item-selected>a':
|
||||
return '.ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item-selected > a'
|
||||
case '.ant-menu-horizontal > .ant-menu-item > a:hover':
|
||||
case '.ant-menu-horizontal>.ant-menu-item>a:hover':
|
||||
return '.ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item > a:hover'
|
||||
default :
|
||||
return selector
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const createThemeColorReplacerPlugin = () => new ThemeColorReplacer(themePluginOption)
|
||||
|
||||
module.exports = createThemeColorReplacerPlugin
|
||||
|
After Width: | Height: | Size: 78 KiB |
|
|
@ -0,0 +1 @@
|
|||
.extra-wrapper[data-v-4124e1ba]{line-height:55px;padding-right:24px}.extra-wrapper .extra-item[data-v-4124e1ba]{display:inline-block;margin-right:24px}.extra-wrapper .extra-item a[data-v-4124e1ba]{margin-left:24px}.txfooter[data-v-4124e1ba]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:end;-ms-flex-align:end;align-items:flex-end}
|
||||
|
|
@ -0,0 +1 @@
|
|||
.head-info[data-v-432d5786]{position:relative;text-align:left;padding:0 32px 0 0;min-width:125px}.head-info.center[data-v-432d5786]{text-align:center;padding:0 32px}.head-info span[data-v-432d5786]{color:rgba(0,0,0,.45);display:inline-block;font-size:14px;line-height:22px;margin-bottom:4px}.head-info p[data-v-432d5786]{color:rgba(0,0,0,.85);font-size:24px;line-height:32px;margin:0}.head-info em[data-v-432d5786]{background-color:#e8e8e8;position:absolute;height:56px;width:1px;top:0;right:0}.project-list .card-title[data-v-75d33b64]{font-size:0}.project-list .card-title a[data-v-75d33b64]{color:rgba(0,0,0,.85);margin-left:12px;line-height:24px;height:24px;display:inline-block;vertical-align:top;font-size:14px}.project-list .card-title a[data-v-75d33b64]:hover{color:#1890ff}.project-list .card-description[data-v-75d33b64]{color:rgba(0,0,0,.45);height:44px;line-height:22px;overflow:hidden}.project-list .project-item[data-v-75d33b64]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:8px;overflow:hidden;font-size:12px;height:20px;line-height:20px}.project-list .project-item a[data-v-75d33b64]{color:rgba(0,0,0,.45);display:inline-block;-webkit-box-flex:1;-ms-flex:1 1 0px;flex:1 1 0}.project-list .project-item a[data-v-75d33b64]:hover{color:#1890ff}.project-list .project-item .datetime[data-v-75d33b64]{color:rgba(0,0,0,.25);-webkit-box-flex:0;-ms-flex:0 0 auto;flex:0 0 auto;float:right}.project-list .ant-card-meta-description[data-v-75d33b64]{color:rgba(0,0,0,.45);height:44px;line-height:22px;overflow:hidden}.item-group[data-v-75d33b64]{padding:20px 0 8px 24px;font-size:0}.item-group a[data-v-75d33b64]{color:rgba(0,0,0,.65);display:inline-block;font-size:14px;margin-bottom:13px;width:25%}.members a[data-v-75d33b64]{display:block;margin:12px 0;line-height:24px;height:24px}.members a .member[data-v-75d33b64]{font-size:14px;color:rgba(0,0,0,.65);line-height:24px;max-width:100px;vertical-align:top;margin-left:12px;-webkit-transition:all .3s;transition:all .3s;display:inline-block}.members a:hover span[data-v-75d33b64]{color:#1890ff}.mobile .project-list .project-card-grid[data-v-75d33b64]{width:100%}.mobile .more-info[data-v-75d33b64]{border:0;padding-top:16px;margin:16px 0 16px}.mobile .headerContent .title .welcome-text[data-v-75d33b64]{display:none}
|
||||
|
After Width: | Height: | Size: 162 KiB |
|
After Width: | Height: | Size: 202 KiB |
|
After Width: | Height: | Size: 43 KiB |
|
After Width: | Height: | Size: 195 KiB |
|
After Width: | Height: | Size: 200 KiB |
|
After Width: | Height: | Size: 17 KiB |
|
|
@ -0,0 +1 @@
|
|||
<!DOCTYPE html><html lang="zh-cmn-Hans"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta http-equiv="Access-Control-Allow-Origin" content="*"><meta name="renderer" content="webkit"><meta name="referrer" content="no-referrer"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="format-detection" content="telephone=no"><link rel="icon" href="/favicon.ico"><title>管理平台</title><style>.first-loading-wrp{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:420px;height:100%}.first-loading-wrp>h1{font-size:128px}.first-loading-wrp .loading-wrp{padding:98px;display:flex;justify-content:center;align-items:center}.dot{animation:antRotate 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;font-size:32px;width:32px;height:32px;box-sizing:border-box}.dot i{width:14px;height:14px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.dot i:nth-child(1){top:0;left:0}.dot i:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antSpinMove{to{opacity:1}}</style><link href="/css/chunk-13771d77.85d10544.css" rel="prefetch"><link href="/css/chunk-58f7b61e.a1d22d63.css" rel="prefetch"><link href="/css/fail.5a89daa5.css" rel="prefetch"><link href="/js/chunk-13771d77.b0291f0d.js" rel="prefetch"><link href="/js/chunk-58f7b61e.bf54ba8d.js" rel="prefetch"><link href="/js/fail.1d91d920.js" rel="prefetch"><link href="/css/app.6f5d6d3e.css" rel="preload" as="style"><link href="/css/chunk-vendors.21673510.css" rel="preload" as="style"><link href="/js/app.80680f42.js" rel="preload" as="script"><link href="/js/chunk-vendors.2a57df3b.js" rel="preload" as="script"><link href="/css/chunk-vendors.21673510.css" rel="stylesheet"><link href="/css/app.6f5d6d3e.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div class="first-loading-wrp"><div class="loading-wrp"><span class="dot dot-spin"><i></i><i></i><i></i><i></i></span></div><div style="display: flex; justify-content: center; align-items: center;"></div></div></div><script src="//imgcdn.ybhdmob.com/npm/vue@2.6.14/vue.min.js"></script><script src="//imgcdn.ybhdmob.com/npm/vue-router@3.1.3/vue-router.min.js"></script><script src="//imgcdn.ybhdmob.com/npm/vuex@3.1.1/vuex.min.js"></script><script src="//imgcdn.ybhdmob.com/npm/axios@0.19.0/axios.min.js"></script><script src="/js/chunk-vendors.2a57df3b.js"></script><script src="/js/app.80680f42.js"></script></body></html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#preloadingAnimation{position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;z-index: 9999;overflow: hidden}.lds-roller{display:inline-block;position:relative;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;}.lds-roller div{animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;transform-origin:32px 32px;}.lds-roller div:after{content:" ";display:block;position:absolute;width:6px;height:6px;border-radius:50%;background:#13c2c2;margin:-3px 0 0 -3px;}.lds-roller div:nth-child(1){animation-delay:-0.036s;}.lds-roller div:nth-child(1):after{top:50px;left:50px;}.lds-roller div:nth-child(2){animation-delay:-0.072s;}.lds-roller div:nth-child(2):after{top:54px;left:45px;}.lds-roller div:nth-child(3){animation-delay:-0.108s;}.lds-roller div:nth-child(3):after{top:57px;left:39px;}.lds-roller div:nth-child(4){animation-delay:-0.144s;}.lds-roller div:nth-child(4):after{top:58px;left:32px;}.lds-roller div:nth-child(5){animation-delay:-0.18s;}.lds-roller div:nth-child(5):after{top:57px;left:25px;}.lds-roller div:nth-child(6){animation-delay:-0.216s;}.lds-roller div:nth-child(6):after{top:54px;left:19px;}.lds-roller div:nth-child(7){animation-delay:-0.252s;}.lds-roller div:nth-child(7):after{top:50px;left:14px;}.lds-roller div:nth-child(8){animation-delay:-0.288s;}.lds-roller div:nth-child(8):after{top:45px;left:10px;}#preloadingAnimation .load-tips{color: #13c2c2;font-size:2rem;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin-top:80px;text-align:center;width:400px;height:64px;} @keyframes lds-roller{0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);}}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<div id="preloadingAnimation"><div class=lds-roller><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><div class=load-tips>Loading</div></div>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<div class="preloading-animate">
|
||||
<div class="preloading-wrapper">
|
||||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.preloading-animate{background:#ffffff;width:100%;height:100%;position:fixed;left:0;top:0;z-index:299;}.preloading-animate .preloading-wrapper{position:absolute;width:5rem;height:5rem;left:50%;top:50%;transform:translate(-50%,-50%);}.preloading-animate .preloading-wrapper .preloading-balls{font-size:5rem;}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -0,0 +1,16 @@
|
|||
version: '3.4'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: ./docker/nginx/Dockerfile
|
||||
image: admin_net_web:1.2
|
||||
ports:
|
||||
- 81:80
|
||||
restart: "always"
|
||||
volumes:
|
||||
- node_modules:/build/node_modules:rw
|
||||
# network_mode: host #宿主网络,与宿主机共享网络,安全性不佳,本地开发使用,淦,不支持windows,仅支持Linux
|
||||
volumes:
|
||||
node_modules:
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
FROM nginx
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
COPY ./vhost /etc/nginx/conf.d/
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
COPY . /var/www/html
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
user nginx;
|
||||
worker_processes 1;
|
||||
pid /var/run/nginx.pid;
|
||||
error_log /var/log/nginx/nginx.error.log warn;
|
||||
events {
|
||||
worker_connections 1024;
|
||||
}
|
||||
http {
|
||||
include /etc/nginx/mime.types;
|
||||
default_type application/octet-stream;
|
||||
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
||||
'$status $body_bytes_sent "$http_referer" '
|
||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||
access_log /dev/null;
|
||||
#access_log /var/log/nginx/nginx.access.log main;
|
||||
sendfile on;
|
||||
#tcp_nopush on;
|
||||
keepalive_timeout 65;
|
||||
#gzip on;
|
||||
include /etc/nginx/conf.d/*.conf;
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
### 说明
|
||||
|
||||
把此目录下的文件放到dist下的主目录中
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
server {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
root /var/www/html;
|
||||
index index.php index.html index.htm;
|
||||
access_log /dev/null;
|
||||
error_log /var/log/nginx/default.error.log warn;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
#error_page 500 502 503 504 /50x.html;
|
||||
|
||||
location / {
|
||||
root /var/www/html;
|
||||
add_header Cache-Control 'no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0';
|
||||
try_files $uri $uri/ /index.html;
|
||||
}
|
||||
|
||||
|
||||
location /api {
|
||||
#如果服务器要获取客户端真实IP,可以用下三句设置主机头和客户端真实地址
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# rewrite ^/api/(.*)$ /$1 break; #重写
|
||||
proxy_pass http://ybdevicev2; #ybdevicev2是docker中的服务名称,这里不能直接放域名,要么是docker名称,要么是ip+端口的形式
|
||||
}
|
||||
location /bapi {
|
||||
#如果服务器要获取客户端真实IP,可以用下三句设置主机头和客户端真实地址
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
# rewrite ^/api/(.*)$ /$1 break; #重写
|
||||
proxy_pass http://ybdevicev2; #ybdevicev2是docker中的服务名称,这里不能直接放域名,要么是docker名称,要么是ip+端口的形式
|
||||
}
|
||||
location /hubs/ {
|
||||
proxy_pass http://ybdevicev2;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
#proxy_read_timeout 600s;#设置websocket超时时间
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
module.exports = {
|
||||
moduleFileExtensions: [
|
||||
'js',
|
||||
'jsx',
|
||||
'json',
|
||||
'vue'
|
||||
],
|
||||
transform: {
|
||||
'^.+\\.vue$': 'vue-jest',
|
||||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
|
||||
'^.+\\.jsx?$': 'babel-jest'
|
||||
},
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/src/$1'
|
||||
},
|
||||
snapshotSerializers: [
|
||||
'jest-serializer-vue'
|
||||
],
|
||||
testMatch: [
|
||||
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
|
||||
],
|
||||
testURL: 'http://localhost/'
|
||||
}
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "es6",
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"exclude": ["node_modules", "dist"],
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
{
|
||||
"name": "vue-antd-pro",
|
||||
"version": "3.0.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
"test:unit": "vue-cli-service test:unit",
|
||||
"build:preview": "vue-cli-service build --mode preview",
|
||||
"postinstall": "opencollective-postinstall"
|
||||
},
|
||||
"dependencies": {
|
||||
"-": "^0.0.1",
|
||||
"@antv/data-set": "^0.11.8",
|
||||
"@antv/g2": "^4.2.2",
|
||||
"@jiaminghi/data-view": "^2.10.0",
|
||||
"@microsoft/signalr": "^5.0.5",
|
||||
"ant-design-vue": "1.7.4",
|
||||
"axios": "^0.19.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"clipboard": "^2.0.6",
|
||||
"compression-webpack-plugin": "5.0.1",
|
||||
"core-js": "^3.1.2",
|
||||
"crypto-js": "^4.0.0",
|
||||
"default-passive-events": "^1.0.10",
|
||||
"enquire.js": "^2.1.6",
|
||||
"font-awesome": "^4.7.0",
|
||||
"jquery": "^3.5.1",
|
||||
"jsbarcode": "^3.11.3",
|
||||
"k-form-design": "^3.7.3",
|
||||
"leaflet": "^1.7.1",
|
||||
"leaflet.pm": "^2.2.0",
|
||||
"linq": "^3.2.3",
|
||||
"lodash.clonedeep": "^4.5.0",
|
||||
"lodash.get": "^4.4.2",
|
||||
"lodash.pick": "^4.4.0",
|
||||
"md5": "^2.2.1",
|
||||
"mockjs2": "1.0.8",
|
||||
"moment": "^2.24.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"print-js": "^1.0.63",
|
||||
"raphael": "^2.3.0",
|
||||
"screenfull": "^5.1.0",
|
||||
"vue": "^2.6.10",
|
||||
"vue-clipboard2": "^0.2.1",
|
||||
"vue-codemirror-lite": "^1.0.4",
|
||||
"vue-cropper": "0.4.9",
|
||||
"vue-ls": "^3.2.1",
|
||||
"vue-quill-editor": "^3.0.6",
|
||||
"vue-router": "^3.1.2",
|
||||
"vue-svg-component-runtime": "^1.0.1",
|
||||
"vue2-leaflet": "^2.7.0",
|
||||
"vuedraggable": "^2.23.2",
|
||||
"vuex": "^3.1.1",
|
||||
"wangeditor": "^3.1.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@ant-design/colors": "^3.2.1",
|
||||
"@vue/cli-plugin-babel": "^4.0.4",
|
||||
"@vue/cli-plugin-eslint": "^4.0.4",
|
||||
"@vue/cli-plugin-router": "^4.0.4",
|
||||
"@vue/cli-plugin-unit-jest": "^4.0.4",
|
||||
"@vue/cli-plugin-vuex": "^4.0.4",
|
||||
"@vue/cli-service": "^4.0.4",
|
||||
"@vue/eslint-config-prettier": "^5.0.0",
|
||||
"@vue/eslint-config-standard": "^4.0.0",
|
||||
"@vue/test-utils": "^1.0.0-beta.29",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-plugin-import": "^1.13.0",
|
||||
"babel-plugin-transform-remove-console": "^6.9.4",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-plugin-html": "^5.0.0",
|
||||
"eslint-plugin-prettier": "^3.1.0",
|
||||
"eslint-plugin-vue": "^5.2.3",
|
||||
"less": "^3.0.4",
|
||||
"less-loader": "^5.0.0",
|
||||
"opencollective": "^1.0.3",
|
||||
"opencollective-postinstall": "^2.0.2",
|
||||
"prettier": "^1.18.2",
|
||||
"vue-svg-icon-loader": "^2.1.1",
|
||||
"vue-template-compiler": "^2.6.10",
|
||||
"webpack-theme-color-replacer": "1.3.18"
|
||||
},
|
||||
"collective": {
|
||||
"type": "opencollective",
|
||||
"url": "https://opencollective.com/ant-design-pro-vue"
|
||||
},
|
||||
"main": ".eslintrc.js",
|
||||
"directories": {
|
||||
"test": "tests"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC",
|
||||
"description": ""
|
||||
}
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
module.exports = {
|
||||
plugins: {
|
||||
autoprefixer: {}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 162 KiB |
|
|
@ -0,0 +1,40 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="zh-cmn-Hans">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<meta http-equiv="Access-Control-Allow-Origin" content="*">
|
||||
<meta name="renderer" content="webkit">
|
||||
<meta name="referrer" content="no-referrer" />
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1.0">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
|
||||
<title>管理平台</title>
|
||||
<style>.first-loading-wrp{display:flex;justify-content:center;align-items:center;flex-direction:column;min-height:420px;height:100%}.first-loading-wrp>h1{font-size:128px}.first-loading-wrp .loading-wrp{padding:98px;display:flex;justify-content:center;align-items:center}.dot{animation:antRotate 1.2s infinite linear;transform:rotate(45deg);position:relative;display:inline-block;font-size:32px;width:32px;height:32px;box-sizing:border-box}.dot i{width:14px;height:14px;position:absolute;display:block;background-color:#1890ff;border-radius:100%;transform:scale(.75);transform-origin:50% 50%;opacity:.3;animation:antSpinMove 1s infinite linear alternate}.dot i:nth-child(1){top:0;left:0}.dot i:nth-child(2){top:0;right:0;-webkit-animation-delay:.4s;animation-delay:.4s}.dot i:nth-child(3){right:0;bottom:0;-webkit-animation-delay:.8s;animation-delay:.8s}.dot i:nth-child(4){bottom:0;left:0;-webkit-animation-delay:1.2s;animation-delay:1.2s}@keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@-webkit-keyframes antRotate{to{-webkit-transform:rotate(405deg);transform:rotate(405deg)}}@keyframes antSpinMove{to{opacity:1}}@-webkit-keyframes antSpinMove{to{opacity:1}}</style>
|
||||
<!-- require cdn assets css -->
|
||||
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.css) { %>
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.options.cdn.css[i] %>" />
|
||||
<% } %>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
<strong>We're sorry but vue-antd-pro doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
|
||||
</noscript>
|
||||
<div id="app">
|
||||
<div class="first-loading-wrp">
|
||||
<!-- <h1>YB.PayDevice</h1> -->
|
||||
<div class="loading-wrp">
|
||||
<span class="dot dot-spin"><i></i><i></i><i></i><i></i></span>
|
||||
</div>
|
||||
<div style="display: flex; justify-content: center; align-items: center;"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- require cdn assets js -->
|
||||
<% for (var i in htmlWebpackPlugin.options.cdn && htmlWebpackPlugin.options.cdn.js) { %>
|
||||
<script src="<%= htmlWebpackPlugin.options.cdn.js[i] %>"></script>
|
||||
<% } %>
|
||||
<!-- built files will be auto injected -->
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
#preloadingAnimation{position:fixed;left:0;top:0;height:100%;width:100%;background:#ffffff;user-select:none;z-index: 9999;overflow: hidden}.lds-roller{display:inline-block;position:relative;left:50%;top:50%;transform:translate(-50%,-50%);width:64px;height:64px;}.lds-roller div{animation:lds-roller 1.2s cubic-bezier(0.5,0,0.5,1) infinite;transform-origin:32px 32px;}.lds-roller div:after{content:" ";display:block;position:absolute;width:6px;height:6px;border-radius:50%;background:#13c2c2;margin:-3px 0 0 -3px;}.lds-roller div:nth-child(1){animation-delay:-0.036s;}.lds-roller div:nth-child(1):after{top:50px;left:50px;}.lds-roller div:nth-child(2){animation-delay:-0.072s;}.lds-roller div:nth-child(2):after{top:54px;left:45px;}.lds-roller div:nth-child(3){animation-delay:-0.108s;}.lds-roller div:nth-child(3):after{top:57px;left:39px;}.lds-roller div:nth-child(4){animation-delay:-0.144s;}.lds-roller div:nth-child(4):after{top:58px;left:32px;}.lds-roller div:nth-child(5){animation-delay:-0.18s;}.lds-roller div:nth-child(5):after{top:57px;left:25px;}.lds-roller div:nth-child(6){animation-delay:-0.216s;}.lds-roller div:nth-child(6):after{top:54px;left:19px;}.lds-roller div:nth-child(7){animation-delay:-0.252s;}.lds-roller div:nth-child(7):after{top:50px;left:14px;}.lds-roller div:nth-child(8){animation-delay:-0.288s;}.lds-roller div:nth-child(8):after{top:45px;left:10px;}#preloadingAnimation .load-tips{color: #13c2c2;font-size:2rem;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);margin-top:80px;text-align:center;width:400px;height:64px;} @keyframes lds-roller{0%{transform:rotate(0deg);} 100%{transform:rotate(360deg);}}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<div id="preloadingAnimation"><div class=lds-roller><div></div><div></div><div></div><div></div><div></div><div></div><div></div><div></div></div><div class=load-tips>Loading</div></div>
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
<div class="preloading-animate">
|
||||
<div class="preloading-wrapper">
|
||||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -0,0 +1 @@
|
|||
.preloading-animate{background:#ffffff;width:100%;height:100%;position:fixed;left:0;top:0;z-index:299;}.preloading-animate .preloading-wrapper{position:absolute;width:5rem;height:5rem;left:50%;top:50%;transform:translate(-50%,-50%);}.preloading-animate .preloading-wrapper .preloading-balls{font-size:5rem;}
|
||||
|
|
@ -0,0 +1 @@
|
|||
<svg class="preloading-balls" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"><circle cx="67.802" cy="59.907" r="6" fill="#51CACC"><animate attributeName="cx" values="75;57.72542485937369" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="50;73.77641290737884" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#51CACC;#9DF871" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="46.079" cy="69.992" r="6" fill="#9DF871"><animate attributeName="cx" values="57.72542485937369;29.774575140626318" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="73.77641290737884;64.69463130731182" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#9DF871;#E0FF77" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="29.775" cy="52.449" r="6" fill="#E0FF77"><animate attributeName="cx" values="29.774575140626318;29.774575140626315" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="64.69463130731182;35.30536869268818" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#E0FF77;#DE9DD6" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="41.421" cy="31.521" r="6" fill="#DE9DD6"><animate attributeName="cx" values="29.774575140626315;57.72542485937368" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="35.30536869268818;26.22358709262116" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#DE9DD6;#FF708E" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle><circle cx="64.923" cy="36.13" r="6" fill="#FF708E"><animate attributeName="cx" values="57.72542485937368;75" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="cy" values="26.22358709262116;49.99999999999999" keyTimes="0;1" dur="1s" repeatCount="indefinite"/><animate attributeName="fill" values="#FF708E;#51CACC" keyTimes="0;1" dur="1s" repeatCount="indefinite"/></circle></svg>
|
||||
|
After Width: | Height: | Size: 2.1 KiB |
|
|
@ -0,0 +1,47 @@
|
|||
<template>
|
||||
<a-config-provider :locale="locale">
|
||||
<div id="app" class="app app1">
|
||||
<router-view class="scrollbar"/>
|
||||
</div>
|
||||
</a-config-provider>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
|
||||
import { AppDeviceEnquire } from '@/utils/mixin'
|
||||
|
||||
export default {
|
||||
mixins: [AppDeviceEnquire],
|
||||
data () {
|
||||
return {
|
||||
locale: zhCN
|
||||
}
|
||||
},
|
||||
mounted () {
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
.app {
|
||||
overflow: auto;
|
||||
border : none;
|
||||
}
|
||||
.scrollbar {
|
||||
margin: 0 auto;
|
||||
}
|
||||
.app1::-webkit-scrollbar {
|
||||
/*滚动条整体样式*/
|
||||
width : 8px; /*高宽分别对应横竖滚动条的尺寸*/
|
||||
}
|
||||
.app1::-webkit-scrollbar-thumb {
|
||||
/*滚动条里面小方块*/
|
||||
border-radius: 6px;
|
||||
background : #aaa;
|
||||
}
|
||||
.app1::-webkit-scrollbar-track {
|
||||
/*滚动条里面轨道*/
|
||||
border-radius: 8px;
|
||||
background : #FFFFFF;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -0,0 +1,135 @@
|
|||
/**
|
||||
* 代码生成
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGeneratePage (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateAdd (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateEdit (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateDelete (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询当前数据库用户下的所有库
|
||||
*
|
||||
* @author fuqiang
|
||||
* @date 2021/10/13 15:00
|
||||
*/
|
||||
export function codeGenerateDatabaseList (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/DatabaseList',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询当前数据库用户下的所有表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateInformationList (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/InformationList',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据库名表名获取列
|
||||
*
|
||||
* @author fuqiang 20211014
|
||||
* @param {*} databaseName 库名
|
||||
* @param {*} tableName 表名
|
||||
* @return {*}
|
||||
*/
|
||||
export function codeGenerateColumnList (databaseName,tableName) {
|
||||
return axios({
|
||||
url: `/codeGenerate/ColumnList/${databaseName}/${tableName}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 本地生成
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateRunLocal (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/runLocal',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 压缩包方式下载
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/12/23 15:00
|
||||
*/
|
||||
export function codeGenerateRunDown (parameter) {
|
||||
return axios({
|
||||
url: '/codeGenerate/runDown',
|
||||
method: 'get',
|
||||
params: parameter,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 代码生成详细配置列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2021-02-06 20:19:49
|
||||
*/
|
||||
export function sysCodeGenerateConfigList (parameter) {
|
||||
return axios({
|
||||
url: '/sysCodeGenerateConfig/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑代码生成详细配置
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2021-02-06 20:19:49
|
||||
*/
|
||||
export function sysCodeGenerateConfigEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysCodeGenerateConfig/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,133 @@
|
|||
// 客户管理接口定义
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
// 查询客户列表
|
||||
export function BusinessList (parameter) {
|
||||
return axios({
|
||||
url: '/business/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 提交客户
|
||||
export function Submit (parameter) {
|
||||
return axios({
|
||||
url: '/business/submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取整体统计数据
|
||||
export function GetTotalData (parameter) {
|
||||
return axios({
|
||||
url: '/report/gettotaldata',
|
||||
method: 'get',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取整体统计数据列表
|
||||
export function GetAllReportList (parameter) {
|
||||
return axios({
|
||||
url: '/report/getalllist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取设备收入top10列表
|
||||
export function GetDevTopList (parameter) {
|
||||
return axios({
|
||||
url: '/report/getdevtop10list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
// 查询门店列表
|
||||
export function ShopList (parameter) {
|
||||
return axios({
|
||||
url: '/business/shoplist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 提交客户
|
||||
export function SubmitShop (parameter) {
|
||||
return axios({
|
||||
url: '/business/submitshop',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 所有所有客户列表
|
||||
export function GetAllList (parameter) {
|
||||
return axios({
|
||||
url: '/business/getalllist',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
// 重置密码
|
||||
export function ResetPwd (parameter) {
|
||||
return axios({
|
||||
url: '/business/resetpwd',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 绑定的微信列表
|
||||
export function WXBindList (parameter) {
|
||||
return axios({
|
||||
url: '/business/wxbindlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 微信解绑
|
||||
export function UnBind (parameter) {
|
||||
return axios({
|
||||
url: '/business/wxunbind',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取微信绑定地址
|
||||
export function GetBindUrl (parameter) {
|
||||
return axios({
|
||||
url: '/business/getwxbindurl',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取第三方推送地址
|
||||
export function GetThirdOpenUrl (parameter) {
|
||||
return axios({
|
||||
url: '/business/setting/get',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设置第三方推送地址
|
||||
export function SetThirdOpenUrl (parameter) {
|
||||
return axios({
|
||||
url: '/business/setting/submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 商户的注册用户列表
|
||||
export function BusinessUserList (parameter) {
|
||||
return axios({
|
||||
url: '/bapi/user/list',
|
||||
custombaseurl:true,
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 商户标签列表
|
||||
export function BusinessTagList (parameter) {
|
||||
return axios({
|
||||
url: '/bapi/business/tag/list',
|
||||
custombaseurl:true,
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,66 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询车辆信息
|
||||
*
|
||||
* @author fuqiang
|
||||
*/
|
||||
export function CarPage (parameter) {
|
||||
return axios({
|
||||
url: '/Car/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 车辆信息列表
|
||||
*
|
||||
* @author fuqiang
|
||||
*/
|
||||
export function CarList (parameter) {
|
||||
return axios({
|
||||
url: '/Car/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加车辆信息
|
||||
*
|
||||
* @author fuqiang
|
||||
*/
|
||||
export function CarAdd (parameter) {
|
||||
return axios({
|
||||
url: '/Car/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑车辆信息
|
||||
*
|
||||
* @author fuqiang
|
||||
*/
|
||||
export function CarEdit (parameter) {
|
||||
return axios({
|
||||
url: '/Car/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除车辆信息
|
||||
*
|
||||
* @author fuqiang
|
||||
*/
|
||||
export function CarDelete (parameter) {
|
||||
return axios({
|
||||
url: '/Car/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,155 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 分页查询设备列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetDevList (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/page',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 设备信息提交
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function Submit (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 设备状态修改
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SetStatus (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/setstatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取所有设备类型
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetAllTypeList (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/getalltypelist',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 设备类型列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetTypeList (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/gettypelist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 设备类型信息提交
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SubmitType (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/submittype',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备回收
|
||||
export function Reback (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/reback',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备分配
|
||||
export function DeviceAlloc (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/alloc',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备分配记录列表
|
||||
export function GetDeviceAllocList (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/getdevicealloclist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型关联的小程序列表
|
||||
export function GetDeviceTypeAppList (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/getdeviceapplist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型关联的小程序信息提交
|
||||
export function SubmitDeviceApp (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/submitdeviceapp',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型关联的小程序删除
|
||||
export function DeleteDeviceApp (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/deletedeviceapp',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备二维码
|
||||
export function GetQrCode (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/getqrcode',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型图片上传
|
||||
export function UploadImg (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/UploadImg',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型额外信息详情
|
||||
export function DeviceTypeExtDetail (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/DeviceTypeExtDetail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备类型额外信息提交
|
||||
export function SubmitDeviceTypeExt (parameter) {
|
||||
return axios({
|
||||
url: '/YB_Device/SubmitDeviceTypeExt',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,404 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询公众号
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetPageList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/page',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 公众号列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 公众号信息提交
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function Submit(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 删除公众号
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function Delete(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取授权地址
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetAuthPage(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getauthpage',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取小程序订阅模板列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetSubscribeTplList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getsubscribetpllist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 同步小程序订阅模板列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetTemplateList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/gettemplatelist',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 选中模板
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SetTplAsMessage(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/settplasmessage',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 设置订阅消息模板内容
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SetSubscribeTplContext(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/setsubscribetplcontent',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 微信客服设置
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SetCustomService(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/setcustomservice',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取小程序代码模板列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetCodeTplList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/gettpllist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取小程序代码草稿列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetCodeDraftList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getdraftlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取小程序代码提交历史列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetHistroyList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/gethistorylist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取小程序体验码
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetQrCode(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getqrcode',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 更新资料
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function UpdateInfo(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getinfo',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 修改域名
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function ModifyDomain(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/modifydomain',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 同步代码模板
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SyncCodeTpl(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/synctpl',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 同步代码草稿
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SyncCodeDraft(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/syncdraft',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 为小程序上传代码
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function CommitCode(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/commit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 代码草稿设置为模板
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function DraftToTemplate(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/addtotemplate',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 删除代码模板
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function DeleteCodeTemplate(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/deletetemplate',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 小程序提交审核
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SubmitAudit(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/submitaudit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 小程序撤回审核
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function UndoCodeAudit(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/UndoCodeAudit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 小程序发布版本
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function Release(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/Release',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取审核状态
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetCommitStatus(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/getcommitstatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取域名列表
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetDomainList(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/GetDomain',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取微信客服信息
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetCustomService(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/GetCustomService',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取微信配置
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetConfig(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/config/detail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 删除微信配置
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function DeleteConfig(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/config/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 提交微信配置
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function SumitConfig(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/config/submitform',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 封面上传
|
||||
export function UploadImg(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/config/uploadimg',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 小程序头像上传
|
||||
export function UploadHeadImg(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/uploadimg',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 手动添加小程序
|
||||
export function SubmitMini(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/insertmini',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取隐私信息
|
||||
export function GetMiniPrivacy(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/privacy/get',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设置隐私信息
|
||||
export function SetMiniPrivacy(parameter) {
|
||||
return axios({
|
||||
url: '/OfficlaAccount/privacy/set',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 意见反馈列表
|
||||
export function List (parameter) {
|
||||
return axios({
|
||||
url: '/advice/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
// 删除
|
||||
export function Delete (parameter) {
|
||||
return axios({
|
||||
url: '/advice/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询轮播图列表
|
||||
export function BannerList (parameter) {
|
||||
return axios({
|
||||
url: '/info/getbannerlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 轮播图设备列表
|
||||
export function BannerEquList (parameter) {
|
||||
return axios({
|
||||
url: '/info/getbannerequlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设置状态
|
||||
export function SetStatus (parameter) {
|
||||
return axios({
|
||||
url: '/info/setbannerstatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 轮播图信息提交
|
||||
export function Submit (parameter) {
|
||||
return axios({
|
||||
url: '/info/submitbanner',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 轮播图详情
|
||||
export function Detail (parameter) {
|
||||
return axios({
|
||||
url: '/info/bannerdetail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,34 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询订单列表
|
||||
export function OrderList (parameter) {
|
||||
return axios({
|
||||
url: '/order/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
// 添加订单
|
||||
export function OrderAdd (parameter) {
|
||||
return axios({
|
||||
url: '/order/submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 修改订单状态
|
||||
export function SetStatus (parameter) {
|
||||
return axios({
|
||||
url: '/order/setstatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取订单设备列表
|
||||
export function GetDevListByOrderId (parameter) {
|
||||
return axios({
|
||||
url: '/order/getdevlistbyorderid',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,59 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询出货记录列表
|
||||
export function OutProductList (parameter) {
|
||||
return axios({
|
||||
url: '/product/getlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
// 获取所有物流列表
|
||||
export function GetAllExpress (parameter) {
|
||||
return axios({
|
||||
url: '/product/getallexpress',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
// 出货设备列表
|
||||
export function GetDevList (parameter) {
|
||||
return axios({
|
||||
url: '/product/GetDevList',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 物流列表
|
||||
export function GetExpressList (parameter) {
|
||||
return axios({
|
||||
url: '/product/GetExpressList',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 出货信息提交
|
||||
export function Submit (parameter) {
|
||||
return axios({
|
||||
url: '/product/Submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 物流信息编辑
|
||||
export function SubmitExpress (parameter) {
|
||||
return axios({
|
||||
url: '/product/SubmitExpress',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 设备文件上传
|
||||
export function UploadFile (parameter) {
|
||||
return axios({
|
||||
url: '/product/uploadfile',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询注册用户列表
|
||||
export function RegUserList (parameter) {
|
||||
return axios({
|
||||
url: '/reguser/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 修改昵称
|
||||
export function ModifyName (parameter) {
|
||||
return axios({
|
||||
url: '/reguser/editname',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 排行榜
|
||||
export function RankList (parameter) {
|
||||
return axios({
|
||||
url: '/rank/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 合计信息
|
||||
export function GetCombined (parameter) {
|
||||
return axios({
|
||||
url: '/report/getcombinedbybusiness',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取客户日统计数据
|
||||
export function GetListByBusiness (parameter) {
|
||||
return axios({
|
||||
url: '/report/getlistbybusiness',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 获取指定设备统计数据
|
||||
export function GetListByDev (parameter) {
|
||||
return axios({
|
||||
url: '/report/getlistbydev',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询测量记录列表
|
||||
export function ResultList (parameter) {
|
||||
return axios({
|
||||
url: '/measure/list',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 查询指定用户测量记录列表
|
||||
export function UserResultList (parameter) {
|
||||
return axios({
|
||||
url: '/measure/listbyuserid',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 查询指定用户家庭成员列表
|
||||
export function UserFamilyList (parameter) {
|
||||
return axios({
|
||||
url: '/measure/getuserdatabyuserid',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 导出记录
|
||||
export function Export (parameter) {
|
||||
return axios({
|
||||
url: '/measure/export',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 导出成员
|
||||
export function ExportFamily (parameter) {
|
||||
return axios({
|
||||
url: '/measure/exportfamily',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 导入成员
|
||||
export function UploadFamily (parameter) {
|
||||
return axios({
|
||||
url: '/measure/importfamily',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
// 删除成员
|
||||
export function DeleteFamily (parameter) {
|
||||
return axios({
|
||||
url: '/measure/deletefamily',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
import { axios } from '@/utils/request'
|
||||
// 查询资讯列表
|
||||
export function InfoList (parameter) {
|
||||
return axios({
|
||||
url: '/info/getlist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 查询资讯列表
|
||||
export function InfoDetail (parameter) {
|
||||
return axios({
|
||||
url: '/info/detail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 资讯类型列表
|
||||
export function InfoTypeList (parameter) {
|
||||
return axios({
|
||||
url: '/info/gettypelist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 资讯类型所有列表
|
||||
export function InfoTypeAllList (parameter) {
|
||||
return axios({
|
||||
url: '/info/getalltype',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 修改资讯状态
|
||||
export function SetStatus (parameter) {
|
||||
return axios({
|
||||
url: '/info/setstatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 修改类型状态
|
||||
export function SetTypeStatus (parameter) {
|
||||
return axios({
|
||||
url: '/info/settypestatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 资讯信息提交
|
||||
export function Submit (parameter) {
|
||||
return axios({
|
||||
url: '/info/submit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 资讯类型信息提交
|
||||
export function SubmitType (parameter) {
|
||||
return axios({
|
||||
url: '/info/submittype',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
// 资讯类型信息提交
|
||||
export function UploadImg (parameter) {
|
||||
return axios({
|
||||
url: '/info/uploadimg',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询所有枚举类型
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetClientData (parameter) {
|
||||
return axios({
|
||||
url: '/system/getclientdata',
|
||||
method: 'get',
|
||||
param: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 查询配置信息
|
||||
*
|
||||
* @author liuzl
|
||||
*/
|
||||
export function GetConfigInfo (parameter) {
|
||||
return axios({
|
||||
url: '/system/getconfiginfo',
|
||||
method: 'post',
|
||||
param: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1 @@
|
|||
/** 此文件夹下代码尽量不要动,底座升级直接覆盖替换 **/
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
/**
|
||||
* 系统应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年4月23日12:10:57
|
||||
*/
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 系统应用列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年7月9日15:05:01
|
||||
*/
|
||||
export function getAppPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统应用列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年7月9日15:05:01
|
||||
*/
|
||||
export function getAppList (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增系统应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年7月9日15:05:01
|
||||
*/
|
||||
export function sysAppAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @param parameter
|
||||
* @returns {*}
|
||||
*/
|
||||
export function sysAppEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年7月9日15:05:01
|
||||
*/
|
||||
export function sysAppDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 设为默认应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020年7月9日15:05:01
|
||||
*/
|
||||
export function sysAppSetAsDefault (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/setAsDefault',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改应用状态
|
||||
*
|
||||
* @author zuohuaijun
|
||||
* @date 2021年1月1日
|
||||
*/
|
||||
export function sysAppChangeStatus (parameter) {
|
||||
return axios({
|
||||
url: '/sysApp/changeStatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 分页查询配置列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:57
|
||||
*/
|
||||
export function sysConfigPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysConfig/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加系统参数配置
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:57
|
||||
*/
|
||||
export function sysConfigAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysConfig/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统参数配置
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:57
|
||||
*/
|
||||
export function sysConfigEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysConfig/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统参数配置
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:57
|
||||
*/
|
||||
export function sysConfigDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysConfig/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}]
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 02:06
|
||||
*/
|
||||
export function sysDictTypeDropDown (parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/dropDown',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统的所有任务列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/8 20:46
|
||||
*/
|
||||
export function sysTimersGetActionClasses (parameter) {
|
||||
return axios({
|
||||
url: '/sysTimers/getActionClasses',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,73 @@
|
|||
import {
|
||||
axios
|
||||
} from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询系统字典值
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 02:24
|
||||
*/
|
||||
export function sysDictDataPage(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictData/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加系统字典值
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 02:24
|
||||
*/
|
||||
export function sysDictDataAdd(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictData/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统字典值
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 02:25
|
||||
*/
|
||||
export function sysDictDataEdit(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictData/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统字典值
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 02:25
|
||||
*/
|
||||
export function sysDictDataDelete(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictData/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改系统字典状态
|
||||
*
|
||||
* @author xusn
|
||||
* @date 2021-04-30 11:00:16
|
||||
*/
|
||||
export function sysDictDataChangeStatus(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictData/changeStatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,101 @@
|
|||
import {
|
||||
axios
|
||||
} from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 分页查询系统字典类型
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 01:46
|
||||
*/
|
||||
export function sysDictTypePage(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加系统字典类型
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 01:46
|
||||
*/
|
||||
export function sysDictTypeAdd(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统字典类型
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 01:50
|
||||
*/
|
||||
export function sysDictTypeEdit(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统字典类型
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/17 01:50
|
||||
*/
|
||||
export function sysDictTypeDelete(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取字典类型下所有字典,举例,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}]
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/10 00:10
|
||||
*/
|
||||
export function sysDictTypeDropDown(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/dropDown',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取所有字典,启动时加入缓存使用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/10 00:10
|
||||
*/
|
||||
export function sysDictTypeTree(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/tree',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改系统字典状态
|
||||
*
|
||||
* @author xusn
|
||||
* @date 2021-04-30 11:00:16
|
||||
*/
|
||||
export function sysDictTypeChangeStatus(parameter) {
|
||||
return axios({
|
||||
url: '/sysDictType/changeStatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 发送邮件
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 23:22
|
||||
*/
|
||||
export function emailSendEmail (parameter) {
|
||||
return axios({
|
||||
url: '/email/sendEmail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 发送html邮件
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 23:23
|
||||
*/
|
||||
export function emailSendEmailHtml (parameter) {
|
||||
return axios({
|
||||
url: '/email/sendEmailHtml',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 根据枚举名称获取枚举数据,返回格式为:[{code:"M",value:"男"},{code:"F",value:"女"}]
|
||||
*
|
||||
* @author taoran
|
||||
* @date 2021-04-16 21:13/sysEnumData/list/{enumName}
|
||||
*/
|
||||
export function sysEnumDataList (parameter) {
|
||||
return axios({
|
||||
url: '/sysEnumData/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据实体名和字段名获取枚举数据
|
||||
*
|
||||
* @author taoran
|
||||
* @date 2021-04-16 21:13
|
||||
*/
|
||||
export function sysEnumDataListByField (parameter) {
|
||||
return axios({
|
||||
url: '/sysEnumData/listByFiled',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 分页查询文件信息表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取全部文件信息表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoList (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传文件
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoUpload (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/upload',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 下载文件
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoDownload (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/download',
|
||||
method: 'get',
|
||||
params: parameter,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看图片
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoPreview (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/preview',
|
||||
method: 'get',
|
||||
params: parameter,
|
||||
responseType: 'arraybuffer'
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看详情文件信息表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoDetail (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/detail',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除文件信息表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 00:20
|
||||
*/
|
||||
export function sysFileInfoDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 上传头像
|
||||
*
|
||||
* @author zuohuaijun
|
||||
* @date 2021/4/23 00:20
|
||||
*/
|
||||
export function sysFileInfoUploadAvatar (parameter) {
|
||||
return axios({
|
||||
url: '/sysFileInfo/uploadAvatar',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,93 @@
|
|||
/*
|
||||
* @Author: your name
|
||||
* @Date: 2021-04-17 17:45:37
|
||||
* @LastEditTime: 2021-04-17 18:03:59
|
||||
* @LastEditors: your name
|
||||
* @Description: In User Settings Edit
|
||||
* @FilePath: \frontend\src\api\modular\system\logManage.js
|
||||
*/
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询访问日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/19 11:57
|
||||
*/
|
||||
export function sysVisLogPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysVisLog/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询操作日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/19 11:57
|
||||
*/
|
||||
export function sysOpLogPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysOpLog/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询异常日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/19 11:57
|
||||
*/
|
||||
export function sysExLogPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysExLog/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 清空访问日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/23 23:09
|
||||
*/
|
||||
export function sysVisLogDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysVisLog/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 清空登录日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/23 23:09
|
||||
*/
|
||||
export function sysOpLogDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysOpLog/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 清空异常日志
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/23 23:09
|
||||
*/
|
||||
export function sysExLogDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysExLog/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,145 @@
|
|||
/**
|
||||
* 系统应用
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 19:06
|
||||
*/
|
||||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 登录
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 19:06
|
||||
*/
|
||||
export function login (parameter) {
|
||||
return axios({
|
||||
url: '/login',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 登出
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 19:07
|
||||
*/
|
||||
export function logout (parameter) {
|
||||
return axios({
|
||||
url: '/logout',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取登录用户信息
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 19:08
|
||||
*/
|
||||
export function getLoginUser (parameter) {
|
||||
return axios({
|
||||
url: '/getLoginUser',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取租户开关
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/9/5 1:24
|
||||
*/
|
||||
export function getTenantOpen (parameter) {
|
||||
return axios({
|
||||
url: '/getTenantOpen',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取短信验证码
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 19:29
|
||||
*/
|
||||
export function getSmsCaptcha (parameter) {
|
||||
return axios({
|
||||
url: '/api/wxopen/sendcode',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 扫码登录
|
||||
*
|
||||
* @author liuzl
|
||||
* @date 2020/5/26 19:29
|
||||
*/
|
||||
export function WXLogin (parameter) {
|
||||
return axios({
|
||||
url: '/business/wxlogin',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取微信扫码登录地址
|
||||
*
|
||||
* @author liuzl
|
||||
* @date 2020/5/26 19:29
|
||||
*/
|
||||
export function WXLoginUrl (parameter) {
|
||||
return axios({
|
||||
url: '/business/getwxloginurl',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 获取验证码开关
|
||||
*
|
||||
* @author Jax
|
||||
* @date 2021/1/22 00:00
|
||||
*/
|
||||
export function getCaptchaOpen (parameter) {
|
||||
return axios({
|
||||
url: '/getCaptchaOpen',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取验证图片 以及token
|
||||
*
|
||||
* @author Jax
|
||||
* @date 2021/1/22 00:00
|
||||
*/
|
||||
export function reqGet(data) {
|
||||
return axios({
|
||||
url: '/captcha/get',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 滑动或者点选验证
|
||||
*
|
||||
* @author Jax
|
||||
* @date 2021/1/22 00:00
|
||||
*/
|
||||
export function reqCheck(data) {
|
||||
return axios({
|
||||
url: '/captcha/check',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
import {
|
||||
axios
|
||||
} from '@/utils/request'
|
||||
|
||||
/**
|
||||
*
|
||||
* 系统属性监控
|
||||
*
|
||||
*/
|
||||
export function sysMachineUse(parameter) {
|
||||
return axios({
|
||||
url: '/sysMachine/use',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function sysMachineBase(parameter) {
|
||||
return axios({
|
||||
url: '/sysMachine/base',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function sysMachineNetwork(parameter) {
|
||||
return axios({
|
||||
url: '/sysMachine/network',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,114 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 获取菜单列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @param parameter
|
||||
* @returns {*}
|
||||
*/
|
||||
export function getMenuList (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统菜单树,用于新增,编辑时选择上级节点
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/23 12:22
|
||||
*/
|
||||
export function getMenuTree (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/tree',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/24 23:23
|
||||
*/
|
||||
export function sysMenuAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/24 23:23
|
||||
*/
|
||||
export function sysMenuDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 查看菜单详情
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/25 01:11
|
||||
*/
|
||||
export function sysMenuDetail (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/detail',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/25 01:11
|
||||
*/
|
||||
export function sysMenuEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统菜单树,用于给角色授权时选择
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/2 17:30
|
||||
*/
|
||||
export function SysMenuTreeForGrant (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/treeForGrant',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据系统切换菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/28 15:25
|
||||
*/
|
||||
export function sysMenuChange (parameter) {
|
||||
return axios({
|
||||
url: '/sysMenu/change',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询系统通知公告
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 01:56
|
||||
*/
|
||||
export function sysNoticePage (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加系统通知公告
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 01:56
|
||||
*/
|
||||
export function sysNoticeAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统通知公告
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 01:56
|
||||
*/
|
||||
export function sysNoticeEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统通知公告
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 01:56
|
||||
*/
|
||||
export function sysNoticeDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 通知公告详情
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/30 01:56
|
||||
*/
|
||||
export function sysNoticeDetail (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/detail',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改状态
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/30 02:23
|
||||
*/
|
||||
export function sysNoticeChangeStatus (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/changeStatus',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询我收到的系统通知公告
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 03:02
|
||||
*/
|
||||
export function sysNoticeReceived (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/received',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
export function unReadNotice (parameter) {
|
||||
return axios({
|
||||
url: '/sysNotice/unread',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
import {
|
||||
axios
|
||||
} from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 分页在线用户列表
|
||||
*
|
||||
* @author 写意
|
||||
* @date 2021/7/21 23:34
|
||||
*/
|
||||
export function sysOnlineUserPage(parameter) {
|
||||
return axios({
|
||||
url: '/sysOnlineUser/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 在线用户列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/8 11:11
|
||||
*/
|
||||
export function sysOnlineUserList(parameter) {
|
||||
return axios({
|
||||
url: '/sysOnlineUser/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 强制下线
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/8 11:11
|
||||
*/
|
||||
export function sysOnlineUserForceExist(parameter) {
|
||||
return axios({
|
||||
url: '/sysOnlineUser/forceExist',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 获取机构树
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/4/26 12:08
|
||||
*/
|
||||
export function getOrgTree (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/tree',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取机构列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/11 12:59
|
||||
*/
|
||||
export function getOrgList (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取机构列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/11 16:17
|
||||
*/
|
||||
export function getOrgPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增机构
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/11 13:56
|
||||
*/
|
||||
export function sysOrgAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑机构
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/11 13:56
|
||||
*/
|
||||
export function sysOrgEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除机构
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/11 12:59
|
||||
*/
|
||||
export function sysOrgDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysOrg/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 查询系统职位
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:31
|
||||
*/
|
||||
export function sysPosPage (parameter) {
|
||||
return axios({
|
||||
url: '/sysPos/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 系统职位列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/21 23:50
|
||||
*/
|
||||
export function sysPosList (parameter) {
|
||||
return axios({
|
||||
url: '/sysPos/list',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 添加系统职位
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:31
|
||||
*/
|
||||
export function sysPosAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysPos/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑系统职位
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:31
|
||||
*/
|
||||
export function sysPosEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysPos/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除系统职位
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/25 01:31
|
||||
*/
|
||||
export function sysPosDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysPos/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,141 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 获取角色列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/6 11:44
|
||||
*/
|
||||
export function getRolePage (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 增加角色
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/6 11:44
|
||||
*/
|
||||
export function sysRoleAdd (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑角色
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/6 11:44
|
||||
*/
|
||||
export function sysRoleEdit (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/6 17:51
|
||||
*/
|
||||
export function sysRoleDelete (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/7 11:28
|
||||
*/
|
||||
export function sysRoleDeteil (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/detail',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取授权角色列表
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/5/26 23:59
|
||||
*/
|
||||
export function sysRoleDropDown (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/dropDown',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 拥有菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/02 19:02
|
||||
*/
|
||||
export function sysRoleOwnMenu (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/ownMenu',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 授权菜单
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/2 21:10
|
||||
*/
|
||||
export function sysRoleGrantMenu (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/grantMenu',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 拥有数据
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/02 21:40
|
||||
*/
|
||||
export function sysRoleOwnData (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/ownData',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 授权数据
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/6/2 21:50
|
||||
*/
|
||||
export function sysRoleGrantData (parameter) {
|
||||
return axios({
|
||||
url: '/sysRole/grantData',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
import { axios } from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 发送记录查询
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 22:11
|
||||
*/
|
||||
export function smsPage (parameter) {
|
||||
return axios({
|
||||
url: '/sms/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证短信验证码
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 22:12
|
||||
*/
|
||||
export function sysSendLoginMessage (parameter) {
|
||||
return axios({
|
||||
url: '/sms/sendLoginMessage',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 验证短信验证码
|
||||
*
|
||||
* @author yubaoshan
|
||||
* @date 2020/7/3 22:12
|
||||
*/
|
||||
export function sysValidateMessage (parameter) {
|
||||
return axios({
|
||||
url: '/sms/validateMessage',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
|
@ -0,0 +1,118 @@
|
|||
/**
|
||||
* 租户
|
||||
*/
|
||||
import {
|
||||
axios
|
||||
} from '@/utils/request'
|
||||
|
||||
/**
|
||||
* 租户列表
|
||||
*
|
||||
*/
|
||||
export function sysTenantPage(parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/page',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增租户
|
||||
*
|
||||
*/
|
||||
export function sysTenantAdd(parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/add',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除租户
|
||||
*
|
||||
*/
|
||||
export function sysTenantDelete(parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/delete',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 编辑租户
|
||||
*
|
||||
*/
|
||||
export function sysTenantEdit(parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/edit',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 拥有菜单
|
||||
*
|
||||
* @author zuohuaijun
|
||||
* @date 2021/04/22 10:30
|
||||
*/
|
||||
export function sysTenantOwnMenu (parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/ownMenu',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 授权菜单
|
||||
*
|
||||
* @author zuohuaijun
|
||||
* @date 2021/04/22 10:30
|
||||
*/
|
||||
export function sysTenantGrantMenu (parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/grantMenu',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
|
||||
/**
|
||||
* 重置密码
|
||||
*
|
||||
* @author zuohuaijun
|
||||
* @date 2021/04/22 11:00
|
||||
*/
|
||||
export function sysTenantResetPwd (parameter) {
|
||||
return axios({
|
||||
url: '/sysTenant/resetPwd',
|
||||
method: 'post',
|
||||
data: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 订单初始化
|
||||
*
|
||||
*/
|
||||
export function OrderInit (parameter) {
|
||||
return axios({
|
||||
url: '/order/insertdefaultorder',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||
/**
|
||||
* 标准初始化
|
||||
*
|
||||
*/
|
||||
export function StandInit (parameter) {
|
||||
return axios({
|
||||
url: '/order/insertdefaultstand',
|
||||
method: 'get',
|
||||
params: parameter
|
||||
})
|
||||
}
|
||||