sale-client 3.5.2 → 3.5.5

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 +1 -1
  9. package/src/components/FilesManage/FileUserFiles.vue +4 -0
  10. package/src/components/FilesManage/UserEssentialInfoTest.vue +1 -3
  11. package/src/components/FilesManage/UserGeneralInfoTest.vue +3 -3
  12. package/src/components/common/userinfo_detail/UserBaseInfoNew.vue +4 -0
  13. package/src/components/revenue/base/leftview/SafeCheck.vue +4 -0
  14. package/src/components/revenue/comprehen/ComprehenOperation/BatchChange/BatchCancellation.vue +2 -0
  15. package/src/components/revenue/concentrator/ncArchivesList.vue +1 -1
  16. package/src/components/revenue/concentrator/ncUserfilesList2.vue +30 -0
  17. package/src/filiale/{weinan → WEINAN}/AutomaticPurse.vue +0 -0
  18. package/src/filiale/{weinan → WEINAN}/CardList.vue +0 -0
  19. package/src/filiale/{weinan → WEINAN}/CardMeterCenter.vue +0 -0
  20. package/src/filiale/{weinan → WEINAN}/CardMeterChargeCancel.vue +0 -0
  21. package/src/filiale/{weinan → WEINAN}/ChangeMeter.vue +0 -0
  22. package/src/filiale/{weinan → WEINAN}/ChargeList.vue +0 -0
  23. package/src/filiale/{weinan → WEINAN}/ChargeManageNew.vue +0 -0
  24. package/src/filiale/{weinan → WEINAN}/ChargeQueryUser.vue +0 -0
  25. package/src/filiale/{weinan → WEINAN}/ChargeRecordQuery.vue +0 -0
  26. package/src/filiale/{weinan → WEINAN}/DisableManage.vue +0 -0
  27. package/src/filiale/{weinan → WEINAN}/EnableManage.vue +0 -0
  28. package/src/filiale/{weinan → WEINAN}/FileAddressManage.vue +0 -0
  29. package/src/filiale/{weinan → WEINAN}/FileUserAddress.vue +0 -0
  30. package/src/filiale/{weinan → WEINAN}/HighMeter.vue +0 -0
  31. package/src/filiale/{weinan → WEINAN}/IOTMeterCenter.vue +0 -0
  32. package/src/filiale/{weinan → WEINAN}/MachineMeterCenter.vue +0 -0
  33. package/src/filiale/{weinan → WEINAN}/MeterMessage.vue +0 -0
  34. package/src/filiale/{weinan → WEINAN}/MeterinfoTest.vue +0 -0
  35. package/src/filiale/{weinan → WEINAN}/OffGasAddGas.vue +0 -0
  36. package/src/filiale/{weinan → WEINAN}/OtherGas.vue +0 -0
  37. package/src/filiale/{weinan → WEINAN}/OverUseCharge.vue +0 -0
  38. package/src/filiale/{weinan → WEINAN}/RecordCancel.vue +0 -0
  39. package/src/filiale/{weinan → WEINAN}/RecordQueryUser.vue +0 -0
  40. package/src/filiale/{weinan → WEINAN}/ReplaceCardManage.vue +0 -0
  41. package/src/filiale/{weinan → WEINAN}/ShowCardSellGas.vue +0 -0
  42. package/src/filiale/{weinan → WEINAN}/Stairinfo.vue +0 -0
  43. package/src/filiale/{weinan → WEINAN}/TransferManage.vue +0 -0
  44. package/src/filiale/{weinan → WEINAN}/UserBaseInfoNew.vue +0 -0
  45. package/src/filiale/{weinan → WEINAN}/UserEssentialInfoTest.vue +0 -0
  46. package/src/filiale/{weinan → WEINAN}/UserGeneralInfoTest.vue +0 -0
  47. package/src/filiale/{weinan → WEINAN}/UserInfoDetailManageNew.vue +0 -0
  48. package/src/filiale/{weinan → WEINAN}/Userinfo.vue +0 -0
  49. package/src/filiale/{weinan → WEINAN}/gasmove.vue +0 -0
  50. package/src/filiale/{weinan → WEINAN}/meterinfodetail.vue +0 -0
  51. package/src/filiale/{weinan → WEINAN}/plugins/FileManageService.js +0 -0
  52. package/src/filiale/{weinan → WEINAN}/plugins/getTimeService.js +0 -0
  53. package/src/filiale/{weinan → WEINAN}/sale.js +0 -0
  54. package/src/filiale/{weinan → WEINAN}/sale.js~Stashed changes +0 -0
  55. package/src/filiale/{weinan → WEINAN}/static/mainicon//347/237/251/345/275/2421828.png +0 -0
  56. package/src/filiale/tongchuan/HandManager.vue +40 -29
  57. package/src/filiale/tongchuan/StairPrice/GasPrice.vue +3 -0
  58. package/src/filiale/tongchuan/StairPrice/PriceChangeHistory.vue +1 -1
  59. package/src/main.js +22 -18
  60. package/src/plugins/FileManageService.js +27 -27
  61. package/src/plugins/FileService.js +8 -10
  62. package/src/sale.js +1058 -1063
