system-phone 3.0.30 → 3.0.32

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.
Files changed (32) hide show
  1. package/.gradle/checksums/checksums.lock +0 -0
  2. package/.gradle/checksums/sha1-checksums.bin +0 -0
  3. package/package.json +1 -1
  4. package/src/assets/R-C.png +0 -0
  5. package/src/assets/yinliang.png +0 -0
  6. package/src/assets//{346/212/204/350/241/250/345/256/211/346/243/200.png → 345/201/234/346/260/224/345/205/254/345/221/212.png} +0 -0
  7. package/src/assets//345/234/250/347/272/277/345/244/215/346/243/200.png +0 -0
  8. package/src/assets//345/267/245/345/215/225/350/257/246/346/203/205.png +0 -0
  9. package/src/assets//347/253/231/347/202/271/346/264/276/345/217/221.png +0 -0
  10. package/src/components/AttendManage.vue +153 -104
  11. package/src/components/LoginApp.vue +655 -559
  12. package/src/components/LoginAppNew.vue +587 -587
  13. package/src/components/ModifyPassWord.vue +144 -120
  14. package/src/components/NavBottomVVV.vue +185 -183
  15. package/src/components/OnlineManage.vue +222 -58
  16. package/src/components/PhoneAllInfo.vue +68 -0
  17. package/src/components/PhoneMeterInfo.vue +132 -0
  18. package/src/components/PhoneUserFind.vue +138 -138
  19. package/src/components/RightTree.vue +4 -1
  20. package/src/components/ToolsPage.vue +176 -162
  21. package/src/components/info/ConfigInfo.vue +122 -0
  22. package/src/components/info/FindUserInfo.vue +144 -0
  23. package/src/components/info/InfoTable.vue +37 -0
  24. package/src/components/userinfo/paymentQuery.vue +189 -189
  25. package/src/components/userinfo/queryFile.vue +190 -190
  26. package/src/systemphonegrid.js +206 -186
  27. package/.gradle/checksums/md5-checksums.bin +0 -0
  28. package/.idea/compiler.xml +0 -6
  29. package/.idea/encodings.xml +0 -6
  30. package/.idea/gradle.xml +0 -17
  31. package/.idea/misc.xml +0 -11
  32. package/src/assets//351/242/204/347/272/246/345/256/211/346/243/200.png +0 -0
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.0.30",
3
+ "version": "3.0.32",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
Binary file
Binary file
@@ -3,12 +3,19 @@
3
3
  <div class="auto">
4
4
  <div class="row nav-bgcolor" >
5
5
  <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name)">
6
-
7
6
  <img class="imgs" :src="imgback(tab.name)">
8
7
  <div class="badge"
9
- v-show="isshowTag&&tab.num&&tab.num>0"
8
+ v-show="isshowTag&&tab.num&&tab.num>0"
10
9
  ><div class="badge-content">{{tab.num>99?'99+':tab.num}}</div></div>
11
-
10
+ <div class="badge" v-show="tab.name == '抄表待办'">
11
+ <div class="badge-content">{{ meterNum?meterNum:0 }}</div>
12
+ </div>
13
+ <div class="badge" v-show="tab.name == '安检待办'">
14
+ <div class="badge-content">{{ safeckNum?safeckNum:0 }}</div>
15
+ </div>
16
+ <div class="badge" v-show="tab.name == '维修待办'">
17
+ <div class="badge-content">{{ repairNum?repairNum:0 }}</div>
18
+ </div>
12
19
  <p></p>
13
20
  <p class="pagesfoot">{{tab.name}}</p>
14
21
 
@@ -17,8 +24,8 @@
17
24
  </div>
18
25
  </div>
19
26
  <!--<div class="row" style="overflow:auto;">-->
20
- <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
21
- <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
27
+ <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
28
+ <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
22
29
  <!--</div>-->
23
30
  </div>
24
31
  <validator name="v">
@@ -58,17 +65,20 @@
58
65
  import {HttpResetClass} from "vue-client";
59
66
  export default {
60
67
  title: '待办工作导航',
61
- data() {
68
+ data() {
62
69
  return {
63
70
  titleName: '待办工作',
64
71
  showModal: false,
65
72
  isMenu: true,
66
73
  isshowTag:false,
67
74
  tabs: [],
75
+ safeckNum:0,
76
+ repairNum:0,
68
77
  text: '导航组件this',
69
78
  beforeName: '待办工作',
70
79
  componentName: 'repair-first',
71
80
  sourcet: '竖屏',
81
+ meterNum:null,
72
82
  applyType: '', // 报建类型
73
83
  // applyTypes:this.$appdata.getParam("手机报建类型"),
74
84
  applyTypes: [{label: '散户报建', value: '散户报建'}, {label: '工商户报建', value: '工商户报建'}, {
@@ -82,14 +92,7 @@
82
92
  }
83
93
  },
84
94
  ready () {
85
- // this.getModelSum()
86
- if(Vue.config.telephone&&Vue.config.telephone.TipConfig&&Vue.config.telephone.TipConfig.data){
87
- this.isshowTag = true
88
- this.getTabs()
89
- }else{
90
- this.getNoTagTabs()
91
- }
92
-
95
+ this.getNoTagTabs()
93
96
  },
94
97
 
95
98
  methods: {
@@ -182,7 +185,14 @@
182
185
 
183
186
  },
184
187
  getRepair(){
188
+ if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
189
+ return
190
+ }
185
191
  var _this = this;
192
+ let bbb = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
193
+ if (bbb.code === 200) {
194
+ _this.repairNum = bbb.data.length
195
+ }
186
196
  this.timeoutRepair = window.setInterval(function() {
187
197
  let result = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
188
198
  if (result.code === 200) {
@@ -191,12 +201,20 @@
191
201
  title: '维修待办',
192
202
  sum: result.data.length
193
203
  }
194
- _this.changesum(crv)
204
+ _this.repairNum = result.data.length
205
+ // _this.changesum(crv)
195
206
  }
196
- }, 6000)
207
+ }, 100000)
197
208
  },
