manage-client 3.2.25 → 3.2.26

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.
@@ -13,8 +13,8 @@ var compiler = webpack(config)
13
13
  // var bendi = 'http://127.0.0.1:8089/manage', fuwu = 'http://36.103.224.217:6300/'
14
14
  var shaoguan='http://119.146.1.106:8300/'
15
15
  var qtx='http://36.103.222.144:6300/'
16
- var bendi = 'http://127.0.0.1:8976/', fuwu_login = 'http://192.168.50.4:8400'
17
- var fuwu = 'http://192.168.50.4:8400'
16
+ var bendi = 'http://119.36.179.19:8000', fuwu_login = 'http://192.168.50.4:8400'
17
+ var fuwu = 'http://119.36.179.19:8000'
18
18
  var system = 'http://192.168.50.4:8400'
19
19
  //192.168.
20
20
  // var str = 'http://127.0.0.1:8080/manage', str2 = 'http://192.168.50.199:8300'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.25",
3
+ "version": "3.2.26",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -57,7 +57,7 @@
57
57
  "moment": "2.24.0",
58
58
  "ncp": "^2.0.0",
59
59
  "rimraf": "^2.5.0",
60
- "sale-client": "3.2.18-1",
60
+ "sale-client": "3.4.14",
61
61
  "selenium-server": "2.52.0",
62
62
  "sinon": "^2.1.0",
63
63
  "sinon-chai": "^2.8.0",
@@ -66,7 +66,7 @@
66
66
  "system-clients": "3.1.89-20",
67
67
  "url-loader": "^0.5.7",
68
68
  "vue-amap": "0.5.10",
69
- "vue-client": "1.22.20-5-1",
69
+ "vue-client": "1.24.33",
70
70
  "vue-hot-reload-api": "^1.2.0",
71
71
  "vue-html-loader": "^1.0.0",
72
72
  "vue-loader": "8.2.1",
@@ -70,11 +70,12 @@
70
70
  v-el:meternumber v-model="model.f_meternumber" v-next-el='meternumber'
71
71
  >
72
72
  </div>
73
- <div class="col-sm-2">
74
- <label class="font_normal_body">公&emsp;&emsp;司</label>
75
- <right-tree @re-res="$parent.$parent.getorg"
76
- :initresid='$parent.$parent.orgid'></right-tree>
77
- </div>
73
+ <!-- <div class="col-sm-2">-->
74
+ <!-- <label class="font_normal_body">公&emsp;&emsp;司</label>-->
75
+ <!-- <right-tree @re-res="$parent.$parent.getorg"-->
76
+ <!-- :initresid='$parent.$parent.orgid'></right-tree>-->
77
+ <!-- </div>-->
78
+ <res-select-group :show-component="$parent.$parent.resshow" :selectin="true" :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
78
79
  <!-- <div class="col-sm-2 form-group">-->
79
80
  <!-- <label class="font_normal_body">组织机构</label>-->
80
81
  <!-- <res-select :initresid="$parent.$parent.orgid"-->
@@ -360,6 +361,7 @@ import {HttpResetClass, PagedList} from 'vue-client'
360
361
  components: {UserGasEcharts},
361
362
  data() {
362
363
  return {
364
+ resshow:['company','slicearea'],
363
365
  model: new PagedList('rs/sql/webmeter_getUserGasList', 20, {startDate: 'this.model.startDate', endDate: 'this.model.endDate'}, {
364
366
  f_oughtamount: 0,
365
367
  f_oughtfee: 0,
@@ -423,7 +425,8 @@ import {HttpResetClass, PagedList} from 'vue-client'
423
425
  // orgCondtionStr: ' and h.f_orgid in (' + this.$login.f.orgid + ')',
424
426
  orgCondtionStr: '(' + this.$login.f.orgid + ')',
425
427
  orgid:[this.$login.f.orgid],
426
- usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}]
428
+ usetypes: [{label: '全部', value: ''},{label: '是', value: `= '壁挂炉'`},{label: '否', value: `!= '壁挂炉'`}],
429
+ zonesdata:''
427
430
  }
428
431
  },
429
432
  ready() {
@@ -495,6 +498,9 @@ import {HttpResetClass, PagedList} from 'vue-client'
495
498
  this.condition = this.$refs.paged.$refs.cri.condition + ` and f_orgid in ${this.orgCondtionStr}`
496
499
  else
497
500
  this.condition = this.$refs.paged.$refs.cri.condition + ` and f_orgid = ${this.$login.f.orgid}`
501
+ if(this.zonesdata){
502
+ this.condition = this.$refs.paged.$refs.cri.condition + ` and ${this.zonesdata}`
503
+ }
498
504
  args.condition = this.condition
499
505
  this.model.search(args.condition, args.model)
500
506
  },
@@ -522,6 +528,11 @@ import {HttpResetClass, PagedList} from 'vue-client'
522
528
  },
523
529
  getRes(obj) {
524
530
  this.orgCondtionStr = plugins.convertToIn(obj)
531
+ if(obj.indexOf("f_zones = ")>0){
532
+ this.zonesdata = obj.substring(obj.indexOf("f_zones = "))
533
+ }else{
534
+ this.zonesdata='';
535
+ }
525
536
  },
526
537
  getorg(obj) {
527
538
  this.orgCondtionStr = plugin.convertToIn(obj.resids)?plugin.convertToIn(obj.resids):'(' + this.$login.f.orgid + ')'
@@ -445,7 +445,7 @@
445
445
  上期余额合计:&emsp;{{sumsmodel.f_balance}}
446
446
  </td>
447
447
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
448
- 合计欠费:&emsp;{{parseFloat((sumsmodel.f_oughtfee_all.toFixed(2)-sumsmodel.f_balance.toFixed(2)).toFixed(2))}}
448
+ 合计欠费:&emsp;{{sumsmodel.f_oughtfee_all}}
449
449
  </td>
450
450
  </tr>
451
451
  </table>
package/src/main.js CHANGED
@@ -5,6 +5,7 @@ import { all } from 'vue-client'
5
5
  // import { sale } from 'sale-client'
6
6
  import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
+ import { sale } from 'sale-client'
8
9
  import saleManage from './saleManage'
9
10
  import webmeterManage from './webmeterManage'
10
11
  import reportManage from './reportManage'
@@ -40,7 +41,7 @@ AMap.initAMapApiLoader({
40
41
 
41
42
  Vue.prototype.$echarts = echarts
42
43
  all()
43
- // sale()
44
+ sale()
44
45
  ldap()
45
46
  system(false)
46
47
  saleManage('macheng')