sale-client 3.5.21 → 3.5.24

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 (62) hide show
  1. package/.babelrc +5 -5
  2. package/.gradle/3.5.1/file-changes/last-build.bin +0 -0
  3. package/.gradle/3.5.1/taskHistory/taskHistory.lock +0 -0
  4. package/.gradle/buildOutputCleanup/built.bin +0 -0
  5. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  6. package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
  7. package/build/dev-server.js +161 -161
  8. package/package.json +2 -2
  9. package/src/components/FilesManage/FileUserFiles.vue +1 -0
  10. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +3 -1
  11. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +28 -29
  12. package/src/components/webMeter/paramSave/ParamSet.vue +6 -8
  13. package/src/components/webMeter/paramSave/ParamSetForm.vue +34 -37
  14. package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  15. package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  16. package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  17. package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  18. package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  19. package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  20. package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  21. package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  22. package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  23. package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  24. package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  25. package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  26. package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  27. package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  28. package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  29. package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  30. package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  31. package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  32. package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  33. package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  34. package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  35. package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  36. package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  37. package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  38. package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  39. package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  40. package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  41. package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  42. package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  43. package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  44. package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  45. package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  46. package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  47. package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  48. package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  49. package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  50. package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  51. package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  52. package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  53. package/src/filiale/dongguan/components/FilesManage/FileUserFiles.vue +1026 -0
  54. package/src/filiale/dongguan/components/common/userinfo_detail/UserBaseInfoNew.vue +3 -1
  55. package/src/filiale/dongguan/components/comprehen/StairPrice/GasPrice.vue +518 -0
  56. package/src/filiale/dongguan/sale.js +5 -1
  57. package/src/filiale/kelai/MeterinfoTest.vue +952 -0
  58. package/src/filiale/kelai/sale.js +6 -0
  59. package/src/filiale/macheng/FilesManageNew/UserEssentialInfoTest.vue +2 -2
  60. package/src/filiale/macheng/FilesManageNew/UserGeneralInfoTest.vue +1 -1
  61. package/src/filiale/shaoguan/handListMaintain.vue +11 -11
  62. package/src/plugins/LogicService.js +2 -2
@@ -117,9 +117,9 @@
117
117
 
118
118
 
119
119
  <script>
120
- import {HttpResetClass} from "vue-client";
120
+ import {HttpResetClass} from 'vue-client'
121
121
 
122
- export default {
122
+ export default {
123
123
  title: '参数设置',
124
124
  props: ['user', 'checked1', 'gasbrandid', 'condition'],
125
125
 
@@ -130,8 +130,8 @@
130
130
  gasbrand: null,
131
131
  paramtypes: [],
132
132
  paramtype: '',
133
- param:{},
134
- history:[]
133
+ param: {},
134
+ history: []
135
135
  }
136
136
  },
