manage-client 3.2.219 → 3.2.221

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.
@@ -133,12 +133,22 @@
133
133
  close-on-select></v-select>
134
134
  </div>-->
135
135
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
136
+ <div class="col-sm-2 form-group">
137
+ <label class="font_normal_body">气价类型</label>
138
+ <v-select :value.sync="model.pricetype" v-model="model.pricetype"
139
+ @change="$parent.$parent.pricetypechanged"
140
+ placeholder='气价类型' :options="$parent.$parent.pricetypes"
141
+ close-on-select v-ref:type>
142
+ </v-select>
143
+ </div>
136
144
  <div class="col-sm-2 form-group">
137
145
  <label class="font_normal_body">气价名称</label>
138
146
  <v-select :value.sync="model.f_price_name"
139
- :options='$parent.$parent.priceName' placeholder='请选择' v-model="model.f_price_name"
140
- condition="f_price_name = '{}'"
141
- close-on-select></v-select>
147
+ v-model="model.f_price_name"
148
+ multiple
149
+ :options="$parent.$parent.getPricenames"
150
+ condition="f_price_name in {}"
151
+ ></v-select>
142
152
  </div>
143
153
  </div>
144
154
  </div>
@@ -398,6 +408,7 @@
398
408
  f_stair2fee:0,
399
409
  f_stair3amount:0,
400
410
  f_stair3fee:0}),
411
+ f_filialeid: this.$login.f.orgid,
401
412
  initres: {
402
413
  org:[this.$login.f.orgid],
403
414
  dep:[],
@@ -434,6 +445,9 @@
434
445
  })
435
446
  },
