sale-client 3.4.178 → 3.4.179-mc

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 (109) hide show
  1. package/build/dev-server.js +160 -161
  2. package/package.json +2 -2
  3. package/src/components/FilesManage/FileUserFiles.vue +1 -1
  4. package/src/components/FilesManage/MeterinfoTest.vue +1 -1
  5. package/src/components/FilesManage/UserGeneralInfoTest.vue +27 -20
  6. package/src/components/charge/ChargeOper.vue +230 -230
  7. package/src/components/charge/business/OtherChargeByPay.vue +1 -0
  8. package/src/components/charge/business/OtherChargeNew.vue +350 -346
  9. package/src/components/charge/business/ShowCardSellGas.vue +1 -1
  10. package/src/components/charge/gasloss/gasLossOperate.vue +1 -1
  11. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +11 -7
  12. package/src/components/common/userinfo_detail/ic_detail/FillGasQueryUser.vue +1 -1
  13. package/src/components/meterBook/MeterManger.vue +61 -61
  14. package/src/components/revenue/HandManager/CardHand.vue +5 -0
  15. package/src/components/revenue/HandManager/MeterBookList.vue +488 -488
  16. package/src/components/revenue/HandManager/OverdueSet.vue +45 -45
  17. package/src/components/revenue/base/leftview/meterinfodetail.vue +14 -9
  18. package/src/components/revenue/base/rightview/CardList.vue +2 -2
  19. package/src/components/revenue/comprehen/ComprehenOperation/OverCharge/OverUseCharge.vue +407 -407
  20. package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterListMaintain.vue +7 -7
  21. package/src/components/revenue/comprehen/Maintenance/changeMeter/changemeterOperate.vue +8 -21
  22. package/src/components/revenue/comprehen/Maintenance/hand/handListMaintain.vue +638 -638
  23. package/src/components/revenue/comprehen/Maintenance/otherRecords/OtherMaintenanceLists.vue +1 -0
  24. package/src/components/revenue/comprehen/Message/AllUserNew.vue +601 -0
  25. package/src/components/revenue/comprehen/Message/MessageList.vue +18 -1
  26. package/src/components/revenue/comprehen/Message/MessageManageNew.vue +121 -0
  27. package/src/components/revenue/comprehen/Message/UserDefinedMessageNew.vue +121 -0
  28. package/src/components/revenue/comprehen/StairPrice/GasPriceUser.vue +1 -0
  29. package/src/components/revenue/comprehen/common/ImportExcel.vue +139 -0
  30. package/src/components/revenue/comprehen/device/deviceEdit.vue +106 -0
  31. package/src/components/revenue/comprehen/device/deviceList.vue +146 -0
  32. package/src/components/revenue/comprehen/device/deviceManagement.vue +45 -0
  33. package/src/components/revenue/comprehen/handAudit/MeterReadAudit.vue +342 -342
  34. package/src/components/revenue/machineHandManage/machineHand.vue +3 -3
  35. package/src/components/revenue/machineHandManage/machineHandAudit.vue +10 -4
  36. package/src/components/webMeter/MeterManage/WebMeterBatchOperate.vue +3 -3
  37. package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  38. package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  39. package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  40. package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  41. package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  42. package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  43. package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  44. package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  45. package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  46. package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  47. package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  48. package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  49. package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  50. package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  51. package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  52. package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  53. package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  54. package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  55. package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  56. package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  57. package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  58. package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  59. package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  60. package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  61. package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  62. package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  63. package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  64. package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  65. package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  66. package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  67. package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  68. package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  69. package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  70. package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  71. package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  72. package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  73. package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  74. package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  75. package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  76. package/src/filiale/jingwei/CardHand.vue +5 -0
  77. package/src/filiale/qianneng/CardList.vue +504 -492
  78. package/src/filiale/qianneng/FilesManageNew/MeterinfoTest.vue +618 -618
  79. package/src/filiale/qianneng/FilesManageNew/UserGeneralInfoTest.vue +610 -610
  80. package/src/filiale/qianneng/FilesManageNew/UserPaperInfoTest.vue +51 -51
  81. package/src/filiale/qianneng/MessageList.vue +632 -0
  82. package/src/filiale/qianneng/MeterMessage.vue +192 -192
  83. package/src/filiale/qianneng/OtherChargeNew.vue +6 -6
  84. package/src/filiale/qianneng/machine/ArrearsQuery.vue +927 -0
  85. package/src/filiale/qianneng/machine/MachineMeterCenter.vue +730 -730
  86. package/src/filiale/qianneng/revenue/ChargeManage.vue +2 -1
  87. package/src/filiale/qianneng/revenue/comprehen/closeaccount/Batchmanage.vue +58 -58
  88. package/src/filiale/qianneng/revenue/machineHandManage/machineHand.vue +26 -2
  89. package/src/filiale/qianneng/sale.js +57 -53
  90. package/src/filiale/rizhao/CardMeterCenter.vue +910 -0
  91. package/src/filiale/rizhao/ChargeRecordQuery.vue +100 -0
  92. package/src/filiale/rizhao/sale.js +5 -1
  93. package/src/filiale/rongcheng/ChargeManage.vue +11 -2
  94. package/src/filiale/rongcheng/OrderLinkDetail.vue +133 -0
  95. package/src/filiale/rongcheng/ServiceReform.vue +101 -0
  96. package/src/filiale/rongcheng/ServiceRepair.vue +100 -0
  97. package/src/filiale/rongcheng/otherinfo.vue +7 -5
  98. package/src/filiale/rongcheng/workorderinfo.vue +81 -0
  99. package/src/filiale/shaoguan/Message/MessageList.vue +5 -5
  100. package/src/filiale/zhongsheng/FilesManage/FileUserFiles.vue +1038 -0
  101. package/src/filiale/zhongsheng/sale.js +3 -1
  102. package/src/filiale/zhongyi/CardMeterCenter.vue +908 -0
  103. package/src/filiale/zhongyi/FileUserFiles.vue +988 -0
  104. package/src/filiale/zhongyi/IOTMeterCenter.vue +806 -0
  105. package/src/filiale/zhongyi/sale.js +8 -1
  106. package/src/main.js +23 -23
  107. package/src/plugins/ChangeMeterService.js +2 -2
  108. package/src/plugins/LogicService.js +3 -0
  109. package/src/sale.js +19 -6
