system-phone 1.2.85-test1 → 1.2.85-test2

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": "1.2.85-test1",
3
+ "version": "1.2.85-test2",
4
4
  "description": "手机模块 前端组件",
5
5
  "author": "何宁社 <524395609@qq.com>",
6
6
  "license": "ISC",
@@ -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;
@@ -244,19 +244,19 @@
244
244
  orderitem: 'gb.id desc',
245
245
  condition: ` f_meternumber = '${this.f_meternumber}'`
246
246
  }
247
- console.log('查询条件'+ JSON.stringify(data))
247
+ // console.log('查询条件'+ JSON.stringify(data))
248
248
  // this.$resetpost(`/rs/sql/iot_singleTable_OrderBy`, {data: data}).then((row) => {
249
249
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/iot_singleTable_OrderBy`, {data: data}).then((row) => {
250
- console.log('查询返回'+JSON.stringify(row))
250
+ // console.log('查询返回'+JSON.stringify(row))
251
251
  return row.data[0]
252
252
  }).catch((e) => {
253
253
  this.$showMessage('表别名获取失败!')
254
- console.log('错误信息+++++++'+JSON.stringify(e))
254
+ // console.log('错误信息+++++++'+JSON.stringify(e))
255
255
  })
256
256
 
257
257
  },
258
258
  async OpenValve(type) {
259
- console.log('开阀')
259
+ // console.log('开阀')
260
260
  if (!this.f_meternumber) {
261
261
  this.$showMessage('请输入/扫描用户表号!')
262
262
  return
@@ -265,28 +265,28 @@
265
265
  if (res === 'confirm') {
266
266
  // let alias = await this.queryAlias()
267
267
  let data = {
268
- userid: this.row.f_user_id,
268
+ userId: this.row.f_user_id,
269
269
  content: {isOpen: type},
270
270
  alias: this.row.f_alias,
271
271
  inputtor: Vue.user.name,
272
272
  moduleName: this.row.f_alias
273
273
  }
274
- console.log('请求参数'+JSON.stringify(data))
274
+ // console.log('请求参数'+JSON.stringify(data))
275
275
  // http://ip:port/webmeter/rs/logic/syncSaveValveControlTemplate
276
276
  let http = new HttpResetClass()
277
277
  http.load('POST',`${this.$androidUtil.getProxyUrl()}/webmeter/rs/logic/syncSaveValveControlTemplate`, {data: data}).then((row) => {
278
278
  // http.load('POST',`${this.$androidUtil.getProxyUrl()}/SJwebmeter`, {data: data}).then((row) => {
279
- console.log('执行结果'+JSON.stringify(row))
279
+ // console.log('执行结果'+JSON.stringify(row))
280
280
  this.$showMessage('发送成功!')
281
281
  }).catch((e) => {
282
282
  this.$showMessage('发送失败!')
283
- console.log('错误信息+++++++'+JSON.stringify(e))
283
+ // console.log('错误信息+++++++'+JSON.stringify(e))
284
284
  })
285
285
  }
286
286
  })
287
287
  },
288
288
  valveShutoff (type) {
289
- console.log('关阀')
289
+ // console.log('关阀')
290
290
  if (!this.f_meternumber) {
291
291
  this.$showMessage('请输入/扫描用户表号!')
292
292
  return
@@ -295,22 +295,22 @@
295
295
  if (res === 'confirm') {
296
296
  // let alias = await this.queryAlias()
297
297
  let data = {
298
- userid: this.row.f_user_id,
298
+ userId: this.row.f_user_id,
299
299
  content: {isOpen: type},
300
300
  alias: this.row.f_alias,
301
301
  inputtor: Vue.user.name,
302
302
  moduleName: this.row.f_alias
303
303
  }
304
- console.log('请求参数'+JSON.stringify(data))
304
+ // console.log('请求参数'+JSON.stringify(data))
305
305
  // http://ip:port/webmeter/rs/logic/syncSaveValveControlTemplate
306
306
  let http = new HttpResetClass()
307
307
  http.load('POST',`${this.$androidUtil.getProxyUrl()}/webmeter/rs/logic/syncSaveValveControlTemplate`, {data: data}).then((row) => {
308
308
  // http.load('POST',`${this.$androidUtil.getProxyUrl()}/SJwebmeter`, {data: data}).then((row) => {
309
- console.log('执行结果'+JSON.stringify(row))
309
+ // console.log('执行结果'+JSON.stringify(row))
310
310
  this.$showMessage('发送成功!')
311
311
  }).catch((e) => {
312
312
  this.$showMessage('发送失败!')
313
- console.log('错误信息+++++++'+JSON.stringify(e))
313
+ // console.log('错误信息+++++++'+JSON.stringify(e))
314
314
  })
315
315
  }
316
316
  })
@@ -327,7 +327,7 @@
327
327
  let condition = `f_meternumber = '${this.f_meternumber}'`
328
328
  console.log('修改条件===' + JSON.stringify(condition))
329
329
  http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/againOpenAccount`, {data: {condition: condition}},{resolveMsg: null, rejectMsg: null}).then((row) => {
330
- console.log('修改返回' + JSON.stringify(row))
330
+ // console.log('修改返回' + JSON.stringify(row))
331
331
  this.$showMessage('操作成功!将会在一段时间内重新生成开户指令!')
332
332
  }).catch((e) => {
333
333
  this.$showMessage('操作失败!请稍后重试!')
@@ -353,10 +353,9 @@
353
353
  if(title==='基础'){
354
354
  let condition = `f_meternumber = '${this.f_meternumber}'`
355
355
  this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/sql/getUserByMeter`, {data: {condition:condition}}).then((row) => {
356
- console.log('查询返回'+JSON.stringify(row))
356
+ // console.log('查询返回'+JSON.stringify(row))
357
357
  this.row = row.data[0]
358
358
  }).catch((e) => {
359
- console.log('正在维护!')
360
359
  console.log('错误信息+++++++'+JSON.stringify(e))
361
360
  })
362
361
  } else {