436
447
  methods: {
448
+ pricetypechanged(){
449
+ this.$refs.paged.$refs.cri.model.f_price_name = []
450
+ },
437
451
  getotherfooter(){
438
452
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
439
453
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
@@ -594,9 +608,41 @@
594
608
  whetherPay() {
595
609
  return [{label: '全部', value: ''},{label: '是', value: '是'},{label: '否', value: '否'}]
596
610
  },
597
- priceName() {
611
+ pricetypes() {
598
612
  return [{label: '全部', value: ''}, ...this.$appdata.getParam('气价类型')]
599
- }
613
+ },
614
+ getPricenames() {
615
+ let f_user_type = this.$refs.paged.$refs.cri.model.f_user_type;
616
+ let pricetype = this.$refs.paged.$refs.cri.model.pricetype;
617
+ console.log("打印一下:",f_user_type,pricetype,this.f_filialeid)
618
+ if(this.$refs.paged.$refs.cri.model !==null) {
619
+ let rs = []
620
+ let priceArr = []
621
+ if ( pricetype.length >0) {
622
+ let params = {
623
+ f_price_type: pricetype[0],
624
+ filter: this.f_filialeid,
625
+ prices: this.prices
626
+ }
627
+ this.$MagGetSaleParam.getPrice(params).forEach((item) => {
628
+ let temp = {}
629
+ temp.label = item.label
630
+ temp.value = item.value.f_price_name
631
+ priceArr.push(temp)
632
+ })
633
+ if(priceArr.length == 0 ){
634
+ rs= [{label: '全部', value: ''}]
635
+ }else{
636
+ rs = [ ...priceArr]
637
+ }
638
+ }
639
+ if (rs.length === 0) {
640
+ console.log('rs读出来是空')
641
+ this.$refs.paged.$refs.cri.model.f_price_name = ''
642
+ }
643
+ return rs
644
+ }
645
+ },
600
646
  },
601
647
  events:{
602
648
  'onFileUpload': function (file, res) {
package/src/main.js CHANGED
@@ -1,66 +1,66 @@
1
- import Vue from 'vue'
2
- import App from './App'
3
- import { all } from 'vue-client'
4
-
5
- // import { sale } from 'sale-client'
6
- import { system } from 'system-clients'
7
- import { ldap } from 'ldap-clients'
8
- import saleManage from './saleManage'
9
- import webmeterManage from './webmeterManage'
10
- import reportManage from './reportManage'
11
- import newmanage from './newmanage'
12
- import ManageHome from './ManageHome'
13
- import echarts from 'echarts'
14
- import AMap from 'vue-amap'
15
-
16
- Vue.config.silent = true
17
- // Vue.mmType = 'AES'
18
-
19
- Vue.use(AMap);
20
-
21
- // 初始化vue-amap
22
- AMap.initAMapApiLoader({
23
- // 高德key
24
- key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
- // 插件集合 (插件按需引入)
26
- plugin: [
27
- "AMap.Autocomplete", //输入提示插件
28
- "AMap.PlaceSearch", //POI搜索插件
29
- "AMap.Scale", //右下角缩略图插件 比例尺
30
- "AMap.OverView", //地图鹰眼插件
31
- "AMap.ToolBar", //地图工具条0
32
- "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
- "AMap.PolyEditor", //编辑 折线多,边形
34
- "AMap.CircleEditor", //圆形编辑器插件
35
- "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
- ],
37
- uiVersion: "1.0"
38
- });
39
- /** **************************通用组件******************************/
40
-
41
- Vue.prototype.$echarts = echarts
42
- all()
43
- // sale()
44
- ldap()
45
- system(false)
46
-
47
- saleManage()
48
- webmeterManage("wuhai")
49
- ManageHome()
50
- newmanage()
51
- reportManage()
52
- require('system-clients/src/styles/less/bootstrap.less')
53
- require('./components/qinhua/Style/qinhuaStyle.less')
54
- // require('./bootstrap/less/manageStyle/manageChile.less')
55
- // require('./bootstrap/less/manageStyle/safeStyle.less')
56
-
57
- //大屏展示要放开的样式
58
- // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
- // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
- // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
-
62
- new Vue({
63
- el: 'body',
64
- components: { App }
65
- })
66
-
1
+ import Vue from 'vue'
2
+ import App from './App'
3
+ import { all } from 'vue-client'
4
+
5
+ // import { sale } from 'sale-client'
6
+ import { system } from 'system-clients'
7
+ import { ldap } from 'ldap-clients'
8
+ import saleManage from './saleManage'
9
+ import webmeterManage from './webmeterManage'
10
+ import reportManage from './reportManage'
11
+ import newmanage from './newmanage'
12
+ import ManageHome from './ManageHome'
13
+ import echarts from 'echarts'
14
+ import AMap from 'vue-amap'
15
+
16
+ Vue.config.silent = true
17
+ // Vue.mmType = 'AES'
18
+
19
+ Vue.use(AMap);
20
+
21
+ // 初始化vue-amap
22
+ AMap.initAMapApiLoader({
23
+ // 高德key
24
+ key: '3cec9ae8e2349207f7ac29279e3f4abe',
25
+ // 插件集合 (插件按需引入)
26
+ plugin: [
27
+ "AMap.Autocomplete", //输入提示插件
28
+ "AMap.PlaceSearch", //POI搜索插件
29
+ "AMap.Scale", //右下角缩略图插件 比例尺
30
+ "AMap.OverView", //地图鹰眼插件
31
+ "AMap.ToolBar", //地图工具条0
32
+ "AMap.MapType", //类别切换控件,实现默认图层与卫星图、实施交通图层之间切换的控制
33
+ "AMap.PolyEditor", //编辑 折线多,边形
34
+ "AMap.CircleEditor", //圆形编辑器插件
35
+ "AMap.Geolocation" //定位控件,用来获取和展示用户主机所在的经纬度位置
36
+ ],
37
+ uiVersion: "1.0"
38
+ });
39
+ /** **************************通用组件******************************/
40
+
41
+ Vue.prototype.$echarts = echarts
42
+ all()
43
+ // sale()
44
+ ldap()
45
+ system(false)
46
+
47
+ saleManage()
48
+ webmeterManage("wuhai")
49
+ ManageHome()
50
+ newmanage()
51
+ reportManage()
52
+ require('system-clients/src/styles/less/bootstrap.less')
53
+ require('./components/qinhua/Style/qinhuaStyle.less')
54
+ // require('./bootstrap/less/manageStyle/manageChile.less')
55
+ // require('./bootstrap/less/manageStyle/safeStyle.less')
56
+
57
+ //大屏展示要放开的样式
58
+ // require('system-clients/src/styles/less/manageStyle/manageChile.less')
59
+ // require('system-clients/src/styles/less/manageStyle/safeStyle.less')
60
+ // require('system-clients/src/styles/less/manageStyle/manageStyle.less')
61
+
62
+ new Vue({
63
+ el: 'body',
64
+ components: { App }
65
+ })
66
+