Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
wang wilson
JooLun Wx
Commits
7c7432f0
Commit
7c7432f0
authored
3 years ago
by
102353
Browse files
Options
Download
Email Patches
Plain Diff
3.3.2
parent
70ed2f3d
Changes
194
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
joolun-wx-ma/README.md
+8
-8
joolun-wx-ma/README.md
joolun-wx-ma/app.js
+1
-1
joolun-wx-ma/app.js
joolun-wx-ma/app.wxss
+43
-43
joolun-wx-ma/app.wxss
joolun-wx-ma/project.config.json
+2
-1
joolun-wx-ma/project.config.json
joolun-wx-ma/sitemap.json
+6
-6
joolun-wx-ma/sitemap.json
joolun-wx-ui/.editorconfig
+22
-22
joolun-wx-ui/.editorconfig
joolun-wx-ui/.eslintignore
+9
-9
joolun-wx-ui/.eslintignore
joolun-wx-ui/.eslintrc.js
+199
-199
joolun-wx-ui/.eslintrc.js
joolun-wx-ui/.gitignore
+23
-23
joolun-wx-ui/.gitignore
joolun-wx-ui/babel.config.js
+13
-13
joolun-wx-ui/babel.config.js
joolun-wx-ui/bin/build.bat
+11
-11
joolun-wx-ui/bin/build.bat
joolun-wx-ui/bin/package.bat
+11
-11
joolun-wx-ui/bin/package.bat
joolun-wx-ui/bin/run-web.bat
+11
-11
joolun-wx-ui/bin/run-web.bat
joolun-wx-ui/build/index.js
+35
-35
joolun-wx-ui/build/index.js
joolun-wx-ui/package.json
+1
-1
joolun-wx-ui/package.json
joolun-wx-ui/public/robots.txt
+1
-1
joolun-wx-ui/public/robots.txt
joolun-wx-ui/src/App.vue
+11
-11
joolun-wx-ui/src/App.vue
joolun-wx-ui/src/api/login.js
+39
-39
joolun-wx-ui/src/api/login.js
joolun-wx-ui/src/api/menu.js
+8
-8
joolun-wx-ui/src/api/menu.js
joolun-wx-ui/src/api/monitor/cache.js
+9
-9
joolun-wx-ui/src/api/monitor/cache.js
with
463 additions
and
462 deletions
+463
-462
joolun-wx-ma/README.md
+
8
-
8
View file @
7c7432f0
### [阿里云领取¥2000红包,服务器低至¥91.80/年](https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=wnw8gle1)
### 注意
1.
本软件为 www.joolun.com 开发研制,项目使用请保留此说明和代码头部版权
### 重要信息
1.
商业版功能更完善,代码更严谨,详情请访问(https://www.joolun.com/)
### [阿里云领取¥2000红包,服务器低至¥91.80/年](https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=wnw8gle1)
### 注意
1.
本软件为 www.joolun.com 开发研制,项目使用请保留此说明和代码头部版权
### 重要信息
1.
商业版功能更完善,代码更严谨,详情请访问(https://www.joolun.com/)
This diff is collapsed.
Click to expand it.
joolun-wx-ma/app.js
+
1
-
1
View file @
7c7432f0
...
...
@@ -5,7 +5,7 @@
* 本软件为www.joolun.com开发研制,项目使用请保留此说明
*/
/**
* <version>3.3.
1
</version>
* <version>3.3.
2
</version>
*/
import
api
from
'
./utils/api
'
import
__config
from
'
./config/env
'
...
...
This diff is collapsed.
Click to expand it.
joolun-wx-ma/app.wxss
+
43
-
43
View file @
7c7432f0
@import "public/colorui/main.wxss";
@import "public/colorui/icon.wxss";
@import "public/colorui/animation.wxss";
@import "public/wxParse/wxParse.wxss";
.overflow {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.overflow-1 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.overflow-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.display-ib{
display: inline-block
}
.display-i{
display: inline
}
.margin-top-bar{
margin-top: 80rpx
}
.margin-bottom-bar{
margin-bottom: 80rpx
}
.vertical-center{
margin: auto 0rpx
}
.text-decorat{
text-decoration:line-through;
}
.mar-top-30{
margin-top: -30rpx!important
@import "public/colorui/main.wxss";
@import "public/colorui/icon.wxss";
@import "public/colorui/animation.wxss";
@import "public/wxParse/wxParse.wxss";
.overflow {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.overflow-1 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
}
.overflow-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.display-ib{
display: inline-block
}
.display-i{
display: inline
}
.margin-top-bar{
margin-top: 80rpx
}
.margin-bottom-bar{
margin-bottom: 80rpx
}
.vertical-center{
margin: auto 0rpx
}
.text-decorat{
text-decoration:line-through;
}
.mar-top-30{
margin-top: -30rpx!important
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ma/project.config.json
+
2
-
1
View file @
7c7432f0
...
...
@@ -37,7 +37,8 @@
"minifyWXSS"
:
true
,
"disableUseStrict"
:
false
,
"showES6CompileOption"
:
false
,
"useCompilerPlugins"
:
false
"useCompilerPlugins"
:
false
,
"minifyWXML"
:
true
},
"compileType"
:
"miniprogram"
,
"libVersion"
:
"2.19.6"
,
...
...
This diff is collapsed.
Click to expand it.
joolun-wx-ma/sitemap.json
+
6
-
6
View file @
7c7432f0
{
"desc"
:
"关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html"
,
"rules"
:
[{
"action"
:
"allow"
,
"page"
:
"*"
}]
{
"desc"
:
"关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html"
,
"rules"
:
[{
"action"
:
"allow"
,
"page"
:
"*"
}]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/.editorconfig
+
22
-
22
View file @
7c7432f0
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
root = true
# 匹配全部文件
[*]
# 设置字符集
charset = utf-8
# 缩进风格,可选space、tab
indent_style = space
# 缩进的空格数
indent_size = 2
# 结尾换行符,可选lf、cr、crlf
end_of_line = lf
# 在文件结尾插入新行
insert_final_newline = true
# 删除一行中的前后空格
trim_trailing_whitespace = true
# 匹配md结尾的文件
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
root = true
# 匹配全部文件
[*]
# 设置字符集
charset = utf-8
# 缩进风格,可选space、tab
indent_style = space
# 缩进的空格数
indent_size = 2
# 结尾换行符,可选lf、cr、crlf
end_of_line = lf
# 在文件结尾插入新行
insert_final_newline = true
# 删除一行中的前后空格
trim_trailing_whitespace = true
# 匹配md结尾的文件
[*.md]
insert_final_newline = false
trim_trailing_whitespace = false
This diff is collapsed.
Click to expand it.
joolun-wx-ui/.eslintignore
+
9
-
9
View file @
7c7432f0
# 忽略build目录下类型为js的文件的语法检查
build/*.js
# 忽略src/assets目录下文件的语法检查
src/assets
# 忽略public目录下文件的语法检查
public
# 忽略当前目录下为js的文件的语法检查
*.js
# 忽略当前目录下为vue的文件的语法检查
# 忽略build目录下类型为js的文件的语法检查
build/*.js
# 忽略src/assets目录下文件的语法检查
src/assets
# 忽略public目录下文件的语法检查
public
# 忽略当前目录下为js的文件的语法检查
*.js
# 忽略当前目录下为vue的文件的语法检查
*.vue
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/.eslintrc.js
+
199
-
199
View file @
7c7432f0
// ESlint 检查配置
module
.
exports
=
{
root
:
true
,
parserOptions
:
{
parser
:
'
babel-eslint
'
,
sourceType
:
'
module
'
},
env
:
{
browser
:
true
,
node
:
true
,
es6
:
true
,
},
extends
:
[
'
plugin:vue/recommended
'
,
'
eslint:recommended
'
],
// add your custom rules here
//it is base on https://github.com/vuejs/eslint-config-vue
rules
:
{
"
vue/max-attributes-per-line
"
:
[
2
,
{
"
singleline
"
:
10
,
"
multiline
"
:
{
"
max
"
:
1
,
"
allowFirstLine
"
:
false
}
}],
"
vue/singleline-html-element-content-newline
"
:
"
off
"
,
"
vue/multiline-html-element-content-newline
"
:
"
off
"
,
"
vue/name-property-casing
"
:
[
"
error
"
,
"
PascalCase
"
],
"
vue/no-v-html
"
:
"
off
"
,
'
accessor-pairs
'
:
2
,
'
arrow-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
block-spacing
'
:
[
2
,
'
always
'
],
'
brace-style
'
:
[
2
,
'
1tbs
'
,
{
'
allowSingleLine
'
:
true
}],
'
camelcase
'
:
[
0
,
{
'
properties
'
:
'
always
'
}],
'
comma-dangle
'
:
[
2
,
'
never
'
],
'
comma-spacing
'
:
[
2
,
{
'
before
'
:
false
,
'
after
'
:
true
}],
'
comma-style
'
:
[
2
,
'
last
'
],
'
constructor-super
'
:
2
,
'
curly
'
:
[
2
,
'
multi-line
'
],
'
dot-location
'
:
[
2
,
'
property
'
],
'
eol-last
'
:
2
,
'
eqeqeq
'
:
[
"
error
"
,
"
always
"
,
{
"
null
"
:
"
ignore
"
}],
'
generator-star-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
handle-callback-err
'
:
[
2
,
'
^(err|error)$
'
],
'
indent
'
:
[
2
,
2
,
{
'
SwitchCase
'
:
1
}],
'
jsx-quotes
'
:
[
2
,
'
prefer-single
'
],
'
key-spacing
'
:
[
2
,
{
'
beforeColon
'
:
false
,
'
afterColon
'
:
true
}],
'
keyword-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
new-cap
'
:
[
2
,
{
'
newIsCap
'
:
true
,
'
capIsNew
'
:
false
}],
'
new-parens
'
:
2
,
'
no-array-constructor
'
:
2
,
'
no-caller
'
:
2
,
'
no-console
'
:
'
off
'
,
'
no-class-assign
'
:
2
,
'
no-cond-assign
'
:
2
,
'
no-const-assign
'
:
2
,
'
no-control-regex
'
:
0
,
'
no-delete-var
'
:
2
,
'
no-dupe-args
'
:
2
,
'
no-dupe-class-members
'
:
2
,
'
no-dupe-keys
'
:
2
,
'
no-duplicate-case
'
:
2
,
'
no-empty-character-class
'
:
2
,
'
no-empty-pattern
'
:
2
,
'
no-eval
'
:
2
,
'
no-ex-assign
'
:
2
,
'
no-extend-native
'
:
2
,
'
no-extra-bind
'
:
2
,
'
no-extra-boolean-cast
'
:
2
,
'
no-extra-parens
'
:
[
2
,
'
functions
'
],
'
no-fallthrough
'
:
2
,
'
no-floating-decimal
'
:
2
,
'
no-func-assign
'
:
2
,
'
no-implied-eval
'
:
2
,
'
no-inner-declarations
'
:
[
2
,
'
functions
'
],
'
no-invalid-regexp
'
:
2
,
'
no-irregular-whitespace
'
:
2
,
'
no-iterator
'
:
2
,
'
no-label-var
'
:
2
,
'
no-labels
'
:
[
2
,
{
'
allowLoop
'
:
false
,
'
allowSwitch
'
:
false
}],
'
no-lone-blocks
'
:
2
,
'
no-mixed-spaces-and-tabs
'
:
2
,
'
no-multi-spaces
'
:
2
,
'
no-multi-str
'
:
2
,
'
no-multiple-empty-lines
'
:
[
2
,
{
'
max
'
:
1
}],
'
no-native-reassign
'
:
2
,
'
no-negated-in-lhs
'
:
2
,
'
no-new-object
'
:
2
,
'
no-new-require
'
:
2
,
'
no-new-symbol
'
:
2
,
'
no-new-wrappers
'
:
2
,
'
no-obj-calls
'
:
2
,
'
no-octal
'
:
2
,
'
no-octal-escape
'
:
2
,
'
no-path-concat
'
:
2
,
'
no-proto
'
:
2
,
'
no-redeclare
'
:
2
,
'
no-regex-spaces
'
:
2
,
'
no-return-assign
'
:
[
2
,
'
except-parens
'
],
'
no-self-assign
'
:
2
,
'
no-self-compare
'
:
2
,
'
no-sequences
'
:
2
,
'
no-shadow-restricted-names
'
:
2
,
'
no-spaced-func
'
:
2
,
'
no-sparse-arrays
'
:
2
,
'
no-this-before-super
'
:
2
,
'
no-throw-literal
'
:
2
,
'
no-trailing-spaces
'
:
2
,
'
no-undef
'
:
2
,
'
no-undef-init
'
:
2
,
'
no-unexpected-multiline
'
:
2
,
'
no-unmodified-loop-condition
'
:
2
,
'
no-unneeded-ternary
'
:
[
2
,
{
'
defaultAssignment
'
:
false
}],
'
no-unreachable
'
:
2
,
'
no-unsafe-finally
'
:
2
,
'
no-unused-vars
'
:
[
2
,
{
'
vars
'
:
'
all
'
,
'
args
'
:
'
none
'
}],
'
no-useless-call
'
:
2
,
'
no-useless-computed-key
'
:
2
,
'
no-useless-constructor
'
:
2
,
'
no-useless-escape
'
:
0
,
'
no-whitespace-before-property
'
:
2
,
'
no-with
'
:
2
,
'
one-var
'
:
[
2
,
{
'
initialized
'
:
'
never
'
}],
'
operator-linebreak
'
:
[
2
,
'
after
'
,
{
'
overrides
'
:
{
'
?
'
:
'
before
'
,
'
:
'
:
'
before
'
}
}],
'
padded-blocks
'
:
[
2
,
'
never
'
],
'
quotes
'
:
[
2
,
'
single
'
,
{
'
avoidEscape
'
:
true
,
'
allowTemplateLiterals
'
:
true
}],
'
semi
'
:
[
2
,
'
never
'
],
'
semi-spacing
'
:
[
2
,
{
'
before
'
:
false
,
'
after
'
:
true
}],
'
space-before-blocks
'
:
[
2
,
'
always
'
],
'
space-before-function-paren
'
:
[
2
,
'
never
'
],
'
space-in-parens
'
:
[
2
,
'
never
'
],
'
space-infix-ops
'
:
2
,
'
space-unary-ops
'
:
[
2
,
{
'
words
'
:
true
,
'
nonwords
'
:
false
}],
'
spaced-comment
'
:
[
2
,
'
always
'
,
{
'
markers
'
:
[
'
global
'
,
'
globals
'
,
'
eslint
'
,
'
eslint-disable
'
,
'
*package
'
,
'
!
'
,
'
,
'
]
}],
'
template-curly-spacing
'
:
[
2
,
'
never
'
],
'
use-isnan
'
:
2
,
'
valid-typeof
'
:
2
,
'
wrap-iife
'
:
[
2
,
'
any
'
],
'
yield-star-spacing
'
:
[
2
,
'
both
'
],
'
yoda
'
:
[
2
,
'
never
'
],
'
prefer-const
'
:
2
,
'
no-debugger
'
:
process
.
env
.
NODE_ENV
===
'
production
'
?
2
:
0
,
'
object-curly-spacing
'
:
[
2
,
'
always
'
,
{
objectsInObjects
:
false
}],
'
array-bracket-spacing
'
:
[
2
,
'
never
'
]
}
}
// ESlint 检查配置
module
.
exports
=
{
root
:
true
,
parserOptions
:
{
parser
:
'
babel-eslint
'
,
sourceType
:
'
module
'
},
env
:
{
browser
:
true
,
node
:
true
,
es6
:
true
,
},
extends
:
[
'
plugin:vue/recommended
'
,
'
eslint:recommended
'
],
// add your custom rules here
//it is base on https://github.com/vuejs/eslint-config-vue
rules
:
{
"
vue/max-attributes-per-line
"
:
[
2
,
{
"
singleline
"
:
10
,
"
multiline
"
:
{
"
max
"
:
1
,
"
allowFirstLine
"
:
false
}
}],
"
vue/singleline-html-element-content-newline
"
:
"
off
"
,
"
vue/multiline-html-element-content-newline
"
:
"
off
"
,
"
vue/name-property-casing
"
:
[
"
error
"
,
"
PascalCase
"
],
"
vue/no-v-html
"
:
"
off
"
,
'
accessor-pairs
'
:
2
,
'
arrow-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
block-spacing
'
:
[
2
,
'
always
'
],
'
brace-style
'
:
[
2
,
'
1tbs
'
,
{
'
allowSingleLine
'
:
true
}],
'
camelcase
'
:
[
0
,
{
'
properties
'
:
'
always
'
}],
'
comma-dangle
'
:
[
2
,
'
never
'
],
'
comma-spacing
'
:
[
2
,
{
'
before
'
:
false
,
'
after
'
:
true
}],
'
comma-style
'
:
[
2
,
'
last
'
],
'
constructor-super
'
:
2
,
'
curly
'
:
[
2
,
'
multi-line
'
],
'
dot-location
'
:
[
2
,
'
property
'
],
'
eol-last
'
:
2
,
'
eqeqeq
'
:
[
"
error
"
,
"
always
"
,
{
"
null
"
:
"
ignore
"
}],
'
generator-star-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
handle-callback-err
'
:
[
2
,
'
^(err|error)$
'
],
'
indent
'
:
[
2
,
2
,
{
'
SwitchCase
'
:
1
}],
'
jsx-quotes
'
:
[
2
,
'
prefer-single
'
],
'
key-spacing
'
:
[
2
,
{
'
beforeColon
'
:
false
,
'
afterColon
'
:
true
}],
'
keyword-spacing
'
:
[
2
,
{
'
before
'
:
true
,
'
after
'
:
true
}],
'
new-cap
'
:
[
2
,
{
'
newIsCap
'
:
true
,
'
capIsNew
'
:
false
}],
'
new-parens
'
:
2
,
'
no-array-constructor
'
:
2
,
'
no-caller
'
:
2
,
'
no-console
'
:
'
off
'
,
'
no-class-assign
'
:
2
,
'
no-cond-assign
'
:
2
,
'
no-const-assign
'
:
2
,
'
no-control-regex
'
:
0
,
'
no-delete-var
'
:
2
,
'
no-dupe-args
'
:
2
,
'
no-dupe-class-members
'
:
2
,
'
no-dupe-keys
'
:
2
,
'
no-duplicate-case
'
:
2
,
'
no-empty-character-class
'
:
2
,
'
no-empty-pattern
'
:
2
,
'
no-eval
'
:
2
,
'
no-ex-assign
'
:
2
,
'
no-extend-native
'
:
2
,
'
no-extra-bind
'
:
2
,
'
no-extra-boolean-cast
'
:
2
,
'
no-extra-parens
'
:
[
2
,
'
functions
'
],
'
no-fallthrough
'
:
2
,
'
no-floating-decimal
'
:
2
,
'
no-func-assign
'
:
2
,
'
no-implied-eval
'
:
2
,
'
no-inner-declarations
'
:
[
2
,
'
functions
'
],
'
no-invalid-regexp
'
:
2
,
'
no-irregular-whitespace
'
:
2
,
'
no-iterator
'
:
2
,
'
no-label-var
'
:
2
,
'
no-labels
'
:
[
2
,
{
'
allowLoop
'
:
false
,
'
allowSwitch
'
:
false
}],
'
no-lone-blocks
'
:
2
,
'
no-mixed-spaces-and-tabs
'
:
2
,
'
no-multi-spaces
'
:
2
,
'
no-multi-str
'
:
2
,
'
no-multiple-empty-lines
'
:
[
2
,
{
'
max
'
:
1
}],
'
no-native-reassign
'
:
2
,
'
no-negated-in-lhs
'
:
2
,
'
no-new-object
'
:
2
,
'
no-new-require
'
:
2
,
'
no-new-symbol
'
:
2
,
'
no-new-wrappers
'
:
2
,
'
no-obj-calls
'
:
2
,
'
no-octal
'
:
2
,
'
no-octal-escape
'
:
2
,
'
no-path-concat
'
:
2
,
'
no-proto
'
:
2
,
'
no-redeclare
'
:
2
,
'
no-regex-spaces
'
:
2
,
'
no-return-assign
'
:
[
2
,
'
except-parens
'
],
'
no-self-assign
'
:
2
,
'
no-self-compare
'
:
2
,
'
no-sequences
'
:
2
,
'
no-shadow-restricted-names
'
:
2
,
'
no-spaced-func
'
:
2
,
'
no-sparse-arrays
'
:
2
,
'
no-this-before-super
'
:
2
,
'
no-throw-literal
'
:
2
,
'
no-trailing-spaces
'
:
2
,
'
no-undef
'
:
2
,
'
no-undef-init
'
:
2
,
'
no-unexpected-multiline
'
:
2
,
'
no-unmodified-loop-condition
'
:
2
,
'
no-unneeded-ternary
'
:
[
2
,
{
'
defaultAssignment
'
:
false
}],
'
no-unreachable
'
:
2
,
'
no-unsafe-finally
'
:
2
,
'
no-unused-vars
'
:
[
2
,
{
'
vars
'
:
'
all
'
,
'
args
'
:
'
none
'
}],
'
no-useless-call
'
:
2
,
'
no-useless-computed-key
'
:
2
,
'
no-useless-constructor
'
:
2
,
'
no-useless-escape
'
:
0
,
'
no-whitespace-before-property
'
:
2
,
'
no-with
'
:
2
,
'
one-var
'
:
[
2
,
{
'
initialized
'
:
'
never
'
}],
'
operator-linebreak
'
:
[
2
,
'
after
'
,
{
'
overrides
'
:
{
'
?
'
:
'
before
'
,
'
:
'
:
'
before
'
}
}],
'
padded-blocks
'
:
[
2
,
'
never
'
],
'
quotes
'
:
[
2
,
'
single
'
,
{
'
avoidEscape
'
:
true
,
'
allowTemplateLiterals
'
:
true
}],
'
semi
'
:
[
2
,
'
never
'
],
'
semi-spacing
'
:
[
2
,
{
'
before
'
:
false
,
'
after
'
:
true
}],
'
space-before-blocks
'
:
[
2
,
'
always
'
],
'
space-before-function-paren
'
:
[
2
,
'
never
'
],
'
space-in-parens
'
:
[
2
,
'
never
'
],
'
space-infix-ops
'
:
2
,
'
space-unary-ops
'
:
[
2
,
{
'
words
'
:
true
,
'
nonwords
'
:
false
}],
'
spaced-comment
'
:
[
2
,
'
always
'
,
{
'
markers
'
:
[
'
global
'
,
'
globals
'
,
'
eslint
'
,
'
eslint-disable
'
,
'
*package
'
,
'
!
'
,
'
,
'
]
}],
'
template-curly-spacing
'
:
[
2
,
'
never
'
],
'
use-isnan
'
:
2
,
'
valid-typeof
'
:
2
,
'
wrap-iife
'
:
[
2
,
'
any
'
],
'
yield-star-spacing
'
:
[
2
,
'
both
'
],
'
yoda
'
:
[
2
,
'
never
'
],
'
prefer-const
'
:
2
,
'
no-debugger
'
:
process
.
env
.
NODE_ENV
===
'
production
'
?
2
:
0
,
'
object-curly-spacing
'
:
[
2
,
'
always
'
,
{
objectsInObjects
:
false
}],
'
array-bracket-spacing
'
:
[
2
,
'
never
'
]
}
}
This diff is collapsed.
Click to expand it.
joolun-wx-ui/.gitignore
+
23
-
23
View file @
7c7432f0
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
**/*.log
tests/**/coverage/
tests/e2e/reports
selenium-debug.log
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.local
package-lock.json
yarn.lock
.DS_Store
node_modules/
dist/
npm-debug.log*
yarn-debug.log*
yarn-error.log*
**/*.log
tests/**/coverage/
tests/e2e/reports
selenium-debug.log
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.local
package-lock.json
yarn.lock
This diff is collapsed.
Click to expand it.
joolun-wx-ui/babel.config.js
+
13
-
13
View file @
7c7432f0
module
.
exports
=
{
presets
:
[
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
'
@vue/cli-plugin-babel/preset
'
],
'
env
'
:
{
'
development
'
:
{
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
'
plugins
'
:
[
'
dynamic-import-node
'
]
}
}
}
module
.
exports
=
{
presets
:
[
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app
'
@vue/cli-plugin-babel/preset
'
],
'
env
'
:
{
'
development
'
:
{
// babel-plugin-dynamic-import-node plugin only does one thing by converting all import() to require().
// This plugin can significantly increase the speed of hot updates, when you have a large number of pages.
'
plugins
'
:
[
'
dynamic-import-node
'
]
}
}
}
This diff is collapsed.
Click to expand it.
joolun-wx-ui/bin/build.bat
+
11
-
11
View file @
7c7432f0
@echo
off
echo
.
echo
[
信息
]
打包Web工程,生成dist文件。
echo
.
%~d0
cd
%~dp0
cd
..
npm
run
build
:prod
@echo
off
echo
.
echo
[
信息
]
打包Web工程,生成dist文件。
echo
.
%~d0
cd
%~dp0
cd
..
npm
run
build
:prod
pause
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/bin/package.bat
+
11
-
11
View file @
7c7432f0
@echo
off
echo
.
echo
[
信息
]
安装Web工程,生成node_modules文件。
echo
.
%~d0
cd
%~dp0
cd
..
npm
install
--registry
=
https
://registry.npm.taobao.org
@echo
off
echo
.
echo
[
信息
]
安装Web工程,生成node_modules文件。
echo
.
%~d0
cd
%~dp0
cd
..
npm
install
--registry
=
https
://registry.npm.taobao.org
pause
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/bin/run-web.bat
+
11
-
11
View file @
7c7432f0
@echo
off
echo
.
echo
[
Ϣ
]
ʹ
Vue
Web
̡
echo
.
%~d0
cd
%~dp0
cd
..
npm
run
dev
@echo
off
echo
.
echo
.
%~d0
cd
%~dp0
cd
..
npm
run
dev
pause
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/build/index.js
+
35
-
35
View file @
7c7432f0
const
{
run
}
=
require
(
'
runjs
'
)
const
chalk
=
require
(
'
chalk
'
)
const
config
=
require
(
'
../vue.config.js
'
)
const
rawArgv
=
process
.
argv
.
slice
(
2
)
const
args
=
rawArgv
.
join
(
'
'
)
if
(
process
.
env
.
npm_config_preview
||
rawArgv
.
includes
(
'
--preview
'
))
{
const
report
=
rawArgv
.
includes
(
'
--report
'
)
run
(
`vue-cli-service build
${
args
}
`
)
const
port
=
9526
const
publicPath
=
config
.
publicPath
var
connect
=
require
(
'
connect
'
)
var
serveStatic
=
require
(
'
serve-static
'
)
const
app
=
connect
()
app
.
use
(
publicPath
,
serveStatic
(
'
./dist
'
,
{
index
:
[
'
index.html
'
,
'
/
'
]
})
)
app
.
listen
(
port
,
function
()
{
console
.
log
(
chalk
.
green
(
`> Preview at http://localhost:
${
port
}${
publicPath
}
`
))
if
(
report
)
{
console
.
log
(
chalk
.
green
(
`> Report at http://localhost:
${
port
}${
publicPath
}
report.html`
))
}
})
}
else
{
run
(
`vue-cli-service build
${
args
}
`
)
}
const
{
run
}
=
require
(
'
runjs
'
)
const
chalk
=
require
(
'
chalk
'
)
const
config
=
require
(
'
../vue.config.js
'
)
const
rawArgv
=
process
.
argv
.
slice
(
2
)
const
args
=
rawArgv
.
join
(
'
'
)
if
(
process
.
env
.
npm_config_preview
||
rawArgv
.
includes
(
'
--preview
'
))
{
const
report
=
rawArgv
.
includes
(
'
--report
'
)
run
(
`vue-cli-service build
${
args
}
`
)
const
port
=
9526
const
publicPath
=
config
.
publicPath
var
connect
=
require
(
'
connect
'
)
var
serveStatic
=
require
(
'
serve-static
'
)
const
app
=
connect
()
app
.
use
(
publicPath
,
serveStatic
(
'
./dist
'
,
{
index
:
[
'
index.html
'
,
'
/
'
]
})
)
app
.
listen
(
port
,
function
()
{
console
.
log
(
chalk
.
green
(
`> Preview at http://localhost:
${
port
}${
publicPath
}
`
))
if
(
report
)
{
console
.
log
(
chalk
.
green
(
`> Report at http://localhost:
${
port
}${
publicPath
}
report.html`
))
}
})
}
else
{
run
(
`vue-cli-service build
${
args
}
`
)
}
This diff is collapsed.
Click to expand it.
joolun-wx-ui/package.json
+
1
-
1
View file @
7c7432f0
{
"name"
:
"joolun-wx-ui"
,
"version"
:
"3.3.
1
"
,
"version"
:
"3.3.
2
"
,
"description"
:
"JooLun微信管理系统"
,
"scripts"
:
{
"dev"
:
"vue-cli-service serve"
,
...
...
This diff is collapsed.
Click to expand it.
joolun-wx-ui/public/robots.txt
+
1
-
1
View file @
7c7432f0
User-agent: *
User-agent: *
Disallow: /
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/src/App.vue
+
11
-
11
View file @
7c7432f0
<
template
>
<div
id=
"app"
>
<router-view
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
App
'
}
</
script
>
<
template
>
<div
id=
"app"
>
<router-view
/>
</div>
</
template
>
<
script
>
export
default
{
name
:
'
App
'
}
</
script
>
This diff is collapsed.
Click to expand it.
joolun-wx-ui/src/api/login.js
+
39
-
39
View file @
7c7432f0
import
request
from
'
@/utils/request
'
// 登录方法
export
function
login
(
username
,
password
,
code
,
uuid
)
{
const
data
=
{
username
,
password
,
code
,
uuid
}
return
request
({
url
:
'
/login
'
,
method
:
'
post
'
,
data
:
data
})
}
// 获取用户详细信息
export
function
getInfo
()
{
return
request
({
url
:
'
/getInfo
'
,
method
:
'
get
'
})
}
// 退出方法
export
function
logout
()
{
return
request
({
url
:
'
/logout
'
,
method
:
'
post
'
})
}
// 获取验证码
export
function
getCodeImg
()
{
return
request
({
url
:
'
/captchaImage
'
,
method
:
'
get
'
})
import
request
from
'
@/utils/request
'
// 登录方法
export
function
login
(
username
,
password
,
code
,
uuid
)
{
const
data
=
{
username
,
password
,
code
,
uuid
}
return
request
({
url
:
'
/login
'
,
method
:
'
post
'
,
data
:
data
})
}
// 获取用户详细信息
export
function
getInfo
()
{
return
request
({
url
:
'
/getInfo
'
,
method
:
'
get
'
})
}
// 退出方法
export
function
logout
()
{
return
request
({
url
:
'
/logout
'
,
method
:
'
post
'
})
}
// 获取验证码
export
function
getCodeImg
()
{
return
request
({
url
:
'
/captchaImage
'
,
method
:
'
get
'
})
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/src/api/menu.js
+
8
-
8
View file @
7c7432f0
import
request
from
'
@/utils/request
'
// 获取路由
export
const
getRouters
=
()
=>
{
return
request
({
url
:
'
/getRouters
'
,
method
:
'
get
'
})
import
request
from
'
@/utils/request
'
// 获取路由
export
const
getRouters
=
()
=>
{
return
request
({
url
:
'
/getRouters
'
,
method
:
'
get
'
})
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
joolun-wx-ui/src/api/monitor/cache.js
+
9
-
9
View file @
7c7432f0
import
request
from
'
@/utils/request
'
// 查询缓存详细
export
function
getCache
()
{
return
request
({
url
:
'
/monitor/cache
'
,
method
:
'
get
'
})
}
import
request
from
'
@/utils/request
'
// 查询缓存详细
export
function
getCache
()
{
return
request
({
url
:
'
/monitor/cache
'
,
method
:
'
get
'
})
}
This diff is collapsed.
Click to expand it.
Prev
1
2
3
4
5
…
10
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help