system-clients 3.2.20 → 3.2.21

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.
Files changed (35) hide show
  1. package/SystemClient.iml +8 -8
  2. package/package.json +1 -1
  3. package/src/App.vue +24 -24
  4. package/src/components/server/LoginPage.vue +206 -0
  5. package/src/components/server/LoginView.vue +117 -0
  6. package/src/filiale/dongguan/Login.vue +900 -900
  7. package/src/filiale/dongguan/Main.vue +1 -1
  8. package/src/filiale/dongguan/system.js +6 -6
  9. package/src/styles/fonts/glyphicons-halflings-regular.eot +0 -0
  10. package/src/styles/fonts/glyphicons-halflings-regular.svg +288 -0
  11. package/src/styles/fonts/glyphicons-halflings-regular.ttf +0 -0
  12. package/src/styles/fonts/glyphicons-halflings-regular.woff +0 -0
  13. package/src/styles/fonts/glyphicons-halflings-regular.woff2 +0 -0
  14. package/src/styles/less/bootstrap.less +66 -66
  15. package/src/styles/less/fonts-list.less +25 -25
  16. package/src/styles/less/glyphicons.less +6 -6
  17. package/src/styles/less/stand.less +207 -207
  18. package/src/system.js +3 -0
  19. package/static/guangxi/backgroundImage.png +0 -0
  20. package/static/guangxi/ename.png +0 -0
  21. package/static/guangxi/enameCopy.png +0 -0
  22. package/static/guangxi/gasAnalysis.png +0 -0
  23. package/static/guangxi/gasAnalysis1.png +0 -0
  24. package/static/guangxi/gasCustomerService.png +0 -0
  25. package/static/guangxi/gasCustomerService1.png +0 -0
  26. package/static/guangxi/gasLargeScreen.png +0 -0
  27. package/static/guangxi/gasLargeScreen1.png +0 -0
  28. package/static/guangxi/gasProduction.png +0 -0
  29. package/static/guangxi/gasProduction1.png +0 -0
  30. package/static/guangxi/gasSupervise.png +0 -0
  31. package/static/guangxi/gasSupervise1.png +0 -0
  32. package/static/guangxi/password.png +0 -0
  33. package/static/guangxi/passwordCopy.png +0 -0
  34. package/static/guangxi/verificationCode.png +0 -0
  35. package/static/guangxi/verificationCodeCopy.png +0 -0
package/SystemClient.iml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
9
  </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.20",
