system-phone 1.2.86 → 1.2.87-ycapply-2

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/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  2. package/.gradle/{5.1.1 → 7.1/dependencies-accessors}/gc.properties +0 -0
  3. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  4. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  5. package/.gradle/{5.1.1 → 7.1}/fileChanges/last-build.bin +0 -0
  6. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  7. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  8. package/.gradle/7.1/gc.properties +0 -0
  9. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  10. package/.gradle/buildOutputCleanup/cache.properties +2 -2
  11. package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
  12. package/.gradle/checksums/checksums.lock +0 -0
  13. package/.gradle/checksums/md5-checksums.bin +0 -0
  14. package/.gradle/checksums/sha1-checksums.bin +0 -0
  15. package/build/dev-server.js +5 -5
  16. package/package.json +1 -1
  17. package/src/assets//345/207/272/345/205/267/350/256/276/350/256/241/345/233/276/347/272/270.png +0 -0
  18. package/src/assets//345/220/210/345/220/214/347/255/276/350/256/242.png +0 -0
  19. package/src/assets//345/256/236/345/220/215/350/256/244/350/257/201.png +0 -0
  20. package/src/assets//345/256/242/346/234/215/347/256/241/347/220/206.png +0 -0
  21. package/src/assets//345/267/245/347/250/213/346/212/245/344/273/267.png +0 -0
  22. package/src/assets//345/267/245/347/250/213/346/226/275/345/267/245.png +0 -0
  23. package/src/assets//345/267/245/347/250/213/346/264/276/345/267/245.png +0 -0
  24. package/src/assets//347/216/260/345/234/272/345/213/230/345/257/237.png +0 -0
  25. package/src/assets//347/255/276/345/255/227/345/276/205/345/212/236.png +0 -0
  26. package/src/assets//351/200/232/346/260/224/347/202/271/347/201/253.png +0 -0
  27. package/src/components/LoginApp.vue +1 -1
  28. package/src/components/iot/InstructMessage.vue +10 -0
  29. package/src/components/iot/IotBaseInfo.vue +8 -8
  30. package/src/components/iot/iotMonitoringMain.vue +68 -36
  31. package/.gradle/5.1.1/fileHashes/fileHashes.lock +0 -0
  32. package/src/components/BlueToothConnect.vue +0 -52
File without changes
@@ -1,2 +1,2 @@
1
- #Mon Feb 22 14:09:14 CST 2021
2
- gradle.version=5.1.1
1
+ #Tue Oct 27 14:57:49 CST 2020
2
+ gradle.version=6.1
Binary file
@@ -40,23 +40,23 @@ var proxyTable = {
40
40
  // },
41
41
  '/rs/sql/getUserByMeter': {
42
42
  // target: 'http://127.0.0.1:8081'
43
- target: 'http://localhost:8025'
43
+ target: 'http://192.168.50.4:8555'
44
44
  },
45
45
  '/rs/logic/againOpenAccount': {
46
46
  // target: 'http://127.0.0.1:8081'
47
- target: 'http://localhost:8025'
47
+ target: 'http://192.168.50.4:8555'
48
48
  },
49
49
  '/rs/logic/againSendInstruct': {
50
50
  // target: 'http://127.0.0.1:8081'
51
- target: 'http://localhost:8025'
51
+ target: 'http://192.168.50.4:8555'
52
52
  },
53
53
  '/rs/logic/cancelSendInstruct': {
54
54
  // target: 'http://127.0.0.1:8081'
55
- target: 'http://localhost:8025'
55
+ target: 'http://192.168.50.4:8555'
56
56
  },
57
57
  '/rs/sql/iot_singleTable_OrderBy': {
58
58
  // target: 'http://127.0.0.1:8081'
59
- target: 'http://localhost:8025'
59
+ target: 'http://192.168.50.4:8555'
60
60
  },
61
61
  // 呼叫系统主数据服务
62
62
  '/rs': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-phone",
3
- "version": "1.2.86",
3
+ "version": "1.2.87-ycapply-2",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -231,7 +231,7 @@
231
231
  this.$androidUtil.setPreference('login_user_cache', userStr)
232
232
  this.$androidUtil.setPreference('f_repairman_id', Util.f.id)
233
233
  this.$androidUtil.setPreference('f_repairman_name', Util.f.name)
234
- this.$androidUtil.setPreference('f_role_name', Util.f.f_role_name)
234
+ this.$androidUtil.setPreference('f_role_name', Util.f.f_role_name || '')
235
235
  console.log("自动登陆标识"+Util.f.f_role_name)
236
236
  console.log(this.showauto)
237
237
  this.$androidUtil.setPreference('auto_login',this.showauto)
@@ -237,6 +237,16 @@
237
237
  }
