system-phone 3.0.16 → 3.0.17

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -10,6 +10,12 @@
10
10
  <div class="badge" v-show="tab.name == '抄表待办'">
11
11
  <div class="badge-content">{{ meterNum?meterNum:0 }}</div>
12
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>
13
19
  <p></p>
14
20
  <p class="pagesfoot">{{tab.name}}</p>
15
21
 
@@ -66,6 +72,8 @@
66
72
  isMenu: true,
67
73
  isshowTag:false,
68
74
  tabs: [],
75
+ safeckNum:0,
76
+ repairNum:0,
69
77
  text: '导航组件this',
70
78
  beforeName: '待办工作',
71
79
  componentName: 'repair-first',
@@ -178,6 +186,10 @@
178
186
  },
179
187
  getRepair(){
180
188
  var _this = this;
189
+ let bbb = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
190
+ if (bbb.code === 200) {
191
+ _this.repairNum = bbb.data.length
192
+ }
181
193
  this.timeoutRepair = window.setInterval(function() {
182
194
  let result = _this.$androidUtil.path({'alias':`getServiceMobile`,'data':{condition:'1 = 1'}})
183
195
  if (result.code === 200) {
@@ -186,12 +198,17 @@
186
198
  title: '维修待办',
187
199
  sum: result.data.length
188
200
  }
189
- _this.changesum(crv)
201
+ _this.repairNum = result.data.length
202
+ // _this.changesum(crv)
190
203
  }
191
- }, 6000)
204
+ }, 100000)
192
205
  },
193
206
  getSafeCheck(){
194
207
  var _this = this;
208
+ let aaa = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
209
+ if (aaa.code === 200) {
210
+ _this.safeckNum = aaa.data.length
211
+ }
195
212
  this.timeoutRepair = window.setInterval(function() {
196
213
  let result = _this.$androidUtil.path({'alias':`safecheckGetServiceMobile`,'data':{condition:'1 = 1'}})
197
214
  if (result.code === 200) {
@@ -200,9 +217,10 @@
200
217
  title: '安检待办',
201
218
  sum: result.data.length
202
219
  }
203
- _this.changesum(crv)
220
+ _this.safeckNum = result.data.length
221
+ // _this.changesum(crv)
204
222
  }
205
- }, 6000)
223
+ }, 100000)
206
224
  },
207
225
  getZhihuan(){
208
226
  var _this = this;
@@ -216,7 +234,7 @@
216
234
  }
217
235
  _this.changesum(crv)
218
236
  }
219
- }, 6000)
237
+ }, 100000)
220
238
  },
221
239
  changesum(titdata){
222
240
  for(var i = 0;i<this.tabs.length;i++){
@@ -269,6 +287,7 @@
269
287
  }
270
288
  }
271
289
  this.getmeterNum()
290
+ this.getModelSum()
272
291
  },
