system-clients 3.2.64 → 3.2.65
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/Main.vue +15 -1
package/package.json
CHANGED
package/src/components/Main.vue
CHANGED
@@ -215,6 +215,7 @@ let createWaterMark = function (userName) {
|
|
215
215
|
return {
|
216
216
|
// 页面提示信息定时器
|
217
217
|
interval: null,
|
218
|
+
intervaltx: null,
|
218
219
|
newTipShow: false,
|
219
220
|
newTipContextShow: false,
|
220
221
|
AppDaiBan: '',
|
@@ -291,7 +292,10 @@ let createWaterMark = function (userName) {
|
|
291
292
|
// return false
|
292
293
|
// }
|
293
294
|
this.changeShow()
|
294
|
-
this.
|
295
|
+
const istelRemindTimes =this.$appdata.getSingleValue("是否开启工单提醒定时器")
|
296
|
+
if(istelRemindTimes=='是'){
|
297
|
+
this.getTimesgotoWorkOrderSite()
|
298
|
+
}
|
295
299
|
const isapplyRemind =this.$appdata.getSingleValue("是否开启提醒")
|
296
300
|
const times =this.$appdata.getSingleValue("提示间隔分钟")
|
297
301
|
if(isapplyRemind=='是'){
|
@@ -313,6 +317,16 @@ let createWaterMark = function (userName) {
|
|
313
317
|
console.log('捕获到异常', error)
|
314
318
|
}
|
315
319
|
},
|
320
|
+
getTimesgotoWorkOrderSite(){
|
321
|
+
let teltimes = 2*60*1000 // 两分钟
|
322
|
+
try {
|
323
|
+
this.intervaltx =setInterval(()=>{
|
324
|
+
this.gotoWorkOrderSite()
|
325
|
+
},teltimes)
|
326
|
+
}catch (e) {
|
327
|
+
console.log('捕获到异常', e)
|
328
|
+
}
|
329
|
+
},
|
316
330
|
async getDaiBan(){
|
317
331
|
this.OrderDaiBan = ''
|
318
332
|
this.AppDaiBan = ''
|