system-phone 3.0.43 → 3.0.45
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/assets//350/247/243/351/231/244/351/231/220/350/264/255.png +0 -0
- package/src/components/AttendManage.vue +64 -8
- package/src/components/LoginApp.vue +1 -2
- package/src/components/OnlineManage.vue +363 -256
- package/src/components/PhoneChangemeterInfo.vue +116 -116
- package/src/components/PhoneMeterInfo.vue +132 -132
- package/src/components/PhoneUserFind.vue +138 -138
- package/src/components/RightTree.vue +217 -217
- package/src/components/ToolsPage.vue +176 -176
- package/src/components/info/ConfigInfo.vue +122 -122
- package/src/components/info/FindUserInfo.vue +157 -157
- package/src/components/info/InfoTable.vue +37 -37
- package/src/systemphonegrid.js +206 -206
package/package.json
CHANGED
|
Binary file
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
componentName: 'repair-first',
|
|
80
80
|
sourcet: '竖屏',
|
|
81
81
|
meterNum:null,
|
|
82
|
-
isShowRedNum:this.$appdata.getSingleValue('
|
|
82
|
+
isShowRedNum:this.$appdata.getSingleValue('红点'),
|
|
83
83
|
applyType: '', // 报建类型
|
|
84
84
|
// applyTypes:this.$appdata.getParam("手机报建类型"),
|
|
85
85
|
applyTypes: [{label: '散户报建', value: '散户报建'}, {label: '工商户报建', value: '工商户报建'}, {
|
|
@@ -94,9 +94,8 @@
|
|
|
94
94
|
},
|
|
95
95
|
ready () {
|
|
96
96
|
this.getNoTagTabs()
|
|
97
|
-
this.getmeterNum()
|
|
98
|
-
this.getModelSum()
|
|
99
97
|
},
|
|
98
|
+
|
|
100
99
|
methods: {
|
|
101
100
|
click (row) {
|
|
102
101
|
let _this = this
|
|
@@ -195,6 +194,18 @@
|
|
|
195
194
|
if (bbb.code === 200) {
|
|
196
195
|
_this.repairNum = bbb.data.length
|
|
197
196
|
}
|
|
197
|
+
this.timeoutRepair = window.setInterval(function() {
|
|
198
|
+
let result = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
|
|
199
|
+
if (result.code === 200) {
|
|
200
|
+
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
201
|
+
var crv = {
|
|
202
|
+
title: '维修待办',
|
|
203
|
+
sum: result.data.length
|
|
204
|
+
}
|
|
205
|
+
_this.repairNum = result.data.length
|
|
206
|
+
// _this.changesum(crv)
|
|
207
|
+
}
|
|
208
|
+
}, 100000)
|
|
198
209
|
},
|
|
199
210
|
getSafeCheck(){
|
|
200
211
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
@@ -205,16 +216,41 @@
|
|
|
205
216
|
if (aaa.code === 200) {
|
|
206
217
|
_this.safeckNum = aaa.data.length
|
|
207
218
|
}
|
|
219
|
+
this.timeoutRepair = window.setInterval(function() {
|
|
220
|
+
let result = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
|
|
221
|
+
if (result.code === 200) {
|
|
222
|
+
console.log('查询得到的安检代办' + JSON.stringify(result))
|
|
223
|
+
var crv = {
|
|
224
|
+
title: '安检待办',
|
|
225
|
+
sum: result.data.length
|
|
226
|
+
}
|
|
227
|
+
_this.safeckNum = result.data.length
|
|
228
|
+
// _this.changesum(crv)
|
|
229
|
+
}
|
|
230
|
+
}, 100000)
|
|
208
231
|
},
|
|
209
232
|
getZhihuan(){
|
|
210
233
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
211
234
|
return
|
|
212
235
|
}
|
|
236
|
+
var _this = this;
|
|
237
|
+
this.timeoutZhihuan = window.setInterval(function() {
|
|
238
|
+
let result = _this.$androidUtil.path({'alias':`getSubstitMobile`,'data':{condition:'1 = 1'}})
|
|
239
|
+
if (result.code === 200) {
|
|
240
|
+
console.log('查询得到的代办2' + JSON.stringify(result))
|
|
241
|
+
var crv = {
|
|
242
|
+
title: '置换待办',
|
|
243
|
+
sum: result.data.length
|
|
244
|
+
}
|
|
245
|
+
_this.changesum(crv)
|
|
246
|
+
}
|
|
247
|
+
}, 100000)
|
|
213
248
|
},
|
|
214
249
|
changesum(titdata){
|
|
215
250
|
for(var i = 0;i<this.tabs.length;i++){
|
|
216
251
|
if(this.tabs[i].name == titdata.title){
|
|
217
252
|
this.tabs[i].icon = titdata.sum + '单'
|
|
253
|
+
console.log(JSON.stringify(this.tabs[i].icon))
|
|
218
254
|
return
|
|
219
255
|
}
|
|
220
256
|
}
|
|
@@ -260,20 +296,38 @@
|
|
|
260
296
|
}
|
|
261
297
|
}
|
|
262
298
|
}
|
|
263
|
-
this.getmeterNum()
|
|
264
|
-
this.getModelSum()
|
|
299
|
+
// this.getmeterNum()
|
|
300
|
+
// this.getModelSum()
|
|
265
301
|
},
|
|
266
302
|
getmeterNum() {
|
|
267
303
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
268
304
|
return
|
|
269
305
|
}
|
|
306
|
+
window.setInterval( ()=> {
|
|
307
|
+
let val = {
|
|
308
|
+
items:"*",
|
|
309
|
+
tablename:"t_handplan",
|
|
310
|
+
orderitem:"id desc",
|
|
311
|
+
condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
|
|
312
|
+
f_orgid:`'${Vue.user.orgid}'`
|
|
313
|
+
}
|
|
314
|
+
let http = new HttpResetClass()
|
|
315
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
|
|
316
|
+
resolveMsg: null,
|
|
317
|
+
rejectMsg: null
|
|
318
|
+
}).then((res) => {
|
|
319
|
+
this.meterNum = res.data.length
|
|
320
|
+
|
|
321
|
+
console.log("this.meterNum的值是:",this.meterNum)
|
|
322
|
+
})
|
|
323
|
+
},10000)
|
|
270
324
|
this.timeOutGetmeterNum()
|
|
271
325
|
},
|
|
272
326
|
timeOutGetmeterNum(){
|
|
273
327
|
let val = {
|
|
274
|
-
items:"
|
|
328
|
+
items:"*",
|
|
275
329
|
tablename:"t_handplan",
|
|
276
|
-
orderitem:"
|
|
330
|
+
orderitem:"id desc",
|
|
277
331
|
condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
|
|
278
332
|
f_orgid:`'${Vue.user.orgid}'`
|
|
279
333
|
}
|
|
@@ -282,7 +336,7 @@
|
|
|
282
336
|
resolveMsg: null,
|
|
283
337
|
rejectMsg: null
|
|
284
338
|
}).then((res) => {
|
|
285
|
-
this.meterNum = res.data
|
|
339
|
+
this.meterNum = res.data.length
|
|
286
340
|
})
|
|
287
341
|
},
|
|
288
342
|
imgback(val){
|
|
@@ -292,11 +346,13 @@
|
|
|
292
346
|
back(){
|
|
293
347
|
this.titleName = '主界面'
|
|
294
348
|
this.isMenu = true
|
|
349
|
+
|
|
295
350
|
},
|
|
296
351
|
gotopage(param,title) {
|
|
297
352
|
if(title === '工程发起'){
|
|
298
353
|
this.showModal = !this.showModal
|
|
299
354
|
}else{
|
|
355
|
+
console.log('进入子组件')
|
|
300
356
|
var prpdata = {
|
|
301
357
|
_this:this,
|
|
302
358
|
title:title,
|
|
@@ -215,11 +215,10 @@ export default {
|
|
|
215
215
|
if ((JSON.stringify(ret.data).startsWith("{") || JSON.stringify(ret.data).data.startsWith("[")) && ret.data.code && ret.data.msg && ret.data.code !== 200) {
|
|
216
216
|
throw {status: ret.data.code, message: ret.data.msg}
|
|
217
217
|
}
|
|
218
|
-
|
|
219
218
|
} catch (e) {
|
|
220
219
|
if (Vue.android) {
|
|
221
220
|
this.loaderShow = false
|
|
222
|
-
this.$showMessage(e.message ? e.message : '
|
|
221
|
+
this.$showMessage(e.message ? e.message : '登录失败!用户名或密码错误!')
|
|
223
222
|
}
|
|
224
223
|
return
|
|
225
224
|
}
|