198
209
  getSafeCheck(){
210
+ if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
211
+ return
212
+ }
199
213
  var _this = this;
214
+ let aaa = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
215
+ if (aaa.code === 200) {
216
+ _this.safeckNum = aaa.data.length
217
+ }
200
218
  this.timeoutRepair = window.setInterval(function() {
201
219
  let result = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
202
220
  if (result.code === 200) {
@@ -205,11 +223,15 @@
205
223
  title: '安检待办',
206
224
  sum: result.data.length
207
225
  }
208
- _this.changesum(crv)
226
+ _this.safeckNum = result.data.length
227
+ // _this.changesum(crv)
209
228
  }
210
- }, 6000)
229
+ }, 100000)
211
230
  },
212
231
  getZhihuan(){
232
+ if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
233
+ return
234
+ }
213
235
  var _this = this;
214
236
  this.timeoutZhihuan = window.setInterval(function() {
215
237
  let result = _this.$androidUtil.path({'alias':`getSubstitMobile`,'data':{condition:'1 = 1'}})
@@ -221,7 +243,7 @@
221
243
  }
222
244
  _this.changesum(crv)
223
245
  }
224
- }, 6000)
246
+ }, 100000)
225
247
  },
226
248
  changesum(titdata){
227
249
  for(var i = 0;i<this.tabs.length;i++){
@@ -238,56 +260,83 @@
238
260
  this.$set('tabs',Vue.functions[funs].children)
239
261
  }
240
262
  }
263
+ this.getTabs()
241
264
  },
