sale-client 3.5.187 → 3.5.189

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/build/dev-server.js +29 -157
  2. package/package.json +1 -1
  3. package/src/components/FilesManage/UserGeneralInfoTest.vue +1 -1
  4. package/src/components/revenue/machineHandManage/machineHandAudit.vue +21 -9
  5. package/src/filiale/gehua/UserGeneralInfoTest.vue +615 -615
  6. package/src/filiale/liuan/ChargeList.vue +910 -0
  7. package/src/filiale/liuan/DetailManage.vue +41 -0
  8. package/src/filiale/liuan/DevicesDetail.vue +69 -0
  9. package/src/filiale/liuan/UserfilesDetail.vue +79 -0
  10. package/src/filiale/liuan/Userinfo.vue +181 -0
  11. package/src/filiale/liuan/UserinfoDetail.vue +66 -0
  12. package/src/filiale/liuan/meterinfodetail.vue +231 -0
  13. package/src/filiale/liuan/sale.js +12 -0
  14. package/src/filiale/qianneng/eticket/EticketPrint.vue +8 -6
  15. package/src/main.js +22 -22
  16. package/yarn-error.log +9224 -0
  17. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  18. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  19. package/.gradle/5.2.1/gc.properties +0 -0
  20. package/.gradle/7.5.1/checksums/checksums.lock +0 -0
  21. package/.gradle/7.5.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  22. package/.gradle/7.5.1/dependencies-accessors/gc.properties +0 -0
  23. package/.gradle/7.5.1/executionHistory/executionHistory.bin +0 -0
  24. package/.gradle/7.5.1/executionHistory/executionHistory.lock +0 -0
  25. package/.gradle/7.5.1/fileChanges/last-build.bin +0 -0
  26. package/.gradle/7.5.1/fileHashes/fileHashes.bin +0 -0
  27. package/.gradle/7.5.1/fileHashes/fileHashes.lock +0 -0
  28. package/.gradle/7.5.1/gc.properties +0 -0
  29. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  30. package/.gradle/buildOutputCleanup/cache.properties +0 -2
  31. package/.gradle/file-system.probe +0 -0
  32. package/.gradle/vcs-1/gc.properties +0 -0
