system-clients 4.0.12 → 4.0.14
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.json +1 -1
- package/src/components/server/ModifyPw.vue +1 -1
- package/src/filiale/shimen/Main.vue +45 -2
- package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
- package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +0 -2
- package/.gradle/buildOutputCleanup/cache.properties.lock +0 -1
package/package.json
CHANGED
@@ -63,7 +63,7 @@
|
|
63
63
|
// let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
|
64
64
|
// Util.f.password = self.deliver.newpassword
|
65
65
|
// todo v4
|
66
|
-
let res = yield self.$resetpost('/
|
66
|
+
let res = yield self.$resetpost('/api/af-system/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
|
67
67
|
self.$login.f.password = self.deliver.newpassword
|
68
68
|
if (res.data) {
|
69
69
|
console.log("修改密码返回:" , res.data)
|
@@ -5,6 +5,11 @@
|
|
5
5
|
</span>
|
6
6
|
<div class='flex-row system-main' id="box" v-el:box v-if="!isManger">
|
7
7
|
<div class="auto login-operator1" v-if="$refs.mic.tabs.length === 0">
|
8
|
+
<a style="cursor: pointer;" @click="goArrea()" v-if="getArrea">
|
9
|
+
<span class="arrea-text">共有</span>
|
10
|
+
<span class="arrea-num ">{{ arreaCount }}</span>
|
11
|
+
<span class="arrea-text">户物联网用户严重透支</span>
|
12
|
+
</a>
|
8
13
|
<span>
|
9
14
|
<img
|
10
15
|
src="../../assets/people.png" height="15" width="15">
|
@@ -162,7 +167,7 @@
|
|
162
167
|
import vue from 'vue'
|
163
168
|
import co from 'co'
|
164
169
|
import {HttpResetClass} from "vue-client";
|
165
|
-
|
170
|
+
import * as Util from './Util'
|
166
171
|
let getwartermakr = async function (self) {
|
167
172
|
let param = {
|
168
173
|
tablename: 't_singlevalue',
|
@@ -220,6 +225,9 @@ export default {
|
|
220
225
|
newTipShow: false,
|
221
226
|
newTipContextShow: false,
|
222
227
|
AppDaiBan: '',
|
228
|
+
getArrea:false,
|
229
|
+
arreaCount:null,
|
230
|
+
intervalarrea: null,
|
223
231
|
OrderDaiBan: '',
|
224
232
|
flowDaiBan: '',
|
225
233
|
// 左侧树下部三个小图标
|
@@ -269,6 +277,10 @@ export default {
|
|
269
277
|
this.show = true
|
270
278
|
})
|
271
279
|
}
|
280
|
+
this.getArrea = this.$appdata.getSingleValue("开启物联网欠费提醒")
|
281
|
+
if(this.getArrea){
|
282
|
+
this.getTimesArrea()
|
283
|
+
}
|
272
284
|
console.log("系统名称", this.$appdata.getSingleValue("系统名称"))
|
273
285
|
this.systemname = this.$appdata.getSingleValue("系统名称") ? this.$appdata.getSingleValue("系统名称") : '客服系统'
|
274
286
|
// let oBox = this.getElement("box")
|
@@ -320,6 +332,32 @@ export default {
|
|
320
332
|
this.getExpireDate()
|
321
333
|
},
|
322
334
|
methods: {
|
335
|
+
getTimesArrea(){
|
336
|
+
// 立即执行一次
|
337
|
+
this.getArreaData();
|
338
|
+
let teltimes = 10*60*1000 // 10分钟
|
339
|
+
try {
|
340
|
+
this.intervalarrea =setInterval(()=>{
|
341
|
+
this.getArreaData()
|
342
|
+
},teltimes)
|
343
|
+
}catch (e) {
|
344
|
+
console.log('捕获到异常', e)
|
345
|
+
}
|
346
|
+
},
|
347
|
+
goArrea(){
|
348
|
+
console.log('触发点击时间')
|
349
|
+
this.$goto('arrearage-query', {f: this.$login.f}, 'main')
|
350
|
+
},
|
351
|
+
getArreaData(){
|
352
|
+
let param = {
|
353
|
+
startDate:Util.toStandardDateString()+' 00:00:00',
|
354
|
+
endDate:Util.toStandardDateString()+' 23:59:59',
|
355
|
+
condition:`s.f_orgid in (${this.$login.f.orgid})`
|
356
|
+
}
|
357
|
+
this.$resetpost('api/af-revenue/sql/arrearageQuery',{data:param},{rejectMsg:null,resolveMsg:null,newly:true}).then((res) => {
|
358
|
+
this.arreaCount = res.data.length
|
359
|
+
})
|
360
|
+
},
|
323
361
|
getOrderList() {
|
324
362
|
let times = this.config.times * 60 * 1000
|
325
363
|
console.log("=定时提示间隔=", times)
|
@@ -989,7 +1027,12 @@ export default {
|
|
989
1027
|
padding: 4px 10px 4px 10px;
|
990
1028
|
border-radius: 2px;
|
991
1029
|
}
|
992
|
-
|
1030
|
+
.arrea-text{
|
1031
|
+
color:darkred;font-weight: bolder
|
1032
|
+
}
|
1033
|
+
.arrea-num{
|
1034
|
+
color:cornflowerblue;font-weight: bolder
|
1035
|
+
}
|
993
1036
|
.width-80 {
|
994
1037
|
width: 80px;
|
995
1038
|
}
|
Binary file
|
Binary file
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
|