238
238
  </script>
239
239
  <style media="screen" scoped>
240
+ div::-webkit-scrollbar {
241
+ width: 0 !important;
242
+ height: 0 !important;
243
+ }
244
+
245
+ div {
246
+ -ms-overflow-style: none;
247
+ overflow: -moz-scrollbars-none;
248
+ }
249
+
240
250
  .font-head{
241
251
  font-size: 14px;
242
252
  font-weight: bold;
@@ -2,7 +2,7 @@
2
2
  <div class="flex">
3
3
  <div class="cols-sm-12 col-md-12 col-xs-12 " >
4
4
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
5
- <div class="flex" style="padding: 0.5rem">
5
+ <div class="flex" style="padding: 0.5rem;align-items: center">
6
6
  <img src="../../assets/pinpai.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
7
7
  <span class="font-content">表具品牌</span>
8
8
  <span class="font-head">{{row.f_meter_brand}}</span>
@@ -10,49 +10,49 @@
10
10
 
11
11
  </div>
12
12
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
13
- <div class="flex" style="padding: 0.5rem">
13
+ <div class="flex" style="padding: 0.5rem;align-items: center">
14
14
  <img src="../../assets/leixing.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
15
15
  <span class="font-content">表具类型</span>
16
16
  <span class="font-head">{{row.f_meter_type}}</span>
17
17
  </div>
18
18
  </div>
19
19
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
20
- <div class="flex" style="padding: 0.5rem">
20
+ <div class="flex" style="padding: 0.5rem;align-items: center">
21
21
  <img src="../../assets/biaohao.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
22
22
  <span class="font-content">表号</span>
23
23
  <span class="font-head">{{row.f_meternumber}}</span>
24
24
  </div>
25
25
  </div>
26
26
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
27
- <div class="flex" style="padding: 0.5rem">
27
+ <div class="flex" style="padding: 0.5rem;align-items: center">
28
28
  <img src="../../assets/guige.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
29
29
  <span class="font-content">表具规格</span>
30
30
  <span class="font-head">{{row.f_meter_style}}</span>
31
31
  </div>
32
32
  </div>
33
33
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
34
- <div class="flex" style="padding: 0.5rem">
34
+ <div class="flex" style="padding: 0.5rem;align-items: center">
35
35
  <img src="../../assets/xinghao.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
36
36
  <span class="font-content">表具型号</span>
37
37
  <span class="font-head">{{row.f_type}}</span>
38
38
  </div>
39
39
  </div>
40
40
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
41
- <div class="flex" style="padding: 0.5rem">
41
+ <div class="flex" style="padding: 0.5rem;align-items: center">
42
42
  <img src="../../assets/bieming.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
43
43
  <span class="font-content">表具别名</span>
44
44
  <span class="font-head">{{row.f_alias}}</span>
45
45
  </div>
46
46
  </div>
47
47
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
48
- <div class="flex" style="padding: 0.5rem">
48
+ <div class="flex" style="padding: 0.5rem;align-items: center">
49
49
  <img src="../../assets/yue.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
50
50
  <span class="font-content">剩余金额</span>
51
51
  <span class="font-head">{{row.f_balance_amount}}</span>
52
52
  </div>
53
53
  </div>
54
54
  <div class="col-sm-3 col-md-3 col-xs-4 meterinfo">
55
- <div class="flex" style="padding: 0.5rem">
55
+ <div class="flex" style="padding: 0.5rem;align-items: center">
56
56
  <img src="../../assets/qiliang.png" style="height:32px;width:32px;margin-bottom: 5px" alt="" >
57
57
  <span class="font-content">累计用气量</span>
58
58
  <span class="font-head">{{row.f_balance_gas}}</span>
@@ -1,6 +1,6 @@
1
1
  <template>
2
- <div class="auto" style="background: #f8f8f8">
3
- <div partial class="bg-white">
2
+ <div class="auto" style="background: #f8f8f8;">
3
+ <div partial class="bg-white ">
4
4
  <div class="row app-row " style="margin-top: 10px">
5
5
  <div class="col-xs-4">
6
6
  <img src="../../assets/表号.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -10,6 +10,15 @@
10
10
  <input class="search_input input-font" placeholder="请输入您要查询的表号" v-model="f_meternumber" />
11
11
  </div>
12
12
  </div>
13
+ <div class="row app-row " style="margin-top: 10px">
14
+ <div class="col-xs-4">
15
+ <img src="../../assets/用户编号.png" style="width: 20px;margin-bottom: 5px" alt="">
16
+ <label class="font ">用户编号:</label>
17
+ </div>
18
+ <div class="col-xs-8" >
19
+ <input class="search_input input-font" placeholder="请输入用户编号" v-model="f_userinfo_code" />
20
+ </div>
21
+ </div>
13
22
  <div class="row text-center" style="padding-top: 10px;padding-bottom:10px;text-align: center">
14
23
  <button type="button" class="btn btn-font" style="width: 25%;
15
24
  margin-right: 3%; background-color: #499edf;color:#FFFFFF;border-radius: 10px ;" @click="query(querytitle)">查询</button>
@@ -20,7 +29,7 @@
20
29
  <div class="meterinfo auto bg-white">
21
30
  <iot-meter-info :row="row"></iot-meter-info>
22
31
  </div>
23
- <div>
32
+ <div class="">
24
33
  <div class="row bg-white" style="padding: 10px;margin-bottom: 5px">
25
34
  <div class="col-sm-12 " >
26
35
  <img src="../../assets/caozuo.png" style="width: 20px;margin-bottom: 5px" alt="">
@@ -32,11 +41,11 @@
32
41
  </div>
33
42
 
34
43
  </div>
35
- <div class="bg-white">
44
+ <div class="bg-white" >
36
45
  <!--<div class="row" style="padding-left: 10px">-->
37
46
  <!--<label class="font_normal_body">信息查询</label>-->
38
47
  <!--</div>-->
39
- <div class="row flex-row" style="justify-content: space-between">
48
+ <div class="row auto flex-row" style="justify-content: space-between">
40
49
  <div @click="setquery('基础')" >
41
50
  <label :class="querytitle == '基础' ? 'text-center div_ul2' : 'text-center div_ul'">基础</label>
42
51
  </div>
@@ -56,10 +65,10 @@
56
65
  <div v-if="model.rows.length == 0 && querytitle !== '基础'" style="margin-top: 20px">
57
66
  <label class="font_normal_body"><b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;暂无记录...&nbsp;&nbsp;&nbsp;</b></label>
58
67
  </div>
59
- <div class="iotbaseinfo" v-if="querytitle == '基础'">
68
+ <div class="iotbaseinfo " v-if="querytitle == '基础'">
60
69
  <iot-base-info :row="row"></iot-base-info>
61
70
  </div>
62
- <list :model="model" partial='list' v-if="querytitle == '指令查询'">
71
+ <list :model="model" partial='list' style="padding-bottom: 10px" v-if="querytitle == '指令查询'">
63
72
  <div partial>
64
73
  <div class="auto app-text" style="margin-top: 5px; " @click="$parent.$parent.goto(row)">
65
74
  <div class="panel" style="padding: 10px 10px 5px 10px;">
@@ -95,7 +104,7 @@
95
104
  </div>
96
105
  </div>
97
106
  </list>
98
- <list :model="model" partial='list' v-if="querytitle == '抄表查询'">
107
+ <list :model="model" partial='list' style="padding-bottom: 10px" v-if="querytitle == '抄表查询'">
99
108
  <div partial>
100
109
  <div class="auto app-text" style="margin-top: 5px;">
101
110
  <div class="panel" style="padding: 10px 10px 5px 10px;">
@@ -123,7 +132,7 @@
123
132
  </div>
124
133
  </div>
125
134
  </list>
126
- <list :model="model" partial='list' v-if="querytitle == '售气查询'">
135
+ <list :model="model" partial='list' style="padding-bottom: 10px" v-if="querytitle == '售气查询'">
127
136
  <div partial>
128
137
  <div class="auto app-text" style="margin-top: 5px;">
129
138
  <div class="panel" style="padding: 10px 10px 5px 10px;">
@@ -156,7 +165,7 @@
156
165
  </div>
157
166
  </div>
158
167
  </list>
159
- <list :model="model" partial='list' v-if="querytitle == '上报查询'">
168
+ <list :model="model" partial='list' style="padding-bottom: 10px" v-if="querytitle == '上报查询'">
160
169
  <div partial>
161
170
  <div class="auto app-text" style="margin-top: 5px;">
162
171
  <div class="panel" style="padding: 10px 10px 5px 10px;">
@@ -208,6 +217,7 @@
208
217
  data () {
209
218
  return {
210
219
  f_meternumber: '',
220
+ f_userinfo_code:'',
211
221
  querytitle: '基础',
212
222
  row:{},
213
223
  model: {
@@ -221,12 +231,20 @@
221
231
  },
222
232
  methods: {
223
233
  goto(row){
224
- console.log(row)
225
- this.$goto('instruct-message',{row:row})
234
+ console.log(row)
235
+ let _this=this
236
+ var pardate = {
237
+ _this:_this,
238
+ title:'指令信息',
239
+ safe:false
240
+ }
241
+ this.$dispatch('gotoson',pardate)
242
+ this.$goto('instruct-message',{row:row}, 'self')
226
243
  },
227
244
  empty () {
228
245
  console.log('清空')
229
246
  this.f_meternumber = ''
247
+ this.f_userinfo_code = ''
230
248
  },
231
249
  // 查询表别名
232
250
  queryAlias() {
@@ -237,19 +255,19 @@
237
255
  orderitem: 'gb.id desc',
238
256
  condition: ` f_meternumber = '${this.f_meternumber}'`
239
257
  }
240
- console.log('查询条件'+ JSON.stringify(data))
258
+ // console.log('查询条件'+ JSON.stringify(data))
241
259
  // this.$resetpost(`/rs/sql/iot_singleTable_OrderBy`, {data: data}).then((row) => {
242
260
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/iot_singleTable_OrderBy`, {data: data}).then((row) => {
243
- console.log('查询返回'+JSON.stringify(row))
261
+ // console.log('查询返回'+JSON.stringify(row))
244
262
  return row.data[0]
245
263
  }).catch((e) => {
246
264
  this.$showMessage('表别名获取失败!')
247
- console.log('错误信息+++++++'+JSON.stringify(e))
265
+ // console.log('错误信息+++++++'+JSON.stringify(e))
248
266
  })
249
267
 
250
268
  },
251
269
  async OpenValve(type) {
252
- console.log('开阀')
270
+ // console.log('开阀')
253
271
  if (!this.f_meternumber) {
254
272
  this.$showMessage('请输入/扫描用户表号!')
255
273
  return
@@ -258,28 +276,28 @@
258
276
  if (res === 'confirm') {
259
277
  // let alias = await this.queryAlias()
260
278
  let data = {
261
- userid: this.row.f_user_id,
279
+ userId: this.row.f_user_id,
262
280
  content: {isOpen: type},
263
281
  alias: this.row.f_alias,
264
282
  inputtor: Vue.user.name,
265
283
  moduleName: this.row.f_alias
266
284
  }
267
- console.log('请求参数'+JSON.stringify(data))
285
+ // console.log('请求参数'+JSON.stringify(data))
268
286
  // http://ip:port/webmeter/rs/logic/syncSaveValveControlTemplate
269
287
  let http = new HttpResetClass()
270
288
  http.load('POST',`${this.$androidUtil.getProxyUrl()}/webmeter/rs/logic/syncSaveValveControlTemplate`, {data: data}).then((row) => {
271
289
  // http.load('POST',`${this.$androidUtil.getProxyUrl()}/SJwebmeter`, {data: data}).then((row) => {
272
- console.log('执行结果'+JSON.stringify(row))
290
+ // console.log('执行结果'+JSON.stringify(row))
273
291
  this.$showMessage('发送成功!')
274
292
  }).catch((e) => {
275
293
  this.$showMessage('发送失败!')
276
- console.log('错误信息+++++++'+JSON.stringify(e))
294
+ // console.log('错误信息+++++++'+JSON.stringify(e))
277
295
  })
278
296
  }
279
297
  })
280
298
  },
281
299
  valveShutoff (type) {
282
- console.log('关阀')
300
+ // console.log('关阀')
283
301
  if (!this.f_meternumber) {
284
302
  this.$showMessage('请输入/扫描用户表号!')
285
303
  return
@@ -288,22 +306,22 @@
288
306
  if (res === 'confirm') {
289
307
  // let alias = await this.queryAlias()
290
308
  let data = {
291
- userid: this.row.f_user_id,
309
+ userId: this.row.f_user_id,
292
310
  content: {isOpen: type},
293
311
  alias: this.row.f_alias,
294
312
  inputtor: Vue.user.name,
295
313
  moduleName: this.row.f_alias
296
314
  }
297
- console.log('请求参数'+JSON.stringify(data))
315
+ // console.log('请求参数'+JSON.stringify(data))
298
316
  // http://ip:port/webmeter/rs/logic/syncSaveValveControlTemplate
299
317
  let http = new HttpResetClass()
300
318
  http.load('POST',`${this.$androidUtil.getProxyUrl()}/webmeter/rs/logic/syncSaveValveControlTemplate`, {data: data}).then((row) => {
301
319
  // http.load('POST',`${this.$androidUtil.getProxyUrl()}/SJwebmeter`, {data: data}).then((row) => {
302
- console.log('执行结果'+JSON.stringify(row))
320
+ // console.log('执行结果'+JSON.stringify(row))
303
321
  this.$showMessage('发送成功!')
304
322
  }).catch((e) => {
305
323
  this.$showMessage('发送失败!')
306
- console.log('错误信息+++++++'+JSON.stringify(e))
324
+ // console.log('错误信息+++++++'+JSON.stringify(e))
307
325
  })
308
326
  }
309
327
  })
@@ -319,8 +337,8 @@
319
337
  let http = new HttpResetClass()
320
338
  let condition = `f_meternumber = '${this.f_meternumber}'`
321
339
  console.log('修改条件===' + JSON.stringify(condition))
322
- http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/againOpenAccount`, {data: {condition: condition}},{resolveMsg: null, rejectMsg: null}).then((row) => {
323
- console.log('修改返回' + JSON.stringify(row))
340
+ http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/againOpenAccountnvm `, {data: {condition: condition}},{resolveMsg: null, rejectMsg: null}).then((row) => {
341
+ // console.log('修改返回' + JSON.stringify(row))
324
342
  this.$showMessage('操作成功!将会在一段时间内重新生成开户指令!')
325
343
  }).catch((e) => {
326
344
  this.$showMessage('操作失败!请稍后重试!')
@@ -333,10 +351,11 @@
333
351
  },
334
352
  query (title) {
335
353
  console.log('查询'+ JSON.stringify(title))
336
- if (!this.f_meternumber) {
337
- this.$showMessage('请输入/扫描用户表号!')
354
+ if (!this.f_meternumber&&!this.f_userinfo_code) {
355
+ this.$showMessage('请输入/扫描用户表号或输入用户编号!')
338
356
  return
339
357
  }
358
+ let condition = this.f_meternumber!==''? `f_meternumber = '${this.f_meternumber}'`:`f_userinfo_code = '${this.f_userinfo_code}'`
340
359
  let data = {
341
360
  items: '*',
342
361
  tablename: 't_instruct',
@@ -344,12 +363,15 @@
344
363
  f_meternumber: this.meternumber
345
364
  }
346
365
  if(title==='基础'){
347
- let condition = `f_meternumber = '${this.f_meternumber}'`
366
+ // let condition = `f_meternumber = '${this.f_meternumber}'`
348
367
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/getUserByMeter`, {data: {condition:condition}}).then((row) => {
349
- console.log('查询返回'+JSON.stringify(row))
368
+ if(row.data.length===0)
369
+ this.$showMessage('未查询到用户信息')
370
+ // console.log('查询返回'+JSON.stringify(row))
371
+ // this.f_meternumber = row.data[0].f_meternumber
372
+ // this.f_userinfo_code = row.data[0].f_userinfo_code?row.data[0].f_userinfo_code:this.f_userinfo_code
350
373
  this.row = row.data[0]
351
374
  }).catch((e) => {
352
- console.log('正在维护!')
353
375
  console.log('错误信息+++++++'+JSON.stringify(e))
354
376
  })
355
377
  } else {
@@ -358,28 +380,36 @@
358
380
  items: '*',
359
381
  tablename: 't_instruct',
360
382
  orderitem: 'f_instruct_date desc',
361
- condition: ` f_meternumber = '${this.f_meternumber}'`
383
+ condition: condition
362
384
  }
363
385
  }else if (title == '抄表查询') {
364
386
  data = {
365
387
  items: '*',
366
388
  tablename: 't_handplan',
367
389
  orderitem: 'f_input_date desc',
368
- condition: ` f_meternumber = '${this.f_meternumber}'`
390
+ condition: condition
369
391
  }
370
392
  }else if (title == '售气查询') {
393
+ if (!this.f_meternumber) {
394
+ this.$showMessage('请输入/扫描用户表号!')
395
+ return
396
+ }
371
397
  data = {
372
398
  items: '*',
373
399
  tablename: 't_sellinggas',
374
400
  orderitem: 'f_operate_date desc',
375
- condition: ` f_meternumber = '${this.f_meternumber}'`
401
+ condition: condition
376
402
  }
377
403
  }else if (title == '上报查询') {
404
+ if (!this.f_meternumber) {
405
+ this.$showMessage('请输入/扫描用户表号!')
406
+ return
407
+ }
378
408
  data = {
379
409
  items: '*',
380
410
  tablename: 't_meteread',
381
411
  orderitem: 'f_hand_date desc',
382
- condition: ` f_meternumber = '${this.f_meternumber}'`
412
+ condition: condition
383
413
  }
384
414
  }
385
415
  console.log('查询条件'+ JSON.stringify(data))
@@ -387,6 +417,8 @@
387
417
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/iot_singleTable_OrderBy`, {data: data}).then((row) => {
388
418
  console.log('查询返回'+JSON.stringify(row))
389
419
  this.model.rows = row.data
420
+ // this.f_meternumber = row.data[0].f_meternumber
421
+ // this.f_userinfo_code = row.data[0].f_userinfo_code?row.data[0].f_userinfo_code:this.f_userinfo_code
390
422
  }).catch((e) => {
391
423
  console.log('正在维护!')
392
424
  console.log('错误信息+++++++'+JSON.stringify(e))
@@ -1,52 +0,0 @@
1
- <template>
2
- <div style="background-color: #FFFFFF;">
3
- <modal v-ref:modal :show.sync="showbluetooth" width="80%" style="text-align:center">
4
- <header slot="modal-header" class="modal-header" style="text-align:center">
5
- <h3 class="modal-title">提示</h3>
6
- </header>
7
- <article slot="modal-body" style="text-align:center">
8
- <p>{{msg}}</p>
9
- </article>
10
- <footer slot="modal-footer" class="modal-footer auto" style="text-align:center">
11
- <button v-if="msg==='蓝牙已断开,是否重新连接'" class="btn btn-lg btn-font btn-color button_spacing auto" style="width:48%" @click="connectBlueTooth()">确定</button>
12
- <button class="btn btn-lg btn-font btn-color button_spacing auto" style="width:48%" @click="show()">取消</button>
13
- </footer>
14
- </modal>
15
- </div>
16
- </template>
17
- <script>
18
-
19
- import {HttpResetClass} from 'vue-client'
20
-
21
- export default {
22
- title: "蓝牙重新连接",
23
- props: ['msg','showbluetooth'],
24
- data() {
25
- return {
26
-
27
- }
28
- },
29
- methods: {
30
- show(){
31
- this.$emit('closebluetooth')
32
- },
33
- connectBlueTooth(){
34
-
35
- }
36
- },
37
- ready() {
38
-
39
- },
40
- watch: {
41
-
42
- },
43
- computed: {
44
-
45
- },
46
- events: {
47
-
48
- }
49
- }
50
- </script>
51
-
52
-