@@ -1,161 +1,160 @@
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 = 'https://qnjtkf.cn:8400',bendi1 = 'https://qnjtkf.cn:8400'
14
- // 公司测试服务
15
- var fuwu = 'https://qnjtkf.cn: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://121.36.106.17:8400/'
92
- },
93
- '/rs/vue': {
94
- target: fuwu
95
- },
96
- '/webmeter': {
97
- // target: 'http://192.168.50.4:8450'
98
- target: fuwu
99
- },
100
- '/rs': {
101
- // target: 'http://192.168.30.63:8081/'
102
- // target: 'http://121.36.106.17:8400/'
103
- target:fuwu
104
- }
105
- }
106
-
107
- var devMiddleware = require('webpack-dev-middleware')(compiler, {
108
- publicPath: config.output.publicPath,
109
- stats: {
110
- colors: true,
111
- chunks: false
112
- }
113
- })
114
-
115
- var hotMiddleware = require('webpack-hot-middleware')(compiler)
116
- // force page reload when html-webpack-plugin template changes
117
- compiler.plugin('compilation', function (compilation) {
118
- compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
119
- hotMiddleware.publish({action: 'reload'})
120
- cb()
121
- })
122
- })
123
-
124
- // proxy api requests
125
- Object.keys(proxyTable).forEach(function (context) {
126
- var options = proxyTable[context]
127
- if (typeof options === 'string') {
128
- options = {target: options}
129
- }
130
- app.use(proxyMiddleware(context, options))
131
- })
132
-
133
- // handle fallback for HTML5 history API
134
- app.use(require('connect-history-api-fallback')())
135
- // app.use(function (req, res, next) {
136
- // res.header('Access-Control-Allow-Origin', '*')
137
- // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
138
- // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
139
- // res.header('X-Powered-By', '3,2,1')
140
- // res.header('Access-Control-Allow-Credentials', 'true')
141
- // res.header('Content-Type', 'application/json;charset=utf-8')
142
- // next()
143
- // })
144
-
145
- // serve webpack bundle output
146
- app.use(devMiddleware)
147
-
148
- // enable hot-reload and state-preserving
149
- // compilation error display
150
- app.use(hotMiddleware)
151
-
152
- // serve pure static assets
153
- app.use('/static', express.static('./static'))
154
-
155
- module.exports = app.listen(8089, function (err) {
156
- if (err) {
157
- console.log(err)
158
- return
159
- }
160
- console.log('Listening at http://localhost:8089')
161
- })
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://121.36.106.17:8400/',bendi1 = 'http://121.36.106.17:8400/'
14
+ // 公司测试服务
15
+ var fuwu = 'http://121.36.106.17: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://121.36.106.17:8400/'
92
+ },
93
+ '/rs/vue': {
94
+ target: fuwu
95
+ },
96
+ '/webmeter': {
97
+ target: 'http://192.168.50.4:8450'
98
+ },
99
+ '/rs': {
100
+ // target: 'http://192.168.30.63:8081/'
101
+ target: 'http://121.36.106.17:8400/'
102
+ // target:fuwu
103
+ }
104
+ }
105
+
106
+ var devMiddleware = require('webpack-dev-middleware')(compiler, {
107
+ publicPath: config.output.publicPath,
108
+ stats: {
109
+ colors: true,
110
+ chunks: false
111
+ }
112
+ })
113
+
114
+ var hotMiddleware = require('webpack-hot-middleware')(compiler)
115
+ // force page reload when html-webpack-plugin template changes
116
+ compiler.plugin('compilation', function (compilation) {
117
+ compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
118
+ hotMiddleware.publish({action: 'reload'})
119
+ cb()
120
+ })
121
+ })
122
+
123
+ // proxy api requests
124
+ Object.keys(proxyTable).forEach(function (context) {
125
+ var options = proxyTable[context]
126
+ if (typeof options === 'string') {
127
+ options = {target: options}
128
+ }
129
+ app.use(proxyMiddleware(context, options))
130
+ })
131
+
132
+ // handle fallback for HTML5 history API
133
+ app.use(require('connect-history-api-fallback')())
134
+ // app.use(function (req, res, next) {
135
+ // res.header('Access-Control-Allow-Origin', '*')
136
+ // res.header('Access-Control-Allow-Headers', 'X-Requested-With')
137
+ // res.header('Access-Control-Allow-Methods', 'PUT, POST, GET,DELETE, OPTIONS')
138
+ // res.header('X-Powered-By', '3,2,1')
139
+ // res.header('Access-Control-Allow-Credentials', 'true')
140
+ // res.header('Content-Type', 'application/json;charset=utf-8')
141
+ // next()
142
+ // })
143
+
144
+ // serve webpack bundle output
145
+ app.use(devMiddleware)
146
+
147
+ // enable hot-reload and state-preserving
148
+ // compilation error display
149
+ app.use(hotMiddleware)
150
+
151
+ // serve pure static assets
152
+ app.use('/static', express.static('./static'))
153
+
154
+ module.exports = app.listen(8089, function (err) {
155
+ if (err) {
156
+ console.log(err)
157
+ return
158
+ }
159
+ console.log('Listening at http://localhost:8089')
160
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.4.178",
3
+ "version": "3.4.179-mc",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -87,7 +87,7 @@
87
87
  "style-loader": "^0.20.3",
88
88
  "system-clients": "3.2.0-2",
89
89
  "url-loader": "^0.5.7",
90
- "vue-client": "1.24.49",
90
+ "vue-client": "1.24.51",
91
91
  "vue-clipboard2": "0.3.1",
92
92
  "vue-hot-reload-api": "^1.2.0",
93
93
  "vue-html-loader": "^1.0.0",
@@ -683,7 +683,7 @@ let loadParamGem = async function (self) {
683
683
  this.isedit = false
684
684
  this.row = null
685
685
  this.areainfo = null
686
- this.$refs.info.clearinfo()
686
+ // this.$refs.info.clearinfo()
687
687
  },
688
688
  renew () {
689
689
  this.row = null
@@ -101,7 +101,7 @@
101
101
  </div>
102
102
  <div class="col-sm-4 form-group" v-show="row.gasbrand.length > 0 && row.gasbrand[0].f_meter_type == '物联网表' && row.gasbrand[0].f_hascard == '是'">
103
103
  <label class="font_normal_body" title="开户方式">开户方式</label>
104
- <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id"
104
+ <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-if="row.f_userfiles_id && row.f_open_way"
105
105
  search v-model='row.f_open_way' :disabled="true"></v-select>
106
106
  <v-select :value.sync="row.f_open_way" :options='openWay' value-single placeholder='开户方式' close-on-select v-else
107
107
  search v-model='row.f_open_way' :disabled="false"></v-select>
@@ -82,9 +82,9 @@
82
82
  <div class="row">
83
83
  <div class="col-sm-12 form-group" >
84
84
  <label for="f_paper_account" class="col-sm-2 font_normal_body " title="参数:变更原因">变更原因:</label>
85
- <v-select v-model="reason" style="width:60%"
85
+ <v-select v-model="fileSaveData.reason" style="width:60%"
86
86
  placeholder='变更原因'
87
- :value.sync="reason"
87
+ :value.sync="fileSaveData.reason"
88
88
  :options='reasons'
89
89
  :value-single="true"
90
90
  v-ref:reason
@@ -93,12 +93,12 @@
93
93
  </div>
94
94
  <div class="row">
95
95
  <div class="col-sm-2"></div>
96
- <input v-if="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">
100
100
  <button type="button" class="btn btn-default" @click='filechangeDetailsShow = false'>取消</button>
101
- <button type="button" class="btn btn-success" :disabled="!fileSaveData.modifyReason" @click='confirmation()'>确认</button>
101
+ <button type="button" class="btn btn-success" :disabled="!fileSaveData.reason || (fileSaveData.reason === '其他' && !fileSaveData.modifyReason)" @click='confirmation()'>确认</button>
102
102
  </footer>
103
103
  </modal>
104
104
  </div>
@@ -117,11 +117,11 @@ let getFileGen = async function (self, data) {
117
117
  rejectMsg: '用户详细信息加载失败,请重新选择,如果多次失败,请检查系统是否正常!'
118
118
  })
119
119
  self.data = result.data
120
- self.data.meterinfo.forEach((item)=>{
121
- item.devicesinfo.forEach((item2)=>{
122
- if(item2.img.content){
123
- let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') +2)
124
- item2.img.content = 'http://' + location.host + '/' + URL
120
+ self.data.meterinfo.forEach((item) => {
121
+ item.devicesinfo.forEach((item2) => {
122
+ if (item2.img.content) {
123
+ let URL = item2.img.content.substring(item2.img.content.lastIndexOf(':\\') + 2)
124
+ item2.img.content = 'http://' + location.host + '/' + URL
125
125
  }
126
126
  })
127
127
  })
@@ -170,11 +170,11 @@ export default {
170
170
  fireinfo: {}
171
171
  }],
172
172
  devicesinfo: [],
173
- fireinfo:{},
173
+ fireinfo: {},
174
174
  address: {
175
175
  id: '',
176
176
  f_address: '',
177
- f_address_state:''
177
+ f_address_state: ''
178
178
  }
179
179
  },
180
180
  show_userinfodevices: false,
@@ -202,7 +202,8 @@ export default {
202
202
  defaultMeterInfo: '', // 默认的表具信息
203
203
  fileSaveData: {
204
204
  // 修改原因
205
- modifyReason: ''
205
+ modifyReason: '',
206
+ reason: ''
206
207
  },
207
208
  // 档案变更明细
208
209
  filechangeDetails: {rows: []},
@@ -243,7 +244,7 @@ export default {
243
244
  },
244
245
  methods: {
245
246
  async getOvedueset () {
246
- let overdueset= []
247
+ let overdueset = []
247
248
  let res = await this.$resetpost('rs/sql/saleSingleTable', {
248
249
  data: {
249
250
  tablename: 't_overdue_set',
@@ -280,7 +281,7 @@ export default {
280
281
  this.$resetpost('rs/logic/openBankAccount', {f_userinfo_code: this.data.baseinfo.base.f_userinfo_code, f_username: this.data.baseinfo.base.f_user_name},
281
282
  {resolveMsg: null, rejectMsg: null}).then((res) => {
282
283
  this.$showMessage(res.data.resultmessage)
283
- })
284
+ })
284
285
  },
285
286
  async confirm () {
286
287
  this.data.addressinfo.f_address = this.$refs.useressential.addressinfo.f_address
@@ -297,7 +298,7 @@ export default {
297
298
  this.data.baseinfo.base.version = this.row.version
298
299
  }
299
300
  console.log('档案保存之前,。。。', this.data)
300
- if(this.data.meterinfo[0].f_gas_date != null){
301
+ if (this.data.meterinfo[0].f_gas_date != null) {
301
302
  this.data.addressinfo.f_address_state = '已通气'
302
303
  }
303
304
  // 获取保存数据
@@ -325,6 +326,9 @@ export default {
325
326
  // return
326
327
  // }
327
328
  // }
329
+ if (this.fileSaveData.reason && this.fileSaveData.reason !== '其他') {
330
+ this.fileSaveData.modifyReason = this.fileSaveData.reason
331
+ }
328
332
  this.$FileManageService.fileSave(this.fileSaveData).then((res) => {
329
333
  this.$parent.resdata = res.data.result[0].f_userinfo_code
330
334
  if (!this.row) {
@@ -515,16 +519,16 @@ export default {
515
519
  // 用户电话
516
520
  f_user_phone: '',
517
521
  f_people_num: 0,
518
- f_packaging:'',
522
+ f_packaging: '',
519
523
  // 备用电话
520
524
  f_rent_phone: '',
521
525
  f_credentials: '身份证',
522
526
  f_cost_type: '',
523
- f_bz_type:'',
527
+ f_bz_type: '',
524
528
  f_address: '',
525
529
  addressid: '',
526
530
  f_idnumber: '',
527
- f_meter_book_num:''
531
+ f_meter_book_num: ''
528
532
  },
529
533
  bank: {}
530
534
  },
@@ -572,8 +576,8 @@ export default {
572
576
  f_detailprice: '', // 价格详情显示
573
577
  devicesinfo: [], // 设备信息
574
578
  f_hand_month: '', // 抄表月份
575
- fireinfo:{}, //用气信息
576
- f_meter_book_num:''
579
+ fireinfo: {}, // 用气信息
580
+ f_meter_book_num: ''
577
581
  }],
578
582
  devicesinfo: []
579
583
  }
@@ -606,6 +610,9 @@ export default {
606
610
  meterbrands () {
607
611
  return this.$GetSaleParam.getGasbrand()
608
612
  },
613
+ reasons () {
614
+ return this.$appdata.getParam('变更原因')
615
+ },
609
616
  adjustables () {
610
617
  return this.$GetSaleParam.getAdjustable()
611
618
  },