system-clients 3.1.94 → 3.1.96-aode
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +16 -16
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/{5.2.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/{4.4 → 7.1}/fileChanges/last-build.bin +0 -0
- package/.gradle/{4.4 → 7.1}/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/{buildOutputCleanup/built.bin → 7.1/gc.properties} +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/build/webpack.base.conf.js +10 -17
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +185 -0
- package/gradlew.bat +89 -0
- package/package.json +5 -4
- package/src/components/Main.vue +30 -107
- package/src/components/equipment/EquipmentManage.vue +1 -1
- package/src/components/equipment/PcAdd.vue +5 -5
- package/src/components/equipment/PcList.vue +5 -5
- package/src/components/equipment/PhoneAdd.vue +4 -4
- package/src/components/equipment/PhoneList.vue +4 -4
- package/src/components/equipment/PosAdd.vue +45 -231
- package/src/components/equipment/PosList.vue +68 -198
- package/src/components/equipment/PosManage.vue +9 -80
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +7 -7
- package/src/components/parammanage/SinglePage.vue +4 -4
- package/src/components/server/Login.vue +42 -48
- package/src/components/server/ResSelect.vue +0 -5
- package/src/components/server/ResSelectGroup.vue +159 -196
- package/src/components/server/RightTree.vue +257 -262
- package/src/plugins/GetLoginInfoService.js +7 -7
- package/src/styles/less/aofeng/standard.less +60 -446
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
- package/src/styles/less/aofeng/themeOne/systemStyle.less +6 -6
- package/src/styles/less/fonts-list.less +25 -25
- package/src/styles/less/stand.less +207 -207
- package/src/styles/less/tables.less +0 -50
- package/src/styles/less/type.less +3 -16
- package/src/styles/less/variables.less +3 -6
- package/src/system.js +0 -10
- package/static/aodelogo.png +0 -0
- package/static/aodenewlogo.png +0 -0
- package/static/{logo.png → ewmlogo.png} +0 -0
- package/.gradle/4.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
- package/src/components/TabButton.vue +0 -201
- package/src/components/Tabs.vue +0 -67
- package/src/components/equipment/PosManageBoth.vue +0 -125
- package/src/components/equipment/PosParamAdd.vue +0 -236
- package/src/components/equipment/PosParamList.vue +0 -121
- package/src/components/equipment/PosParamManage.vue +0 -51
- package/src/components/server/ImageVieweTest.vue +0 -56
- package/src/components/server/ImageViewer.vue +0 -350
- package/src/components/server/PcdBuildingSelect.vue +0 -241
- package/src/styles/less/manageStyle/manageStyle/manageChile.less +0 -180
- package/src/styles/less/manageStyle/manageStyle/manageStyle.less +0 -1102
- package/src/styles/less/manageStyle/manageStyle/safeStyle.less +0 -498
- package/static/newStyle/about-us.png +0 -0
- package/yarn-error.log +0 -6896
package/.eslintrc.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
//
|
4
|
-
|
5
|
-
//
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
//
|
10
|
-
|
11
|
-
//
|
12
|
-
|
13
|
-
//
|
14
|
-
|
15
|
-
|
16
|
-
|
1
|
+
module.exports = {
|
2
|
+
root: true,
|
3
|
+
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
|
4
|
+
extends: 'standard',
|
5
|
+
// required to lint *.vue files
|
6
|
+
plugins: [
|
7
|
+
'eslint-plugin-html'
|
8
|
+
],
|
9
|
+
// add your custom rules here
|
10
|
+
'rules': {
|
11
|
+
// allow paren-less arrow functions
|
12
|
+
'arrow-parens': 0,
|
13
|
+
// allow debugger during development
|
14
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 2 : 0
|
15
|
+
}
|
16
|
+
}
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
File without changes
|
Binary file
|
@@ -1,2 +1,2 @@
|
|
1
|
-
#
|
2
|
-
gradle.version=
|
1
|
+
#Tue Aug 16 15:18:31 CST 2022
|
2
|
+
gradle.version=7.1
|
Binary file
|
Binary file
|
@@ -7,16 +7,16 @@ module.exports = {
|
|
7
7
|
app: './src/main.js'
|
8
8
|
},
|
9
9
|
output: {
|
10
|
-
path: path.resolve(__dirname, '../dist/
|
11
|
-
publicPath: '
|
10
|
+
path: path.resolve(__dirname, '../dist/static'),
|
11
|
+
publicPath: 'static/',
|
12
12
|
filename: '[name].js'
|
13
13
|
},
|
14
14
|
resolve: {
|
15
15
|
extensions: ['', '.js', '.vue'],
|
16
16
|
fallback: [path.join(__dirname, '../node_modules')],
|
17
17
|
alias: {
|
18
|
-
'
|
19
|
-
'
|
18
|
+
'test': path.resolve(__dirname, '../test'),
|
19
|
+
'src': path.resolve(__dirname, '../src')
|
20
20
|
}
|
21
21
|
},
|
22
22
|
resolveLoader: {
|
@@ -32,15 +32,12 @@ module.exports = {
|
|
32
32
|
test: /\.js$/,
|
33
33
|
loader: 'babel',
|
34
34
|
include: [
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
/node_modules\/system-clients\/src/,
|
42
|
-
/node_modules\/ldap-clients\/src/,
|
43
|
-
/node_modules\/address-client\/src/
|
35
|
+
`${projectRoot}\\src`,
|
36
|
+
`${projectRoot}\\build`,
|
37
|
+
`${projectRoot}\\examples`,
|
38
|
+
`${projectRoot}\\test`,
|
39
|
+
`${projectRoot}\\node_modules\\vue-client\\src`,
|
40
|
+
`${projectRoot}\\node_modules\\vue-strap\\src`
|
44
41
|
],
|
45
42
|
options: {
|
46
43
|
presets: ['es2015']
|
@@ -58,10 +55,6 @@ module.exports = {
|
|
58
55
|
test: /\.less$/,
|
59
56
|
loader: 'style!css!less'
|
60
57
|
},
|
61
|
-
{
|
62
|
-
test: /\.css$/,
|
63
|
-
loader: 'style!css'
|
64
|
-
},
|
65
58
|
{
|
66
59
|
test: /\.(png|jpg|gif|svg|woff2?|eot|ttf)(\?.*)?$/,
|
67
60
|
loader: 'url',
|
Binary file
|
package/gradlew
ADDED
@@ -0,0 +1,185 @@
|
|
1
|
+
#!/usr/bin/env sh
|
2
|
+
|
3
|
+
#
|
4
|
+
# Copyright 2015 the original author or authors.
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
##############################################################################
|
20
|
+
##
|
21
|
+
## Gradle start up script for UN*X
|
22
|
+
##
|
23
|
+
##############################################################################
|
24
|
+
|
25
|
+
# Attempt to set APP_HOME
|
26
|
+
# Resolve links: $0 may be a link
|
27
|
+
PRG="$0"
|
28
|
+
# Need this for relative symlinks.
|
29
|
+
while [ -h "$PRG" ] ; do
|
30
|
+
ls=`ls -ld "$PRG"`
|
31
|
+
link=`expr "$ls" : '.*-> \(.*\)$'`
|
32
|
+
if expr "$link" : '/.*' > /dev/null; then
|
33
|
+
PRG="$link"
|
34
|
+
else
|
35
|
+
PRG=`dirname "$PRG"`"/$link"
|
36
|
+
fi
|
37
|
+
done
|
38
|
+
SAVED="`pwd`"
|
39
|
+
cd "`dirname \"$PRG\"`/" >/dev/null
|
40
|
+
APP_HOME="`pwd -P`"
|
41
|
+
cd "$SAVED" >/dev/null
|
42
|
+
|
43
|
+
APP_NAME="Gradle"
|
44
|
+
APP_BASE_NAME=`basename "$0"`
|
45
|
+
|
46
|
+
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
47
|
+
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
|
48
|
+
|
49
|
+
# Use the maximum available, or set MAX_FD != -1 to use that value.
|
50
|
+
MAX_FD="maximum"
|
51
|
+
|
52
|
+
warn () {
|
53
|
+
echo "$*"
|
54
|
+
}
|
55
|
+
|
56
|
+
die () {
|
57
|
+
echo
|
58
|
+
echo "$*"
|
59
|
+
echo
|
60
|
+
exit 1
|
61
|
+
}
|
62
|
+
|
63
|
+
# OS specific support (must be 'true' or 'false').
|
64
|
+
cygwin=false
|
65
|
+
msys=false
|
66
|
+
darwin=false
|
67
|
+
nonstop=false
|
68
|
+
case "`uname`" in
|
69
|
+
CYGWIN* )
|
70
|
+
cygwin=true
|
71
|
+
;;
|
72
|
+
Darwin* )
|
73
|
+
darwin=true
|
74
|
+
;;
|
75
|
+
MSYS* | MINGW* )
|
76
|
+
msys=true
|
77
|
+
;;
|
78
|
+
NONSTOP* )
|
79
|
+
nonstop=true
|
80
|
+
;;
|
81
|
+
esac
|
82
|
+
|
83
|
+
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
|
84
|
+
|
85
|
+
|
86
|
+
# Determine the Java command to use to start the JVM.
|
87
|
+
if [ -n "$JAVA_HOME" ] ; then
|
88
|
+
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
89
|
+
# IBM's JDK on AIX uses strange locations for the executables
|
90
|
+
JAVACMD="$JAVA_HOME/jre/sh/java"
|
91
|
+
else
|
92
|
+
JAVACMD="$JAVA_HOME/bin/java"
|
93
|
+
fi
|
94
|
+
if [ ! -x "$JAVACMD" ] ; then
|
95
|
+
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
|
96
|
+
|
97
|
+
Please set the JAVA_HOME variable in your environment to match the
|
98
|
+
location of your Java installation."
|
99
|
+
fi
|
100
|
+
else
|
101
|
+
JAVACMD="java"
|
102
|
+
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
103
|
+
|
104
|
+
Please set the JAVA_HOME variable in your environment to match the
|
105
|
+
location of your Java installation."
|
106
|
+
fi
|
107
|
+
|
108
|
+
# Increase the maximum file descriptors if we can.
|
109
|
+
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
|
110
|
+
MAX_FD_LIMIT=`ulimit -H -n`
|
111
|
+
if [ $? -eq 0 ] ; then
|
112
|
+
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
|
113
|
+
MAX_FD="$MAX_FD_LIMIT"
|
114
|
+
fi
|
115
|
+
ulimit -n $MAX_FD
|
116
|
+
if [ $? -ne 0 ] ; then
|
117
|
+
warn "Could not set maximum file descriptor limit: $MAX_FD"
|
118
|
+
fi
|
119
|
+
else
|
120
|
+
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
|
121
|
+
fi
|
122
|
+
fi
|
123
|
+
|
124
|
+
# For Darwin, add options to specify how the application appears in the dock
|
125
|
+
if $darwin; then
|
126
|
+
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
|
127
|
+
fi
|
128
|
+
|
129
|
+
# For Cygwin or MSYS, switch paths to Windows format before running java
|
130
|
+
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
|
131
|
+
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
|
132
|
+
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
|
133
|
+
|
134
|
+
JAVACMD=`cygpath --unix "$JAVACMD"`
|
135
|
+
|
136
|
+
# We build the pattern for arguments to be converted via cygpath
|
137
|
+
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
|
138
|
+
SEP=""
|
139
|
+
for dir in $ROOTDIRSRAW ; do
|
140
|
+
ROOTDIRS="$ROOTDIRS$SEP$dir"
|
141
|
+
SEP="|"
|
142
|
+
done
|
143
|
+
OURCYGPATTERN="(^($ROOTDIRS))"
|
144
|
+
# Add a user-defined pattern to the cygpath arguments
|
145
|
+
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
|
146
|
+
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
|
147
|
+
fi
|
148
|
+
# Now convert the arguments - kludge to limit ourselves to /bin/sh
|
149
|
+
i=0
|
150
|
+
for arg in "$@" ; do
|
151
|
+
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
|
152
|
+
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
|
153
|
+
|
154
|
+
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
|
155
|
+
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
|
156
|
+
else
|
157
|
+
eval `echo args$i`="\"$arg\""
|
158
|
+
fi
|
159
|
+
i=`expr $i + 1`
|
160
|
+
done
|
161
|
+
case $i in
|
162
|
+
0) set -- ;;
|
163
|
+
1) set -- "$args0" ;;
|
164
|
+
2) set -- "$args0" "$args1" ;;
|
165
|
+
3) set -- "$args0" "$args1" "$args2" ;;
|
166
|
+
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
|
167
|
+
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
|
168
|
+
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
|
169
|
+
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
|
170
|
+
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
|
171
|
+
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
|
172
|
+
esac
|
173
|
+
fi
|
174
|
+
|
175
|
+
# Escape application args
|
176
|
+
save () {
|
177
|
+
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
|
178
|
+
echo " "
|
179
|
+
}
|
180
|
+
APP_ARGS=`save "$@"`
|
181
|
+
|
182
|
+
# Collect all arguments for the java command, following the shell quoting and substitution rules
|
183
|
+
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
|
184
|
+
|
185
|
+
exec "$JAVACMD" "$@"
|
package/gradlew.bat
ADDED
@@ -0,0 +1,89 @@
|
|
1
|
+
@rem
|
2
|
+
@rem Copyright 2015 the original author or authors.
|
3
|
+
@rem
|
4
|
+
@rem Licensed under the Apache License, Version 2.0 (the "License");
|
5
|
+
@rem you may not use this file except in compliance with the License.
|
6
|
+
@rem You may obtain a copy of the License at
|
7
|
+
@rem
|
8
|
+
@rem https://www.apache.org/licenses/LICENSE-2.0
|
9
|
+
@rem
|
10
|
+
@rem Unless required by applicable law or agreed to in writing, software
|
11
|
+
@rem distributed under the License is distributed on an "AS IS" BASIS,
|
12
|
+
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13
|
+
@rem See the License for the specific language governing permissions and
|
14
|
+
@rem limitations under the License.
|
15
|
+
@rem
|
16
|
+
|
17
|
+
@if "%DEBUG%" == "" @echo off
|
18
|
+
@rem ##########################################################################
|
19
|
+
@rem
|
20
|
+
@rem Gradle startup script for Windows
|
21
|
+
@rem
|
22
|
+
@rem ##########################################################################
|
23
|
+
|
24
|
+
@rem Set local scope for the variables with windows NT shell
|
25
|
+
if "%OS%"=="Windows_NT" setlocal
|
26
|
+
|
27
|
+
set DIRNAME=%~dp0
|
28
|
+
if "%DIRNAME%" == "" set DIRNAME=.
|
29
|
+
set APP_BASE_NAME=%~n0
|
30
|
+
set APP_HOME=%DIRNAME%
|
31
|
+
|
32
|
+
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
|
33
|
+
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
|
34
|
+
|
35
|
+
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
|
36
|
+
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
|
37
|
+
|
38
|
+
@rem Find java.exe
|
39
|
+
if defined JAVA_HOME goto findJavaFromJavaHome
|
40
|
+
|
41
|
+
set JAVA_EXE=java.exe
|
42
|
+
%JAVA_EXE% -version >NUL 2>&1
|
43
|
+
if "%ERRORLEVEL%" == "0" goto execute
|
44
|
+
|
45
|
+
echo.
|
46
|
+
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
|
47
|
+
echo.
|
48
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
49
|
+
echo location of your Java installation.
|
50
|
+
|
51
|
+
goto fail
|
52
|
+
|
53
|
+
:findJavaFromJavaHome
|
54
|
+
set JAVA_HOME=%JAVA_HOME:"=%
|
55
|
+
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
|
56
|
+
|
57
|
+
if exist "%JAVA_EXE%" goto execute
|
58
|
+
|
59
|
+
echo.
|
60
|
+
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
|
61
|
+
echo.
|
62
|
+
echo Please set the JAVA_HOME variable in your environment to match the
|
63
|
+
echo location of your Java installation.
|
64
|
+
|
65
|
+
goto fail
|
66
|
+
|
67
|
+
:execute
|
68
|
+
@rem Setup the command line
|
69
|
+
|
70
|
+
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
|
71
|
+
|
72
|
+
|
73
|
+
@rem Execute Gradle
|
74
|
+
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %*
|
75
|
+
|
76
|
+
:end
|
77
|
+
@rem End local scope for the variables with windows NT shell
|
78
|
+
if "%ERRORLEVEL%"=="0" goto mainEnd
|
79
|
+
|
80
|
+
:fail
|
81
|
+
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
|
82
|
+
rem the _cmd.exe /c_ return code!
|
83
|
+
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
|
84
|
+
exit /b 1
|
85
|
+
|
86
|
+
:mainEnd
|
87
|
+
if "%OS%"=="Windows_NT" endlocal
|
88
|
+
|
89
|
+
:omega
|
package/package.json
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
{
|
2
2
|
"name": "system-clients",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.96-aode",
|
4
4
|
"description": "系统基础框架",
|
5
5
|
"main": "src/index.js",
|
6
6
|
"directories": {
|
7
|
+
"doc": "doc",
|
7
8
|
"example": "examples",
|
8
9
|
"test": "test"
|
9
10
|
},
|
@@ -19,7 +20,6 @@
|
|
19
20
|
"dependencies": {
|
20
21
|
"base64-js": "^1.3.0",
|
21
22
|
"js-base64": "^2.4.9",
|
22
|
-
"jsencrypt": "^3.0.0-rc.1",
|
23
23
|
"less": "^2.7.1",
|
24
24
|
"less-loader": "^2.2.3",
|
25
25
|
"src": "^1.1.2",
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"style": "0.0.3",
|
77
77
|
"style-loader": "^0.20.3",
|
78
78
|
"url-loader": "^0.5.7",
|
79
|
-
"vue-client": "1.
|
79
|
+
"vue-client": "1.21.60",
|
80
80
|
"vue-hot-reload-api": "^1.2.0",
|
81
81
|
"vue-html-loader": "^1.0.0",
|
82
82
|
"vue-loader": "^8.2.1",
|
@@ -84,8 +84,9 @@
|
|
84
84
|
"vue-router": "^0.7.13",
|
85
85
|
"vue-strap": "^1.0.9",
|
86
86
|
"vue-style-loader": "^1.0.0",
|
87
|
-
"vue-validator": "
|
87
|
+
"vue-validator": "^3.0.0-alpha.2",
|
88
88
|
"webpack": "^1.12.2",
|
89
|
+
"jsencrypt": "3.0.0-rc.1",
|
89
90
|
"webpack-dev-middleware": "^1.4.0",
|
90
91
|
"webpack-hot-middleware": "^2.6.0",
|
91
92
|
"webpack-merge": "^0.8.3"
|
package/src/components/Main.vue
CHANGED
@@ -1,76 +1,25 @@
|
|
1
1
|
<template>
|
2
|
-
<div @click="hindsetting1()"
|
3
|
-
<!-- <div class="system-main" id="box" v-el:box v-if="!isManger">-->
|
4
|
-
<!-- <div class="system-logo" style="height: auto">-->
|
5
|
-
<!-- <img :src="imgs.logoimg" alt=""/>-->
|
6
|
-
<!-- <label>{{systemname}}</label>-->
|
7
|
-
<!-- <div class="system-logo-chi" >-->
|
8
|
-
<!-- <div v-if="userpane" class="auto system-logo-prompt" style="float: right">-->
|
9
|
-
<!-- <span>{{orgpathnames}}</span>-->
|
10
|
-
<!-- </div>-->
|
11
|
-
<!-- <!–<div class="system-logo-chi-img1" style="float: right" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()"></div>–>-->
|
12
|
-
<!-- <span style="float: right; padding-top: 2px" @mouseenter="mouseenteruser()" @mouseleave="mouseleaveuser()" class="system-logo-chi-span-1">{{$login.f.name}}</span>-->
|
13
|
-
<!-- <span style="border-left: 1px solid;float: right;padding-top: 2px" class="system-logo-chi-span-1"> <img src="../../static/newStyle/login-f.png" height="20" width="20"> </span>-->
|
14
|
-
<!-- <a href="index.html" onclick="return confirm('您确定要退出系统吗?');" style="float: right;padding-top: 2px">-->
|
15
|
-
<!-- <img src="../../static/newStyle/system-off.png" alt="" >-->
|
16
|
-
<!-- <span class="system-logo-chi-span-1">退出系统</span>-->
|
17
|
-
<!-- </a>-->
|
18
|
-
<!-- <div style="float: right" :class="{'dropstyle':setting,'dropstyle-1':!setting}">-->
|
19
|
-
<!-- <dropdown class="auto" >-->
|
20
|
-
<!-- <span data-toggle="dropdown" @click="hindsetting()" >-->
|
21
|
-
<!-- <img :src="srcsetting" alt=""><span>系统设置</span>-->
|
22
|
-
<!-- </span>-->
|
23
|
-
<!-- <ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-up dropstyle-chi" >-->
|
24
|
-
<!-- <!– <li>系统信息及设置</li>–>-->
|
25
|
-
<!-- <li style="color: #ffffff;white-space: nowrap" @click="show=true">修改密码</li>-->
|
26
|
-
<!-- <li style="color: #ffffff;white-space: nowrap" @click="AddChangeMsgShow=true">系统版本</li>-->
|
27
|
-
<!-- </ul>-->
|
28
|
-
<!-- </dropdown>-->
|
29
|
-
<!-- </div>-->
|
2
|
+
<div @click="hindsetting1()">
|
30
3
|
|
31
|
-
<!-- </div>-->
|
32
|
-
<!-- </div>-->
|
33
|
-
<!-- <div class="system-left tree-flex" :class="{'system-left-1': !treeOrIcon}" id="top" v-el:top >-->
|
34
|
-
<!-- <div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >-->
|
35
|
-
<!-- <div class="span system-left-tree" >-->
|
36
|
-
<!-- <left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" :treeOrIcon="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>-->
|
37
|
-
<!-- <!– <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>–>-->
|
38
|
-
<!-- </div>-->
|
39
|
-
<!-- </div>-->
|
40
|
-
<!-- <div class="system-foot-stretch" >-->
|
41
|
-
<!-- <a @click="changeShow()"><img src="../../static/images/lefticon/菜单伸缩.png" alt=""></a>-->
|
42
|
-
<!-- </div>-->
|
43
|
-
<!-- </div>-->
|
44
|
-
|
45
|
-
|
46
|
-
<!-- <div class="system-right" :class="{'system-right-1': !treeOrIcon}" id="bottom" v-el:bottom>-->
|
47
|
-
<!-- <div class="span">-->
|
48
|
-
<!-- <echarts-box v-if="$refs.mic.tabs.length === 0"></echarts-box>-->
|
49
|
-
<!-- <dynamic :comps='[]' :showup="true" :showhide="false" name='main' :selecttab.sync="selecttab" @tab-changed="tabChange" @tabscg="tabcg" v-ref:mic v-show="!($refs.mic.tabs.length === 0)"></dynamic>-->
|
50
|
-
<!-- </div>-->
|
51
|
-
<!-- </div>-->
|
52
|
-
<!-- <div class="system-foot" v-el:bottom>-->
|
53
|
-
|
54
|
-
<!-- <div class="system-foot-box">-->
|
55
|
-
|
56
|
-
<!-- </div>-->
|
57
|
-
<!-- </div>-->
|
58
|
-
<!-- </div>-->
|
59
4
|
<div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
|
5
|
+
|
60
6
|
<div class="auto " :class="{'login-operator1':$refs.mic.tabs.length === 0,'login-operator':$refs.mic.tabs.length != 0}">
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
7
|
+
<span class="glyphicon glyphicon-asterisk" style="color:#a1d0f5"></span>
|
8
|
+
<span>组织编码:</span>
|
9
|
+
<label style="margin-right:14px;">{{$login.f.number}}</label>
|
10
|
+
<span class="glyphicon glyphicon-user" style="color:#a1d0f5"></span>
|
11
|
+
<span>登录人:</span>
|
12
|
+
<label>{{orgpathnames}}</label>
|
66
13
|
</div>
|
67
14
|
<div class="system-left tree-flex" :class="{'tree-flex-icon': !treeOrIcon}" id="top" v-el:top >
|
68
15
|
<div class="system-left-chi" :class="{'system-left-icon': !treeOrIcon}" >
|
69
16
|
<div class="span system-left-tree " style="height:85%">
|
70
|
-
<
|
17
|
+
<div class="logopicaode" >
|
18
|
+
<div class="aodeloginedlogo"></div>
|
19
|
+
</div>
|
20
|
+
<h3 style="margin-bottom: 12px;height: 35px;"> </h3>
|
71
21
|
<!-- <div class="span" style="margin-bottom:10px;padding-bottom:5px;padding-top:5px;flex: 1;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5;">-->
|
72
22
|
<left-tree :functions='functions.functions' :userid='userid' @isnodo="isnodo" v-show="treeOrIcon" :tabs="tabs" v-ref:tree></left-tree>
|
73
|
-
<!--<!– <icon-tree :functions='functions.functions' :userid='userid' v-show="!treeOrIcon"></icon-tree>–>-->
|
74
23
|
</div>
|
75
24
|
|
76
25
|
<div class="tree-flex-footer">
|
@@ -85,6 +34,7 @@
|
|
85
34
|
<!-- <li>{{name}}</li> -->
|
86
35
|
<li>{{date}}</li>
|
87
36
|
<li @click="show=true">修改密码</li>
|
37
|
+
<li @click="clearCache">清除缓存</li>
|
88
38
|
<li @click="AddChangeMsgShow=true">系统版本:1.0.0</li>
|
89
39
|
</ul>
|
90
40
|
|
@@ -121,47 +71,6 @@
|
|
121
71
|
import vue from 'vue'
|
122
72
|
import co from 'co'
|
123
73
|
|
124
|
-
let getwartermakr = async function(self){
|
125
|
-
let param = {
|
126
|
-
tablename:'t_singlevalue',
|
127
|
-
condition: " 1=1 and name=\'水印内容\'"
|
128
|
-
};
|
129
|
-
let result =await self.$resetpost('rs/sql/saleSingleTable',{data:param},{resolveMsg: null, rejectMsg: null});
|
130
|
-
if(result && result.data.length>0){
|
131
|
-
self.showwatermakeflag = true;
|
132
|
-
createWaterMark(result.data[0].value);
|
133
|
-
}else{
|
134
|
-
self.showwatermakeflag = false;
|
135
|
-
}
|
136
|
-
}
|
137
|
-
|
138
|
-
let createWaterMark = function(userName){
|
139
|
-
let style;
|
140
|
-
if (style) style.remove();
|
141
|
-
let width = window.parseInt(document.body.clientWidth);
|
142
|
-
let canvasWidth = width / window.parseInt(width / 320);
|
143
|
-
let fontFamily = window.getComputedStyle(document.body)["font-family"];
|
144
|
-
let canvas = document.createElement("canvas");
|
145
|
-
canvas.width = canvasWidth;
|
146
|
-
canvas.height = 200;
|
147
|
-
let ctx = canvas.getContext("2d");
|
148
|
-
ctx.rotate((-20 * Math.PI) / 180);
|
149
|
-
ctx.font = `20px ${fontFamily}`;
|
150
|
-
ctx.fillStyle = "rgba(8,8,8,.1)";
|
151
|
-
ctx.fillText(userName, 50, 200);
|
152
|
-
let imgSrc = canvas.toDataURL("image/png");
|
153
|
-
style = document.createElement("style");
|
154
|
-
style.innerHTML = `.with-watermark:before{
|
155
|
-
content: "";
|
156
|
-
width: 100%;
|
157
|
-
height: 100%;
|
158
|
-
display: block;
|
159
|
-
position: absolute;
|
160
|
-
background-image: url("${imgSrc}");
|
161
|
-
}`;
|
162
|
-
(document.head.append || document.head.appendChild).apply(document.head, [style]);
|
163
|
-
}
|
164
|
-
|
165
74
|
window.onunload = () => {
|
166
75
|
vue.http({url: `rs/user/update/${this.$login.f.ename}`, method: 'GET'})
|
167
76
|
}
|
@@ -191,8 +100,8 @@
|
|
191
100
|
tabs:[], //已初始化页签数组
|
192
101
|
selecttab:'',
|
193
102
|
setting:true,
|
194
|
-
srcsetting:'../../static/newStyle/setting.png'
|
195
|
-
|
103
|
+
srcsetting:'../../static/newStyle/setting.png'
|
104
|
+
|
196
105
|
// headerHint: true, // 右侧顶部提示信息
|
197
106
|
// value: 25645.26,
|
198
107
|
// AddChangeMsgShow: false,
|
@@ -200,7 +109,6 @@
|
|
200
109
|
}
|
201
110
|
},
|
202
111
|
ready () {
|
203
|
-
getwartermakr(this);
|
204
112
|
let component = this.$login.getUrlCompileParames('component')
|
205
113
|
if (component) {
|
206
114
|
this.isManger = true
|
@@ -327,6 +235,9 @@
|
|
327
235
|
window.location.reload()
|
328
236
|
}
|
329
237
|
})
|
238
|
+
},
|
239
|
+
clearCache() {
|
240
|
+
this.$resetpost('/rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
|
330
241
|
}
|
331
242
|
},
|
332
243
|
computed: {
|
@@ -546,6 +457,18 @@
|
|
546
457
|
.tree-img {
|
547
458
|
font-size: 1.2em;
|
548
459
|
}
|
460
|
+
.aodeloginedlogo {
|
461
|
+
background:url(../../static/aodenewlogo.png);
|
462
|
+
background-size:80%;
|
463
|
+
background-repeat: no-repeat;
|
464
|
+
}
|
465
|
+
.logopicaode{
|
466
|
+
width: 100%;
|
467
|
+
height: 61px;
|
468
|
+
float: left;
|
469
|
+
margin-left: 2.5%;
|
470
|
+
margin-top: 10px;
|
471
|
+
}
|
549
472
|
|
550
473
|
/*将较长信息截断显示,鼠标悬停显示全部信息*/
|
551
474
|
.cutout50 {
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<div class="form-horizontal select-overspread" style="background: white; padding: 0 1%;">
|
5
5
|
<div class="row">
|
6
6
|
<div class="col-sm-2 form-group">
|
7
|
-
<label class="font_normal_body"
|
7
|
+
<label class="font_normal_body">终端类型</label>
|
8
8
|
<v-select id="f_charge_type"
|
9
9
|
v-model="model.f_equipment_type"
|
10
10
|
placeholder='终端类型'
|