system-clients 3.2.1-9 → 3.2.1-aodeToV4
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/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +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/SystemClient.iml +11 -11
- package/build/webpack.base.conf.js +78 -85
- package/build.gradle +6 -6
- 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/index.html +21 -21
- package/package.json +4 -4
- package/src/LodopFuncs.js +123 -123
- package/src/components/Main.vue +515 -622
- package/src/components/Util.js +343 -343
- package/src/components/equipment/EquipmentManage.vue +65 -65
- package/src/components/equipment/PcAdd.vue +105 -105
- package/src/components/equipment/PcList.vue +119 -119
- package/src/components/equipment/PcManage.vue +60 -60
- package/src/components/equipment/PhoneAdd.vue +94 -94
- package/src/components/equipment/PhoneList.vue +102 -102
- package/src/components/equipment/PhoneManage.vue +60 -60
- package/src/components/equipment/PosAdd.vue +156 -323
- package/src/components/equipment/PosList.vue +164 -294
- package/src/components/equipment/PosManage.vue +68 -138
- package/src/components/materialManage/materialData.vue +44 -44
- package/src/components/materialManage/materialList.vue +255 -255
- package/src/components/parammanage/ParamManage.vue +42 -42
- package/src/components/parammanage/ParamPage.vue +314 -336
- package/src/components/parammanage/ParamPages.vue +222 -222
- package/src/components/parammanage/SinglePage.vue +235 -235
- package/src/components/parammanage/SinglePages.vue +167 -167
- package/src/components/server/AddChangeMsg.vue +66 -66
- package/src/components/server/ChangeDeclare.vue +45 -45
- package/src/components/server/LeftTree.vue +111 -111
- package/src/components/server/LoadData.vue +36 -55
- package/src/components/server/Login.vue +122 -156
- package/src/components/server/Menu.vue +188 -188
- package/src/components/server/ModifyPw.vue +112 -107
- package/src/components/server/NewResSelectGroup.vue +211 -0
- package/src/components/server/ResSelect.vue +153 -155
- package/src/components/server/ResSelectGroup.vue +159 -198
- package/src/components/server/RightTree.vue +343 -348
- package/src/components/server/RoleSelector.vue +90 -89
- package/src/components/server/TestResSelect.vue +58 -58
- package/src/components/server/TestResSelectGroup.vue +388 -388
- package/src/plugins/EncryptUtil.js +53 -0
- package/src/plugins/GetLoginInfoService.js +499 -518
- package/src/plugins/HeatGetLoginInfoService.js +491 -491
- package/src/plugins/validation.js +7 -15
- package/src/stores/AppData.js +38 -38
- package/src/stores/HeatAppData.js +38 -38
- package/src/styles/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/styles/less/.csscomb.json +304 -304
- package/src/styles/less/.csslintrc +19 -19
- package/src/styles/less/alerts.less +73 -73
- package/src/styles/less/aofeng/animate.min.css +10 -10
- package/src/styles/less/aofeng/expandcss.less +569 -569
- package/src/styles/less/aofeng/standard.less +2121 -2507
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +686 -686
- package/src/styles/less/aofeng/themeOne/loginStyle.less +1586 -1586
- package/src/styles/less/aofeng/themeOne/systemStyle.less +2650 -2650
- package/src/styles/less/aofeng/themeOne.less +17 -17
- package/src/styles/less/aofeng/themeTwo/newStyle1.less +415 -415
- package/src/styles/less/aofeng/themeTwo.less +3 -3
- package/src/styles/less/badges.less +66 -66
- package/src/styles/less/bootstrap.less +66 -66
- package/src/styles/less/breadcrumbs.less +26 -26
- package/src/styles/less/button-groups.less +247 -247
- package/src/styles/less/buttons.less +172 -172
- package/src/styles/less/carousel.less +269 -269
- package/src/styles/less/close.less +34 -34
- package/src/styles/less/code.less +69 -69
- package/src/styles/less/component-animations.less +33 -33
- package/src/styles/less/dropdowns.less +216 -216
- package/src/styles/less/fonts-list.less +25 -25
- package/src/styles/less/forms.less +626 -626
- package/src/styles/less/glyphicons.less +305 -305
- package/src/styles/less/grid.less +84 -84
- package/src/styles/less/input-groups.less +167 -167
- package/src/styles/less/jumbotron.less +52 -52
- package/src/styles/less/labels.less +64 -64
- package/src/styles/less/list-group.less +141 -141
- package/src/styles/less/manageStyle/manageChile.less +180 -180
- package/src/styles/less/manageStyle/manageStyle.less +1102 -1102
- package/src/styles/less/manageStyle/safeStyle.less +498 -498
- package/src/styles/less/media.less +66 -66
- package/src/styles/less/mixins/alerts.less +14 -14
- package/src/styles/less/mixins/background-variant.less +9 -9
- package/src/styles/less/mixins/border-radius.less +18 -18
- package/src/styles/less/mixins/buttons.less +69 -69
- package/src/styles/less/mixins/center-block.less +7 -7
- package/src/styles/less/mixins/clearfix.less +22 -22
- package/src/styles/less/mixins/forms.less +90 -90
- package/src/styles/less/mixins/gradients.less +59 -59
- package/src/styles/less/mixins/grid-framework.less +92 -92
- package/src/styles/less/mixins/grid.less +122 -122
- package/src/styles/less/mixins/hide-text.less +21 -21
- package/src/styles/less/mixins/image.less +33 -33
- package/src/styles/less/mixins/labels.less +12 -12
- package/src/styles/less/mixins/list-group.less +30 -30
- package/src/styles/less/mixins/nav-divider.less +10 -10
- package/src/styles/less/mixins/nav-vertical-align.less +9 -9
- package/src/styles/less/mixins/opacity.less +8 -8
- package/src/styles/less/mixins/pagination.less +24 -24
- package/src/styles/less/mixins/panels.less +24 -24
- package/src/styles/less/mixins/progress-bar.less +10 -10
- package/src/styles/less/mixins/reset-filter.less +8 -8
- package/src/styles/less/mixins/reset-text.less +18 -18
- package/src/styles/less/mixins/resize.less +6 -6
- package/src/styles/less/mixins/responsive-visibility.less +15 -15
- package/src/styles/less/mixins/size.less +10 -10
- package/src/styles/less/mixins/tab-focus.less +9 -9
- package/src/styles/less/mixins/table-row.less +44 -44
- package/src/styles/less/mixins/text-emphasis.less +9 -9
- package/src/styles/less/mixins/text-overflow.less +8 -8
- package/src/styles/less/mixins/vendor-prefixes.less +227 -227
- package/src/styles/less/mixins.less +40 -40
- package/src/styles/less/modals.less +151 -151
- package/src/styles/less/navbar.less +660 -660
- package/src/styles/less/navs.less +285 -285
- package/src/styles/less/normalize.less +424 -424
- package/src/styles/less/pager.less +76 -76
- package/src/styles/less/pagination.less +89 -89
- package/src/styles/less/panels.less +275 -275
- package/src/styles/less/popovers.less +131 -131
- package/src/styles/less/print.less +101 -101
- package/src/styles/less/progress-bars.less +87 -87
- package/src/styles/less/responsive-embed.less +35 -35
- package/src/styles/less/responsive-utilities.less +194 -194
- package/src/styles/less/scaffolding.less +161 -161
- package/src/styles/less/stand.less +207 -207
- package/src/styles/less/tables.less +262 -312
- package/src/styles/less/theme.less +291 -291
- package/src/styles/less/thumbnails.less +36 -36
- package/src/styles/less/tooltip.less +102 -102
- package/src/styles/less/type.less +303 -316
- package/src/styles/less/utilities.less +55 -55
- package/src/styles/less/variables.less +896 -899
- package/src/styles/less/wells.less +29 -29
- package/src/system.js +85 -100
- package/static/aodelogo.png +0 -0
- package/static/aodenewlogo.png +0 -0
- package/static/ewmlogo.png +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/filiale/qianneng/ModifyPw.vue +0 -107
- package/src/filiale/qianneng/sale.js +0 -7
- 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/logo.png +0 -0
- package/static/newStyle/about-us.png +0 -0
- package/yarn-error.log +0 -6896
- /package/.gradle/{5.2.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
- /package/.gradle/{buildOutputCleanup/built.bin → 7.1/gc.properties} +0 -0
@@ -1,59 +1,52 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="syslogin">
|
3
|
-
<div class="login-title"
|
4
|
-
<div class="
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
<!-- <img src="../../../static/newStyle/login-con.png"/>-->
|
10
|
-
<!-- <span>联系我们</span>-->
|
11
|
-
</div>
|
3
|
+
<div class="login-title">
|
4
|
+
<div class="login-title-chi" style="white-space: nowrap">
|
5
|
+
<img src="../../../static/newStyle/login-info.png"/>
|
6
|
+
<span>关于我们</span>
|
7
|
+
<img src="../../../static/newStyle/login-con.png"/>
|
8
|
+
<span>联系我们</span>
|
12
9
|
</div>
|
13
10
|
</div>
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
</article>
|
19
|
-
<footer slot="modal-footer" class="modal-footer">
|
20
|
-
</footer>
|
21
|
-
</modal>
|
22
|
-
|
23
|
-
|
24
|
-
<div class="logoew" v-if="logoandroid" >
|
11
|
+
<div class="logopic">
|
12
|
+
<div class="aodelogo"></div>
|
13
|
+
</div>
|
14
|
+
<div class="logoew" v-if="logoandroid">
|
25
15
|
<div v-if="logoandroid" class="imglogo"></div>
|
26
16
|
<p class="logocontent">燃气客服系统Android版</p>
|
27
|
-
<p
|
17
|
+
<p class="logofooter">(仅浏览器扫描)</p>
|
28
18
|
</div>
|
29
19
|
<!--输入框-->
|
30
20
|
<div class="loginmain">
|
31
21
|
<!-- <img src="../../../static/login_title1.png" alt="图片加载未完成" class="img-responsive" style="margin: 0 auto; padding-top: 150px;" /> -->
|
32
22
|
<div class="loginmain-left">
|
33
|
-
<img
|
23
|
+
<img class="loginmain-left-img" src="../../../static/newStyle/login-left.png">
|
34
24
|
</div>
|
35
|
-
<div class="loginmain-right">
|
25
|
+
<div class="loginmain-right" style="width:45%">
|
36
26
|
|
37
|
-
<p @click="theme()" style="white-space: nowrap"
|
27
|
+
<p @click="theme()" style="white-space: nowrap">燃气客服系统</p>
|
38
28
|
|
39
29
|
<form v-show="!login">
|
40
30
|
<!-- <input type="text" placeholder="用户名" v-model="model.ename" class="usericon">-->
|
41
31
|
<div class="login-input">
|
42
32
|
<img src="../../../static/newStyle/login-user.png"/>
|
43
|
-
<input type="text" style="display: inline;background-color: white!important;" placeholder="用户名"
|
33
|
+
<input type="text" style="display: inline;background-color: white!important;" placeholder="用户名"
|
34
|
+
v-model="model.ename"/>
|
44
35
|
</div>
|
45
36
|
<div class="login-input">
|
46
37
|
<img src="../../../static/newStyle/login-pwd.png"/>
|
47
|
-
<input type="password" placeholder="密码" style="display: inline;background-color: darkgray;"
|
38
|
+
<input type="password" placeholder="密码" style="display: inline;background-color: darkgray;"
|
39
|
+
v-model="model.password"
|
48
40
|
@keyup.enter="confirm('key')"/>
|
49
41
|
</div>
|
50
42
|
<div class="login-input-1">
|
51
43
|
<img src="../../../static/newStyle/login-check.png"/>
|
52
|
-
<input v-if="$login.Verification" class="login-check"
|
44
|
+
<input v-if="$login.Verification" class="login-check" type="text" placeholder="请输入验证码"
|
53
45
|
v-model="picLyanzhengma" @keyup.enter="confirm('key')"/>
|
54
46
|
</div>
|
55
|
-
<div class="login-input-2"
|
56
|
-
<input v-if="$login.Verification" class="login-check-1"
|
47
|
+
<div class="login-input-2">
|
48
|
+
<input v-if="$login.Verification" class="login-check-1"
|
49
|
+
style="display: inline;background-color:#eeeeee !important;"
|
57
50
|
type="button" @click="createCode" v-model="checkCode"/>
|
58
51
|
</div>
|
59
52
|
<div class="login-bt">
|
@@ -78,7 +71,7 @@
|
|
78
71
|
技术支持:西安奥枫软件有限公司
|
79
72
|
</div>
|
80
73
|
|
81
|
-
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal
|
74
|
+
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal>
|
82
75
|
<header slot="modal-header" class="modal-header">
|
83
76
|
<h4 class="modal-title">登录信息</h4>
|
84
77
|
</header>
|
@@ -88,19 +81,25 @@
|
|
88
81
|
<div class="col-sm-12 form-group">
|
89
82
|
<label class="col-sm-5 control-label">当前登录人</label>
|
90
83
|
<div class="col-sm-7">
|
91
|
-
<p class="form-control-static">{{$login.f.name}}</p>
|
84
|
+
<p class="form-control-static">{{ $login.f.name }}</p>
|
85
|
+
</div>
|
86
|
+
</div>
|
87
|
+
<div class="col-sm-12 form-group">
|
88
|
+
<label class="col-sm-5 control-label">组 织 编 码</label>
|
89
|
+
<div class="col-sm-7">
|
90
|
+
<p class="form-control-static">{{ $login.f.number }}</p>
|
92
91
|
</div>
|
93
92
|
</div>
|
94
93
|
<div class="col-sm-12 form-group">
|
95
94
|
<label class="col-sm-5 control-label">所在销售点</label>
|
96
95
|
<div class="col-sm-7">
|
97
|
-
<p class="form-control-static">{{$login.f.deps}}</p>
|
96
|
+
<p class="form-control-static">{{ $login.f.deps }}</p>
|
98
97
|
</div>
|
99
98
|
</div>
|
100
99
|
</div>
|
101
100
|
</form>
|
102
101
|
</article>
|
103
|
-
<footer
|
102
|
+
<footer slot="modal-footer" class="modal-footer">
|
104
103
|
<button class="button_search" @click="depPromptConfirm">确认</button>
|
105
104
|
<button class="button_clear" @click="depPromptCancel">取消</button>
|
106
105
|
</footer>
|
@@ -116,33 +115,23 @@
|
|
116
115
|
import co from 'co'
|
117
116
|
import $ from 'jquery'
|
118
117
|
import Vue from 'vue'
|
119
|
-
import
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
let saveGen = function *(self) {
|
118
|
+
import cryptJS from '../../plugins/EncryptUtil'
|
119
|
+
let saveGen = function* (self) {
|
124
120
|
try {
|
125
|
-
|
126
|
-
|
127
|
-
}
|
128
|
-
if(self.$appdata){
|
129
|
-
yield self.$appdata.load()
|
121
|
+
yield self.$login.login(self.model.ename, self.model.password)
|
122
|
+
yield self.$appdata.load()
|
130
123
|
|
131
|
-
|
124
|
+
// 热力系统登录
|
132
125
|
if (Vue.$heatCompatibility) {
|
133
126
|
try {
|
134
|
-
|
135
|
-
|
136
|
-
}
|
137
|
-
if(self.$appdataHeat){
|
138
|
-
yield self.$appdataHeat.load()
|
139
|
-
}
|
127
|
+
yield self.$loginHeat.login(self.model.ename, self.model.password)
|
128
|
+
yield self.$appdataHeat.load()
|
140
129
|
} catch (e) {
|
141
130
|
console.log('热力系统登陆失败!')
|
142
131
|
}
|
143
132
|
}
|
144
|
-
|
145
|
-
|
133
|
+
|
134
|
+
yield self.$getConfig(self, 'Login')
|
146
135
|
console.log('登录配置', self.config)
|
147
136
|
if (self.config.isMac) {
|
148
137
|
// 获取该登录人分公司下的mac配置
|
@@ -175,21 +164,17 @@ let saveGen = function *(self) {
|
|
175
164
|
}
|
176
165
|
}
|
177
166
|
// 弱口令验证
|
178
|
-
|
179
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
|
167
|
+
if (self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
|
180
168
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
181
|
-
|
169
|
+
self.modifyPwShow = true
|
182
170
|
})
|
183
|
-
} else if (
|
171
|
+
} else if (self.config.depPrompt) {
|
184
172
|
self.depPromptShow = true
|
185
173
|
} else {
|
186
174
|
self.$goto('home-page', {functions: self.$login.f})
|
187
|
-
// if (self.otherLogin){
|
188
|
-
// window.history.pushState(null,null,'')
|
189
|
-
// }
|
190
175
|
if (self.$login) {
|
191
176
|
console.log('登录信息', self.$login.f)
|
192
|
-
global.login=self.$login.f
|
177
|
+
global.login = self.$login.f
|
193
178
|
console.log('登录信息', global.login)
|
194
179
|
}
|
195
180
|
}
|
@@ -202,9 +187,7 @@ let saveGen = function *(self) {
|
|
202
187
|
}
|
203
188
|
if (ret.status === 0) {
|
204
189
|
msg = '服务连接错误,请确认服务状态'
|
205
|
-
} else
|
206
|
-
msg = ret.data
|
207
|
-
} else if (ret.status === 710) {
|
190
|
+
} else {
|
208
191
|
msg = ret.data
|
209
192
|
}
|
210
193
|
self.createCode()
|
@@ -218,42 +201,31 @@ let saveGen = function *(self) {
|
|
218
201
|
}
|
219
202
|
export default {
|
220
203
|
title: '登录',
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
235
|
-
|
236
|
-
|
204
|
+
ready() {
|
205
|
+
if (this.$login && this.$login.getUrlCompileParames('name') && this.$login.getUrlCompileParames('password')) {
|
206
|
+
this.model.ename = this.$login.getUrlCompileParames('name')
|
207
|
+
this.model.password = this.$login.getUrlCompileParames('password')
|
208
|
+
this.confirm()
|
209
|
+
}
|
210
|
+
if(this.$login&&this.$login.getUrlParames('token')){
|
211
|
+
console.log(this.$login.getUrlParames('token'))
|
212
|
+
let param = cryptJS.AESDecrypt(this.$login.getUrlParames('token'),'3KMKqvgwR8ULbR8Z')
|
213
|
+
console.log(param)
|
214
|
+
// param = JSON.parse(param)
|
215
|
+
this.$login.Verification = false
|
216
|
+
this.model.ename = param.username
|
217
|
+
this.model.password = param.password
|
218
|
+
this.confirm()
|
219
|
+
}
|
237
220
|
$('#login-button').click(function (event) {
|
238
221
|
event.preventDefault()
|
239
222
|
$('form').fadeOut(500)
|
240
|
-
})
|
241
|
-
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
242
|
-
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
243
|
-
console.log(subUrl)
|
244
|
-
this.model.ename = window.atob(subUrl[0])
|
245
|
-
this.model.password = window.atob(subUrl[1])
|
246
|
-
console.log('this.model.ename',this.model.ename)
|
247
|
-
this.otherLogin = true
|
248
|
-
this.confirm()
|
249
|
-
}else{
|
250
|
-
//跳转不需要验证码
|
223
|
+
}),
|
251
224
|
this.createCode()
|
252
|
-
}
|
253
225
|
},
|
254
|
-
data
|
226
|
+
data() {
|
255
227
|
return {
|
256
|
-
image:{
|
228
|
+
image: {
|
257
229
|
img1: '/images/newStyle/login-info.png',
|
258
230
|
img2: '/images/newStyle/login-con.png',
|
259
231
|
img3: '/images/newStyle/login-left.png',
|
@@ -265,90 +237,66 @@ export default {
|
|
265
237
|
config: {
|
266
238
|
isMac: false,
|
267
239
|
depPrompt: false,
|
268
|
-
weakPassword:
|
269
|
-
title: '燃气客服系统',
|
270
|
-
distanceLogin: false
|
240
|
+
weakPassword: true
|
271
241
|
},
|
272
|
-
otherLogin:false,
|
273
242
|
login: false,
|
274
243
|
depPromptShow: false,
|
275
244
|
model: {},
|
276
245
|
show: false,
|
277
246
|
checkCode: '',
|
278
|
-
login_do:true,
|
247
|
+
login_do: true,
|
279
248
|
picLyanzhengma: '',
|
280
249
|
// 修改密码弹框展示
|
281
250
|
modifyPwShow: false,
|
282
|
-
logoandroid:
|
283
|
-
showus:false,
|
284
|
-
notice:'',
|
285
|
-
loginotherflag :true
|
251
|
+
logoandroid: true
|
286
252
|
}
|
287
253
|
},
|
288
254
|
methods: {
|
289
|
-
|
290
|
-
if (this.config.distanceLogin) {
|
291
|
-
if (this.$login && this.$login.getUrlParames('name') ) {
|
292
|
-
let ename = this.$login.getUrlParames('name');
|
293
|
-
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
294
|
-
if(logininfo.data){
|
295
|
-
if(logininfo.data.ename && logininfo.data.password){
|
296
|
-
this.model.ename = logininfo.data.ename
|
297
|
-
this.model.password =logininfo.data.password
|
298
|
-
let gen = saveGen(this)
|
299
|
-
return co(gen)
|
300
|
-
}
|
301
|
-
}
|
302
|
-
}
|
303
|
-
}
|
304
|
-
},
|
305
|
-
theme(){
|
255
|
+
theme() {
|
306
256
|
// var elementList = document.querySelectorAll('body');
|
307
257
|
// console.log(elementList)
|
308
258
|
// document.querySelectorAll('body')[0].className='themeTwo'
|
309
259
|
// var elementList = document.querySelectorAll('body');
|
310
260
|
// console.log(elementList)
|
311
261
|
},
|
312
|
-
onReady
|
262
|
+
onReady() {
|
313
263
|
this.$emit('ready')
|
314
264
|
},
|
315
|
-
confirm
|
316
|
-
this.login_do
|
317
|
-
// return
|
265
|
+
confirm(key) {
|
266
|
+
this.login_do = !this.login_do
|
318
267
|
if (key == 'key') {
|
319
268
|
$('form').fadeOut(500)
|
320
269
|
}
|
321
270
|
this.login = true
|
322
271
|
// let gen = saveGen(this)
|
323
272
|
// return co(gen)
|
324
|
-
if(
|
325
|
-
|
326
|
-
|
327
|
-
this.$showMessage("请输入验证码!").then(()=>{
|
273
|
+
if (this.$login.Verification) {
|
274
|
+
if (!this.picLyanzhengma) {
|
275
|
+
this.$showMessage("请输入验证码!").then(() => {
|
328
276
|
this.login = false
|
329
277
|
$('form').fadeIn(500)
|
330
278
|
this.createCode()
|
331
279
|
})
|
332
|
-
}else if(this.picLyanzhengma.toUpperCase() != this.checkCode
|
280
|
+
} else if (this.picLyanzhengma.toUpperCase() != this.checkCode) {
|
333
281
|
//若输入的验证码与产生的验证码不一致时
|
334
|
-
this.$showMessage("验证码不正确").then(()=>{
|
282
|
+
this.$showMessage("验证码不正确").then(() => {
|
335
283
|
this.login = false
|
336
284
|
$('form').fadeIn(500)
|
337
285
|
this.createCode();//刷新验证码
|
338
286
|
this.picLyanzhengma = '';
|
339
287
|
})
|
340
|
-
}else {
|
288
|
+
} else {
|
341
289
|
this.login = true
|
342
290
|
let gen = saveGen(this)
|
343
291
|
return co(gen)
|
344
292
|
}
|
345
|
-
}else {
|
293
|
+
} else {
|
346
294
|
this.login = true
|
347
295
|
let gen = saveGen(this)
|
348
296
|
return co(gen)
|
349
297
|
}
|
350
298
|
},
|
351
|
-
createCode(){
|
299
|
+
createCode() {
|
352
300
|
let code = "";
|
353
301
|
let codeLength = 4;//验证码的长度
|
354
302
|
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',
|
@@ -361,12 +309,12 @@ export default {
|
|
361
309
|
this.checkCode = code;//把code值赋给验证码
|
362
310
|
},
|
363
311
|
|
364
|
-
async depPromptConfirm
|
312
|
+
async depPromptConfirm() {
|
365
313
|
this.depPromptShow = false
|
366
314
|
return this.$goto('home-page', {functions: this.$login.f})
|
367
315
|
},
|
368
316
|
|
369
|
-
depPromptCancel
|
317
|
+
depPromptCancel() {
|
370
318
|
this.depPromptShow = false
|
371
319
|
this.createCode()
|
372
320
|
this.picLyanzhengma = ''
|
@@ -377,7 +325,7 @@ export default {
|
|
377
325
|
}
|
378
326
|
},
|
379
327
|
watch: {
|
380
|
-
'modifyPwShow'
|
328
|
+
'modifyPwShow'(val) {
|
381
329
|
if (!val) {
|
382
330
|
window.location.reload()
|
383
331
|
}
|
@@ -394,21 +342,20 @@ export default {
|
|
394
342
|
box-sizing: border-box;
|
395
343
|
margin: 0;
|
396
344
|
padding: 0;
|
397
|
-
font-weight:
|
398
|
-
outline: none;
|
345
|
+
font-weight: 300;
|
399
346
|
}
|
400
347
|
|
401
348
|
body {
|
402
349
|
font-family: 'Source Sans Pro', sans-serif;
|
403
350
|
color: white;
|
404
|
-
font-weight:
|
351
|
+
font-weight: 300;
|
405
352
|
}
|
406
353
|
|
407
354
|
body ::-webkit-input-placeholder {
|
408
355
|
/* WebKit browsers */
|
409
356
|
font-family: 'Source Sans Pro', sans-serif;
|
410
357
|
color: white;
|
411
|
-
font-weight:
|
358
|
+
font-weight: 300;
|
412
359
|
}
|
413
360
|
|
414
361
|
body :-moz-placeholder {
|
@@ -416,7 +363,7 @@ body :-moz-placeholder {
|
|
416
363
|
font-family: 'Source Sans Pro', sans-serif;
|
417
364
|
color: white;
|
418
365
|
opacity: 1;
|
419
|
-
font-weight:
|
366
|
+
font-weight: 300;
|
420
367
|
}
|
421
368
|
|
422
369
|
body ::-moz-placeholder {
|
@@ -424,14 +371,14 @@ body ::-moz-placeholder {
|
|
424
371
|
font-family: 'Source Sans Pro', sans-serif;
|
425
372
|
color: white;
|
426
373
|
opacity: 1;
|
427
|
-
font-weight:
|
374
|
+
font-weight: 300;
|
428
375
|
}
|
429
376
|
|
430
377
|
body :-ms-input-placeholder {
|
431
378
|
/* Internet Explorer 10+ */
|
432
379
|
font-family: 'Source Sans Pro', sans-serif;
|
433
380
|
color: white;
|
434
|
-
font-weight:
|
381
|
+
font-weight: 300;
|
435
382
|
}
|
436
383
|
|
437
384
|
.wrapper {
|
@@ -500,7 +447,7 @@ body :-ms-input-placeholder {
|
|
500
447
|
color: white;
|
501
448
|
-webkit-transition-duration: 0.25s;
|
502
449
|
transition-duration: 0.25s;
|
503
|
-
font-weight:
|
450
|
+
font-weight: 300;
|
504
451
|
}
|
505
452
|
|
506
453
|
.form input:hover {
|
@@ -712,28 +659,47 @@ body :-ms-input-placeholder {
|
|
712
659
|
-webkit-animation-delay: 11s;
|
713
660
|
animation-delay: 11s;
|
714
661
|
}
|
715
|
-
|
662
|
+
|
663
|
+
.logofooter {
|
716
664
|
font-size: 12px;
|
717
|
-
color
|
718
|
-
width:150px;
|
665
|
+
color: #fff;
|
666
|
+
width: 150px;
|
719
667
|
margin-left: 17px;
|
720
668
|
}
|
721
|
-
|
669
|
+
|
670
|
+
.logocontent {
|
722
671
|
font-size: 14px;
|
723
|
-
color
|
724
|
-
width:150px;
|
672
|
+
color: #fff;
|
673
|
+
width: 150px;
|
725
674
|
margin: 3px -15px;
|
726
675
|
}
|
676
|
+
|
677
|
+
.aodelogo {
|
678
|
+
background: url(../../../static/aodelogo.png);
|
679
|
+
background-size: 100%;
|
680
|
+
background-repeat: no-repeat;
|
681
|
+
}
|
682
|
+
|
727
683
|
.imglogo {
|
728
|
-
background:url(../../../static/
|
729
|
-
background-size:100%;
|
684
|
+
background: url(../../../static/ewmlogo.png);
|
685
|
+
background-size: 100%;
|
686
|
+
background-repeat: no-repeat;
|
730
687
|
}
|
688
|
+
|
731
689
|
.logoew {
|
732
|
-
width:120px;
|
733
|
-
height:120px;
|
734
|
-
float:right;
|
735
|
-
margin-right:8.5%;
|
736
|
-
margin-top:10px;
|
690
|
+
width: 120px;
|
691
|
+
height: 120px;
|
692
|
+
float: right;
|
693
|
+
margin-right: 8.5%;
|
694
|
+
margin-top: 10px;
|
695
|
+
}
|
696
|
+
|
697
|
+
.logopic {
|
698
|
+
width: 23%;
|
699
|
+
height: 100px;
|
700
|
+
float: left;
|
701
|
+
margin-left: 3.5%;
|
702
|
+
margin-top: 10px;
|
737
703
|
}
|
738
704
|
|
739
705
|
@-webkit-keyframes square {
|