273
292
  getmeterNum() {
274
293
  if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
@@ -1,362 +1,354 @@
1
- <template>
2
- <div class="nav-bgcolor">
3
- <div class="auto">
4
- <div class="row nav-bgcolor" >
5
- <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name,tab.navigate)">
6
- <div class="badge" v-show="tab.name == '维修派发'">
7
- <div class="badge-content">{{ pointNum?pointNum:0 }}</div>
8
- </div>
9
- <div class="badge" v-show="tab.name == '抄表待办'">
10
- <div class="badge-content">{{ meterNum?meterNum:0 }}</div>
11
- </div>
12
- <div class="badge" v-show="tab.name == '信息公告'">
13
- <div class="badge-content">{{ infoNum?infoNum:0 }}</div>
14
- </div>
15
- <img class="imgs" :src="imgback(tab.name)" alt="">
16
- <p></p>
17
- <p class="pagesfoot">{{tab.name}}</p>
18
- <!--<p class="pagesfoot">{{tab.name}}&nbsp;{{tab.icon}}</p>-->
19
- <p></p>
20
- </div>
21
- </div>
22
- <!--<div class="row" style="overflow:auto;">-->
23
- <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
24
- <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
25
- <!--</div>-->
26
- </div>
27
- </div>
28
- </template>
29
-
30
- <script scoped>
31
- import Vue from 'vue'
32
- import {HttpResetClass} from "vue-client";
33
-
34
- export default {
35
- title: '在线业务导航',
36
- data () {
37
- return {
38
- titleName:'在线业务',
39
- isMenu:true,
40
- tabs: this.getTabs(),
41
- text: '导航组件this',
42
- beforeName: '在线业务',
43
- sourcet: '竖屏',
44
- pointNum: null,
45
- infoNum:null,
46
- meterNum:null
47
- }
48
- },
49
- ready () {
50
- // this.getModelSum()
51
- },
52
-
53
- methods: {
54
- //看去哪个页面
55
- getModelSum(){
56
- for(var i = 0;i<this.tabs.length;i++){
57
- if(this.tabs[i].link == 'readmeter-home' ){
58
- this.getZhihuan()
59
- }
60
- if(this.tabs[i].link == 'weiup-load' ){
61
- this.getRepair()
62
- }
63
- if(this.tabs[i].link == 'upload-page' ){
64
- this.getSafeCheck()
65
- }
66
- }
67
-
68
- },
69
- getRepair(){
70
- var _this = this;
71
- this.timeoutRepair = window.setInterval(function() {
72
- let result = _this.$androidUtil.path({'alias':'notUpload','data': {f_workorder_type: '报修单'}})
73
- if (result.code === 200) {
74
- console.log('查询得到的代办2' + JSON.stringify(result))
75
- var crv = {
76
- title: '维修上传',
77
- sum: result.data.length
78
- }
79
- _this.changesum(crv)
80
- }
81
- }, 6000)
82
- },
83
- getSafeCheck(){
84
- var _this = this;
85
- this.timeoutRepair = window.setInterval(function() {
86
- let result = _this.$androidUtil.path({'alias':'safecheckNotUpload','data': {}})
87
- if (result.code === 200) {
88
- console.log('查询得到的安检上传' + JSON.stringify(result))
89
- var crv = {
90
- title: '安检上传',
91
- sum: result.data.length
92
- }
93
- _this.changesum(crv)
94
- }
95
- }, 6000)
96
- },
97
- getZhihuan(){
98
- var _this = this;
99
- this.timeoutZhihuan = window.setInterval(function() {
100
- let result = {code:200}
101
- if (result.code === 200) {
102
- console.log('查询得到的代办2' + JSON.stringify(result))
103
- var crv = {
104
- title: '置换上传',
105
- sum: result.data.length
106
- }
107
- _this.changesum(crv)
108
- }
109
- }, 6000)
110
- },
111
- changesum(titdata){
112
- for(var i = 0;i<this.tabs.length;i++){
113
- if(this.tabs[i].name == titdata.title){
114
- this.tabs[i].icon = titdata.sum + '单'
115
- console.log(JSON.stringify(this.tabs[i].icon))
116
- return
117
- }
118
- }
119
- },
120
- getTabs(){
121
- this.getRepairNum()
122
- debugger
123
- this.getInfoNum()
124
- this.getmeterNum()
125
- for(let funs in Vue.functions){
126
- if(Vue.functions[funs].link == 'online-manage'){
127
- return Vue.functions[funs].children
128
- }
129
- }
130
- },
131
- getmeterNum() {
132
- if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
133
- return
134
- }
135
- window.setInterval( ()=> {
136
- let val = {
137
- items:"*",
138
- tablename:"t_handplan",
139
- orderitem:"id desc",
140
- condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
141
- f_orgid:`'${Vue.user.orgid}'`
142
- }
143
- let http = new HttpResetClass()
144
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
145
- resolveMsg: null,
146
- rejectMsg: null
147
- }).then((res) => {
148
- this.meterNum = res.data.length
149
- debugger
150
- console.log("this.meterNum的值是:",this.meterNum)
151
- })
152
- },10000)
153
- this.timeOutGetmeterNum()
154
- },
155
- getInfoNum() {
156
- if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
157
- return
158
- }
159
- debugger
160
- window.setInterval( ()=> {
161
- let val = {
162
- items:"*",
163
- tablename:"T_STOPGAS",
164
- orderitem:"f_date desc",
165
- condition:'1=1',
166
- f_orgstr:`'${Vue.user.orgid}'`
167
- }
168
- let http = new HttpResetClass()
169
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
170
- resolveMsg: null,
171
- rejectMsg: null
172
- }).then((res) => {
173
- this.infoNum = res.data.length
174
- debugger
175
- console.log("this.infoNum的值是:",this.infoNum)
176
- })
177
- },10000)
178
- this.timeOutGetInfoNum()
179
- },
180
- getRepairNum() {
181
- debugger
182
- if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
183
- return
184
- }
185
- window.setInterval( ()=> {
186
- let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
187
- let val = {
188
- condition: {
189
- condition: condition,
190
- sign: '1 = 1'
191
- },
192
- userid: Vue.user.name
193
- }
194
- let http = new HttpResetClass()
195
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorServiceAndroid`, {data: val}, {
196
- resolveMsg: null,
197
- rejectMsg: null
198
- }).then((res) => {
199
- this.pointNum = res.data.length
200
- })
201
- },10000)
202
- this.timeOutGetRepairNum()
203
- },
204
- timeOutGetRepairNum(){
205
- debugger
206
- let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
207
- let val = {
208
- condition: {
209
- condition: condition,
210
- sign: '1 = 1'
211
- },
212
- userid: Vue.user.name
213
- }
214
- let http = new HttpResetClass()
215
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorServiceAndroid`, {data: val}, {
216
- resolveMsg: null,
217
- rejectMsg: null
218
- }).then((res) => {
219
- this.pointNum = res.data.length
220
- })
221
- },
222
- timeOutGetInfoNum(){
223
- debugger
224
- let val = {
225
- items:"*",
226
- tablename:"T_STOPGAS",
227
- orderitem:"f_date desc",
228
- condition:'1=1',
229
- f_orgstr:`'${Vue.user.orgid}'`
230
- }
231
- let http = new HttpResetClass()
232
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
233
- resolveMsg: null,
234
- rejectMsg: null
235
- }).then((res) => {
236
- this.infoNum = res.data.length
237
- })
238
- },
239
- timeOutGetmeterNum(){
240
- let val = {
241
- items:"*",
242
- tablename:"t_handplan",
243
- orderitem:"id desc",
244
- condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
245
- f_orgid:`'${Vue.user.orgid}'`
246
- }
247
- let http = new HttpResetClass()
248
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
249
- resolveMsg: null,
250
- rejectMsg: null
251
- }).then((res) => {
252
- this.meterNum = res.data.length
253
- })
254
- },
255
- imgback(val){
256
- return require('../assets/'+val+'.png')
257
- },
258
- // 返回主界面
259
- back(){
260
- this.titleName = '主界面'
261
- this.isMenu = true
262
-
263
- },
264
- gotopage(param,title,navigate) {
265
- console.log('进入子组件')
266
- var prpdata = {
267
- _this:this,
268
- title:title,
269
- safe:false
270
- }
271
- this.$dispatch('gotoson',prpdata)
272
- if(navigate){
273
- this.$goto('embbed-page', {domainName: navigate, title: title, compName: param, login: Vue.user})
274
- }else{
275
- this.$goto(param,{sourcet:'竖屏',tabname:title})
276
- }
277
- },
278
- mute () {
279
- HostApp.mute()
280
- }
281
- },
282
- }
283
- </script>
284
- <style lang="less">
285
- .badge-content {
286
- color: #fff;
287
- box-sizing: border-box;
288
- min-width: 8px;
289
- font-size: 9px;
290
- line-height: 12px;
291
- white-space: nowrap;
292
- font-weight: 400;
293
- text-align: center;
294
- }
295
-
296
- .badge {
297
- top: 6px;
298
- position: absolute;
299
- max-height: 13px;
300
- min-height: 8px;
301
- right: 0;
302
- display: inline-flex;
303
- vertical-align: middle;
304
- box-sizing: content-box;
305
- border-radius: 100px;
306
- background-color: red;
307
- }
308
-
309
- .tab-befor-img {
310
- content: '';
311
- background-size: 30px;
312
- display: inline-block;
313
- margin-right: 8px;
314
- height: 30px;
315
- width: 30px;
316
- vertical-align: -35%;
317
- }
318
- .pageskuang{
319
- vertical-align:middle;
320
- display:table-cell;
321
- width: 32%;
322
- top:-50%;
323
- margin-top: 1%;
324
- margin-left: 1%;
325
- border:1px solid #e3e3e3;
326
- text-align: center;
327
- background-color: #ffffff;
328
- }
329
- .pgesfoot{
330
- font-size: 14px;
331
- color: #666666;
332
- /* font-family: "Pingfhs";*/
333
- }
334
- .imgs{
335
- width: 35px;
336
- margin-top: 15px;
337
- }
338
- .pages-bgcolor{
339
- text-align: center;
340
- background-color: #f0f0ef;
341
- }
342
- img[src=""],img:not([src]){
343
- opacity: 0;
344
- border:none;
345
- visibility: hidden;
346
- max-width: none;
347
- }
348
-
349
- .manbiankuang {
350
- width: 44%;
351
- margin-top: 15px;
352
- margin-left: 4%;
353
- border: 1px solid #e3e3e3;
354
- border-radius: 10px 10px 10px 10px;
355
- text-align: center;
356
- background-color: #ffffff;
357
- }
358
-
359
- .nav-bgcolor {
360
- background-color: #ffffff;
361
- }
362
- </style>
1
+ <template>
2
+ <div class="nav-bgcolor">
3
+ <div class="auto">
4
+ <div class="row nav-bgcolor" >
5
+ <div class="col-xs-6 manbiankuang" v-for="tab in tabs" @click="gotopage(tab.link,tab.name,tab.navigate)">
6
+ <div class="badge" v-show="tab.name == '维修派发'">
7
+ <div class="badge-content">{{ pointNum?pointNum:0 }}</div>
8
+ </div>
9
+ <div class="badge" v-show="tab.name == '抄表待办'">
10
+ <div class="badge-content">{{ meterNum?meterNum:0 }}</div>
11
+ </div>
12
+ <div class="badge" v-show="tab.name == '信息公告'">
13
+ <div class="badge-content">{{ infoNum?infoNum:0 }}</div>
14
+ </div>
15
+ <img class="imgs" :src="imgback(tab.name)" alt="">
16
+ <p></p>
17
+ <p class="pagesfoot">{{tab.name}}</p>
18
+ <!--<p class="pagesfoot">{{tab.name}}&nbsp;{{tab.icon}}</p>-->
19
+ <p></p>
20
+ </div>
21
+ </div>
22
+ <!--<div class="row" style="overflow:auto;">-->
23
+ <!--<repair-first v-show="componentName == 'repair-first'" worktype="报修单" :sourcet="sourcet" tabname="维修待办" v-on:changesum="changesum"></repair-first>-->
24
+ <!--<zhihuan-first v-show="componentName == 'zhihuan-first'" worktype="置换通气单" :sourcet="sourcet" tabname="置换待办" v-on:changesum="changesum"></zhihuan-first>-->
25
+ <!--</div>-->
26
+ </div>
27
+ </div>
28
+ </template>
29
+
30
+ <script scoped>
31
+ import Vue from 'vue'
32
+ import {HttpResetClass} from "vue-client";
33
+
34
+ export default {
35
+ title: '在线业务导航',
36
+ data () {
37
+ return {
38
+ titleName:'在线业务',
39
+ isMenu:true,
40
+ tabs: this.getTabs(),
41
+ text: '导航组件this',
42
+ beforeName: '在线业务',
43
+ sourcet: '竖屏',
44
+ pointNum: null,
45
+ infoNum:null,
46
+ meterNum:null
47
+ }
48
+ },
49
+ ready () {
50
+ // this.getModelSum()
51
+ },
52
+
53
+ methods: {
54
+ //看去哪个页面
55
+ getModelSum(){
56
+ for(var i = 0;i<this.tabs.length;i++){
57
+ if(this.tabs[i].link == 'readmeter-home' ){
58
+ this.getZhihuan()
59
+ }
60
+ if(this.tabs[i].link == 'weiup-load' ){
61
+ this.getRepair()
62
+ }
63
+ if(this.tabs[i].link == 'upload-page' ){
64
+ this.getSafeCheck()
65
+ }
66
+ }
67
+
68
+ },
69
+ getRepair(){
70
+ var _this = this;
71
+ this.timeoutRepair = window.setInterval(function() {
72
+ let result = _this.$androidUtil.path({'alias':'notUpload','data': {f_workorder_type: '报修单'}})
73
+ if (result.code === 200) {
74
+ console.log('查询得到的代办2' + JSON.stringify(result))
75
+ var crv = {
76
+ title: '维修上传',
77
+ sum: result.data.length
78
+ }
79
+ _this.changesum(crv)
80
+ }
81
+ }, 6000)
82
+ },
83
+ getSafeCheck(){
84
+ var _this = this;
85
+ this.timeoutRepair = window.setInterval(function() {
86
+ let result = _this.$androidUtil.path({'alias':'safecheckNotUpload','data': {}})
87
+ if (result.code === 200) {
88
+ console.log('查询得到的安检上传' + JSON.stringify(result))
89
+ var crv = {
90
+ title: '安检上传',
91
+ sum: result.data.length
92
+ }
93
+ _this.changesum(crv)
94
+ }
95
+ }, 6000)
96
+ },
97
+ getZhihuan(){
98
+ var _this = this;
99
+ this.timeoutZhihuan = window.setInterval(function() {
100
+ let result = {code:200}
101
+ if (result.code === 200) {
102
+ console.log('查询得到的代办2' + JSON.stringify(result))
103
+ var crv = {
104
+ title: '置换上传',
105
+ sum: result.data.length
106
+ }
107
+ _this.changesum(crv)
108
+ }
109
+ }, 6000)
110
+ },
111
+ changesum(titdata){
112
+ for(var i = 0;i<this.tabs.length;i++){
113
+ if(this.tabs[i].name == titdata.title){
114
+ this.tabs[i].icon = titdata.sum + '单'
115
+ console.log(JSON.stringify(this.tabs[i].icon))
116
+ return
117
+ }
118
+ }
119
+ },
120
+ getTabs(){
121
+ this.getRepairNum()
122
+ this.getInfoNum()
123
+ this.getmeterNum()
124
+ for(let funs in Vue.functions){
125
+ if(Vue.functions[funs].link == 'online-manage'){
126
+ return Vue.functions[funs].children
127
+ }
128
+ }
129
+ },
130
+ getmeterNum() {
131
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
132
+ return
133
+ }
134
+ window.setInterval( ()=> {
135
+ let val = {
136
+ items:"*",
137
+ tablename:"t_handplan",
138
+ orderitem:"id desc",
139
+ condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
140
+ f_orgid:`'${Vue.user.orgid}'`
141
+ }
142
+ let http = new HttpResetClass()
143
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
144
+ resolveMsg: null,
145
+ rejectMsg: null
146
+ }).then((res) => {
147
+ this.meterNum = res.data.length
148
+ })
149
+ },100000)
150
+ this.timeOutGetmeterNum()
151
+ },
152
+ getInfoNum() {
153
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
154
+ return
155
+ }
156
+ window.setInterval( ()=> {
157
+ let val = {
158
+ items:"*",
159
+ tablename:"T_STOPGAS",
160
+ orderitem:"f_date desc",
161
+ condition:'1=1',
162
+ f_orgstr:`'${Vue.user.orgid}'`
163
+ }
164
+ let http = new HttpResetClass()
165
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
166
+ resolveMsg: null,
167
+ rejectMsg: null
168
+ }).then((res) => {
169
+ this.infoNum = res.data.length
170
+ })
171
+ },100000)
172
+ this.timeOutGetInfoNum()
173
+ },
174
+ getRepairNum() {
175
+ if (!Vue.android || !Vue.come || !Vue.come == 'tongchuan') {
176
+ return
177
+ }
178
+ window.setInterval( ()=> {
179
+ let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
180
+ let val = {
181
+ condition: {
182
+ condition: condition,
183
+ sign: '1 = 1'
184
+ },
185
+ userid: Vue.user.name
186
+ }
187
+ let http = new HttpResetClass()
188
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorServiceAndroid`, {data: val}, {
189
+ resolveMsg: null,
190
+ rejectMsg: null
191
+ }).then((res) => {
192
+ this.pointNum = res.data.length
193
+ })
194
+ },100000)
195
+ this.timeOutGetRepairNum()
196
+ },
197
+ timeOutGetRepairNum(){
198
+
199
+ let condition = `1 = 1 and f_workorder_type = '报修单' and f_state = null `
200
+ let val = {
201
+ condition: {
202
+ condition: condition,
203
+ sign: '1 = 1'
204
+ },
205
+ userid: Vue.user.name
206
+ }
207
+ let http = new HttpResetClass()
208
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/path/operatorServiceAndroid`, {data: val}, {
209
+ resolveMsg: null,
210
+ rejectMsg: null
211
+ }).then((res) => {
212
+ this.pointNum = res.data.length
213
+ })
214
+ },
215
+ timeOutGetInfoNum(){
216
+ let val = {
217
+ items:"*",
218
+ tablename:"T_STOPGAS",
219
+ orderitem:"f_date desc",
220
+ condition:'1=1',
221
+ f_orgstr:`'${Vue.user.orgid}'`
222
+ }
223
+ let http = new HttpResetClass()
224
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
225
+ resolveMsg: null,
226
+ rejectMsg: null
227
+ }).then((res) => {
228
+ this.infoNum = res.data.length
229
+ })
230
+ },
231
+ timeOutGetmeterNum(){
232
+ let val = {
233
+ items:"*",
234
+ tablename:"t_handplan",
235
+ orderitem:"id desc",
236
+ condition:`1=1 and f_inputtor = '${Vue.user.name}' and f_hand_state = '有效' and f_meter_state = '未抄表'`,
237
+ f_orgid:`'${Vue.user.orgid}'`
238
+ }
239
+ let http = new HttpResetClass()
240
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/tel_singleTable_OrderBy`, {data: val}, {
241
+ resolveMsg: null,
242
+ rejectMsg: null
243
+ }).then((res) => {
244
+ this.meterNum = res.data.length
245
+ })
246
+ },
247
+ imgback(val){
248
+ return require('../assets/'+val+'.png')
249
+ },
250
+ // 返回主界面
251
+ back(){
252
+ this.titleName = '主界面'
253
+ this.isMenu = true
254
+
255
+ },
256
+ gotopage(param,title,navigate) {
257
+ console.log('进入子组件')
258
+ var prpdata = {
259
+ _this:this,
260
+ title:title,
261
+ safe:false
262
+ }
263
+ this.$dispatch('gotoson',prpdata)
264
+ if(navigate){
265
+ this.$goto('embbed-page', {domainName: navigate, title: title, compName: param, login: Vue.user})
266
+ }else{
267
+ this.$goto(param,{sourcet:'竖屏',tabname:title})
268
+ }
269
+ },
270
+ mute () {
271
+ HostApp.mute()
272
+ }
273
+ },
274
+ }
275
+ </script>
276
+ <style lang="less">
277
+ .badge-content {
278
+ color: #fff;
279
+ box-sizing: border-box;
280
+ min-width: 8px;
281
+ font-size: 9px;
282
+ line-height: 12px;
283
+ white-space: nowrap;
284
+ font-weight: 400;
285
+ text-align: center;
286
+ }
287
+
288
+ .badge {
289
+ top: 6px;
290
+ position: absolute;
291
+ max-height: 13px;
292
+ min-height: 8px;
293
+ right: 0;
294
+ display: inline-flex;
295
+ vertical-align: middle;
296
+ box-sizing: content-box;
297
+ border-radius: 100px;
298
+ background-color: red;
299
+ }
300
+
301
+ .tab-befor-img {
302
+ content: '';
303
+ background-size: 30px;
304
+ display: inline-block;
305
+ margin-right: 8px;
306
+ height: 30px;
307
+ width: 30px;
308
+ vertical-align: -35%;
309
+ }
310
+ .pageskuang{
311
+ vertical-align:middle;
312
+ display:table-cell;
313
+ width: 32%;
314
+ top:-50%;
315
+ margin-top: 1%;
316
+ margin-left: 1%;
317
+ border:1px solid #e3e3e3;
318
+ text-align: center;
319
+ background-color: #ffffff;
320
+ }
321
+ .pgesfoot{
322
+ font-size: 14px;
323
+ color: #666666;
324
+ /* font-family: "Pingfhs";*/
325
+ }
326
+ .imgs{
327
+ width: 35px;
328
+ margin-top: 15px;
329
+ }
330
+ .pages-bgcolor{
331
+ text-align: center;
332
+ background-color: #f0f0ef;
333
+ }
334
+ img[src=""],img:not([src]){
335
+ opacity: 0;
336
+ border:none;
337
+ visibility: hidden;
338
+ max-width: none;
339
+ }
340
+
341
+ .manbiankuang {
342
+ width: 44%;
343
+ margin-top: 15px;
344
+ margin-left: 4%;
345
+ border: 1px solid #e3e3e3;
346
+ border-radius: 10px 10px 10px 10px;
347
+ text-align: center;
348
+ background-color: #ffffff;
349
+ }
350
+
351
+ .nav-bgcolor {
352
+ background-color: #ffffff;
353
+ }
354
+ </style>