sale-client 3.5.17 → 3.5.18

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.
@@ -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:8072',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.17",
3
+ "version": "3.5.18",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -140,18 +140,18 @@
140
140
  </template>
141
141
  <script>
142
142
 
143
- import {HttpResetClass} from "vue-client";
143
+ import {HttpResetClass} from 'vue-client'
144
144
 
145
145
  export default {
146
146
  data () {
147
147
  return {
148
148
  isshow: false,
149
149
  tempPosition: {
150
- position: { //经纬度信息
151
- lng: 0, //经度
152
- lat: 0 //纬度
150
+ position: { // 经纬度信息
151
+ lng: 0, // 经度
152
+ lat: 0 // 纬度
153
153
  },
154
- formattedAddress: '' //地址信息
154
+ formattedAddress: '' // 地址信息
155
155
  },
156
156
  model: {
157
157
  f_adjustable_id: '',
@@ -165,11 +165,11 @@ export default {
165
165
  f_open_date: '',
166
166
  f_manufacturer: '',
167
167
  f_remark: '',
168
- f_adjustable_lng: '', //经度
169
- f_adjustable_lat: '', //纬度
168
+ f_adjustable_lng: '', // 经度
169
+ f_adjustable_lat: '' // 纬度
170
170
  },
171
- riser:[{}],
172
- delrow:[],
171
+ riser: [{}],
172
+ delrow: [],
173
173
  haveid: false,
174
174
  havename: false,
175
175
  changedate: true,
@@ -206,44 +206,46 @@ export default {
206
206
  this.model.f_depid = this.$login.f.depids
207
207
  this.model.f_depname = this.$login.f.deps
208
208
  let http = new HttpResetClass()
209
- let res=await http.load('post', `rs/entity/t_adjustablebox`, this.model,{resolveMsg:'调压箱保存成功', rejectMsg: '保存失败!!!'})
210
- if(this.riser[0]){
211
- for(var i=0;i<this.riser.length;i++){
212
- var params={
213
- id:this.riser[i].id,
214
- f_table_name:`t_adjustablebox`,
215
- f_field_name:'id',
216
- f_parent_id:res.data.id,
217
- f_value:this.riser[i].f_value,
218
- f_chinese_name:'立管编号',
219
- f_operator : this.$login.f.name,
220
- f_operatorid : this.$login.f.id,
221
- f_orgid : this.$login.f.orgid,
222
- f_orgname : this.$login.f.orgs,
223
- f_depid : this.$login.f.depids,
224
- f_depname : this.$login.f.deps
225
- }
226
- if(this.riser[i].f_value){
227
- await http.load('post', `rs/entity/t_attribute`, params, {resolveMsg: null, rejectMsg: null})
228
- }else{
229
- await this.$resetdelete('rs/entity/t_attribute', {id: this.riser[i].id}, {warnMsg:null,resolveMsg: null, rejectMsg: null})
230
- }
231
- }
209
+ let res = await http.load('post', `rs/entity/t_adjustablebox`, this.model, {resolveMsg: '调压箱保存成功', rejectMsg: '保存失败!!!'})
210
+ if (this.riser[0]) {
211
+ for (var i = 0; i < this.riser.length; i++) {
212
+ var params = {
213
+ id: this.riser[i].id,
214
+ f_table_name: `t_adjustablebox`,
215
+ f_field_name: 'id',
216
+ f_parent_id: res.data.id,
217
+ f_value: this.riser[i].f_value,
218
+ f_chinese_name: '立管编号',
219
+ f_operator: this.$login.f.name,
220
+ f_operatorid: this.$login.f.id,
221
+ f_orgid: this.$login.f.orgid,
222
+ f_orgname: this.$login.f.orgs,
223
+ f_depid: this.$login.f.depids,
224
+ f_depname: this.$login.f.deps
232
225
  }
233
- if(this.delrow.length>0){
234
- for(var i=0;i<this.delrow.length;i++){
235
- await this.$resetdelete('rs/entity/t_attribute', {id: this.delrow[i]}, {warnMsg:null,resolveMsg: null, rejectMsg: null})
236
- }
226
+ if (this.riser[i].f_value) {
227
+ await http.load('post', `rs/entity/t_attribute`, params, {resolveMsg: null, rejectMsg: null})
228
+ } else {
229
+ await this.$resetdelete('rs/entity/t_attribute', {id: this.riser[i].id}, {warnMsg: null, resolveMsg: null, rejectMsg: null})
237
230
  }
238
- this.$dispatch('success', '调压箱保存成功', this.model, res)
239
- this.riser=[{}]
240
- this.delrow=[]
231
+ }
232
+ }
233
+ if (this.delrow.length > 0) {
234
+ for (var i = 0; i < this.delrow.length; i++) {
235
+ await this.$resetdelete('rs/entity/t_attribute', {id: this.delrow[i]}, {warnMsg: null, resolveMsg: null, rejectMsg: null})
236
+ }
237
+ }
238
+ // 操作了调压箱 清空分公司initdata缓存
239
+ await http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
241
240
 
241
+ this.$dispatch('success', '调压箱保存成功', this.model, res)
242
+ this.riser = [{}]
243
+ this.delrow = []
242
244
  },
243
- delriser (index,row) {
245
+ delriser (index, row) {
244
246
  if (this.riser.length > 1) {
245
247
  this.riser.splice(index, 1)
246
- if(row.id){
248
+ if (row.id) {
247
249
  this.delrow.push(row.id)
248
250
  }
249
251
  }
@@ -252,7 +254,7 @@ export default {
252
254
  this.riser.push({})
253
255
  },
254
256
  async datatomodel () {
255
- this.delrow=[]
257
+ this.delrow = []
256
258
  this.$nextTick(() => {
257
259
  if (JSON.stringify(this.data) === '{}') {
258
260
  Object.assign(this.$data.model, this.$options.data().model)
@@ -270,13 +272,13 @@ export default {
270
272
  this.model.f_operate_date ? this.changedate = false : this.changedate = true
271
273
  }
272
274
  })
273
- if(this.data.id){
274
- var data=await this.$resetpost('rs/sql/saleSingleTable', {data: {tablename: 't_attribute', condition: `f_table_name = 't_adjustablebox' and f_parent_id = '${this.data.id}' and f_chinese_name ='立管编号'`}}, {resolveMsg: null, rejectMsg: '获取调压箱失败'})
275
- this.riser=data.data
275
+ if (this.data.id) {
276
+ var data = await this.$resetpost('rs/sql/saleSingleTable', {data: {tablename: 't_attribute', condition: `f_table_name = 't_adjustablebox' and f_parent_id = '${this.data.id}' and f_chinese_name ='立管编号'`}}, {resolveMsg: null, rejectMsg: '获取调压箱失败'})
277
+ this.riser = data.data
276
278
  }
277
279
 
278
- if (this.riser.length===0){
279
- this.riser=[{}]
280
+ if (this.riser.length === 0) {
281
+ this.riser = [{}]
280
282
  }
281
283
  },
282
284
  cancel () {
@@ -305,7 +307,7 @@ export default {
305
307
  this.isshow = true
306
308
  },
307
309
  closeModal () {
308
- this.isshow = false;
310
+ this.isshow = false
309
311
  },
310
312
  getmylocation (res) {
311
313
  this.tempPosition = res
@@ -314,7 +316,7 @@ export default {
314
316
  this.model.f_adjustable_address = this.tempPosition.formattedAddress
315
317
  this.model.f_adjustable_lng = this.tempPosition.position.lng
316
318
  this.model.f_adjustable_lat = this.tempPosition.position.lat
317
- this.isshow = false;
319
+ this.isshow = false
318
320
  }
319
321
  }
320
322
  }
@@ -41,10 +41,11 @@
41
41
  <!--@change="$parent.$parent.$parent.select()" style="width: 22px;height: 22px"/>-->
42
42
  <!--</th>-->
43
43
  <th><nobr>读取类型</nobr></th>
44
- <th><nobr>读取内容</nobr></th>
44
+ <!--<th><nobr>读取内容</nobr></th>-->
45
45
  <th><nobr>数据日期</nobr></th>
46
46
  <th><nobr>用量合计</nobr></th>
47
47
  <th><nobr>插入日期</nobr></th>
48
+ <th><nobr>查看</nobr></th>
48
49
  </tr>
49
50
  </template>
50
51
  <template partial='body' partial='list' v-ref:grid>
@@ -54,15 +55,24 @@
54
55
  <!--:checked="$parent.$parent.$parent.ischecked($parent.model.pageIndex-1,$index)" style="width: 22px;height: 22px;"/>-->
55
56
  <!--</td>-->
56
57
  <td style="text-align:center"><nobr>{{row.f_type}}</nobr></td>
57
- <td style="text-align:center"><nobr>{{row.f_data}}</nobr></td>
58
+ <!--<td style="text-align:center"><nobr>{{row.f_data}}</nobr></td>-->
58
59
  <td style="text-align:center"><nobr>{{row.f_data_date}}</nobr></td>
59
60
  <td style="text-align:center"><nobr>{{row.f_data_total}}</nobr></td>
60
61
  <td style="text-align:center"><nobr>{{row.f_insert_date}}</nobr></td>
62
+ <td style="text-align:center"@click="$parent.$parent.$parent.dealmsg(row)" ><button class="btn">查看</button></td>
61
63
  </tr>
62
64
  </template>
63
65
  <template partial='foot'></template>
64
66
  </data-grid>
65
67
  </criteria-paged>
68
+ <modal :show.sync="isShowDetailInfo" width="1000px" title="详情展示" v-ref:modal backdrop="false" >
69
+ <article slot="modal-body" class="modal-body">
70
+ <json-parse :data-json="rowData" :json-fields="jsonFields"></json-parse>
71
+ </article>
72
+ <footer slot="modal-footer" class="modal-footer">
73
+ <button type="button" class="btn btn-success" @click='cancel'>关闭</button>
74
+ </footer>
75
+ </modal>
66
76
  </div>
67
77
  </div>
68
78
  </template>
@@ -85,7 +95,19 @@
85
95
  fields: {'f_preamount': '购气金额', 'f_pregas': '购气量', 'f_operate_date': '缴费时间', 'f_operator': '操作员', 'f_comments': '备注'},
86
96
  defaultfield: [
87
97
  'f_preamount', 'f_pregas', 'f_operate_date', 'f_operator', 'f_comments'
88
- ]
98
+ ],
99
+ jsonFields: {
100
+ factoryFlow: '工况流量',
101
+ dataDate: '记录时间',
102
+ factoryTotal: '工况累积量',
103
+ temperature: '温度',
104
+ standardTotal: '标况累积量',
105
+ pressure: '压力',
106
+ standardFlow: '标流量',
107
+ Result: '结果'
108
+ },
109
+ isShowDetailInfo: false,
110
+ rowData: ''
89
111
  }
90
112
  },
91
113
  props: ['row'],
@@ -93,6 +115,23 @@
93
115
  this.$refs.paged.$refs.criteria.search()
94
116
  },
95
117
  methods: {
118
+ /**
119
+ * 退出json详细信息页面
120
+ */
121
+ cancel () {
122
+ this.isShowDetailInfo = false
123
+ },
124
+ /**
125
+ * 展示json
126
+ * @param obj 传递的row
127
+ */
128
+
129
+ dealmsg (obj) {
130
+ console.log('==================>', obj)
131
+ this.isShowDetailInfo = true
132
+ this.rowData = obj.f_data
133
+ debugger
134
+ },
96
135
  search () {
97
136
  this.condition = `${this.$refs.paged.$refs.criteria.condition} and f_userfiles_id = '${this.row.f_userfiles_id}'`
98
137
  this.model.search(this.condition, this.model)
@@ -39,7 +39,6 @@ export default {
39
39
  },
40
40
  props: ['data'],
41
41
  ready () {
42
- debugger
43
42
  checkGas(this)
44
43
  },
45
44
  watch: {
@@ -331,7 +331,7 @@ let initGen = async function (self, val) {
331
331
  this.mixshow = true
332
332
  } else if (val === '阶梯气价') {
333
333
  this.model.detailprice = [{f_gas: '', f_price: '', f_add_gas: 0, f_add_gas_heat: 0}]
334
- if (this.model.f_deduction_way == undefined || this.model.f_deduction_way == ''){
334
+ if (this.model.f_deduction_way == undefined || this.model.f_deduction_way == '') {
335
335
  this.model.f_deduction_way = 'cycle'
336
336
  }
337
337
  this.stairshow = true
@@ -388,9 +388,7 @@ let initGen = async function (self, val) {
388
388
  resolveMsg: null,
389
389
  rejectMsg: '验证气价出错!!'
390
390
  })
391
-
392
391
  console.log('验证气价:', validateResult)
393
-
394
392
  if (validateResult.data.toBeUsePrice.length > 0) {
395
393
  // 有待使用气价, 将待使用气价信息展示
396
394
  let awaitOper = await this.$showMessage(`此气价存在待使用记录, 将于${validateResult.data.toBeUsePrice[0].f_perform_date} 开始使用!是否将其作废?`, ['confirm', 'cancel'])
@@ -426,6 +424,10 @@ let initGen = async function (self, val) {
426
424
  }
427
425
  // 现调用气价修改的逻辑 返回:version 和之前的对比 增加的话, 进行提示操作 反之 结束
428
426
  await this.$LogicService.gasPrice(this.model, this.data)
427
+ // 操作了气价 清空分公司initdata缓存
428
+ let http = new HttpResetClass()
429
+ await http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
430
+
429
431
  this.$dispatch('success', '气价管理', this.data)
430
432
  this.initModel()
431
433
  },
@@ -437,6 +439,8 @@ let initGen = async function (self, val) {
437
439
  resolveMsg: '删除气价成功',
438
440
  rejectMsg: '删除气价失败'
439
441
  })
442
+ let http = new HttpResetClass()
443
+ await http.load('POST', 'rs/logic/delSaleInitData', {data: {}}, {resolveMsg: null, rejectMsg: null})
440
444
  }
441
445
  this.$dispatch('success')
442
446
  },