package/.babelrc CHANGED
@@ -1,5 +1,5 @@
1
- {
2
- "presets": ["es2015", "stage-2"],
3
- "plugins": ["transform-runtime"],
4
- "comments": false
5
- }
1
+ {
2
+ "presets": ["es2015", "stage-2"],
3
+ "plugins": ["transform-runtime"],
4
+ "comments": false
5
+ }
File without changes
@@ -0,0 +1,2 @@
1
+ #Fri Apr 02 10:09:16 CST 2021
2
+ gradle.version=3.5.1
@@ -1,161 +1,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://127.0.0.1:8080',bendi1 = 'http://121.36.106.17:8400/'
14
- // 公司测试服务
15
- var fuwu = 'http://192.168.50.4:8400'
16
- // var fuwu = 'http://121.36.106.17:8400/'
17
- //铜川正式
18
- // var fuwu = 'http://61.134.55.234:9999/'
19
- //铜川测试
20
- // var fuwu = 'http://61.134.55.234:9999/'
21
- // var fuwu = 'http://60.222.250.39:8300/'
22
- //韶关
23
- // var fuwu = 'http://119.146.1.106:8300/'
24
- // 巩义测试服务
25
- // var fuwu = 'http://192.168.0.227:8400'
26
- // 燎原测试服务
27
- // var fuwu = 'http://121.41.19.238:8400 '
28
- // var fuwu = 'http://121.41.19.238:9001/'
29
-
30
- // var fuwu = 'http://139.214.92.34:8301/'
31
-
32
- var proxyTable = {
33
- '/rs/logic/saleExport': {
34
- target: fuwu
35
- },
36
- '/rs/logic/saleGetExportProgress': {
37
- target: fuwu
38
- },
39
- '/files': {
40
- target: fuwu
41
- },
42
- // 查找资源服务数据
43
- '/rs/search': {
44
- target: fuwu
45
- },
46
- // 查找资源服务数据
47
- '/rs/logic/getLogin': {
48
- target: fuwu
49
- },
50
- // 查找资源服务数据
51
- '/rs/logic/getInitData': {
52
- target: fuwu
53
- },
54
- '/rs/logic/getSaleInitData': {
55
- target: fuwu
56
- },
57
- '/invoice':{
58
- target: fuwu
59
- },
60
- // 用户登录服务地址
61
- '/rs/user': {
62
- target: fuwu
63
- },
64
- '/rs/path/getParams': {
65
- target: fuwu
66
- },
67
- '/rs/data': {
68
- target: fuwu
69
- },
70
- '/rs/license': {
71
- target: fuwu
72
- },
73
- '/rs/db': {
74
- target: fuwu
75
- },
76
- '/excel': {
77
- target: fuwu
78
- },
79
- '/rs/config': {
80
- target: fuwu
81
- },
82
- '/rs/sql/getLicenseById': {
83
- target: fuwu
84
- },
85
- '/rs/sql/manage_getarealist': {
86
- target: fuwu
87
- },
88
- '/rs/sql/manage_getstreetlist': {
89
- target: fuwu
90
- },
91
- '/rs/report': {
92
- target: 'http://121.36.106.17:8400/'
93
- },
94
- '/rs/vue': {
95
- target: fuwu
96
- },
97
- '/webmeter': {
98
- target: 'http://192.168.50.4:8450'
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://127.0.0.1:8080',bendi1 = 'http://121.36.106.17:8400/'
14
+ // 公司测试服务
15
+ var fuwu = 'http://192.168.50.4:8400'
16
+ // var fuwu = 'http://121.36.106.17:8400/'
17
+ //铜川正式
18
+ // var fuwu = 'http://61.134.55.234:9999/'
19
+ //铜川测试
20
+ // var fuwu = 'http://61.134.55.234:9999/'
21
+ // var fuwu = 'http://60.222.250.39:8300/'
22
+ //韶关
23
+ // var fuwu = 'http://119.146.1.106:8300/'
24
+ // 巩义测试服务
25
+ // var fuwu = 'http://192.168.0.227:8400'
26
+ // 燎原测试服务
27
+ // var fuwu = 'http://121.41.19.238:8400 '
28
+ // var fuwu = 'http://121.41.19.238:9001/'
29
+
30
+ // var fuwu = 'http://139.214.92.34:8301/'
31
+
32
+ var proxyTable = {
33
+ '/rs/logic/saleExport': {
34
+ target: fuwu
35
+ },
36
+ '/rs/logic/saleGetExportProgress': {
37
+ target: fuwu
38
+ },
39
+ '/files': {
40
+ target: fuwu
41
+ },
42
+ // 查找资源服务数据
43
+ '/rs/search': {
44
+ target: fuwu
45
+ },
46
+ // 查找资源服务数据
47
+ '/rs/logic/getLogin': {
48
+ target: fuwu
49
+ },
50
+ // 查找资源服务数据
51
+ '/rs/logic/getInitData': {
52
+ target: fuwu
53
+ },
54
+ '/rs/logic/getSaleInitData': {
55
+ target: fuwu
56
+ },
57
+ '/invoice':{
58
+ target: fuwu
59
+ },
60
+ // 用户登录服务地址
61
+ '/rs/user': {
62
+ target: fuwu
63
+ },
64
+ '/rs/path/getParams': {
65
+ target: fuwu
66
+ },
67
+ '/rs/data': {
68
+ target: fuwu
69
+ },
70
+ '/rs/license': {
71
+ target: fuwu
72
+ },
73
+ '/rs/db': {
74
+ target: fuwu
75
+ },
76
+ '/excel': {
77
+ target: fuwu
78
+ },
79
+ '/rs/config': {
80
+ target: fuwu
81
+ },
82
+ '/rs/sql/getLicenseById': {
83
+ target: fuwu
84
+ },
85
+ '/rs/sql/manage_getarealist': {
86
+ target: fuwu
87
+ },
88
+ '/rs/sql/manage_getstreetlist': {
89
+ target: fuwu
90
+ },
91
+ '/rs/report': {
92
+ target: 'http://121.36.106.17:8400/'
93
+ },
94
+ '/rs/vue': {
95
+ target: fuwu
96
+ },
97
+ '/webmeter': {
98
+ target: 'http://192.168.50.4:8450'
99
+ },
100
+ '/rs': {
101
+ // target: 'http://192.168.30.63:8081/'
102
+ // target: 'http://121.36.106.17:8400/'
103
+ target: bendi
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
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.2",
3
+ "version": "3.5.5",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -437,6 +437,7 @@
437
437
  </div>
438
438
  </article>
439
439
  <footer slot="modal-footer" class="modal-footer">
440
+ <button class="button_search button_spacing" type="button" @click="goChargeManage()">去收费</button>
440
441
  <button class="button_search button_spacing" type="button" @click="doCopy()">复制</button>
441
442
  <button class="button_search button_spacing" type="button" @click="close2()">取消</button>
442
443
  </footer>
@@ -636,6 +637,9 @@ let loadParamGem = async function (self) {
636
637
  this.isShowDetailInfo = true
637
638
  this.rowData = obj
638
639
  },
640
+ goChargeManage () {
641
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
642
+ },
639
643
  async doCopy () {
640
644
  await this.$copyText(this.resdata)
641
645
  this.resshow = false
@@ -1,8 +1,5 @@
1
1
  <template>
2
2
  <div>
3
- <div style="margin-bottom: 2%; margin-top: 2%">
4
- <button class="button_search" style="width: max-content" @click="phoneManage()">管理备用电话</button>
5
- </div>
6
3
  <validator name='v' @valid="$emit('valid')" @invalid="$emit('invalid')">
7
4
  <form class="form-horizontal select-overspread ">
8
5
  <div class="row">
@@ -17,6 +14,7 @@
17
14
  <input type="text" maxlength="11" v-model="baseinfo.base.f_user_phone"
18
15
  v-validate:f_user_phone="{minlength: 11, maxlength: 11 }" class="input_search" style="width:60%"
19
16
  placeholder="客户电话" v-el:phone v-next-el="area">
17
+ <button type="button" class="glyphicon glyphicon-plus" @click.stop="phoneManage()"></button>
20
18
  </div>
21
19
  <div class="col-sm-4 form-group" style="" v-if="true">
22
20
  <label for="f_user_state" class="font_normal_body">&ensp;客户状态</label>
@@ -6,7 +6,7 @@
6
6
  <img style="margin-top: -5px" src="../../../static/images/lefticon/矩形1183.png">
7
7
  <a style="font-size: 20px;font-weight: 500;">基本信息</a>&nbsp;<a style="color: #999999;text-decoration: none"></a>
8
8
  <button class="button_search" style="width: max-content" v-show="data.baseinfo.base.f_user_nature === '单位'" @click="showUserDevices($index, data.baseinfo)">用户设备信息</button>
9
- <button class="button_search" style="width: max-content" @click="uploadFiles()">上传附件</button>
9
+ <button class="button_search" style="width: max-content" @click="uploadFiles()">上传/查看附件</button>
10
10
  <button class="button_search" style="width: max-content" @click="uploadPictures()">拍照</button>
11
11
  <button class="button_search" style="width: max-content" @click="openBankAccount()" v-if="data.meterinfo[0].f_user_type[0] === '非民用' && ($login.r.includes('银行开户'))">银行开户</button>
12
12
  </div>
@@ -161,7 +161,7 @@ export default {
161
161
  bank: {
162
162
  f_bank_name: ''
163
163
  },
164
- //用户备用电话信息
164
+ // 用户备用电话信息
165
165
  userphonelist: []
166
166
  },
167
167
  addressinfo: {},
@@ -533,7 +533,7 @@ export default {
533
533
  f_meter_book_num: ''
534
534
  },
535
535
  bank: {},
536
- //用户备用电话信息
536
+ // 用户备用电话信息
537
537
  userphonelist: []
538
538
  },
539
539
  addressinfo: {
@@ -151,6 +151,7 @@
151
151
  </div>
152
152
  <div class="auto" style="float: right;">
153
153
  <button class="button_clear " @click="cancelmain()" >返回</button>
154
+ <button class="button_search" type="button" @click="goChargeManage">去收费</button>
154
155
  <button v-if="row.f_meter_brand.includes('西美')&&row.f_meter_type.includes('物联网表')"
155
156
  class="button_search" type="button" @click="clearBarrier">清除障碍</button>
156
157
  <button v-if="row.f_meter_type.includes('物联网表')"
@@ -316,6 +317,9 @@
316
317
  uuidA = s.join('');
317
318
  return uuidA;
318
319
  },
320
+ goChargeManage () {
321
+ this.$goto('charge-manage', {f: this.$login.f}, 'main')
322
+ },
319
323
  openUser () {
320
324
  this.$showMessage(`是否需要给用户进行开户?`, ['confirm', 'cancel']).then(async (res) => {
321
325
  if (res === 'confirm') {
@@ -104,6 +104,10 @@
104
104
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 17%" >燃气使用:</td>
105
105
  <td style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_usegas }}</td>
106
106
  </tr>
107
+ <tr>
108
+ <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;width: 17%" >机械读数:</td>
109
+ <td colspan="3" style="text-align: center;border: #E9E9E9 solid 1px;width: 33%">{{ model.f_item_name ==='机械读数' ? '无': model.f_item_value }}</td>
110
+ </tr>
107
111
  <tr >
108
112
  <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">用户满意度:</td>
109
113
  <td colspan="1" style="text-align: center;border: #E9E9E9 solid 1px;">{{ model.f_client_evaluation }}</td>
@@ -186,6 +186,8 @@ export default {
186
186
  if (owe.data.length > 0 && (!this.useraccount[0].f_meter_classify.includes('卡表'))) {
187
187
  this.$showAlert('该表有欠费,无法销户', 'warning', 3000)
188
188
  // this.$dispatch('button-specifies', {name:'机表收费', value: 'machine-charge'}, this.row)
189
+ } else if ((this.model.userinfo.f_meter_classify === '物联网表' && this.model.userinfo.f_balance_amount && this.model.userinfo.f_balance_amount > 0) || (this.model.userinfo.f_meter_classify !== '物联网表' && this.model.userinfo.f_balance && this.model.userinfo.f_balance > 0)) {
190
+ this.$showAlert('该表有余额,无法销户', 'warning', 3000)
189
191
  } else {
190
192
  await this.cancellation()
191
193
  }
@@ -80,7 +80,7 @@
80
80
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_mpc_state}}</nobr></td>
81
81
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_mpc_network}}</nobr></td>
82
82
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_last_message_date}}</nobr></td>
83
- <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_newmessage}}</nobr></td>
83
+ <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_new_message}}</nobr></td>
84
84
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_modify_user}}</nobr></td>
85
85
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.f_modify_date}}</nobr></td>
86
86
  <td v-show="$parent.$parent.$parent.listshow" style="text-align:center"><nobr>{{row.sumuserfiles}}</nobr></td>
