sale-client 3.4.99 → 3.4.103

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 (79) hide show
  1. package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
  2. package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
  3. package/.gradle/5.2.1/gc.properties +0 -0
  4. package/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
  5. package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
  6. package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
  7. package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
  8. package/.gradle/7.1/fileChanges/last-build.bin +0 -0
  9. package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
  10. package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
  11. package/.gradle/7.1/gc.properties +0 -0
  12. package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
  13. package/.gradle/buildOutputCleanup/cache.properties +2 -0
  14. package/.gradle/checksums/checksums.lock +0 -0
  15. package/.gradle/vcs-1/gc.properties +0 -0
  16. package/build/dev-server.js +157 -157
  17. package/package.json +1 -1
  18. package/src/components/FilesManageNew/UserGeneralInfoTest.vue +5 -1
  19. package/src/components/charge/ChargeList.vue +31 -1
  20. package/src/components/charge/ChargeManage.vue +1 -1
  21. package/src/components/charge/business/IOTMeterCenter.vue +801 -801
  22. package/src/components/charge/business/ShowCiTiaoCard.vue +168 -0
  23. package/src/components/common/userinfo_detail/UserInfoDetailManageNew.vue +7 -3
  24. package/src/components/meterBook/MeterManger.vue +61 -61
  25. package/src/components/revenue/HandManager/MeterBookList.vue +3 -2
  26. package/src/components/revenue/HandManager/MeterBookManage.vue +153 -152
  27. package/src/components/revenue/HandManager/MeterBookUser.vue +89 -5
  28. package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
  29. package/src/components/revenue/base/leftview/meterinfodetail.vue +9 -4
  30. package/src/components/revenue/base/rightview/CardList.vue +3 -1
  31. package/src/components/revenue/changeInsurance/InsuranceAdd.vue +4 -4
  32. package/src/components/revenue/comprehen/ComprehenOperation/ReplaceCard/ReplaceCardManage.vue +2 -0
  33. package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
  34. package/src/components/revenue/machineHandManage/machineDown.vue +1105 -1105
  35. package/src/components/revenue/machineHandManage/machineHand.vue +41 -9
  36. package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  37. package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  38. package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  39. package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  40. package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  41. package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  42. package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  43. package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  44. package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  45. package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  46. package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  47. package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  48. package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  49. package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  50. package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  51. package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  52. package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  53. package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  54. package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  55. package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  56. package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  57. package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  58. package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  59. package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  60. package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  61. package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  62. package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  63. package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  64. package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  65. package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  66. package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  67. package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  68. package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  69. package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  70. package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  71. package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  72. package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  73. package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  74. package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  75. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +721 -0
  76. package/src/filiale/qianneng/sale.js +3 -1
  77. package/src/main.js +23 -23
  78. package/src/plugins/CardService.js +98 -0
  79. package/src/sale.js +2 -0
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Jan 27 17:21:53 CST 2022
2
+ gradle.version=5.2.1
Binary file
File without changes
@@ -1,157 +1,157 @@
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')
6
-
7
- var app = express()
8
- var compiler = webpack(config)
9
- // var proxy = httpProxy.createProxyServer()
10
-
11
- // Define HTTP proxies to your custom API backend
12
- // https://github.com/chimurai/http-proxy-middleware
13
- var bendi = 'http://127.0.0.1:8080/',bendi1 = 'http://119.146.1.106:8300/'
14
- // 公司测试服务
15
- var fuwu = 'http://192.168.50.4:8400/'
16
- //铜川正式
17
- // var fuwu = 'http://61.134.55.234:9999/'
18
- //铜川测试
19
- // var fuwu = 'http://61.134.55.234:9999/'
20
- // var fuwu = 'http://60.222.250.39:8300/'
21
- //韶关
22
- // var fuwu = 'http://119.146.1.106:8300/'
23
- // 巩义测试服务
24
- // var fuwu = 'http://192.168.0.227:8400'
25
- // 燎原测试服务
26
- // var fuwu = 'http://121.41.19.238:8400 '
27
- // var fuwu = 'http://121.41.19.238:9001/'
28
-
29
- // var fuwu = 'http://139.214.92.34:8301/'
30
-
31
- var proxyTable = {
32
- '/rs/logic/saleExport': {
33
- target: fuwu
34
- },
35
- '/rs/logic/saleGetExportProgress': {
36
- target: fuwu
37
- },
38
- '/files': {
39
- target: fuwu
40
- },
41
- // 查找资源服务数据
42
- '/rs/search': {
43
- target: fuwu
44
- },
45
- // 查找资源服务数据
46
- '/rs/logic/getLogin': {
47
- target: fuwu
48
- },
49
- // 查找资源服务数据
50
- '/rs/logic/getInitData': {
51
- target: fuwu
52
- },
53
- '/rs/logic/getSaleInitData': {
54
- target: fuwu
55
- },
56
- '/invoice':{
57
- target: fuwu
58
- },
59
- // 用户登录服务地址
60
- '/rs/user': {
61
- target: fuwu
62
- },
63
- '/rs/path/getParams': {
64
- target: fuwu
65
- },
66
- '/rs/data': {
67
- target: fuwu
68
- },
69
- '/rs/license': {
70
- target: fuwu
71
- },
72
- '/rs/db': {
73
- target: fuwu
74
- },
75
- '/excel': {
76
- target: fuwu
77
- },
78
- '/rs/config': {
79
- target: fuwu
80
- },
81
- '/rs/sql/getLicenseById': {
82
- target: fuwu
83
- },
84
- '/rs/sql/manage_getarealist': {
85
- target: fuwu
86
- },
87
- '/rs/sql/manage_getstreetlist': {
88
- target: fuwu
89
- },
90
- '/rs/report': {
91
- target: 'http://127.0.0.1:8079'
92
- },
93
- '/rs/vue': {
94
- target: fuwu
95
- },
96
- '/rs': {
97
- // target: 'http://192.168.30.63:8081/'
98
- target: 'http://127.0.0.1:8078'
99
- // target:fuwu
100
- }
101
- }
102
-
103
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
104
- publicPath: config.output.publicPath,
105
- stats: {
106
- colors: true,
107
- chunks: false
108
- }
109
- })
110
-
111
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
112
- // force page reload when html-webpack-plugin template changes
113
- compiler.plugin('compilation', function (compilation) {
114
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
115
- hotMiddleware.publish({action: 'reload'})
116
- cb()
117
- })
118
- })
119
-
120
- // proxy api requests
121
- Object.keys(proxyTable).forEach(function (context) {
122
- var options = proxyTable[context]
123
- if (typeof options === 'string') {
124
- options = {target: options}
125
- }
126
- app.use(proxyMiddleware(context, options))
127
- })
128
-
129
- // handle fallback for HTML5 history API
130
- app.use(require('connect-history-api-fallback')())
131
- // app.use(function (req, res, next) {
132
- // res.header('Access-Control-Allow-Origin', '*')
133
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
134
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
135
- // res.header('X-Powered-By', '3,2,1')
136
- // res.header('Access-Control-Allow-Credentials', 'true')
137
- // res.header('Content-Type', 'application/json;charset=utf-8')
138
- // next()
139
- // })
140
-
141
- // serve webpack bundle output
142
- app.use(devMiddleware)
143
-
144
- // enable hot-reload and state-preserving
145
- // compilation error display
146
- app.use(hotMiddleware)
147
-
148
- // serve pure static assets
149
- app.use('/static', express.static('./static'))
150
-
151
- module.exports = app.listen(8089, function (err) {
152
- if (err) {
153
- console.log(err)
154
- return
155
- }
156
- console.log('Listening at http://localhost:8089')
157
- })
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')
6
+
7
+ var app = express()
8
+ var compiler = webpack(config)
9
+ // var proxy = httpProxy.createProxyServer()
10
+
11
+ // Define HTTP proxies to your custom API backend
12
+ // https://github.com/chimurai/http-proxy-middleware
13
+ var bendi = 'http://127.0.0.1:8080/',bendi1 = 'http://119.146.1.106:8300/'
14
+ // 公司测试服务
15
+ var fuwu = 'http://192.168.50.4:8400/'
16
+ //铜川正式
17
+ // var fuwu = 'http://61.134.55.234:9999/'
18
+ //铜川测试
19
+ // var fuwu = 'http://61.134.55.234:9999/'
20
+ // var fuwu = 'http://60.222.250.39:8300/'
21
+ //韶关
22
+ // var fuwu = 'http://119.146.1.106:8300/'
23
+ // 巩义测试服务
24
+ // var fuwu = 'http://192.168.0.227:8400'
25
+ // 燎原测试服务
26
+ // var fuwu = 'http://121.41.19.238:8400 '
27
+ // var fuwu = 'http://121.41.19.238:9001/'
28
+
29
+ // var fuwu = 'http://139.214.92.34:8301/'
30
+
31
+ var proxyTable = {
32
+ '/rs/logic/saleExport': {
33
+ target: fuwu
34
+ },
35
+ '/rs/logic/saleGetExportProgress': {
36
+ target: fuwu
37
+ },
38
+ '/files': {
39
+ target: fuwu
40
+ },
41
+ // 查找资源服务数据
42
+ '/rs/search': {
43
+ target: fuwu
44
+ },
45
+ // 查找资源服务数据
46
+ '/rs/logic/getLogin': {
47
+ target: fuwu
48
+ },
49
+ // 查找资源服务数据
50
+ '/rs/logic/getInitData': {
51
+ target: fuwu
52
+ },
53
+ '/rs/logic/getSaleInitData': {
54
+ target: fuwu
55
+ },
56
+ '/invoice':{
57
+ target: fuwu
58
+ },
59
+ // 用户登录服务地址
60
+ '/rs/user': {
61
+ target: fuwu
62
+ },
63
+ '/rs/path/getParams': {
64
+ target: fuwu
65
+ },
66
+ '/rs/data': {
67
+ target: fuwu
68
+ },
69
+ '/rs/license': {
70
+ target: fuwu
71
+ },
72
+ '/rs/db': {
73
+ target: fuwu
74
+ },
75
+ '/excel': {
76
+ target: fuwu
77
+ },
78
+ '/rs/config': {
79
+ target: fuwu
80
+ },
81
+ '/rs/sql/getLicenseById': {
82
+ target: fuwu
83
+ },
84
+ '/rs/sql/manage_getarealist': {
85
+ target: fuwu
86
+ },
87
+ '/rs/sql/manage_getstreetlist': {
88
+ target: fuwu
89
+ },
90
+ '/rs/report': {
91
+ target: 'http://127.0.0.1:8079'
92
+ },
93
+ '/rs/vue': {
94
+ target: fuwu
95
+ },
96
+ '/rs': {
97
+ // target: 'http://192.168.30.63:8081/'
98
+ target: 'http://127.0.0.1:8080'
99
+ // target:fuwu
100
+ }
101
+ }
102
+
103
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
104
+ publicPath: config.output.publicPath,
105
+ stats: {
106
+ colors: true,
107
+ chunks: false
108
+ }
109
+ })
110
+
111
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
112
+ // force page reload when html-webpack-plugin template changes
113
+ compiler.plugin('compilation', function (compilation) {
114
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
115
+ hotMiddleware.publish({action: 'reload'})
116
+ cb()
117
+ })
118
+ })
119
+
120
+ // proxy api requests
121
+ Object.keys(proxyTable).forEach(function (context) {
122
+ var options = proxyTable[context]
123
+ if (typeof options === 'string') {
124
+ options = {target: options}
125
+ }
126
+ app.use(proxyMiddleware(context, options))
127
+ })
128
+
129
+ // handle fallback for HTML5 history API
130
+ app.use(require('connect-history-api-fallback')())
131
+ // app.use(function (req, res, next) {
132
+ // res.header('Access-Control-Allow-Origin', '*')
133
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
134
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
135
+ // res.header('X-Powered-By', '3,2,1')
136
+ // res.header('Access-Control-Allow-Credentials', 'true')
137
+ // res.header('Content-Type', 'application/json;charset=utf-8')
138
+ // next()
139
+ // })
140
+
141
+ // serve webpack bundle output
142
+ app.use(devMiddleware)
143
+
144
+ // enable hot-reload and state-preserving
145
+ // compilation error display
146
+ app.use(hotMiddleware)
147
+
148
+ // serve pure static assets
149
+ app.use('/static', express.static('./static'))
150
+
151
+ module.exports = app.listen(8089, function (err) {
152
+ if (err) {
153
+ console.log(err)
154
+ return
155
+ }
156
+ console.log('Listening at http://localhost:8089')
157
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.99",
3
+ "version": "3.4.103",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -39,7 +39,9 @@
39
39
  <div style="text-align:right;">
40
40
  <!-- <button class="button_search" v-show="row.f_print_state === null" @click="ignitionSheet()">生成点火单</button>-->
41
41
  <!-- <button class="button_search" v-show="row.f_print_state === null" @click="schedule()">生成流程单</button>-->
42
- <button class="button_search" @click="confirm()" :disabled="!(essentialInfo && meterInfo )">确认
42
+ <button v-if="config.meter_required" class="button_search" @click="confirm()" :disabled="!(essentialInfo && meterInfo )">确认
43
+ </button>
44
+ <button v-if="!config.meter_required" class="button_search" @click="confirm()" :disabled="!essentialInfo">确认
43
45
  </button>
44
46
  <button class="button_search" style="width: max-content" v-if="haslimit" @click="limitClick">限购配置</button>
45
47
  <button class="button_clear" @click="cancel()">取消</button>
@@ -98,6 +100,8 @@ export default {
98
100
  return {
99
101
  config: {
100
102
  adddevices: false,
103
+ // 预备户表具信息是否必填
104
+ meter_required: true,
101
105
  f_building_suffix: '栋',
102
106
  f_unit_suffix: '单元',
103
107
  f_floor_suffix: '层',
@@ -131,6 +131,7 @@
131
131
  <button class="button_search" v-show="!$parent.$parent.authArr.includes('读卡限定')" @click="search(), $parent.$parent.clean()" v-el:cx>查询</button>
132
132
  <button class="button_clear" v-show="!$parent.$parent.authArr.includes('读卡限定')" @click="$parent.$parent.clear()">清空</button>
133
133
  <button class="button_clear" v-if="$parent.$parent.authArr.includes('读卡2')" @click="$parent.$parent.readCardByFactory()">读卡2</button>
134
+ <button class="button_clear" v-if="$parent.$parent.authArr.includes('磁条卡')" @click="$parent.$parent.readCiTiaoCard()">读磁条卡</button>
134
135
  <export-excel v-if="$parent.$parent.authArr.includes('收费综合导出权限')"
135
136
  :data="{condition: $parent.$parent.excelCondition}"
136
137
  :field="$parent.$parent.fields"
@@ -325,6 +326,7 @@
325
326
  */
326
327
  import {HttpResetClass, PagedList} from 'vue-client'
327
328
  import DetailManage from './DetailManage'
329
+ import Vue from "vue";
328
330
 
329
331
  let cardBtnGen = async function (self, val) {
330
332
  self.cardInfo = val.data
@@ -805,7 +807,35 @@
805
807
  this.$showMessage('错误:连接卡服务失败')
806
808
  }
807
809
  },
808
-
810
+ async readCiTiaoCard () {
811
+ console.log('读磁条卡,开始')
812
+ let data = {}
813
+ let getUser = {data: []}
814
+ try {
815
+ // let res = {data:{Factory : 'CiTiao',CardID : '5'}}
816
+ this.$showAlert('请刷卡', 'warning', 50000)
817
+ let res = await this.$resetpost('http://127.0.0.1:8003/ReadCard_HEC', data, {resolveMsg: null, rejectMsg: null})
818
+ res.data.Err ? this.$showAlert(res.data.Err, 'danger', 2000) : ''
819
+ this.$closeAlert()
820
+ if (res.data.Err === null && res.data.Exception) {
821
+ this.$showAlert(res.data.Exception, 'danger', 2000)
822
+ } else {
823
+ if (res.data.Factory === 'CiTiao') {
824
+ // 获取用户信息
825
+ getUser = await this.$resetpost('rs/sql/sale_getUser', {
826
+ data: {
827
+ condition: `gb.f_meter_type in ('机表','物联网表') and u.f_card_id='${res.data.CardID}' and f_whether_hairpin != '未发'`,
828
+ orderitem: `${this.orderitem} Desc`
829
+ }
830
+ }, {resolveMsg: '读卡成功', rejectMsg: '读卡失败'})
831
+ this.model.rows = getUser.data
832
+ }
833
+ }
834
+ } catch (error) {
835
+ console.log('捕获到异常', error)
836
+ this.$showAlert(error.data, 'danger', 2000)
837
+ }
838
+ },
809
839
  async readCardByFactory () {
810
840
  console.log('通过厂家读卡', this.model.rows.length)
811
841
  if (this.model.rows.length == 1) {
@@ -35,7 +35,7 @@
35
35
 
36
36
  </div>
37
37
  <div v-if="!listpage">
38
- <user-info-detail-manage-new :f_userinfo_id="rowData.f_userinfo_id" @cancel-main="cancel"></user-info-detail-manage-new>
38
+ <user-info-detail-manage-new :f_userfiles_id="rowData.f_userfiles_id" @cancel-main="cancel"></user-info-detail-manage-new>
39
39
  </div>
40
40
  <div v-if="showModal">
41
41
  <charge-modal :warninginfo="warningInfo" :row="modalrow" :modal-show.sync="showModal" @close="close" @modalsuccess="modalsuccess"></charge-modal>