system-clients 3.2.6-1 → 3.2.6-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/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/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/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/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/SystemClient.iml +11 -8
- 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 +102 -104
- package/src/App.vue +1 -1
- package/src/components/Main.vue +430 -686
- package/src/components/Util.js +343 -343
- package/src/components/equipment/EquipmentManage.vue +4 -4
- package/src/components/equipment/PcAdd.vue +6 -6
- package/src/components/equipment/PcList.vue +9 -8
- package/src/components/equipment/PhoneAdd.vue +14 -27
- package/src/components/equipment/PhoneList.vue +23 -33
- package/src/components/equipment/PosAdd.vue +65 -232
- package/src/components/equipment/PosList.vue +71 -201
- package/src/components/equipment/PosManage.vue +10 -80
- package/src/components/materialManage/materialList.vue +1 -1
- package/src/components/parammanage/ParamManage.vue +2 -2
- package/src/components/parammanage/ParamPage.vue +14 -36
- package/src/components/parammanage/ParamPages.vue +5 -5
- package/src/components/parammanage/SinglePage.vue +7 -7
- package/src/components/parammanage/SinglePages.vue +3 -3
- package/src/components/server/AddChangeMsg.vue +1 -1
- package/src/components/server/ChangeDeclare.vue +1 -1
- package/src/components/server/LoadData.vue +2 -21
- package/src/components/server/Login.vue +132 -295
- package/src/components/server/Menu.vue +188 -188
- package/src/components/server/ModifyPw.vue +17 -16
- package/src/components/server/NewResSelectGroup.vue +211 -0
- package/src/components/server/ResSelect.vue +3 -5
- package/src/components/server/ResSelectGroup.vue +118 -157
- package/src/components/server/RightTree.vue +257 -262
- package/src/components/server/RoleSelector.vue +4 -3
- package/src/components/server/TestResSelectGroup.vue +2 -2
- package/src/plugins/GetLoginInfoService.js +52 -74
- package/src/plugins/validation.js +0 -8
- package/src/project/State.js +1 -1
- package/src/stores/AppData.js +1 -1
- package/src/styles/less/aofeng/standard.less +60 -446
- package/src/styles/less/aofeng/themeOne/BinaryTemplate.less +13 -13
- package/src/styles/less/aofeng/themeOne/systemStyle.less +18 -18
- package/src/styles/less/fonts-list.less +4 -4
- package/src/styles/less/stand.less +1 -1
- 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 +3 -27
- package/static/aodelogo.png +0 -0
- package/static/aodenewlogo.png +0 -0
- package/static/ewmlogo.png +0 -0
- package/.npmignore +0 -10
- package/build/.npmignore +0 -1
- package/package-lock.json +0 -23125
- package/src/.npmignore +0 -1
- package/src/components/TabButton.vue +0 -201
- package/src/components/Tabs.vue +0 -67
- package/src/components/addressManage/AddressCascadingMenu.vue +0 -145
- 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/dongguan/Login.vue +0 -889
- package/src/filiale/dongguan/Main.vue +0 -715
- package/src/filiale/dongguan/system.js +0 -6
- package/src/filiale/konggang/Login.vue +0 -840
- package/src/filiale/konggang/system.js +0 -7
- package/src/filiale/qianneng/ModifyPw.vue +0 -107
- package/src/filiale/qianneng/system.js +0 -7
- package/src/filiale/rizhao/LeftTree.vue +0 -111
- package/src/filiale/rizhao/Login.vue +0 -791
- package/src/filiale/rizhao/Main.vue +0 -606
- package/src/filiale/rizhao/system.js +0 -14
- package/src/filiale/yuchuan/Login.vue +0 -889
- package/src/filiale/yuchuan/Main.vue +0 -773
- package/src/filiale/yuchuan/system.js +0 -10
- 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/src/util/Daiban.json +0 -12
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/static/logo.png +0 -0
- package/static/newStyle/about-us.png +0 -0
- package/static/rizhao.png +0 -0
- package/yarn-error.log +0 -6896
@@ -1,61 +1,52 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="syslogin">
|
3
|
-
<div class="login-title"
|
4
|
-
<div class="
|
5
|
-
<
|
6
|
-
<
|
7
|
-
|
8
|
-
|
9
|
-
<span @click="showus=true">关于我们</span>
|
10
|
-
</div>
|
11
|
-
<!-- <img src="../../../static/newStyle/login-con.png"/>-->
|
12
|
-
<!-- <span>联系我们</span>-->
|
13
|
-
</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>
|
14
9
|
</div>
|
15
10
|
</div>
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
</article>
|
21
|
-
<footer slot="modal-footer" class="modal-footer">
|
22
|
-
</footer>
|
23
|
-
</modal>
|
24
|
-
|
25
|
-
|
26
|
-
<div class="logoew" v-if="logoandroid" >
|
11
|
+
<div class="logopic">
|
12
|
+
<div class="aodelogo"></div>
|
13
|
+
</div>
|
14
|
+
<div class="logoew" v-if="logoandroid">
|
27
15
|
<div v-if="logoandroid" class="imglogo"></div>
|
28
16
|
<p class="logocontent">燃气客服系统Android版</p>
|
29
|
-
<p
|
17
|
+
<p class="logofooter">(仅浏览器扫描)</p>
|
30
18
|
</div>
|
31
19
|
<!--输入框-->
|
32
20
|
<div class="loginmain">
|
33
21
|
<!-- <img src="../../../static/login_title1.png" alt="图片加载未完成" class="img-responsive" style="margin: 0 auto; padding-top: 150px;" /> -->
|
34
22
|
<div class="loginmain-left">
|
35
|
-
<img
|
23
|
+
<img class="loginmain-left-img" src="../../../static/newStyle/login-left.png">
|
36
24
|
</div>
|
37
|
-
<div class="loginmain-right">
|
25
|
+
<div class="loginmain-right" style="width:45%">
|
38
26
|
|
39
|
-
<p @click="theme()" style="white-space: nowrap"
|
27
|
+
<p @click="theme()" style="white-space: nowrap">燃气客服系统</p>
|
40
28
|
|
41
29
|
<form v-show="!login">
|
42
30
|
<!-- <input type="text" placeholder="用户名" v-model="model.ename" class="usericon">-->
|
43
31
|
<div class="login-input">
|
44
32
|
<img src="../../../static/newStyle/login-user.png"/>
|
45
|
-
<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"/>
|
46
35
|
</div>
|
47
36
|
<div class="login-input">
|
48
37
|
<img src="../../../static/newStyle/login-pwd.png"/>
|
49
|
-
<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"
|
50
40
|
@keyup.enter="confirm('key')"/>
|
51
41
|
</div>
|
52
|
-
<div class="login-input-1"
|
42
|
+
<div class="login-input-1">
|
53
43
|
<img src="../../../static/newStyle/login-check.png"/>
|
54
|
-
<input v-if="$login.Verification" class="login-check"
|
44
|
+
<input v-if="$login.Verification" class="login-check" type="text" placeholder="请输入验证码"
|
55
45
|
v-model="picLyanzhengma" @keyup.enter="confirm('key')"/>
|
56
46
|
</div>
|
57
|
-
<div class="login-input-2"
|
58
|
-
<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;"
|
59
50
|
type="button" @click="createCode" v-model="checkCode"/>
|
60
51
|
</div>
|
61
52
|
<div class="login-bt">
|
@@ -79,51 +70,36 @@
|
|
79
70
|
<div class="login-foot" v-show="false">
|
80
71
|
技术支持:西安奥枫软件有限公司
|
81
72
|
</div>
|
82
|
-
<div class="login-foot" v-show="$login.BAinformation">
|
83
|
-
{{{ $login.BAinformation }}}
|
84
|
-
</div>
|
85
73
|
|
86
|
-
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal
|
87
|
-
<header slot="modal-header"
|
88
|
-
|
74
|
+
<modal v-if="depPromptShow" :show.sync="depPromptShow" :backdrop="false" v-ref:modal>
|
75
|
+
<header slot="modal-header" class="modal-header">
|
76
|
+
<h4 class="modal-title">登录信息</h4>
|
89
77
|
</header>
|
90
78
|
<article slot="modal-body" class="modal-body">
|
91
79
|
<form class="form-horizontal">
|
92
80
|
<div class="row">
|
93
81
|
<div class="col-sm-12 form-group">
|
94
|
-
<label class="col-sm-5 "
|
95
|
-
<
|
82
|
+
<label class="col-sm-5 control-label">当前登录人</label>
|
83
|
+
<div class="col-sm-7">
|
84
|
+
<p class="form-control-static">{{ $login.f.name }}</p>
|
85
|
+
</div>
|
96
86
|
</div>
|
97
|
-
<!--<div class="col-sm-12 form-group" v-if="$login.f.number">-->
|
98
|
-
<!--<label class="col-sm-5 ">组 织 编 码:</label>-->
|
99
|
-
<!--<label style="font-weight:normal">{{$login.f.number}}</label>-->
|
100
|
-
<!-- <div class="col-sm-7">
|
101
|
-
<span >{{$login.f.number}}</span>
|
102
|
-
</div> -->
|
103
|
-
<!--</div>-->
|
104
87
|
<div class="col-sm-12 form-group">
|
105
|
-
<label class="col-sm-5"
|
106
|
-
<
|
107
|
-
|
108
|
-
|
109
|
-
</div> -->
|
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>
|
91
|
+
</div>
|
110
92
|
</div>
|
111
|
-
<div class="col-sm-12
|
112
|
-
|
113
|
-
<
|
114
|
-
|
115
|
-
|
116
|
-
<label class="col-sm-2">预约待办:</label>
|
117
|
-
<span style="font-weight:normal">{{OrderDaiBan}}</span>
|
118
|
-
</div>
|
119
|
-
<div class="col-sm-12 " v-for="daibanitem in safecheckDaiBan">
|
120
|
-
<label class="col-sm-2">{{daibanitem.oldData.title}}:</label>
|
121
|
-
<span style="font-weight:normal">{{daibanitem.text}}</span>
|
93
|
+
<div class="col-sm-12 form-group">
|
94
|
+
<label class="col-sm-5 control-label">所在销售点</label>
|
95
|
+
<div class="col-sm-7">
|
96
|
+
<p class="form-control-static">{{ $login.f.deps }}</p>
|
97
|
+
</div>
|
122
98
|
</div>
|
123
99
|
</div>
|
124
100
|
</form>
|
125
101
|
</article>
|
126
|
-
<footer
|
102
|
+
<footer slot="modal-footer" class="modal-footer">
|
127
103
|
<button class="button_search" @click="depPromptConfirm">确认</button>
|
128
104
|
<button class="button_clear" @click="depPromptCancel">取消</button>
|
129
105
|
</footer>
|
@@ -139,38 +115,27 @@
|
|
139
115
|
import co from 'co'
|
140
116
|
import $ from 'jquery'
|
141
117
|
import Vue from 'vue'
|
142
|
-
import
|
143
|
-
|
144
|
-
let daibanJson = require('../../util/Daiban.json')
|
145
|
-
|
146
|
-
|
147
|
-
let saveGen = function *(self) {
|
118
|
+
import cryptJS from '../../plugins/EncryptUtil'
|
119
|
+
let saveGen = function* (self) {
|
148
120
|
try {
|
149
|
-
|
150
|
-
|
151
|
-
yield self.$login.login(self.model.ename, self.model.password, true)
|
152
|
-
}
|
153
|
-
if(self.$appdata){
|
154
|
-
yield self.$appdata.load()
|
121
|
+
yield self.$login.login(self.model.ename, self.model.password)
|
122
|
+
yield self.$appdata.load()
|
155
123
|
|
156
|
-
|
124
|
+
// 热力系统登录
|
157
125
|
if (Vue.$heatCompatibility) {
|
158
126
|
try {
|
159
|
-
|
160
|
-
|
161
|
-
}
|
162
|
-
if(self.$appdataHeat){
|
163
|
-
yield self.$appdataHeat.load()
|
164
|
-
}
|
127
|
+
yield self.$loginHeat.login(self.model.ename, self.model.password)
|
128
|
+
yield self.$appdataHeat.load()
|
165
129
|
} catch (e) {
|
166
130
|
console.log('热力系统登陆失败!')
|
167
131
|
}
|
168
132
|
}
|
133
|
+
|
169
134
|
yield self.$getConfig(self, 'Login')
|
170
135
|
console.log('登录配置', self.config)
|
171
136
|
if (self.config.isMac) {
|
172
137
|
// 获取该登录人分公司下的mac配置
|
173
|
-
let getMacs = yield self.$resetpost('
|
138
|
+
let getMacs = yield self.$resetpost('api/af-system/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
174
139
|
resolveMsg: null,
|
175
140
|
rejectMsg: null
|
176
141
|
}).catch(() => {
|
@@ -198,32 +163,18 @@ let saveGen = function *(self) {
|
|
198
163
|
throw new Error('Mac地址验证失败, 请联系管理员!!')
|
199
164
|
}
|
200
165
|
}
|
201
|
-
console.log(self.$login.depPrompt)
|
202
166
|
// 弱口令验证
|
203
|
-
|
204
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{8,16}$/.test(self.model.password))) {
|
167
|
+
if (self.config.weakPassword && !(/^(?:(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[^A-Za-z0-9])).*$/.test(self.model.password))) {
|
205
168
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
206
|
-
|
169
|
+
self.modifyPwShow = true
|
207
170
|
})
|
208
|
-
} else if (
|
171
|
+
} else if (self.config.depPrompt) {
|
209
172
|
self.depPromptShow = true
|
210
|
-
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
211
|
-
// 获取待办
|
212
|
-
self.getDaiBan()
|
213
|
-
|
214
|
-
}
|
215
|
-
if (self.$login.showDaiBan && self.$login.r.includes('登录预约信息')){
|
216
|
-
// 获取待办 在util下有个Daiban.jsond 文件 ,在里面进行配置,在功能权限界面增加登录预约信息
|
217
|
-
self.getDaiBanA()
|
218
|
-
}
|
219
173
|
} else {
|
220
|
-
self.$goto('home-page', {functions: self.$login.f
|
221
|
-
// if (self.otherLogin){
|
222
|
-
// window.history.pushState(null,null,'')
|
223
|
-
// }
|
174
|
+
self.$goto('home-page', {functions: self.$login.f})
|
224
175
|
if (self.$login) {
|
225
176
|
console.log('登录信息', self.$login.f)
|
226
|
-
global.login=self.$login.f
|
177
|
+
global.login = self.$login.f
|
227
178
|
console.log('登录信息', global.login)
|
228
179
|
}
|
229
180
|
}
|
@@ -236,9 +187,7 @@ let saveGen = function *(self) {
|
|
236
187
|
}
|
237
188
|
if (ret.status === 0) {
|
238
189
|
msg = '服务连接错误,请确认服务状态'
|
239
|
-
} else
|
240
|
-
msg = ret.data
|
241
|
-
} else if (ret.status === 710) {
|
190
|
+
} else {
|
242
191
|
msg = ret.data
|
243
192
|
}
|
244
193
|
self.createCode()
|
@@ -252,44 +201,31 @@ let saveGen = function *(self) {
|
|
252
201
|
}
|
253
202
|
export default {
|
254
203
|
title: '登录',
|
255
|
-
|
256
|
-
this.
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
this.loginother();
|
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
|
+
}
|
272
220
|
$('#login-button').click(function (event) {
|
273
221
|
event.preventDefault()
|
274
222
|
$('form').fadeOut(500)
|
275
|
-
})
|
276
|
-
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
277
|
-
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
278
|
-
console.log(subUrl)
|
279
|
-
this.model.ename = window.atob(subUrl[0])
|
280
|
-
this.model.password = window.atob(subUrl[1])
|
281
|
-
console.log('this.model.ename',this.model.ename)
|
282
|
-
this.otherLogin = true
|
283
|
-
this.confirm()
|
284
|
-
}else{
|
285
|
-
//跳转不需要验证码
|
223
|
+
}),
|
286
224
|
this.createCode()
|
287
|
-
}
|
288
|
-
console.log(this.$login)
|
289
225
|
},
|
290
|
-
data
|
226
|
+
data() {
|
291
227
|
return {
|
292
|
-
image:{
|
228
|
+
image: {
|
293
229
|
img1: '/images/newStyle/login-info.png',
|
294
230
|
img2: '/images/newStyle/login-con.png',
|
295
231
|
img3: '/images/newStyle/login-left.png',
|
@@ -301,183 +237,66 @@ export default {
|
|
301
237
|
config: {
|
302
238
|
isMac: false,
|
303
239
|
depPrompt: false,
|
304
|
-
weakPassword:
|
305
|
-
title: '燃气客服系统',
|
306
|
-
distanceLogin: false,
|
307
|
-
// 那些角色可以定时获取预约提示
|
308
|
-
isTip : false,
|
309
|
-
// 那些角色可以定时获取预约提示
|
310
|
-
msgRole : '预约处理人员',
|
311
|
-
// 定时获取提示间隔 单位:分钟
|
312
|
-
times: 25,
|
240
|
+
weakPassword: true
|
313
241
|
},
|
314
|
-
titleShow: true, //标题显示
|
315
|
-
otherLogin:false,
|
316
242
|
login: false,
|
317
243
|
depPromptShow: false,
|
318
244
|
model: {},
|
319
245
|
show: false,
|
320
246
|
checkCode: '',
|
321
|
-
login_do:true,
|
247
|
+
login_do: true,
|
322
248
|
picLyanzhengma: '',
|
323
249
|
// 修改密码弹框展示
|
324
250
|
modifyPwShow: false,
|
325
|
-
logoandroid:
|
326
|
-
showus:false,
|
327
|
-
notice:'',
|
328
|
-
loginotherflag :true,
|
329
|
-
// 报建待办
|
330
|
-
AppDaiBan: '',
|
331
|
-
//安检待办
|
332
|
-
safecheckDaiBan:[],
|
333
|
-
// 预约待处理
|
334
|
-
OrderDaiBan: ''
|
251
|
+
logoandroid: true
|
335
252
|
}
|
336
253
|
},
|
337
254
|
methods: {
|
338
|
-
|
339
|
-
let http = new HttpResetClass()
|
340
|
-
let condition = ''
|
341
|
-
if(this.$login.f.deps!=='柠条塔'){
|
342
|
-
condition = ` (f_orderstate != '预约成功' and f_orderstate != '预约失败' ) or f_orderstate is null `
|
343
|
-
} else {
|
344
|
-
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
345
|
-
}
|
346
|
-
await http.load('POST', '/rs/sql/singleTable', {data: {
|
347
|
-
tablename:'t_order_center',
|
348
|
-
condition:condition
|
349
|
-
}}, {
|
350
|
-
resolveMsg: null,
|
351
|
-
rejectMsg: null
|
352
|
-
}).then((res) => {
|
353
|
-
let OrderDaiBan = {}
|
354
|
-
res.data.forEach(item=>{
|
355
|
-
OrderDaiBan[item.f_ordertype] = OrderDaiBan[item.f_ordertype] || []
|
356
|
-
OrderDaiBan[item.f_ordertype].push(item)
|
357
|
-
})
|
358
|
-
this.OrderDaiBan = `您有${res.data.length}条需要处理的微信预约业务!`
|
359
|
-
if (res.data.length> 0){
|
360
|
-
this.OrderDaiBan += `其中 ${Object.keys(OrderDaiBan).map(key=>`${key}:${OrderDaiBan[key].length}条`).join(', ')}`
|
361
|
-
}
|
362
|
-
})
|
363
|
-
let data = {
|
364
|
-
condition: '1 = 1',
|
365
|
-
data: {
|
366
|
-
orgid: this.$login.f.orgid,
|
367
|
-
id: this.$login.f.id
|
368
|
-
}
|
369
|
-
}
|
370
|
-
await http.load('POST', '/rs/sql/checkuser', {data: data}, {
|
371
|
-
resolveMsg: null,
|
372
|
-
rejectMsg: null
|
373
|
-
}).then((res) => {
|
374
|
-
let AppDaiBan = {}
|
375
|
-
res.data.forEach(item=>{
|
376
|
-
AppDaiBan[item.defname] = AppDaiBan[item.defname] || []
|
377
|
-
AppDaiBan[item.defname].push(item)
|
378
|
-
})
|
379
|
-
this.AppDaiBan = `您有${res.data.length}条需要处理的报建待办业务!`
|
380
|
-
if (res.data.length> 0){
|
381
|
-
this.AppDaiBan += `其中 ${Object.keys(AppDaiBan).map(key=>`${key}:${AppDaiBan[key].length}条`).join(', ')}`
|
382
|
-
}
|
383
|
-
})
|
384
|
-
|
385
|
-
},
|
386
|
-
async getDaiBanA(){
|
387
|
-
// 是否全局开启待办通知
|
388
|
-
if (daibanJson.enable) {
|
389
|
-
console.log("当前获取到待办配置为" + JSON.stringify(daibanJson))
|
390
|
-
let http = new HttpResetClass()
|
391
|
-
let daibanArray = []
|
392
|
-
for (let daibanItem of daibanJson.daiban) {
|
393
|
-
console.log("开始处理待办任务:" + daibanItem.title + "当前任务状态:" + daibanItem.enable?"开启":"关闭" )
|
394
|
-
if (daibanItem.enable) { // 控制每一项通知是否开启
|
395
|
-
let postResult = ''; //提示信息为
|
396
|
-
await http.load("POST",daibanItem.url,{data:daibanItem.data},{ resolveMsg: null, rejectMsg: null})
|
397
|
-
.then((res)=>{
|
398
|
-
let responseData = res.data
|
399
|
-
for (let item of responseData) {
|
400
|
-
postResult += eval(daibanItem.text) + "\n"
|
401
|
-
}
|
402
|
-
postResult += '\t'
|
403
|
-
daibanArray.push({text:postResult,oldData:daibanItem})
|
404
|
-
})
|
405
|
-
}
|
406
|
-
}
|
407
|
-
console.log("安检数据为:"+JSON.stringify(daibanArray))
|
408
|
-
this.safecheckDaiBan = daibanArray
|
409
|
-
}else {
|
410
|
-
console.log("待办提醒全局关闭。")
|
411
|
-
}
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
},
|
417
|
-
|
418
|
-
async loginother(){
|
419
|
-
if (this.config.distanceLogin) {
|
420
|
-
if (this.$login && this.$login.getUrlParames('name') ) {
|
421
|
-
let ename = this.$login.getUrlParames('name');
|
422
|
-
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
423
|
-
if(logininfo.data){
|
424
|
-
if(logininfo.data.ename && logininfo.data.password){
|
425
|
-
this.model.ename = logininfo.data.ename
|
426
|
-
this.model.password =logininfo.data.password
|
427
|
-
let gen = saveGen(this)
|
428
|
-
return co(gen)
|
429
|
-
}
|
430
|
-
}
|
431
|
-
}
|
432
|
-
}
|
433
|
-
},
|
434
|
-
theme(){
|
255
|
+
theme() {
|
435
256
|
// var elementList = document.querySelectorAll('body');
|
436
257
|
// console.log(elementList)
|
437
258
|
// document.querySelectorAll('body')[0].className='themeTwo'
|
438
259
|
// var elementList = document.querySelectorAll('body');
|
439
260
|
// console.log(elementList)
|
440
261
|
},
|
441
|
-
onReady
|
262
|
+
onReady() {
|
442
263
|
this.$emit('ready')
|
443
264
|
},
|
444
|
-
confirm
|
445
|
-
this.login_do
|
446
|
-
// return
|
265
|
+
confirm(key) {
|
266
|
+
this.login_do = !this.login_do
|
447
267
|
if (key == 'key') {
|
448
268
|
$('form').fadeOut(500)
|
449
269
|
}
|
450
270
|
this.login = true
|
451
271
|
// let gen = saveGen(this)
|
452
272
|
// return co(gen)
|
453
|
-
if(
|
454
|
-
|
455
|
-
|
456
|
-
this.$showMessage("请输入验证码!").then(()=>{
|
273
|
+
if (this.$login.Verification) {
|
274
|
+
if (!this.picLyanzhengma) {
|
275
|
+
this.$showMessage("请输入验证码!").then(() => {
|
457
276
|
this.login = false
|
458
277
|
$('form').fadeIn(500)
|
459
278
|
this.createCode()
|
460
279
|
})
|
461
|
-
}else if(this.picLyanzhengma.toUpperCase() != this.checkCode
|
280
|
+
} else if (this.picLyanzhengma.toUpperCase() != this.checkCode) {
|
462
281
|
//若输入的验证码与产生的验证码不一致时
|
463
|
-
this.$showMessage("验证码不正确").then(()=>{
|
282
|
+
this.$showMessage("验证码不正确").then(() => {
|
464
283
|
this.login = false
|
465
284
|
$('form').fadeIn(500)
|
466
285
|
this.createCode();//刷新验证码
|
467
286
|
this.picLyanzhengma = '';
|
468
287
|
})
|
469
|
-
}else {
|
288
|
+
} else {
|
470
289
|
this.login = true
|
471
290
|
let gen = saveGen(this)
|
472
291
|
return co(gen)
|
473
292
|
}
|
474
|
-
}else {
|
293
|
+
} else {
|
475
294
|
this.login = true
|
476
295
|
let gen = saveGen(this)
|
477
296
|
return co(gen)
|
478
297
|
}
|
479
298
|
},
|
480
|
-
createCode(){
|
299
|
+
createCode() {
|
481
300
|
let code = "";
|
482
301
|
let codeLength = 4;//验证码的长度
|
483
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',
|
@@ -490,12 +309,12 @@ export default {
|
|
490
309
|
this.checkCode = code;//把code值赋给验证码
|
491
310
|
},
|
492
311
|
|
493
|
-
async depPromptConfirm
|
312
|
+
async depPromptConfirm() {
|
494
313
|
this.depPromptShow = false
|
495
|
-
return this.$goto('home-page', {functions: this.$login.f
|
314
|
+
return this.$goto('home-page', {functions: this.$login.f})
|
496
315
|
},
|
497
316
|
|
498
|
-
depPromptCancel
|
317
|
+
depPromptCancel() {
|
499
318
|
this.depPromptShow = false
|
500
319
|
this.createCode()
|
501
320
|
this.picLyanzhengma = ''
|
@@ -506,7 +325,7 @@ export default {
|
|
506
325
|
}
|
507
326
|
},
|
508
327
|
watch: {
|
509
|
-
'modifyPwShow'
|
328
|
+
'modifyPwShow'(val) {
|
510
329
|
if (!val) {
|
511
330
|
window.location.reload()
|
512
331
|
}
|
@@ -523,21 +342,20 @@ export default {
|
|
523
342
|
box-sizing: border-box;
|
524
343
|
margin: 0;
|
525
344
|
padding: 0;
|
526
|
-
font-weight:
|
527
|
-
outline: none;
|
345
|
+
font-weight: 300;
|
528
346
|
}
|
529
347
|
|
530
348
|
body {
|
531
349
|
font-family: 'Source Sans Pro', sans-serif;
|
532
350
|
color: white;
|
533
|
-
font-weight:
|
351
|
+
font-weight: 300;
|
534
352
|
}
|
535
353
|
|
536
354
|
body ::-webkit-input-placeholder {
|
537
355
|
/* WebKit browsers */
|
538
356
|
font-family: 'Source Sans Pro', sans-serif;
|
539
357
|
color: white;
|
540
|
-
font-weight:
|
358
|
+
font-weight: 300;
|
541
359
|
}
|
542
360
|
|
543
361
|
body :-moz-placeholder {
|
@@ -545,7 +363,7 @@ body :-moz-placeholder {
|
|
545
363
|
font-family: 'Source Sans Pro', sans-serif;
|
546
364
|
color: white;
|
547
365
|
opacity: 1;
|
548
|
-
font-weight:
|
366
|
+
font-weight: 300;
|
549
367
|
}
|
550
368
|
|
551
369
|
body ::-moz-placeholder {
|
@@ -553,14 +371,14 @@ body ::-moz-placeholder {
|
|
553
371
|
font-family: 'Source Sans Pro', sans-serif;
|
554
372
|
color: white;
|
555
373
|
opacity: 1;
|
556
|
-
font-weight:
|
374
|
+
font-weight: 300;
|
557
375
|
}
|
558
376
|
|
559
377
|
body :-ms-input-placeholder {
|
560
378
|
/* Internet Explorer 10+ */
|
561
379
|
font-family: 'Source Sans Pro', sans-serif;
|
562
380
|
color: white;
|
563
|
-
font-weight:
|
381
|
+
font-weight: 300;
|
564
382
|
}
|
565
383
|
|
566
384
|
.wrapper {
|
@@ -629,7 +447,7 @@ body :-ms-input-placeholder {
|
|
629
447
|
color: white;
|
630
448
|
-webkit-transition-duration: 0.25s;
|
631
449
|
transition-duration: 0.25s;
|
632
|
-
font-weight:
|
450
|
+
font-weight: 300;
|
633
451
|
}
|
634
452
|
|
635
453
|
.form input:hover {
|
@@ -841,28 +659,47 @@ body :-ms-input-placeholder {
|
|
841
659
|
-webkit-animation-delay: 11s;
|
842
660
|
animation-delay: 11s;
|
843
661
|
}
|
844
|
-
|
662
|
+
|
663
|
+
.logofooter {
|
845
664
|
font-size: 12px;
|
846
|
-
color
|
847
|
-
width:150px;
|
665
|
+
color: #fff;
|
666
|
+
width: 150px;
|
848
667
|
margin-left: 17px;
|
849
668
|
}
|
850
|
-
|
669
|
+
|
670
|
+
.logocontent {
|
851
671
|
font-size: 14px;
|
852
|
-
color
|
853
|
-
width:150px;
|
672
|
+
color: #fff;
|
673
|
+
width: 150px;
|
854
674
|
margin: 3px -15px;
|
855
675
|
}
|
676
|
+
|
677
|
+
.aodelogo {
|
678
|
+
background: url(../../../static/aodelogo.png);
|
679
|
+
background-size: 100%;
|
680
|
+
background-repeat: no-repeat;
|
681
|
+
}
|
682
|
+
|
856
683
|
.imglogo {
|
857
|
-
background:url(../../../static/
|
858
|
-
background-size:100%;
|
684
|
+
background: url(../../../static/ewmlogo.png);
|
685
|
+
background-size: 100%;
|
686
|
+
background-repeat: no-repeat;
|
859
687
|
}
|
688
|
+
|
860
689
|
.logoew {
|
861
|
-
width:120px;
|
862
|
-
height:120px;
|
863
|
-
float:right;
|
864
|
-
margin-right:8.5%;
|
865
|
-
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;
|
866
703
|
}
|
867
704
|
|
868
705
|
@-webkit-keyframes square {
|