system-phone 3.0.42 → 3.0.43
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/AttendManage.vue +8 -64
- package/src/components/LoginApp.vue +725 -725
- package/src/components/OnlineManage.vue +256 -363
- 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
|
@@ -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,8 +94,9 @@
|
|
|
94
94
|
},
|
|
95
95
|
ready () {
|
|
96
96
|
this.getNoTagTabs()
|
|
97
|
+
this.getmeterNum()
|
|
98
|
+
this.getModelSum()
|
|
97
99
|
},
|
|
98
|
-
|
|
99
100
|
methods: {
|
|
100
101
|
click (row) {
|
|
101
102
|
let _this = this
|
|
@@ -194,18 +195,6 @@
|
|
|
194
195
|
if (bbb.code === 200) {
|
|
195
196
|
_this.repairNum = bbb.data.length
|
|
196
197
|
}
|
|
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)
|
|
209
198
|
},
|
|
210
199
|
getSafeCheck(){
|
|
211
200
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
@@ -216,41 +205,16 @@
|
|
|
216
205
|
if (aaa.code === 200) {
|
|
217
206
|
_this.safeckNum = aaa.data.length
|
|
218
207
|
}
|
|
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)
|
|
231
208
|
},
|
|
232
209
|
getZhihuan(){
|
|
233
210
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
234
211
|
return
|
|
235
212
|
}
|
|
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)
|
|
248
213
|
},
|
|
249
214
|
changesum(titdata){
|
|
250
215
|
for(var i = 0;i<this.tabs.length;i++){
|
|
251
216
|
if(this.tabs[i].name == titdata.title){
|
|
252
217
|
this.tabs[i].icon = titdata.sum + '单'
|
|
253
|
-
console.log(JSON.stringify(this.tabs[i].icon))
|
|
254
218
|
return
|
|
255
219
|
}
|
|
256
220
|
}
|
|
@@ -296,38 +260,20 @@
|
|
|
296
260
|
}
|
|
297
261
|
}
|
|
298
262
|
}
|
|
299
|
-
|
|
300
|
-
|
|
263
|
+
this.getmeterNum()
|
|
264
|
+
this.getModelSum()
|
|
301
265
|
},
|
|
302
266
|
getmeterNum() {
|
|
303
267
|
if (!this.isShowRedNum || this.isShowRedNum != 'true') {
|
|
304
268
|
return
|
|
305
269
|
}
|
|
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)
|
|
324
270
|
this.timeOutGetmeterNum()
|
|
325
271
|
},
|
|
326
272
|
timeOutGetmeterNum(){
|
|
327
273
|
let val = {
|
|
328
|
-
items:"*",
|
|
274
|
+
items:"count(*) as count_num",
|
|
329
275
|
tablename:"t_handplan",
|
|
330
|
-
orderitem:"
|
|
276
|
+
orderitem:"1",
|
|
331
277
|
condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
|
|
332
278
|
f_orgid:`'${Vue.user.orgid}'`
|
|
333
279
|
}
|
|
@@ -336,7 +282,7 @@
|
|
|
336
282
|
resolveMsg: null,
|
|
337
283
|
rejectMsg: null
|
|
338
284
|
}).then((res) => {
|
|
339
|
-
this.meterNum = res.data.
|
|
285
|
+
this.meterNum = res.data[0].count_num
|
|
340
286
|
})
|
|
341
287
|
},
|
|
342
288
|
imgback(val){
|
|
@@ -346,13 +292,11 @@
|
|
|
346
292
|
back(){
|
|
347
293
|
this.titleName = '主界面'
|
|
348
294
|
this.isMenu = true
|
|
349
|
-
|
|
350
295
|
},
|
|
351
296
|
gotopage(param,title) {
|
|
352
297
|
if(title === '工程发起'){
|
|
353
298
|
this.showModal = !this.showModal
|
|
354
299
|
}else{
|
|
355
|
-
console.log('进入子组件')
|
|
356
300
|
var prpdata = {
|
|
357
301
|
_this:this,
|
|
358
302
|
title:title,
|