3
+ "version": "3.2.21",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
package/src/App.vue CHANGED
@@ -1,24 +1,24 @@
1
- <template>
2
- <app-base class="bg">
3
- <div class='flex'>
4
- <article>
5
- <!--<route :comp="{name: 'check-model'}"></route>-->
6
- <!--<route :comp="{name: 'vender-management'}"></route>-->
7
- <route :comp="{name: 'login'}"></route>
8
- <!-- <route :comp="{name: 'load-data'}"></route> -->
9
- <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
- <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
- </article>
12
- </div>
13
- </app-base>
14
- </template>
15
-
16
- <script>
17
- // import cardListen from './plugins/CardListen'
18
-
19
- export default {
20
- // ready () {
21
- // cardListen.startListen()
22
- // }
23
- }
24
- </script>
1
+ <template>
2
+ <app-base class="bg">
3
+ <div class='flex'>
4
+ <article>
5
+ <!--<route :comp="{name: 'check-model'}"></route>-->
6
+ <!--<route :comp="{name: 'vender-management'}"></route>-->
7
+ <route :comp="{name: 'login'}"></route>
8
+ <!-- <route :comp="{name: 'load-data'}"></route> -->
9
+ <!-- <route :comp="{name: 'load-params', props: {componentName: 'login'}}"></route> -->
10
+ <!-- <route :comp="{name: 'load-params', props: {dataUrl: ['rs/sql/getMeterBrand','rs/sql/getPriceType','rs/sql/getMeterStyle'], componentName: 'login'}}"></route> -->
11
+ </article>
12
+ </div>
13
+ </app-base>
14
+ </template>
15
+
16
+ <script>
17
+ // import cardListen from './plugins/CardListen'
18
+
19
+ export default {
20
+ // ready () {
21
+ // cardListen.startListen()
22
+ // }
23
+ }
24
+ </script>
@@ -0,0 +1,206 @@
1
+ <template>
2
+ <div class="login-box">
3
+ <div class="login-title" >
4
+ <div class="row auto">
5
+ <div style="width:80%;margin-top:25px;">
6
+ <span style="font-size: 0.8rem;color: white;">{{notice}}</span>
7
+ </div>
8
+ <div class="login-title-chi" style="white-space: nowrap;">
9
+ <span style="font-size: 1.2rem;"><b>关于我们</b></span>
10
+ </div>
11
+ </div>
12
+
13
+ <div class="row auto">
14
+ <div style="width: 30%;float: right;margin-top: 13rem;margin-right: 12.5rem;">
15
+
16
+ <div style="color: white;font-size: 2.5rem;text-align: center;">
17
+ <span>智 慧 燃 气 SaaS 云 平 台</span>
18
+ </div>
19
+
20
+ <div class="pt-1" style="color: white;font-size: 1.2rem;text-align: center;">
21
+ <span>燃气行业数字化解决方案</span>
22
+ </div>
23
+
24
+ <div style="margin-top: 2.7rem;padding-left: 7rem;">
25
+
26
+ <div class="pt-1" style="width: 82%;">
27
+ <div class="login_input">
28
+ <div @mouseenter="changeImageSrc(1, 'hover')"
29
+ @mouseleave="changeImageSrc(1, '')">
30
+ <img :src="enameImg">
31
+ <span :class="enameShow ? 'color2' : 'color1'">|</span>
32
+ <input type="text" placeholder=" 请输入登录账号" v-model="model.ename"/>
33
+ </div>
34
+ </div>
35
+ </div>
36
+
37
+ <div class="pt-1" style="width: 82%;">
38
+ <div class="login_input">
39
+ <div @mouseenter="changeImageSrc(2, 'hover')"
40
+ @mouseleave="changeImageSrc(2, '')">
41
+ <img :src="passwordImg">
42
+ <span :class="passwordShow ? 'color2' : 'color1'">|</span>
43
+ <input type="text" placeholder=" 请输入登录密码" v-model="model.password"/>
44
+ </div>
45
+ </div>
46
+ </div>
47
+
48
+
49
+ <div class="pt-1" style="width: 82%;">
50
+ <div class="login_input">
51
+ <div @mouseenter="changeImageSrc(3, 'hover')"
52
+ @mouseleave="changeImageSrc(3, '')">
53
+ <img :src="verificationCodeImg">
54
+ <span :class="verificationCodeShow ? 'color2' : 'color1'">|</span>
55
+ <input type="text" placeholder=" 请输入验证码" v-model="model.verificationCode"/>
56
+ <span class="color2" style="float: right;padding-right: 2rem;" @click.native="createCode()">{{checkCode}}</span>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <div class="pt-1" style="width: 82%;padding-left: .667rem;color: white;font-size: 1rem">
61
+ <input type="checkbox" name="type">&nbsp;记住密码
62
+ </div>
63
+ </div>
64
+
65
+ <div class="pt-1" style="color: white;font-size: 1.2rem;text-align: center;">
66
+ <button class="btn_login" style="width: 20rem;" @click.native="confirm()">立即登录</button>
67
+ </div>
68
+
69
+ </div>
70
+
71
+ </div>
72
+
73
+ </div>
74
+ </div>
75
+ </template>
76
+
77
+ <script>
78
+ export default {
79
+ title: '登录',
80
+ data () {
81
+ return {
82
+ enameImg: '../../../static/guangxi/ename.png',
83
+ passwordImg: '../../../static/guangxi/password.png',
84
+ verificationCodeImg: '../../../static/guangxi/verificationCode.png',
85
+ enameShow: false,
86
+ passwordShow: false,
87
+ verificationCodeShow: false,
88
+ notice: '',
89
+ model: {
90
+ ename: '',
91
+ password: '',
92
+ verificationCode: ''
93
+ },
94
+ checkCode: ''
95
+ }
96
+ },
97
+ created () {
98
+ this.createCode()
99
+ },
100
+ methods: {
101
+ changeImageSrc (key, way) {
102
+ switch (key) {
103
+ case 1:
104
+ if (way) {
105
+ this.enameShow = true
106
+ this.enameImg = require(`../../../static/guangxi/enameCopy.png`)
107
+ } else if (!this.model.ename){
108
+ this.enameShow = false
109
+ this.enameImg = require(`../../../static/guangxi/ename.png`)
110
+ }
111
+ break
112
+ case 2:
113
+ if (way) {
114
+ this.passwordShow = true
115
+ this.passwordImg = require(`../../../static/guangxi/passwordCopy.png`)
116
+ } else if (!this.model.password){
117
+ this.passwordShow = false
118
+ this.passwordImg = require(`../../../static/guangxi/password.png`)
119
+ }
120
+ break
121
+ case 3:
122
+ if (way) {
123
+ this.verificationCodeShow = true
124
+ this.verificationCodeImg = require(`../../../static/guangxi/verificationCodeCopy.png`)
125
+ } else if (!this.model.verificationCode){
126
+ this.verificationCodeShow = false
127
+ this.verificationCodeImg = require(`../../../static/guangxi/verificationCode.png`)
128
+ }
129
+ break
130
+ }
131
+ },
132
+ createCode(){
133
+ let code = "";
134
+ //验证码的长度
135
+ let codeLength = 4;
136
+ //随机数
137
+ let random = new Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 'A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R',
138
+ 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z');
139
+ //循环操作
140
+ for (let i = 0; i < codeLength; i++) {
141
+ //取得随机数的索引(0~35)
142
+ let index = Math.floor(Math.random() * 36);
143
+ //根据索引取得随机数加到code上
144
+ code += random[index];
145
+ }
146
+ //把code值赋给验证码
147
+ this.checkCode = code;
148
+ },
149
+ confirm () {
150
+ console.log('点击登录')
151
+ if (!this.model.ename) {
152
+ this.$showMessage("请输入登录账号")
153
+ }
154
+ if (!this.model.password) {
155
+ this.$showMessage("请输入登录密码")
156
+ }
157
+ if (!this.model.verificationCode) {
158
+ this.$showMessage("请输入验证码")
159
+ }
160
+ }
161
+ }
162
+ }
163
+ </script>
164
+
165
+ <style lang="less" scoped>
166
+ .login-box{
167
+ overflow: hidden;
168
+ background-image: url("../../../static/guangxi/backgroundImage.png");
169
+ background-size:100% 100%;
170
+ background-repeat:no-repeat;
171
+ font-family: PINGFANG-MEDIUM;
172
+ }
173
+ .pt-1 {
174
+ padding-top: 1rem;
175
+ }
176
+ .color1 {
177
+ color: #c9c9c9;
178
+ }
179
+ .color2 {
180
+ color: #4190f6;
181
+ }
182
+ .btn_login {
183
+ width: 100%;
184
+ height: 40px;
185
+ background-color: #4292f7;
186
+ border-radius: 3rem;
187
+ border:none;
188
+ font-family: PingFang,serif;
189
+ font-size: 16px;
190
+ color: #ffffff;
191
+ }
192
+ .btn_login:hover{background-color: #3171f4;}
193
+ .login_input {
194
+ line-height: 4.3rem;
195
+ box-sizing: border-box;
196
+ border-radius: 0.8rem;
197
+ background: #fff;
198
+ input{
199
+ border: none;
200
+ outline: none;
201
+ }
202
+ input::-webkit-input-placeholder {
203
+ color: #c9c9c9;
204
+ }
205
+ }
206
+ </style>
@@ -0,0 +1,117 @@
1
+ <template>
2
+ <div class="login-box">
3
+ <div class="login-title" >
4
+
5
+ <div class="row auto">
6
+ <div style="width:80%;margin-top:25px;">
7
+ <span style="font-size: 0.8rem;color: white;">{{notice}}</span>
8
+ </div>
9
+ <div class="login-title-chi" style="white-space: nowrap;">
10
+ <span style="font-size: 1.2rem;"><b>关于我们</b></span>
11
+ </div>
12
+ </div>
13
+
14
+ <div class="row auto">
15
+ <div style="margin-top: 8rem;text-align: center">
16
+
17
+ <div style="color: white;font-size: 2.5rem;">
18
+ <span>智 慧 燃 气 SaaS 云 平 台</span>
19
+ </div>
20
+
21
+ <div class="pt-1" style="color: white;font-size: 1.2rem;">
22
+ <span>燃气行业数字化解决方案</span>
23
+ </div>
24
+
25
+ <div style="margin-top: 3rem;">
26
+ <span @mouseenter="changeImageSrc(1, 'hover')"
27
+ @mouseleave="changeImageSrc(1, '')">
28
+ <img :src="gasImg1" width="200">
29
+ </span>
30
+ <span @mouseenter="changeImageSrc(2, 'hover')"
31
+ @mouseleave="changeImageSrc(2, '')">
32
+ <img :src="gasImg2" width="200">
33
+ </span>
34
+ <span @mouseenter="changeImageSrc(3, 'hover')"
35
+ @mouseleave="changeImageSrc(3, '')">
36
+ <img :src="gasImg3" width="200">
37
+ </span>
38
+ <span @mouseenter="changeImageSrc(4, 'hover')"
39
+ @mouseleave="changeImageSrc(4, '')">
40
+ <img :src="gasImg4" width="200">
41
+ </span>
42
+ <span @mouseenter="changeImageSrc(5, 'hover')"
43
+ @mouseleave="changeImageSrc(5, '')">
44
+ <img :src="gasImg5" width="200">
45
+ </span>
46
+ </div>
47
+ </div>
48
+
49
+ </div>
50
+ </div>
51
+ </div>
52
+ </template>
53
+
54
+ <script>
55
+ export default {
56
+ title: '登录',
57
+ data () {
58
+ return {
59
+ gasImg1: '../../../static/guangxi/gasProduction.png',
60
+ gasImg2: '../../../static/guangxi/gasCustomerService.png',
61
+ gasImg3: '../../../static/guangxi/gasLargeScreen.png',
62
+ gasImg4: '../../../static/guangxi/gasSupervise.png',
63
+ gasImg5: '../../../static/guangxi/gasAnalysis.png'
64
+ }
65
+ },
66
+ methods: {
67
+ changeImageSrc (key, way) {
68
+ switch (key) {
69
+ case 1:
70
+ if (way) {
71
+ this.gasImg1 = require(`../../../static/guangxi/gasProduction1.png`)
72
+ } else {
73
+ this.gasImg1 = require(`../../../static/guangxi/gasProduction.png`)
74
+ }
75
+ break
76
+ case 2:
77
+ if (way) {
78
+ this.gasImg2 = require(`../../../static/guangxi/gasCustomerService1.png`)
79
+ } else {
80
+ this.gasImg2 = require(`../../../static/guangxi/gasCustomerService.png`)
81
+ }
82
+ break
83
+ case 3:
84
+ if (way) {
85
+ this.gasImg3 = require(`../../../static/guangxi/gasLargeScreen1.png`)
86
+ } else {
87
+ this.gasImg3 = require(`../../../static/guangxi/gasLargeScreen.png`)
88
+ }
89
+ break
90
+ case 4:
91
+ if (way) {
92
+ this.gasImg4 = require(`../../../static/guangxi/gasSupervise1.png`)
93
+ } else {
94
+ this.gasImg4 = require(`../../../static/guangxi/gasSupervise.png`)
95
+ }
96
+ break
97
+ case 5:
98
+ if (way) {
99
+ this.gasImg5 = require(`../../../static/guangxi/gasAnalysis1.png`)
100
+ } else {
101
+ this.gasImg5 = require(`../../../static/guangxi/gasAnalysis.png`)
102
+ }
103
+ break
104
+ }
105
+ }
106
+ }
107
+ }
108
+ </script>
109
+
110
+ <style lang="less" scoped>
111
+ .login-box{
112
+ overflow: hidden;
113
+ background-image: url("../../../static/guangxi/backgroundImage.png");
114
+ background-size:100% 100%;
115
+ background-repeat:no-repeat;
116
+ }
117
+ </style>