137
137
  ready () {
@@ -140,8 +140,7 @@
140
140
  watch: {
141
141
  param: {
142
142
  handler: function (val) {
143
- console.log("--------------param变了",val)
144
-
143
+ console.log('--------------param变了', val)
145
144
  },
146
145
  deep: true
147
146
  },
@@ -183,22 +182,21 @@
183
182
  let params = []
184
183
  for (let i = 0; i < this.newmeterinfo.length; i++) {
185
184
  for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
186
- if(this.newmeterinfo[i].name===this.paramtype){
185
+ if (this.newmeterinfo[i].name === this.paramtype) {
187
186
  for (let key in this.row) {
188
187
  if (key === this.newmeterinfo[i].params[j].title) {
189
188
  let data = {}
190
189
  data.param_group = this.newmeterinfo[i].name
191
190
  data.param_name = this.newmeterinfo[i].params[j].name
192
- data.param_value = this.row[key]?(this.row[key].code?this.row[key].code:this.row[key]):null
193
- data.param_content = this.row[key]?(this.row[key].content?this.row[key].content:this.row[key]):null
191
+ data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
192
+ data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
194
193
  data.param_lname = this.newmeterinfo[i].params[j].title
195
- if(this.row[key]){
194
+ if (this.row[key]) {
196
195
  params.push(data)
197
196
  }
198
197
  }
199
198
  }
200
199
  }
201
-
202
200
  }
203
201
  }
204
202
  let param = {
@@ -233,24 +231,24 @@
233
231
  let params = []
234
232
  for (let i = 0; i < this.newmeterinfo.length; i++) {
235
233
  for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
236
- if(this.newmeterinfo[i].name===this.paramtype){
234
+ if (this.newmeterinfo[i].name === this.paramtype) {
237
235
  for (let key in this.row) {
238
236
  if (key === this.newmeterinfo[i].params[j].title) {
239
237
  let data = {}
240
238
  data.param_group = this.newmeterinfo[i].name
241
239
  data.param_name = this.newmeterinfo[i].params[j].name
242
- data.param_value = this.row[key]?(this.row[key].code?this.row[key].code:this.row[key]):null
243
- data.param_content = this.row[key]?(this.row[key].content?this.row[key].content:this.row[key]):null
240
+ data.param_value = this.row[key] ? (this.row[key].code ? this.row[key].code : this.row[key]) : null
241
+ data.param_content = this.row[key] ? (this.row[key].content ? this.row[key].content : this.row[key]) : null
244
242
  data.param_lname = this.newmeterinfo[i].params[j].title
245
- if(this.row[key]){
243
+ if (this.row[key]) {
246
244
  params.push(data)
247
245
  }
248
246
  }
249
247
  }
250
248
  }
251
-
252
249
  }
253
250
  }
251
+ debugger
254
252
  let param = {
255
253
  condition: 'g.f_gasbrand_id = ' + this.gasbrandid[0] + ' and f.f_userfiles_id in (' + filesid + ')',
256
254
  switchCheckAll: this.checked1,
@@ -276,40 +274,39 @@
276
274
  this.paramtypes = []
277
275
  let temp = {
278
276
  tablename: 't_gasbrand',
279
- condition: `id=${val} and f_orgid='${this.$login.f.orgid}'`
277
+ condition: `id=${val}`
280
278
  }
281
279
  await this.$resetpost('rs/sql/saleSingleTable', {data: temp}, {resolveMsg: null, rejectMsg: null}).then((res) => {
282
280
  this.gasbrand = res.data[0]
283
281
  })
284
282
  this.newmeterinfo = [{}]
285
283
 
286
- let res = await this.$resetpost('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {resolveMsg: '参数已加载', rejectMsg: null})
287
- this.newmeterinfo = res.data
288
- for (let i = 0; i < this.newmeterinfo.length; i++) {
289
- this.paramtypes.push({label: this.newmeterinfo[i].name, value: this.newmeterinfo[i].name})
290
- for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
291
- if(this.newmeterinfo[i].params[j].params instanceof Array){
284
+ let res = await this.$resetpost('/webmeter/rs/logic/getParamsByGasBrand', {data: {gasBrandId: val}}, {resolveMsg: '参数已加载', rejectMsg: null})
285
+ this.newmeterinfo = res.data
286
+ for (let i = 0; i < this.newmeterinfo.length; i++) {
287
+ this.paramtypes.push({label: this.newmeterinfo[i].name, value: this.newmeterinfo[i].name})
288
+ for (let j = 0; j < this.newmeterinfo[i].params.length; j++) {
289
+ if (this.newmeterinfo[i].params[j].params instanceof Array) {
292
290
  for (let k = 0; k < this.newmeterinfo[i].params[j].params.length; k++) {
293
- this.newmeterinfo[i].params[j].params[k].value = {
294
- id:this.newmeterinfo[i].params[j].params[k].label,
295
- code: this.newmeterinfo[i].params[j].params[k].value,
296
- content: this.newmeterinfo[i].params[j].params[k].label
297
- }
291
+ this.newmeterinfo[i].params[j].params[k].value = {
292
+ id: this.newmeterinfo[i].params[j].params[k].label,
293
+ code: this.newmeterinfo[i].params[j].params[k].value,
294
+ content: this.newmeterinfo[i].params[j].params[k].label
298
295
  }
299
296
  }
300
297
  }
301
298
  }
302
- this.$dispatch('showparam', true)
303
-
299
+ }
300
+ this.$dispatch('showparam', true)
304
301
  },
305
- async getBrandParamsHistory(){
302
+ async getBrandParamsHistory () {
306
303
  let http = new HttpResetClass()
307
304
  let res = await http.load('POST', 'rs/sql/getBrandParamHistory', {
308
305
  data: {
309
306
  condition: `ga.f_gasbrand_id= ${this.gasbrandid}`
310
307
  }
311
308
  }, {resolveMsg: null, rejectMsg: '获取参数历史信息信息失败'})
312
- this.history=res.data
309
+ this.history = res.data
313
310
  let rat = await http.load('POST', 'rs/sql/singleTable_OrderBy', {
314
311
  data: {
315
312
  items: '*',
@@ -320,18 +317,18 @@
320
317
  }, {resolveMsg: null, rejectMsg: '获取参数历史信息信息失败'})
321
318
  if (rat.data.length > 0) {
322
319
  rat.data.forEach((item) => {
323
- if(item.f_param_value === '1'){
320
+ if (item.f_param_value === '1') {
324
321
  item.f_param_value = '开'
325
322
  }
326
- if(item.f_param_value === '0'){
323
+ if (item.f_param_value === '0') {
327
324
  item.f_param_value = '关'
328
325
  }
329
- console.log("参数取出来了---",item.f_param_lname)
330
- this.$set(`param['${item.f_param_lname}']`,item.f_param_value)
326
+ console.log('参数取出来了---', item.f_param_lname)
327
+ this.$set(`param['${item.f_param_lname}']`, item.f_param_value)
331
328
  // this.param[item.f_param_lname] = item.f_param_value
332
329
  })
333
330
  }
334
- console.log("参数取出来了",this.param)
331
+ console.log('参数取出来了', this.param)
335
332
  }
336
333
  }
337
334
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes