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
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: 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
- })
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.21",
3
+ "version": "3.5.24",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -88,7 +88,7 @@
88
88
  "style-loader": "^0.20.3",
89
89
  "system-clients": "3.2.6-1",
90
90
  "url-loader": "^0.5.7",
91
- "vue-client": "1.24.55",
91
+ "vue-client": "1.24.61",
92
92
  "vue-clipboard2": "0.3.1",
93
93
  "vue-hot-reload-api": "^1.2.0",
94
94
  "vue-html-loader": "^1.0.0",
@@ -42,6 +42,7 @@
42
42
  class="form-group button-range">
43
43
  <!--<button class="button_search button_spacing" style="width: 90px" @click="$parent.$parent.showFileInfo()">查看批量状态-->
44
44
  <!--</button>-->
45
+ <button class="button_search button_spacing" type="button" @click="$parent.$parent.goChargeManage()">去收费</button>
45
46
 
46
47
  <button @click="search(), $parent.$parent.clean()" class="button_search button_spacing"
47
48
  style="float: right">查询
@@ -317,7 +317,9 @@
317
317
  uuidA = s.join('');
318
318
  return uuidA;
319
319
  },
320
- goChargeManage () {
320
+ async goChargeManage () {
321
+ await this.$copyText(this.row.f_userinfo_code)
322
+ this.$showAlert(`用户编号已复制到剪切板!`, 'success', 2000)
321
323
  this.$goto('charge-manage', {f: this.$login.f}, 'main')
322
324
  },
323
325
  openUser () {
@@ -15,7 +15,7 @@
15
15
  :value.sync="model.f_startDate"
16
16
  :format="'yyyy-MM-dd HH:mm:ss'"
17
17
  class="datepicker"
18
- condition="f_input_date >= '{}'"
18
+ cond-value="h.f_input_date >= '{}'"
19
19
  :show-reset-button="true"
20
20
  class="select"
21
21
  >
@@ -28,7 +28,7 @@
28
28
  :value.sync="model.f_endDate"
29
29
  :format="'yyyy-MM-dd HH:mm:ss'"
30
30
  class="datepicker"
31
- condition="f_input_date <= '{}'"
31
+ cond-value="h.f_input_date <= '{}'"
32
32
  :show-reset-button="true"
33
33
  >
34
34
  </datepicker>
@@ -36,7 +36,7 @@
36
36
  <div class="col-sm-2 form-group">
37
37
  <label class="font_normal_body">客户编号</label>
38
38
  <input type="text" class="input_search" style="width: 60%" v-model="model.f_userinfo_code"
39
- condition="f_userinfo_code = '{}'" placeholder='客户编号'>
39
+ cond-value="h.f_userinfo_code = '{}'" placeholder='客户编号'>
40
40
  </div>
41
41
  <div class="col-sm-2 form-group">
42
42
  <label class="font_normal_body">客户姓名</label>
@@ -62,7 +62,7 @@
62
62
  <label class="font_normal_body" for="f_meter_classify">气表类型</label>
63
63
  <v-select :options='$parent.$parent.meterType'
64
64
  :value.sync="model.f_meter_classify"
65
- close-on-select condition="f_meter_classify = '{}'"
65
+ close-on-select cond-value="h.f_meter_classify = '{}'"
66
66
  placeholder='气表类型' value-single="true"
67
67
  style="width: 60%" v-model="model.f_meter_classify"></v-select>
68
68
  </div>
@@ -71,7 +71,7 @@
71
71
  <v-select :value.sync="model.f_gasbrand"
72
72
  :options='$parent.$parent.getMeterBrands(model.f_meter_classify)'
73
73
  placeholder='气表品牌' close-on-select
74
- condition="f_meter_brand = '{}'"
74
+ cond-value="h.f_meter_brand = '{}'"
75
75
  search v-model='model.f_gasbrand' v-ref:brand></v-select>
76
76
  </div>
77
77
  <div class="col-sm-2 form-group">
@@ -113,7 +113,7 @@
113
113
  <label class="font_normal_body">抄&ensp;表&ensp;员</label>
114
114
  <v-select :value.sync="model.f_inputtor" v-model='model.f_inputtor'
115
115
  style="width:60%"
116
- condition="f_inputtor = '{}'"
116
+ cond-value="h.f_inputtor = '{}'"
117
117
  :options='$parent.$parent.inputtores' placeholder='抄表员'
118
118
  close-on-select
119
119
  v-el:cc></v-select>
@@ -141,7 +141,7 @@
141
141
  <v-select :value.sync="model.f_hand_state"
142
142
  :options='$parent.$parent.handstate'
143
143
  placeholder='状态' close-on-select
144
- condition="f_hand_state = '{}'"
144
+ cond-value="h.f_hand_state = '{}'"
145
145
  search v-model='model.f_hand_state' v-ref:brand></v-select>
146
146
  </div>
147
147
  <div class="col-sm-2 form-group">
@@ -158,7 +158,7 @@
158
158
  v-model="model.f_meter_state"
159
159
  :value-single="true"
160
160
  :options='$parent.$parent.meterstate'
161
- placeholder='抄表状态' condition="f_meter_state = '{}'"
161
+ placeholder='抄表状态' cond-value="h.f_meter_state = '{}'"
162
162
  close-on-select ></v-select>
163
163
  </div>
164
164
 
@@ -318,7 +318,7 @@ const myMap = new Map()
318
318
  da: {
319
319
  rows: []
320
320
  },
321
- baseSource:[{label: '全部', value: ''}, {label: '手动录入', value: " (f_tablebase_source='手动录入' or f_tablebase_source is null)"},{label: '自动识别', value: "f_tablebase_source ='自动识别'"}],
321
+ baseSource: [{label: '全部', value: ''}, {label: '手动录入', value: " (f_tablebase_source='手动录入' or f_tablebase_source is null)"}, {label: '自动识别', value: "f_tablebase_source ='自动识别'"}],
322
322
  f_meternumber: '',
323
323
  splitdata: '',
324
324
  // 公司下拉
@@ -332,10 +332,10 @@ const myMap = new Map()
332
332
  f_orgid: '',
333
333
  checked1: true,
334
334
  map: new Map(),
335
- updateall:false,
336
- updatemodel:{
335
+ updateall: false,
336
+ updatemodel: {
337
337
  f_accounting_date: null,
338
- f_start_date:null
338
+ f_start_date: null
339
339
  },
340
340
  priceSplit: false,
341
341
  criteriaShow: false,
@@ -390,7 +390,7 @@ const myMap = new Map()
390
390
  },
391
391
  props: ['showMessage'],
392
392
  methods: {
393
- updateAll(){
393
+ updateAll () {
394
394
  this.updateall = true
395
395
  },
396
396
  checkedALL () {
@@ -415,46 +415,45 @@ const myMap = new Map()
415
415
  this.map.set(id, {id: id})
416
416
  }
417
417
  },
418
- cancel(){
418
+ cancel () {
419
419
  this.updateall = false
420
420
  this.updatemodel = {
421
421
  f_accounting_date: null,
422
422
  f_start_date: null
423
423
  }
424
424
  },
425
- async confirm(){
425
+ async confirm () {
426
426
  let array = []
427
427
  this.map.forEach((value, key, map) => {
428
428
  array.push(map.get(key))
429
429
  })
430
- console.log('asdasd',array)
431
- if (array.length>0){
430
+ console.log('asdasd', array)
431
+ if (array.length > 0) {
432
432
  let condition = `id in (''`
433
433
  array.forEach((row) => {
434
- condition = condition+`,'${row.id}'`
434
+ condition = condition + `,'${row.id}'`
435
435
  })
436
- condition = condition+ `)`
436
+ condition = condition + `)`
437
437
 
438
- console.log('asdasd',condition)
439
- let param={}
440
- if(this.updatemodel.f_start_date){
441
- param.f_start_date=this.updatemodel.f_start_date
438
+ console.log('asdasd', condition)
439
+ let param = {}
440
+ if (this.updatemodel.f_start_date) {
441
+ param.f_start_date = this.updatemodel.f_start_date
442
442
  }
443
- if(this.updatemodel.f_accounting_date){
444
- param.f_accounting_date=this.updatemodel.f_accounting_date
443
+ if (this.updatemodel.f_accounting_date) {
444
+ param.f_accounting_date = this.updatemodel.f_accounting_date
445
445
  }
446
- await this.$resetpost('rs/logic/updatehandplan',{updatemodel:param,condition:condition})
446
+ await this.$resetpost('rs/logic/updatehandplan', {updatemodel: param, condition: condition})
447
447
  this.search()
448
448
  this.cancel()
449
- } else{
449
+ } else {
450
450
  this.$showMessage('当前未勾选用户,将为所有查询出来的用户进行批量修改,确定要操作吗?', ['confirm', 'cancel']).then(async (res) => {
451
451
  if (res === 'confirm') {
452
- await this.$resetpost('rs/logic/updatehandplan',{updatemodel:param,condition:this.condition})
452
+ await this.$resetpost('rs/logic/updatehandplan', {updatemodel: param, condition: this.condition})
453
453
  this.search()
454
454
  this.cancel()
455
455
  }
456
456
  })
457
-
458
457
  }
459
458
  },
460
459
  async updateParams () {
@@ -245,10 +245,9 @@ let initGen = async function (self) {
245
245
  arr.push(temp)
246
246
  let styleArr = []
247
247
  for (let row of item.value.gasmodel) {
248
- styleArr.push({label: row.label,value: row.value.id})
248
+ styleArr.push({label: row.label, value: row.value.id})
249
249
  }
250
250
  self.meterstyle[temp.value] = styleArr
251
- console.log('jjjjkhk', styleArr)
252
251
  }
253
252
  })
254
253
  self.meterbrand = arr
@@ -268,7 +267,7 @@ export default {
268
267
  showParame: false,
269
268
  paramHistory: false,
270
269
  row: null,
271
- setable: false,
270
+ setable: true,
272
271
  criteriaShow: false,
273
272
  condition: '',
274
273
  f_gasbrand_id: null,
@@ -347,16 +346,16 @@ export default {
347
346
  hidden () {
348
347
  this.criteriaShow = !this.criteriaShow
349
348
  },
350
- async showParamDefault(){
351
- this.user=null
349
+ async showParamDefault () {
350
+ this.user = null
352
351
  this.map.clear()
353
352
  await this.$refs.form.getBrandParamsHistory()
354
353
  this.showParame = !this.showParame
355
354
  },
356
355
  showParam () {
357
356
  this.conditionMsg = ''
358
- if(!this.user){
359
- this.user=[]
357
+ if (!this.user) {
358
+ this.user = []
360
359
  }
361
360
  if (this.user.length === 0) {
362
361
  this.$showMessage('是否要设置查询出来的所有表参数', ['confirm', 'cancel']).then((res) => {
@@ -438,7 +437,6 @@ export default {
438
437
  },
439
438
  mapset (array) {
440
439
  this.map.clear()
441
- console.log(array)
442
440
  for (let i = 0; i < array.length; i++) {
443
441
  let userid = array[i].f_userfiles_id
444
442
  let alias = array[i].f_alias