@@ -1,150 +1,42 @@
1
- var express = require('express')
2
- var webpack = require('webpack')
3
- var config = require('./webpack.dev.conf')
4
- var proxyMiddleware = require('http-proxy-middleware')
5
- // var httpProxy = require('http-proxy')
1
+ const express = require('express')
2
+ const webpack = require('webpack')
3
+ const config = require('./webpack.dev.conf')
4
+ const proxyMiddleware = require('http-proxy-middleware')
5
+ const app = express()
6
+ const compiler = webpack(config)
6
7
 
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
8
+ // 自己改了这里不要提交 来回覆盖挺麻烦的
9
+ const [local, server] = ['http://192.168.50.4:8400', 'http://192.168.50.4:8400']
10
+ const port = 8089
10
11
 
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://121.36.106.17:8400', bendi1 = 'http://121.36.106.17:8400'
14
- // 公司测试服务
15
- // var fuwu = 'http://192.168.50.4:8450'
16
- // 梅河口
17
- // var fuwu = 'http://139.214.92.34:8301'
18
- // 单县
19
- // var fuwu = 'http://119.187.112.234:8400'
20
- // 中盛
21
- // var fuwu = 'http://39.99.85.14:8400'
22
- // 燎原
23
- var fuwu = 'http://121.36.106.17:8400'
24
- // 葛华
25
- // var fuwu = 'http://219.138.226.181:8401'
26
- // 乌海
27
- // var fuwu = 'http://203.57.101.233:8400'
28
- // 铜川
29
- // var fuwu = 'http://61.134.55.234:9999/'
30
- // var fuwu = 'http://60.222.250.39:8300/'
31
- // 韶关
32
- // var fuwu = 'http://119.146.1.106:8300/'
33
- // 巩义测试服务
34
- // var fuwu = 'http://192.168.0.227:8400'
35
- // 燎原测试服务
36
- // var fuwu = 'http://121.41.19.238:8400 '
37
- // var fuwu = 'http://121.41.19.238:9001/'
38
-
39
- // var fuwu = 'http://139.214.92.34:8301/'
40
-
41
- var proxyTable = {
42
- // '/'
43
- // '/rs/logic/stopBasicLivingNew':{
44
- // target:'http://127.0.0.1:8080'
45
- // },
46
- // '/rs/logic/getBatchOperaPro':{
47
- // target:'http://127.0.0.1:8080'
48
- // },
49
- // '/rs/sql/sale_getUser':{
50
- // target:'http://127.0.0.1:8080'
51
- // },
52
- // '/rs/logic/getOperBtns':{
53
- // target:'http://127.0.0.1:8080'
54
- // },
55
- // '/rs/file/uploadFile':{
56
- // target:'http://127.0.0.1:8080'
57
- // },
58
- // '/rs/business/batchRunExcelDefault/filemanage_fileSave/newSettleFileImport':{
59
- // target:'http://127.0.0.1:8080'
60
- // },
61
- // '/rs/business/batchRunNew/BatchmachineDownHand/machineDownHand':{
62
- // target:'http:127.0.0.1:8080'
63
- // },
64
- // '/rs/sql/getDownPlan':{
65
- // target:'http:127.0.0.1:8080'
66
- // },
67
- // '/rs/logic/saleExport': {
68
- // target: fuwu
69
- // },
70
- // '/rs/logic/saleGetExportProgress': {
71
- // target: fuwu
72
- // },
73
- // '/rs/logic/getWarningMsg': {
74
- // target: 'http://localhost:8080/'
75
- // },
76
- '/rs/file': {
77
- target: fuwu
78
- },
79
- '/files': {
80
- target: fuwu
81
- },
82
- // 查找资源服务数据
83
- '/rs/search': {
84
- target: fuwu
85
- },
86
- // 查找资源服务数据
87
- '/rs/logic/getLogin': {
88
- target: fuwu
12
+ const proxyTable = {
13
+ '/rs/report/hand_bill': {
14
+ target: 'http://127.0.0.1:8084'
89
15
  },
90
- // 查找资源服务数据
91
- '/rs/logic/getInitData': {
92
- target: fuwu
16
+ '/rs/sql/open_eticket_JBquery': {
17
+ target: local
93
18
  },
94
- '/rs/logic/getSaleInitData': {
95
- target: fuwu
19
+ '/text': {
20
+ target: local
96
21
  },
97
- '/invoice': {
98
- target: fuwu
99
- },
100
- // 用户登录服务地址
101
- '/rs/user': {
102
- target: fuwu
103
- },
104
- '/rs/path/getParams': {
105
- target: fuwu
106
- },
107
- '/rs/data': {
108
- target: fuwu
109
- },
110
- '/rs/license': {
111
- target: fuwu
112
- },
113
- '/rs/db': {
114
- target: fuwu
22
+ '/files': {
23
+ target: server
115
24
  },
116
25
  '/excel': {
117
- target: fuwu
118
- },
119
- '/rs/config': {
120
- target: fuwu
121
- },
122
- '/rs/sql/getLicenseById': {
123
- target: fuwu
124
- },
125
- '/rs/sql/manage_getarealist': {
126
- target: fuwu
127
- },
128
- '/rs/sql/manage_getstreetlist': {
129
- target: fuwu
130
- },
131
- '/rs/report': {
132
- target: 'http://121.36.106.17:8400/'
133
- },
134
- '/rs/vue': {
135
- target: fuwu
26
+ target: server
136
27
  },
137
28
  '/webmeter': {
138
- target: 'http://192.168.50.4:8450'
29
+ target: server
30
+ },
31
+ '/rs/logic': {
32
+ target: server
139
33
  },
140
34
  '/rs': {
141
- // target: 'http://192.168.30.63:8081/'
142
- // target: 'http://121.36.106.17:8400/'
143
- target: fuwu
35
+ target: server
144
36
  }
145
37
  }
146
38
 
147
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
39
+ const devMiddleware = require('webpack-dev-middleware')(compiler, {
148
40
  publicPath: config.output.publicPath,
149
41
  stats: {
150
42
  colors: true,
@@ -152,8 +44,7 @@ var devMiddleware = require('webpack-dev-middleware')(compiler, {
152
44
  }
153
45
  })
154
46
 
155
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
156
- // force page reload when html-webpack-plugin template changes
47
+ const hotMiddleware = require('webpack-hot-middleware')(compiler)
157
48
  compiler.plugin('compilation', function (compilation) {
158
49
  compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
159
50
  hotMiddleware.publish({action: 'reload'})
@@ -161,41 +52,22 @@ compiler.plugin('compilation', function (compilation) {
161
52
  })
162
53
  })
163
54
 
164
- // proxy api requests
165
55
  Object.keys(proxyTable).forEach(function (context) {
166
- var options = proxyTable[context]
56
+ let options = proxyTable[context]
167
57
  if (typeof options === 'string') {
168
58
  options = {target: options}
169
59
  }
170
60
  app.use(proxyMiddleware(context, options))
171
61
  })
172
-
173
- // handle fallback for HTML5 history API
174
62
  app.use(require('connect-history-api-fallback')())
175
- // app.use(function (req, res, next) {
176
- // res.header('Access-Control-Allow-Origin', '*')
177
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
178
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
179
- // res.header('X-Powered-By', '3,2,1')
180
- // res.header('Access-Control-Allow-Credentials', 'true')
181
- // res.header('Content-Type', 'application/json;charset=utf-8')
182
- // next()
183
- // })
184
-
185
- // serve webpack bundle output
186
63
  app.use(devMiddleware)
187
-
188
- // enable hot-reload and state-preserving
189
- // compilation error display
190
64
  app.use(hotMiddleware)
191
-
192
- // serve pure static assets
193
65
  app.use('/static', express.static('./static'))
194
66
 
195
- module.exports = app.listen(8089, function (err) {
67
+ module.exports = app.listen(port, function (err) {
196
68
  if (err) {
197
69
  console.log(err)
198
70
  return
199
71
  }
200
- console.log('Listening at http://localhost:8089')
72
+ console.log('Listening at http://localhost:' + port)
201
73
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.187",
3
+ "version": "3.5.189",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -93,7 +93,7 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="fileSaveData.reason==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
96
+ <input v-if="fileSaveData.reason ==='其他'" class="input_search" style="width:60%" placeholder='修改原因' v-model="fileSaveData.modifyReason"/>
97
97
  </div>
98
98
  </article>
99
99
  <footer slot="modal-footer" class="modal-footer">
@@ -394,7 +394,7 @@
394
394
  import * as Util from '../../../Util'
395
395
 
396
396
  let readyGen = async function (self) {
397
- self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
397
+ self.$refs.paged.$refs.cri.model.startDate = self.$login.toStartAndEndDateString()[0]
398
398
  self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString()
399
399
  await self.$LoadParams.loadMeterBook(self.f_filialeid)
400
400
  self.loadMeterBooks()
@@ -414,12 +414,13 @@
414
414
  dep: [],
415
415
  user: []
416
416
  },
417
- config:{
418
- examine: false,
417
+ config: {
418
+ examine: false
419
419
  },
420
420
  imgfilename: '',
421
421
  // 小区
422
422
  residentialArea: [],
423
+ inputtouPerson: [],
423
424
  imgshow: false,
424
425
  criteriaShow: false,
425
426
  orgCondtionStr: '',
@@ -444,8 +445,8 @@
444
445
  'f_adjustable_name': '调压箱名称',
445
446
  'f_inputtor': '抄表员'
446
447
  },
447
- auditState:[{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
448
- auditState1:[{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
448
+ auditState: [{label: '全部', value: ''}, {label: '已审核', value: '已抄表'}, {label: '未审核', value: '待审核'}],
449
+ auditState1: [{label: '全部', value: ''}, {label: '审核失败', value: '审核失败'}],
449
450
  meters: [{label: '全部', value: ''}, {label: '机表', value: '机表'}, {label: '物联网表', value: '物联网表'}],
450
451
  resultstate: this.$appdata.getParam('抄表结果状态'),
451
452
  meterstates: this.$appdata.getParam('抄表状态') ? [{
@@ -475,7 +476,7 @@
475
476
  methods: {
476
477
  // 修正本期底数
477
478
  amend (row) {
478
- let tablebase = window.prompt('请输入你要修正的底数值,上期底数:'+ row.f_meter_base)
479
+ let tablebase = window.prompt('请输入你要修正的底数值,上期底数:' + row.f_meter_base)
479
480
  if (!tablebase) return
480
481
  if (tablebase < 0) {
481
482
  this.$showAlert(`底数不能小于0,请注意!`, 'warning', 2000)
@@ -596,9 +597,9 @@
596
597
  this.imgshow = false
597
598
  },
598
599
  imgShow (val) {
599
- console.log("-----------val2:",val)
600
+ console.log('-----------val2:', val)
600
601
  this.imgfilename = `rs/image/file/` + val
601
- console.log("-----------imgfilename2:",this.imgfilename)
602
+ console.log('-----------imgfilename2:', this.imgfilename)
602
603
  this.imgshow = true
603
604
  },
604
605
  async getaddress () {
@@ -632,6 +633,17 @@
632
633
  } else {
633
634
  args.condition = `${args.condition}` + this.orgCondtionStr
634
635
  }
636
+ // 抄表员查询条件
637
+ this.inputtouPerson = this.$refs.paged.$refs.cri.model.f_inputtor
638
+ if (this.inputtouPerson.length !== 0) {
639
+ let str = JSON.stringify(this.inputtouPerson)
640
+ str = str.replace(/"/g, `'`)
641
+ str = str.replace(/\[/g, ``)
642
+ str = str.replace(/\]/g, ``)
643
+ console.log('=====抄表员model22222222222绑定====', str)
644
+ // 查询多个抄表员时条件
645
+ args.condition += ` and f_inputtor in ( ${str} )`
646
+ }
635
647
  this.excelCondition = args.condition
636
648
  this.$refs.paged.$refs.grid.selectInit()
637
649
  this.model.search(args.condition, args.model)
@@ -696,7 +708,7 @@
696
708
  },
697
709
  loadMeterBooks () {
698
710
  this.meterbooks = this.$GetSaleParam.getMeterBooks()
699
- },
711
+ }
700
712
 
701
713
  },
702
714
  computed: {