242
- async getTabs(){
243
- const config = Vue.config.telephone.TipConfig.data
244
- const user = Vue.user
245
- console.log("Vue.android"+Vue.android)
246
- if(Vue.android){
247
- const result = this.$androidUtil.syncBzLogic("TipConfig",{data:{config,user}})
248
- if(result.code === 200){
249
- for(let funs in Vue.functions){
250
- if(Vue.functions[funs].link == 'attend-manage'){
251
- Vue.functions[funs].children.forEach(res=>{
252
- console.log(res)
253
- result.result.forEach(ress=>{
254
- if(res.link === ress.link){
255
- res.num=ress.num
256
- }
257
- })
265
+ getTabs(){
266
+ if (Vue.android) {
267
+ if(Vue.config.telephone&&Vue.config.telephone.TipConfig&&Vue.config.telephone.TipConfig.data) {
268
+ this.isshowTag = true
269
+ const config = Vue.config.telephone.TipConfig.data
270
+ const user = Vue.user
271
+ console.log("Vue.android" + Vue.android)
272
+ const result = this.$androidUtil.syncBzLogic("TipConfig", {data: {config, user}})
273
+ if (result.code === 200) {
274
+ for (var i = 0; i < this.tabs.length; i++) {
275
+ result.result.forEach(ress => {
276
+ if (this.tabs[i].link === ress.link) {
277
+ this.$set('tabs[' + i + '].num', ress.num)
278
+ }
258
279
  })
259
- this.$set('tabs',Vue.functions[funs].children)
260
- }
261
- }
262
- }else{
263
- for(let funs in Vue.functions){
264
- if(Vue.functions[funs].link == 'attend-manage'){
265
- this.$set('tabs',Vue.functions[funs].children)
266
280
  }
267
281
  }
268
282
  }
269
- }else{
270
- const result = {"code":200,"result":[{"link":"repair-first","num":50},{"link":"current-create","num":30}]}
271
- if(result.code === 200){
272
- for(let funs in Vue.functions){
273
- if(Vue.functions[funs].link == 'attend-manage'){
274
- Vue.functions[funs].children.forEach(res=>{
275
- console.log(res)
276
- result.result.forEach(ress=>{
277
- if(res.link === ress.link){
278
- res.num=ress.num
279
- }
280
- })
281
- })
282
- this.$set('tabs',Vue.functions[funs].children)
283
- }
283
+ } else {
284
+ const result = {
285
+ "code": 200,
286
+ "result": [{"link": "repair-first", "num": 50}, {"link": "current-create", "num": 30}]
287
+ }
288
+ if (result.code === 200) {
289
+ for (var i = 0; i < this.tabs.length; i++) {
290
+ result.result.forEach(ress => {
291
+ if (this.tabs[i].link === ress.link) {
292
+ this.$set('tabs[' + i + '].num', ress.num)
293
+ }
294
+ })
284
295
  }
285
- }else{
286
-
287
296
  }
288
-
289
297
  }
290
-
298
+ this.getmeterNum()
299
+ this.getModelSum()
300
+ },
301
+ getmeterNum() {
302
+ if (this.$appdata.getSingleValue('红点') && this.$appdata.getSingleValue('红点') != 'true') {
303
+ return
304
+ }
305
+ window.setInterval( ()=> {
306
+ let val = {
307
+ items:"*",
308
+ tablename:"t_handplan",
309
+ orderitem:"id desc",
310
+ condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
311
+ f_orgid:`'${Vue.user.orgid}'`
312
+ }
313
+ let http = new HttpResetClass()
314
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
315
+ resolveMsg: null,
316
+ rejectMsg: null
317
+ }).then((res) => {
318
+ this.meterNum = res.data.length
319
+ debugger
320
+ console.log("this.meterNum的值是:",this.meterNum)
321
+ })
322
+ },10000)
323
+ this.timeOutGetmeterNum()
324
+ },
325
+ timeOutGetmeterNum(){
326
+ let val = {
327
+ items:"*",
328
+ tablename:"t_handplan",
329
+ orderitem:"id desc",
330
+ condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
331
+ f_orgid:`'${Vue.user.orgid}'`
332
+ }
333
+ let http = new HttpResetClass()
334
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
335
+ resolveMsg: null,
336
+ rejectMsg: null
337
+ }).then((res) => {
338
+ this.meterNum = res.data.length
339
+ })
291
340
  },
292
341
  imgback(val){
293
342
  return require('../assets/'+val+'.png')
@@ -300,7 +349,7 @@
300
349
  },
301
350
  gotopage(param,title) {
302
351
  if(title === '工程发起'){
303
- this.showModal = !this.showModal
352
+ this.showModal = !this.showModal
304
353
  }else{
305
354
  console.log('进入子组件')
306
355
  var prpdata = {
@@ -309,7 +358,7 @@
309
358
  safe:false
310
359
  }
311
360
  this.$dispatch('gotoson',prpdata)
312
- this.$goto(param,{sourcet:'竖屏',tabname:title})
361
+ this.$goto(param,{sourcet:'竖屏',tabname:title},'self',this.getTabs)
313
362
  }
314
363
  },
315
364
  mute () {
@@ -319,52 +368,52 @@
319
368
  }
320
369
  </script>
321
370
  <style lang="less">
322
- .badge-content{
323
- color: #fff;
324
- box-sizing: border-box;
325
- min-width: 8px;
326
- font-size: 9px;
327
- line-height: 12px;
328
- white-space: nowrap;
329
- font-weight: 400;
330
- text-align: center;
331
- }
332
- .badge{
333
- top: 6px;
334
- position: absolute;
335
- max-height: 13px;
336
- min-height: 8px;
337
- //transform: translate(50%,-50%);
338
- right:0;
339
- display: inline-flex;
340
- vertical-align: middle;
341
- box-sizing: content-box;
342
- border-radius: 100px;
343
- background-color: red;
344
- }
345
- .app-input {
346
- label {
347
- float: left;
371
+ .badge-content{
372
+ color: #fff;
373
+ box-sizing: border-box;
374
+ min-width: 8px;
375
+ font-size: 9px;
376
+ line-height: 12px;
377
+ white-space: nowrap;
378
+ font-weight: 400;
379
+ text-align: center;
348
380
  }
349
- .select {
350
- button {
351
- border: none;
352
- outline: none;
353
- text-align: left;
354
- .btn-placeholder {
355
- color: #ACA899
381
+ .badge{
382
+ top: 6px;
383
+ position: absolute;
384
+ max-height: 13px;
385
+ min-height: 8px;
386
+ //transform: translate(50%,-50%);
387
+ right:0;
388
+ display: inline-flex;
389
+ vertical-align: middle;
390
+ box-sizing: content-box;
391
+ border-radius: 100px;
392
+ background-color: red;
393
+ }
394
+ .app-input {
395
+ label {
396
+ float: left;
397
+ }
398
+ .select {
399
+ button {
400
+ border: none;
401
+ outline: none;
402
+ text-align: left;
403
+ .btn-placeholder {
404
+ color: #ACA899
405
+ }
356
406
  }
357
407
  }
358
- }
359
- .datepicker {
360
- .form-control:focus {
361
- border: none!important;
362
- outline: none!important;
363
- -webkit-box-shadow: none;
364
- box-shadow: none;
408
+ .datepicker {
409
+ .form-control:focus {
410
+ border: none!important;
411
+ outline: none!important;
412
+ -webkit-box-shadow: none;
413
+ box-shadow: none;
414
+ }
365
415
  }
366
416
  }
367
- }
368
417
  .tab-befor-img {
369
418
  content: '';
370
419
  background-size: 30px;