system-clients 3.2.107-yzxt → 3.3.1-v3
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/package.info +1 -0
- package/package.json +1 -1
- package/src/components/Main.vue +22 -59
- package/src/components/server/Login.vue +16 -11
- package/src/components/server/ResSelect.vue +0 -9
- package/src/filiale/baole/Login.vue +14 -15
- package/src/filiale/chengtou/Login.vue +14 -15
- package/src/filiale/dongguan/Login.vue +14 -15
- package/src/filiale/dongguan/Main.vue +1 -1
- package/src/filiale/furuike/Login.vue +14 -15
- package/src/filiale/furuike/Main.vue +1 -1
- package/src/filiale/gehua/Main.vue +1 -1
- package/src/filiale/konggang/Login.vue +14 -15
- package/src/filiale/qianneng/Login.vue +14 -15
- package/src/filiale/qianneng/Main.vue +3 -3
- package/src/filiale/rizhao/Login.vue +14 -15
- package/src/filiale/rizhao/Main.vue +1 -1
- package/src/filiale/shiquan/Login.vue +14 -15
- package/src/filiale/tianyi/Login.vue +14 -15
- package/src/filiale/tongchuan/Login.vue +14 -15
- package/src/filiale/tongchuan/Main.vue +1 -1
- package/src/filiale/weinan/Main.vue +1 -1
- package/src/filiale/wenxi/Login.vue +14 -15
- package/src/filiale/wenxi/Main.vue +1 -1
- package/src/filiale/wuhai/Main.vue +1 -1
- package/src/filiale/yuchuan/Login.vue +14 -15
- package/src/filiale/yuchuan/Main.vue +1 -1
- package/src/filiale/zhoukou/Main.vue +1 -1
- package/src/plugins/EncryptUtil.js +1 -1
- package/src/plugins/GetLoginInfoService.js +18 -53
- package/src/system.js +2 -6
- package/.gradle/7.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/build.gradle +0 -6
- package/src/filiale/bayan/PosAdd.vue +0 -374
- package/src/filiale/bayan/PosList.vue +0 -349
- package/src/filiale/bayan/PosManage.vue +0 -138
- package/src/filiale/bayan/system.js +0 -6
package/package.info
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
此为纯v3项目使用的 systemclient_v3 分支
|
package/package.json
CHANGED
package/src/components/Main.vue
CHANGED
|
@@ -160,24 +160,6 @@
|
|
|
160
160
|
</footer>
|
|
161
161
|
</modal>
|
|
162
162
|
|
|
163
|
-
<modal v-show="notReportShow" :show.sync="notReportShow" :backdrop="false">
|
|
164
|
-
<header slot="modal-header" class="text-center">
|
|
165
|
-
<h3>未上报用户提醒</h3>
|
|
166
|
-
</header>
|
|
167
|
-
<article slot="modal-body" class="modal-body">
|
|
168
|
-
<form class="form-horizontal">
|
|
169
|
-
<div class="row">
|
|
170
|
-
<div class="col-sm-12">
|
|
171
|
-
<span style="font-weight:normal">{{ notReportTitle }}</span>
|
|
172
|
-
</div>
|
|
173
|
-
</div>
|
|
174
|
-
</form>
|
|
175
|
-
</article>
|
|
176
|
-
<footer slot="modal-footer" style="height: 8vh" class="modal-footer">
|
|
177
|
-
<button class="button_search" @click="notReportShow = false">确认</button>
|
|
178
|
-
</footer>
|
|
179
|
-
</modal>
|
|
180
|
-
|
|
181
163
|
<!-- 变更录入 模态框 -->
|
|
182
164
|
<add-changemsg :show="AddChangeMsgShow" v-on:toggle="AddChangeMsgShow = false"></add-changemsg>
|
|
183
165
|
<!-- 修改密码组件 -->
|
|
@@ -202,19 +184,19 @@ import vue from 'vue'
|
|
|
202
184
|
import co from 'co'
|
|
203
185
|
import {HttpResetClass} from "vue-client";
|
|
204
186
|
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
187
|
+
let getwartermakr = async function (self) {
|
|
188
|
+
let param = {
|
|
189
|
+
tablename: 't_singlevalue',
|
|
190
|
+
condition: " 1=1 and name=\'水印内容\'"
|
|
191
|
+
};
|
|
192
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
|
193
|
+
if (result && result.data.length > 0) {
|
|
194
|
+
self.showwatermakeflag = true;
|
|
195
|
+
createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
|
|
196
|
+
} else {
|
|
197
|
+
self.showwatermakeflag = false;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
218
200
|
|
|
219
201
|
let createWaterMark = function (userName) {
|
|
220
202
|
let style;
|
|
@@ -273,8 +255,6 @@ let createWaterMark = function (userName) {
|
|
|
273
255
|
// img2: '/images/lefticon/退出系统.png',
|
|
274
256
|
},
|
|
275
257
|
treeOrIcon: false,
|
|
276
|
-
notReportTitle: '',
|
|
277
|
-
notReportShow: false,
|
|
278
258
|
qrCode:false,
|
|
279
259
|
isManger: false,
|
|
280
260
|
show: false,
|
|
@@ -296,7 +276,7 @@ let createWaterMark = function (userName) {
|
|
|
296
276
|
}
|
|
297
277
|
},
|
|
298
278
|
ready() {
|
|
299
|
-
|
|
279
|
+
getwartermakr(this);
|
|
300
280
|
let component = this.$login.getUrlCompileParames('component')
|
|
301
281
|
if (component) {
|
|
302
282
|
this.isManger = true
|
|
@@ -355,28 +335,10 @@ let createWaterMark = function (userName) {
|
|
|
355
335
|
if (this.config.approve) {
|
|
356
336
|
this.getFlowList()
|
|
357
337
|
}
|
|
358
|
-
if (this.config.isGetNotReport) {
|
|
359
|
-
this.getNotReport()
|
|
360
|
-
}
|
|
361
338
|
// 获取卡表动态库到期时间
|
|
362
339
|
this.getExpireDate()
|
|
363
340
|
},
|
|
364
341
|
methods: {
|
|
365
|
-
async getNotReport(){
|
|
366
|
-
this.notReportTitle = ''
|
|
367
|
-
let http = new HttpResetClass()
|
|
368
|
-
await http.load('POST', 'rs/sql/getNotReportUserCount', {}, {
|
|
369
|
-
resolveMsg: null,
|
|
370
|
-
rejectMsg: null
|
|
371
|
-
}).then((res) => {
|
|
372
|
-
if (res.data.length > 0){
|
|
373
|
-
this.notReportTitle = `当前系统物联网表用户有${res.data[0].f_total_web_count}户,超过7天未上报有${res.data[0].f_greater_than_seven_days}户,7天及以内未上报有${res.data[0].f_less_than_orequalto_seven_days}户。如需查询详情,请到物联查询中“失联查询”获取详细信息!`
|
|
374
|
-
}
|
|
375
|
-
}).catch((e)=>{})
|
|
376
|
-
if(this.notReportTitle){
|
|
377
|
-
this.notReportShow = true
|
|
378
|
-
}
|
|
379
|
-
},
|
|
380
342
|
getOrderList(){
|
|
381
343
|
let times = this.config.times * 60 * 1000
|
|
382
344
|
console.log("=定时提示间隔=", times)
|
|
@@ -544,13 +506,14 @@ let createWaterMark = function (userName) {
|
|
|
544
506
|
}
|
|
545
507
|
if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('派单员') !== -1){
|
|
546
508
|
const data = {
|
|
547
|
-
condition:
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
509
|
+
"condition":
|
|
510
|
+
{
|
|
511
|
+
"condition":" 1=1 and processins.activities[ state='开始活动' and (defname in('站点接单'))].count(*) > 0 ",
|
|
512
|
+
"sign":"1=1"
|
|
513
|
+
},
|
|
514
|
+
"userid":this.functions.name
|
|
552
515
|
}
|
|
553
|
-
new HttpResetClass().load('POST','rs/
|
|
516
|
+
new HttpResetClass().load('POST','rs/path/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
554
517
|
if(res.data && res.data.n !== 0){
|
|
555
518
|
this.$showMessage('你有'+res.data.n+'个工单待处理,请尽快前往站点工单页面进行处理')
|
|
556
519
|
}
|
|
@@ -558,7 +521,7 @@ let createWaterMark = function (userName) {
|
|
|
558
521
|
}
|
|
559
522
|
},
|
|
560
523
|
openUrl() {
|
|
561
|
-
var url = `
|
|
524
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
562
525
|
window.open(url, '_blank')
|
|
563
526
|
},
|
|
564
527
|
hindsetting() {
|
|
@@ -205,9 +205,7 @@ let saveGen = function *(self) {
|
|
|
205
205
|
console.log(self.$login.depPrompt)
|
|
206
206
|
// 弱口令验证
|
|
207
207
|
//跳转过来的不进行验证
|
|
208
|
-
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(
|
|
209
|
-
!/(123|234|345|456|567|678|789|012|abc|bcd|cde|def|efg|fgh|ghi|hij|ijk|jkl|klm|lmn|mno|nop|opq|pqr|qrs|rst|stu|tuv|uvw|vwx|wxy|xyz|321|432|543|654|765|876|987|cba|dcba)/i.test(self.model.password)
|
|
210
|
-
)) {
|
|
208
|
+
if ((!self.otherLogin) && self.config.weakPassword && !(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*(123|321|abc|cba))[a-zA-Z\d!@#$%^&*()_+-=<>?]{8,16}$/.test(self.model.password))) {
|
|
211
209
|
self.$showMessage('登录系统: 此账户的密码过于简单,请修改密码后重新登陆!!!', ['confirm']).then((res) => {
|
|
212
210
|
self.modifyPwShow = true
|
|
213
211
|
})
|
|
@@ -230,8 +228,8 @@ let saveGen = function *(self) {
|
|
|
230
228
|
}
|
|
231
229
|
}
|
|
232
230
|
} catch (ret) {
|
|
233
|
-
self.$login.s = null
|
|
234
231
|
console.error('登录失败', ret)
|
|
232
|
+
self.$login.s = null
|
|
235
233
|
let msg
|
|
236
234
|
if (ret instanceof Error) {
|
|
237
235
|
msg = ret
|
|
@@ -244,11 +242,6 @@ let saveGen = function *(self) {
|
|
|
244
242
|
msg = ret.data
|
|
245
243
|
} else if (ret.status === 555) {
|
|
246
244
|
msg = ret.data
|
|
247
|
-
} else if(ret.status === 789) {
|
|
248
|
-
yield self.$showMessage(msg='您的密码已过期,请及时修改!!!', ['confirm']).then(() => {
|
|
249
|
-
self.modifyPwShow = true
|
|
250
|
-
})
|
|
251
|
-
return
|
|
252
245
|
}
|
|
253
246
|
self.createCode()
|
|
254
247
|
self.picLyanzhengma = ''
|
|
@@ -265,6 +258,20 @@ export default {
|
|
|
265
258
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
266
259
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
267
260
|
this.vTime = this.format(new Date(window.versionTime));
|
|
261
|
+
// try{
|
|
262
|
+
// let http = new HttpResetClass()
|
|
263
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
264
|
+
// {data:{
|
|
265
|
+
// tablename: 't_changedeclare',
|
|
266
|
+
// condition: ` f_type ='变更通知' `
|
|
267
|
+
// }
|
|
268
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
269
|
+
// if(res.data.length>0){
|
|
270
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
271
|
+
// this.notice=res.data[0].f_change_message
|
|
272
|
+
// }
|
|
273
|
+
// }catch(e){}
|
|
274
|
+
|
|
268
275
|
this.loginother();
|
|
269
276
|
$('#login-button').click(function (event) {
|
|
270
277
|
event.preventDefault()
|
|
@@ -272,10 +279,8 @@ export default {
|
|
|
272
279
|
})
|
|
273
280
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
274
281
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
275
|
-
console.log(subUrl)
|
|
276
282
|
this.model.ename = window.atob(subUrl[0])
|
|
277
283
|
this.model.password = window.atob(subUrl[1])
|
|
278
|
-
console.log('this.model.ename',this.model.ename)
|
|
279
284
|
this.otherLogin = true
|
|
280
285
|
this.confirm()
|
|
281
286
|
}else{
|
|
@@ -161,15 +161,6 @@
|
|
|
161
161
|
'parentresid'(){
|
|
162
162
|
this.dealdata()
|
|
163
163
|
},
|
|
164
|
-
initresid: {
|
|
165
|
-
handler(newVal, oldVal) {
|
|
166
|
-
// 避免重复触发
|
|
167
|
-
if (JSON.stringify(newVal) === JSON.stringify(oldVal)) {
|
|
168
|
-
return;
|
|
169
|
-
}
|
|
170
|
-
this.dealdata();
|
|
171
|
-
},
|
|
172
|
-
}
|
|
173
164
|
},
|
|
174
165
|
}
|
|
175
166
|
</script>
|
|
@@ -235,6 +235,7 @@ let saveGen = function *(self) {
|
|
|
235
235
|
|
|
236
236
|
} catch (ret) {
|
|
237
237
|
console.error('登录失败', ret)
|
|
238
|
+
self.$login.s = null
|
|
238
239
|
let msg
|
|
239
240
|
if (ret instanceof Error) {
|
|
240
241
|
msg = ret
|
|
@@ -261,19 +262,19 @@ export default {
|
|
|
261
262
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
262
263
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
263
264
|
this.vTime = this.format(new Date(window.versionTime));
|
|
264
|
-
try{
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
}catch(e){}
|
|
265
|
+
// try{
|
|
266
|
+
// let http = new HttpResetClass()
|
|
267
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
268
|
+
// {data:{
|
|
269
|
+
// tablename: 't_changedeclare',
|
|
270
|
+
// condition: ` f_type ='变更通知' `
|
|
271
|
+
// }
|
|
272
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
273
|
+
// if(res.data.length>0){
|
|
274
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
275
|
+
// this.notice=res.data[0].f_change_message
|
|
276
|
+
// }
|
|
277
|
+
// }catch(e){}
|
|
277
278
|
|
|
278
279
|
this.loginother();
|
|
279
280
|
$('#login-button').click(function (event) {
|
|
@@ -282,10 +283,8 @@ export default {
|
|
|
282
283
|
})
|
|
283
284
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
284
285
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
285
|
-
console.log(subUrl)
|
|
286
286
|
this.model.ename = window.atob(subUrl[0])
|
|
287
287
|
this.model.password = window.atob(subUrl[1])
|
|
288
|
-
console.log('this.model.ename',this.model.ename)
|
|
289
288
|
this.otherLogin = true
|
|
290
289
|
this.confirm()
|
|
291
290
|
}else{
|
|
@@ -233,6 +233,7 @@ let saveGen = function *(self) {
|
|
|
233
233
|
|
|
234
234
|
} catch (ret) {
|
|
235
235
|
console.error('登录失败', ret)
|
|
236
|
+
self.$login.s = null
|
|
236
237
|
let msg
|
|
237
238
|
if (ret instanceof Error) {
|
|
238
239
|
msg = ret
|
|
@@ -259,19 +260,19 @@ export default {
|
|
|
259
260
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
260
261
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
261
262
|
this.vTime = this.format(new Date(window.versionTime));
|
|
262
|
-
try{
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
}catch(e){}
|
|
263
|
+
// try{
|
|
264
|
+
// let http = new HttpResetClass()
|
|
265
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
266
|
+
// {data:{
|
|
267
|
+
// tablename: 't_changedeclare',
|
|
268
|
+
// condition: ` f_type ='变更通知' `
|
|
269
|
+
// }
|
|
270
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
271
|
+
// if(res.data.length>0){
|
|
272
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
273
|
+
// this.notice=res.data[0].f_change_message
|
|
274
|
+
// }
|
|
275
|
+
// }catch(e){}
|
|
275
276
|
|
|
276
277
|
this.loginother();
|
|
277
278
|
$('#login-button').click(function (event) {
|
|
@@ -280,10 +281,8 @@ export default {
|
|
|
280
281
|
})
|
|
281
282
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
282
283
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
283
|
-
console.log(subUrl)
|
|
284
284
|
this.model.ename = window.atob(subUrl[0])
|
|
285
285
|
this.model.password = window.atob(subUrl[1])
|
|
286
|
-
console.log('this.model.ename',this.model.ename)
|
|
287
286
|
this.otherLogin = true
|
|
288
287
|
this.confirm()
|
|
289
288
|
}else{
|
|
@@ -239,6 +239,7 @@ let saveGen = function *(self) {
|
|
|
239
239
|
|
|
240
240
|
} catch (ret) {
|
|
241
241
|
console.error('登录失败', ret)
|
|
242
|
+
self.$login.s = null
|
|
242
243
|
let msg
|
|
243
244
|
if (ret instanceof Error) {
|
|
244
245
|
msg = ret
|
|
@@ -263,19 +264,19 @@ export default {
|
|
|
263
264
|
title: '登录',
|
|
264
265
|
async ready () {
|
|
265
266
|
this.titleShow = true
|
|
266
|
-
try{
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}catch(e){}
|
|
267
|
+
// try{
|
|
268
|
+
// let http = new HttpResetClass()
|
|
269
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
270
|
+
// {data:{
|
|
271
|
+
// tablename: 't_changedeclare',
|
|
272
|
+
// condition: ` f_type ='变更通知' `
|
|
273
|
+
// }
|
|
274
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
275
|
+
// if(res.data.length>0){
|
|
276
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
277
|
+
// this.notice=res.data[0].f_change_message
|
|
278
|
+
// }
|
|
279
|
+
// }catch(e){}
|
|
279
280
|
|
|
280
281
|
this.loginother();
|
|
281
282
|
$('#login-button').click(function (event) {
|
|
@@ -284,10 +285,8 @@ export default {
|
|
|
284
285
|
})
|
|
285
286
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
286
287
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
287
|
-
console.log(subUrl)
|
|
288
288
|
this.model.ename = window.atob(subUrl[0])
|
|
289
289
|
this.model.password = window.atob(subUrl[1])
|
|
290
|
-
console.log('this.model.ename',this.model.ename)
|
|
291
290
|
this.otherLogin = true
|
|
292
291
|
this.confirm()
|
|
293
292
|
}else{
|
|
@@ -313,7 +313,7 @@ export default {
|
|
|
313
313
|
}
|
|
314
314
|
},
|
|
315
315
|
openUrl() {
|
|
316
|
-
var url = `
|
|
316
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
317
317
|
window.open(url, '_blank')
|
|
318
318
|
},
|
|
319
319
|
hindsetting() {
|
|
@@ -227,6 +227,7 @@ let saveGen = function *(self) {
|
|
|
227
227
|
|
|
228
228
|
} catch (ret) {
|
|
229
229
|
console.error('登录失败', ret)
|
|
230
|
+
self.$login.s = null
|
|
230
231
|
let msg
|
|
231
232
|
if (ret instanceof Error) {
|
|
232
233
|
msg = ret
|
|
@@ -292,19 +293,19 @@ export default {
|
|
|
292
293
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
293
294
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
294
295
|
this.vTime = this.format(new Date(window.versionTime));
|
|
295
|
-
try{
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
}catch(e){}
|
|
296
|
+
// try{
|
|
297
|
+
// let http = new HttpResetClass()
|
|
298
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
299
|
+
// {data:{
|
|
300
|
+
// tablename: 't_changedeclare',
|
|
301
|
+
// condition: ` f_type ='变更通知' `
|
|
302
|
+
// }
|
|
303
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
304
|
+
// if(res.data.length>0){
|
|
305
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
306
|
+
// this.notice=res.data[0].f_change_message
|
|
307
|
+
// }
|
|
308
|
+
// }catch(e){}
|
|
308
309
|
|
|
309
310
|
this.loginother();
|
|
310
311
|
$('#login-button').click(function (event) {
|
|
@@ -313,10 +314,8 @@ export default {
|
|
|
313
314
|
})
|
|
314
315
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
315
316
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
316
|
-
console.log(subUrl)
|
|
317
317
|
this.model.ename = window.atob(subUrl[0])
|
|
318
318
|
this.model.password = window.atob(subUrl[1])
|
|
319
|
-
console.log('this.model.ename',this.model.ename)
|
|
320
319
|
this.otherLogin = true
|
|
321
320
|
this.confirm()
|
|
322
321
|
}else{
|
|
@@ -425,7 +425,7 @@ export default {
|
|
|
425
425
|
}
|
|
426
426
|
},
|
|
427
427
|
openUrl() {
|
|
428
|
-
var url = `
|
|
428
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
429
429
|
window.open(url, '_blank')
|
|
430
430
|
},
|
|
431
431
|
hindsetting() {
|
|
@@ -363,7 +363,7 @@ export default {
|
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
openUrl() {
|
|
366
|
-
var url = `
|
|
366
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
367
367
|
window.open(url, '_blank')
|
|
368
368
|
},
|
|
369
369
|
hindsetting() {
|
|
@@ -217,6 +217,7 @@
|
|
|
217
217
|
|
|
218
218
|
} catch (ret) {
|
|
219
219
|
console.error('登录失败', ret)
|
|
220
|
+
self.$login.s = null
|
|
220
221
|
let msg
|
|
221
222
|
if (ret instanceof Error) {
|
|
222
223
|
msg = ret
|
|
@@ -240,19 +241,19 @@
|
|
|
240
241
|
export default {
|
|
241
242
|
title: '登录',
|
|
242
243
|
async ready () {
|
|
243
|
-
try{
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
}catch(e){}
|
|
244
|
+
// try{
|
|
245
|
+
// let http = new HttpResetClass()
|
|
246
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
247
|
+
// {data:{
|
|
248
|
+
// tablename: 't_changedeclare',
|
|
249
|
+
// condition: ` f_type ='变更通知' `
|
|
250
|
+
// }
|
|
251
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
252
|
+
// if(res.data.length>0){
|
|
253
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
254
|
+
// this.notice=res.data[0].f_change_message
|
|
255
|
+
// }
|
|
256
|
+
// }catch(e){}
|
|
256
257
|
|
|
257
258
|
this.loginother();
|
|
258
259
|
$('#login-button').click(function (event) {
|
|
@@ -261,10 +262,8 @@
|
|
|
261
262
|
})
|
|
262
263
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
263
264
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
264
|
-
console.log(subUrl)
|
|
265
265
|
this.model.ename = window.atob(subUrl[0])
|
|
266
266
|
this.model.password = window.atob(subUrl[1])
|
|
267
|
-
console.log('this.model.ename',this.model.ename)
|
|
268
267
|
this.otherLogin = true
|
|
269
268
|
this.confirm()
|
|
270
269
|
}else{
|
|
@@ -230,6 +230,7 @@ let saveGen = function *(self) {
|
|
|
230
230
|
}
|
|
231
231
|
} catch (ret) {
|
|
232
232
|
console.error('登录失败', ret)
|
|
233
|
+
self.$login.s = null
|
|
233
234
|
let msg
|
|
234
235
|
if (ret instanceof Error) {
|
|
235
236
|
msg = ret
|
|
@@ -258,19 +259,19 @@ export default {
|
|
|
258
259
|
this.titleShow = this.$appdata.getSingleValue('关于我们')
|
|
259
260
|
window.versionTime = window.versionTime ? window.versionTime : new Date().getTime()
|
|
260
261
|
this.vTime = this.format(new Date(window.versionTime));
|
|
261
|
-
try{
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}catch(e){}
|
|
262
|
+
// try{
|
|
263
|
+
// let http = new HttpResetClass()
|
|
264
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
265
|
+
// {data:{
|
|
266
|
+
// tablename: 't_changedeclare',
|
|
267
|
+
// condition: ` f_type ='变更通知' `
|
|
268
|
+
// }
|
|
269
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
270
|
+
// if(res.data.length>0){
|
|
271
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
272
|
+
// this.notice=res.data[0].f_change_message
|
|
273
|
+
// }
|
|
274
|
+
// }catch(e){}
|
|
274
275
|
|
|
275
276
|
this.loginother();
|
|
276
277
|
$('#login-button').click(function (event) {
|
|
@@ -294,10 +295,8 @@ export default {
|
|
|
294
295
|
this.confirm()
|
|
295
296
|
} else if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
296
297
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
297
|
-
console.log(subUrl)
|
|
298
298
|
this.model.ename = window.atob(subUrl[0])
|
|
299
299
|
this.model.password = window.atob(subUrl[1])
|
|
300
|
-
console.log('this.model.ename',this.model.ename)
|
|
301
300
|
this.otherLogin = true
|
|
302
301
|
this.confirm()
|
|
303
302
|
}else{
|
|
@@ -359,12 +359,12 @@ export default {
|
|
|
359
359
|
const data = {
|
|
360
360
|
"condition":
|
|
361
361
|
{
|
|
362
|
-
"condition"
|
|
362
|
+
"condition":" 1=1 ",
|
|
363
363
|
"sign":"1=1"
|
|
364
364
|
},
|
|
365
365
|
"userid":this.functions.name
|
|
366
366
|
}
|
|
367
|
-
new HttpResetClass().load('POST','rs/
|
|
367
|
+
new HttpResetClass().load('POST','rs/path/operatorService/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
|
368
368
|
if(res.data && res.data.n !== 0){
|
|
369
369
|
this.$showMessage('你有'+res.data.n+'个工单待处理,请尽快前往站点工单页面进行处理')
|
|
370
370
|
}
|
|
@@ -372,7 +372,7 @@ export default {
|
|
|
372
372
|
}
|
|
373
373
|
},
|
|
374
374
|
openUrl() {
|
|
375
|
-
var url = `
|
|
375
|
+
var url = `https://liuli.aofengcloud.com:31467`
|
|
376
376
|
window.open(url, '_blank')
|
|
377
377
|
},
|
|
378
378
|
hindsetting() {
|
|
@@ -204,6 +204,7 @@ let saveGen = function *(self) {
|
|
|
204
204
|
|
|
205
205
|
} catch (ret) {
|
|
206
206
|
console.error('登录失败', ret)
|
|
207
|
+
self.$login.s = null
|
|
207
208
|
let msg
|
|
208
209
|
if (ret instanceof Error) {
|
|
209
210
|
msg = ret
|
|
@@ -227,19 +228,19 @@ let saveGen = function *(self) {
|
|
|
227
228
|
export default {
|
|
228
229
|
title: '登录',
|
|
229
230
|
async ready () {
|
|
230
|
-
try{
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
}catch(e){}
|
|
231
|
+
// try{
|
|
232
|
+
// let http = new HttpResetClass()
|
|
233
|
+
// let res = await http.load('POST', 'rs/sql/singleTable',
|
|
234
|
+
// {data:{
|
|
235
|
+
// tablename: 't_changedeclare',
|
|
236
|
+
// condition: ` f_type ='变更通知' `
|
|
237
|
+
// }
|
|
238
|
+
// }, {resolveMsg: null, rejectMsg: null})
|
|
239
|
+
// if(res.data.length>0){
|
|
240
|
+
// console.log("---------------获取通知",res.data[0].f_change_message)
|
|
241
|
+
// this.notice=res.data[0].f_change_message
|
|
242
|
+
// }
|
|
243
|
+
// }catch(e){}
|
|
243
244
|
|
|
244
245
|
this.loginother();
|
|
245
246
|
$('#login-button').click(function (event) {
|
|
@@ -248,10 +249,8 @@ export default {
|
|
|
248
249
|
})
|
|
249
250
|
if (window.location.search && window.location.search.indexOf('af_key') !== -1&& window.location.search.indexOf('af_n') !== -1) {
|
|
250
251
|
const subUrl = window.location.search.replace('?af_key=','').split('&af_n=')
|
|
251
|
-
console.log(subUrl)
|
|
252
252
|
this.model.ename = window.atob(subUrl[0])
|
|
253
253
|
this.model.password = window.atob(subUrl[1])
|
|
254
|
-
console.log('this.model.ename',this.model.ename)
|
|
255
254
|
this.otherLogin = true
|
|
256
255
|
this.confirm()
|
|
257
256
|
}else{
|