@@ -28,6 +28,7 @@
28
28
  condition="f_address like '%{}%'" placeholder='客户地址'>
29
29
  </div>
30
30
  <div class="span" style="float:right;">
31
+ <button class="button_search button_spacing" @click="$parent.$parent.networking()">组网</button>
31
32
  <button class="button_search button_spacing" @click="$parent.$parent.meterRead()">抄表</button>
32
33
  <button class="button_search button_spacing" @click="$parent.$parent.confirmaddress()">取消关联</button>
33
34
  <button class="button_search button_spacing" @click="search()">查询</button>
@@ -292,6 +293,35 @@ export default {
292
293
  this.search()
293
294
  }
294
295
  },
296
+ async networking () {
297
+ let res = await this.$showMessage('确定对选择的表具进行组网操作吗?', ['confirm', 'cancel'])
298
+ if (res === 'confirm') {
299
+ let rowdata = this.$refs.paged.$refs.grid.getRowData()
300
+ if (rowdata.length <= 0) {
301
+ this.$showMessage('请至少选择一个表具!')
302
+ return
303
+ }
304
+ console.log(rowdata)
305
+ let userfilesids = []
306
+ for (let row of rowdata) {
307
+ userfilesids.push({
308
+ f_userfiles_id: row.f_userfiles_id,
309
+ f_meternumber: row.f_meternumber
310
+ })
311
+ }
312
+ let param = {
313
+ f_orgid: this.$login.f.orgid,
314
+ f_orgname: this.$login.f.name,
315
+ concentratorid: this.fileinfo.id,
316
+ f_mpc_number: this.fileinfo.f_mpc_number,
317
+ userfilesid: '',
318
+ userfilesids: userfilesids,
319
+ state: 'delete'
320
+ }
321
+ await this.$resetpost('rs/logic/concentratorNetWorking', param, {resolveMsg: '组网操作成功!', rejectMsg: '组网操作失败!'})
322
+ this.search()
323
+ }
324
+ },
295
325
  search () {
296
326
  this.$refs.paged.$refs.cri.search()
297
327
  },
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