sale-client 3.5.94 → 3.5.96

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.
@@ -12,7 +12,7 @@ var compiler = webpack(config)
12
12
  // https://github.com/chimurai/http-proxy-middleware
13
13
  var bendi = 'http://127.0.0.1:8080', bendi1 = 'http://121.36.106.17:8400/'
14
14
  // 公司测试服务
15
- var fuwu = 'http://39.108.82.124:8400/'
15
+ var fuwu = 'http://192.168.50.4:8400'
16
16
  // var fuwu = 'http://121.36.106.17:8400/'
17
17
  // 铜川正式
18
18
  // var fuwu = 'http://61.134.55.234:9999/'
@@ -36,9 +36,9 @@ var proxyTable = {
36
36
  '/rs/logic/saleGetExportProgress': {
37
37
  target: fuwu
38
38
  },
39
- // '/rs/logic/getWarningMsg': {
40
- // // target: 'http://localhost:8080/'
41
- // },
39
+ '/rs/logic/getWarningMsg': {
40
+ target: 'http://localhost:8080/'
41
+ },
42
42
  '/rs/file': {
43
43
  target: fuwu
44
44
  },
@@ -88,6 +88,9 @@ var proxyTable = {
88
88
  '/rs/sql/getLicenseById': {
89
89
  target: fuwu
90
90
  },
91
+ '/rs/sql/getGasPriceInfo': {
92
+ target: 'http://127.0.0.1:8080'
93
+ },
91
94
  '/rs/sql/manage_getarealist': {
92
95
  target: fuwu
93
96
  },
@@ -101,7 +104,7 @@ var proxyTable = {
101
104
  target: fuwu
102
105
  },
103
106
  '/webmeter': {
104
- target: 'http://39.108.82.124:8400/'
107
+ target: 'http://192.168.50.4:8450'
105
108
  },
106
109
  '/rs': {
107
110
  // target: 'http://192.168.30.63:8081/'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sale-client",
3
- "version": "3.5.94",
3
+ "version": "3.5.96",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -76,6 +76,14 @@
76
76
  close-on-select v-ref:type>
77
77
  </v-select>
78
78
  </div>
79
+ <div :class="{'col-sm-2 form-group':!$parent.$parent.$parent.isdetail,'col-sm-3 form-group':$parent.$parent.$parent.isdetail}">
80
+ <label class="font_normal_body">气价状态</label>
81
+ <v-select :value.sync="model.f_price_state" v-model="model.f_price_state"
82
+ placeholder='气价状态' :options="$parent.$parent.price_states"
83
+ condition="f_price_state = '{}'"
84
+ close-on-select v-ref:type>
85
+ </v-select>
86
+ </div>
79
87
  </div>
80
88
  </div>
81
89
 
@@ -198,6 +206,7 @@
198
206
  f_orgid: '',
199
207
  gasproperties: [],
200
208
  custom: [{label: '全部', value: ''}, {label: '正常气价', value: '正常气价'}, {label: '自定义气价', value: '自定义气价'}],
209
+ price_states: [{label: '全部', value: ''}, {label: '使用中', value: '使用中'}, {label: '删除', value: '删除'}, {label: '已作废', value: '已作废'}],
201
210
  usertypes: this.$appdata.getParam('用户类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户类型')] : []
202
211
  }
203
212
  },
@@ -215,13 +224,14 @@
215
224
  },
216
225
  ready () {
217
226
  this.$refs.paged.$refs.cri.model.performDate = this.$login.toStandardDateString()
227
+ this.$refs.paged.$refs.cri.model.f_price_state = '使用中'
218
228
  this.search()
219
229
  },
220
230
  methods: {
221
- batchAdjust(){
222
- this.$parent.usershow=true
223
- this.$parent.priceid=null
224
- this.$parent.priceorgid=null
231
+ batchAdjust () {
232
+ this.$parent.usershow = true
233
+ this.$parent.priceid = null
234
+ this.$parent.priceorgid = null
225
235
  },
226
236
  showhistory (row) {
227
237
  this.show = true
@@ -52,6 +52,15 @@
52
52
  </div>
53
53
  </div>
54
54
  <div class="row" v-show="$parent.$parent.criteriaShow">
55
+ <div class="col-sm-2" >
56
+ <label class="font_normal_body">组织机构</label>
57
+ <res-select :initresid='$parent.$parent.curorgid'
58
+ @res-select="$parent.$parent.getorg"
59
+ class="select select_list"
60
+ restype='organization'
61
+ style="width: 60%">
62
+ </res-select>
63
+ </div>
55
64
  <div class="col-sm-2 ">
56
65
  <label class="font_normal_body">表&emsp;号&emsp;</label>
57
66
  <input @keyup.enter="search" style="width:60%" type="text" class="input_search"
@@ -259,6 +268,8 @@ export default {
259
268
  user: [],
260
269
  meterbrand: [],
261
270
  meterstyle: {},
271
+ curorgid: [this.$login.f.orgid],
272
+ f_orgid: '',
262
273
  model: new PagedList('rs/sql/iot_getOpertionList', 20),
263
274
  searchshow: false,
264
275
  showParame: false,
@@ -321,6 +332,9 @@ export default {
321
332
  // this.model.search('1=1')
322
333
  },
323
334
  methods: {
335
+ getorg (val) {
336
+ this.f_orgid = this.$login.convertToIn(val)
337
+ },
324
338
  // let condition = 'f_meter_type = "物联网表"'
325
339
  // this.$resetpost('/rs/sql/getAllBrands',{data:{condition:condition}},{}).then((res)=>{
326
340
  // let arr=[]
@@ -415,11 +429,15 @@ export default {
415
429
  this.search()
416
430
  },
417
431
  selfSearch (args) {
418
- args.condition = `${args.condition} `
432
+ if (this.f_orgid) {
433
+ args.condition = `f_orgid in ${this.f_orgid} and ${args.condition}`
434
+ }
419
435
  if (this.f_gasbrand_id.length > 0) {
420
436
  args.condition += ' and f_gasbrand_id=' + this.f_gasbrand_id[0]
421
437
  this.condition = args.condition
422
438
  this.model.search(args.condition, args.model)
439
+ } else {
440
+ this.$showAlert(`请先选择气表品牌`, 'warning', 0)
423
441
  }
424
442
  // this.isCheckAll = false
425
443
  },