manage-client 3.2.197 → 3.2.198

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.
@@ -16,7 +16,7 @@ var qtx= 'http://36.103.222.144:6300/'
16
16
  // var bendi = 'http://220.194.141.253:8600/'
17
17
  // var bendi = 'http://203.57.101.233:9001'
18
18
  // var bendi = 'http://172.168.1.11:9001/'
19
- var bendi = 'http://219.138.226.181:8401'
19
+ var bendi = 'http://203.57.101.233:8400/'
20
20
  // var bendi = 'http://121.36.106.17:8400/'
21
21
  // var fuwu = 'http://203.57.101.233:9001'
22
22
  var system = 'http://192.168.50.4:8400'
@@ -27,18 +27,18 @@ var proxyTable = {
27
27
  '/rs/logic/exportfile': {
28
28
  target: bendi
29
29
  },
30
- '/rs/sql/otherChargeQuery': {
31
- target: 'http://localhost:8080/'
32
- },
33
- '/rs/sql/BusinessType': {
34
- target: 'http://localhost:8080/'
35
- },
36
- '/rs/logic/getBatchOperaPro': {
37
- target: 'http://localhost:8080/'
38
- },
39
- '/rs/customExport/areaChargeExportExcel': {
40
- target: 'http://localhost:8080/'
41
- },
30
+ // '/rs/sql/otherChargeQuery': {
31
+ // target: 'http://localhost:8080/'
32
+ // },
33
+ // '/rs/sql/BusinessType': {
34
+ // target: 'http://localhost:8080/'
35
+ // },
36
+ // '/rs/logic/getBatchOperaPro': {
37
+ // target: 'http://localhost:8080/'
38
+ // },
39
+ // '/rs/customExport/areaChargeExportExcel': {
40
+ // target: 'http://localhost:8080/'
41
+ // },
42
42
  '/files': {
43
43
  target: bendi
44
44
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "3.2.197",
3
+ "version": "3.2.198",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -100,13 +100,6 @@
100
100
  condition="f_gasproperties = '{}'"
101
101
  close-on-select></v-select>
102
102
  </div>
103
- <div class="col-sm-2 form-group">
104
- <label class="font_normal_body">气表类型</label>
105
- <v-select :value.sync="model.f_meter_type" multiple
106
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_type"
107
- condition="f_meter_type in {}"
108
- close-on-select></v-select>
109
- </div>
110
103
  <div class="col-sm-2 form-group">
111
104
  <label class="font_normal_body">用户证号</label>
112
105
  <input type="text" style="width:60%" class="input_search" v-model="model.f_book_no"
@@ -736,14 +729,14 @@
736
729
  } else {
737
730
  //小区查询条件
738
731
  let f_orgstr = this.orgCondtionStr
739
- let str='1=1 '
732
+ let str=`1=1 `
740
733
  if(this.$refs.paged.$refs.cri.model.inputstartDate !== ''){
741
734
  str += `and f_input_date>='${this.$refs.paged.$refs.cri.model.inputstartDate}'`
742
735
  }
743
736
  if(this.$refs.paged.$refs.cri.model.inputendDate !== ''){
744
737
  str += `and f_input_date<='${this.$refs.paged.$refs.cri.model.inputendDate}'`
745
738
  }
746
- args.condition = `${args.condition} ` + f_orgstr
739
+ args.condition = `${args.condition} ` + f_orgstr + ` and f_meter_type = '机表'`
747
740
  this.model.search(args.condition, args.model,str)
748
741
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
749
742
  }
@@ -852,7 +845,7 @@
852
845
  return {
853
846
  startDate: this.$refs.paged.$refs.cri.model.startDate,
854
847
  endDate: this.$refs.paged.$refs.cri.model.endDate,
855
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
848
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr + ` and f_meter_type = '机表'`,
856
849
  condValue: `${this.model.condValue}`
857
850
  }
858
851
  },
@@ -862,9 +855,6 @@
862
855
  usertypes() {
863
856
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('用户类型')]
864
857
  },
865
- metertypes() {
866
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
867
- },
868
858
  chargetype() {
869
859
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('收费类型')]
870
860
  }
@@ -232,13 +232,6 @@
232
232
  <input type="text" style="width:60%" class="input_search" v-model="model.f_meternumber"
233
233
  condition="f_meternumber = '{}' " placeholder="表号">
234
234
  </div>
235
- <div class="col-sm-2 form-group">
236
- <label class="font_normal_body">气表类型</label>
237
- <v-select :value.sync="model.f_meter_classify" multiple
238
- :options='$parent.$parent.metertypes' placeholder='请选择' v-model="model.f_meter_classify"
239
- condition="f_meter_classify in {}"
240
- close-on-select></v-select>
241
- </div>
242
235
  <div class="col-sm-2 form-group">
243
236
  <label class="font_normal_body">气表品牌</label>
244
237
  <v-select :value.sync="model.f_meter_brand" multiple
@@ -787,8 +780,6 @@
787
780
  self.$MagGetSaleParam.initinputtor();
788
781
  self.getinputtores();
789
782
  self.initmeterbook();
790
- // await self.$LoadParams.loadMeterBook(self.f_filialeid)
791
- // self.loadMeterBooks()
792
783
  // self.$refs.paged.$refs.cri.model.startDate = self.data ? self.data.startDate : self.$login.toStandardDateString() + ' 00:00:00'
793
784
  // self.$refs.paged.$refs.cri.model.endDate = self.data ? self.data.endDate : self.$login.toStandardDateString() + ' 23:59:59'
794
785
  // self.$refs.paged.$refs.cri.model.handStartDate = self.$login.toStandardDateString() + ' 00:00:00'
@@ -798,12 +789,10 @@
798
789
 
799
790
  // self.$refs.paged.$refs.cri.model.startDate = self.$login.toStandardDateString() + ' 00:00:00'
800
791
  // self.$refs.paged.$refs.cri.model.endDate = self.$login.toStandardDateString() + ' 23:59:59'
801
- // await self.$refs.paged.$refs.cri.search()
802
- await self.$getConfig(self, 'HandplanQuery')
803
792
  self.defaultfield = [...self.defaultfield, ...self.config.defaultPrint]
804
793
  await self.$MagLoadParams.loadParam()
805
- // await self.$MagLoadParams.loadParam()
806
- self.initParams()
794
+ await self.initParams()
795
+ await self.$getConfig(self, 'HandplanQuery')
807
796
  console.log('开始查询')
808
797
  self.sumsmodel = self.$refs.paged.$refs.grid.model.sums
809
798
  }
@@ -912,16 +901,6 @@
912
901
  clearInterval(this.timer);
913
902
  }
914
903
  },
915
- async initmeterbook(orgstr){
916
- if(orgstr == null ){
917
- orgstr = this.f_filialeid;
918
- }
919
- //获取新的抄表册,先去清理所有的抄表册
920
- this.$GetSaleParam.meterbooks = [];
921
- //开始加载新的抄表册
922
- await this.$LoadParams.loadMeterBook(orgstr)
923
- this.meterbooks = [{label: '全部', value: ''}, ...this.$GetSaleParam.getMeterBooks()]
924
- },
925
904
  //初始化片区
926
905
  async initSlice (val) {
927
906
  if (val) {
@@ -1028,19 +1007,21 @@
1028
1007
  this.imgfilename = `rs/image/file/`+val
1029
1008
  this.imgshow = true
1030
1009
  },
1031
- initParams() {
1010
+ async initParams() {
1032
1011
  // 初始化气表品牌
1033
1012
  let brandArr = []
1034
- this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1035
- let temp = {}
1036
- temp.label = item.label
1037
- temp.value = item.value.f_meter_brand
1038
- brandArr.push(temp)
1013
+ await this.$MagGetSaleParam.getGasbrand().forEach((item) => {
1014
+ if (item.value.f_meter_type === '机表'){
1015
+ let temp = {}
1016
+ temp.label = item.label
1017
+ temp.value = item.value.f_meter_brand
1018
+ brandArr.push(temp)
1019
+ }
1039
1020
  })
1040
1021
  this.meterbrands = [{label: '全部', value: ''}, ...brandArr]
1041
1022
  //初始化气价
1042
1023
  let result = []
1043
- this.$MagGetSaleParam.prices.forEach((item) => {
1024
+ await this.$MagGetSaleParam.prices.forEach((item) => {
1044
1025
  if (item.f_state === '有效' && this.$login.f.orgid == item.f_filialeid) {
1045
1026
  let value = {
1046
1027
  label: item.f_price_name,
@@ -1128,7 +1109,7 @@
1128
1109
  args.condition += ` and f_inputtor in ( ${str} )`
1129
1110
  }
1130
1111
 
1131
- args.condition = `${args.condition} ` + this.orgCondtionStr
1112
+ args.condition = `${args.condition} ` + this.orgCondtionStr + ` and f_meter_classify = '机表'`
1132
1113
  this.model.search(args.condition, args.model)
1133
1114
  this.sumsmodel = this.$refs.paged.$refs.grid.model.sums
1134
1115
  },
@@ -1141,7 +1122,6 @@
1141
1122
  Object.keys(this.$refs.paged.$refs.cri.model).forEach((key) => {
1142
1123
  this.$refs.paged.$refs.cri.model[key] = []
1143
1124
  })
1144
- this.$refs.paged.$refs.cri.model.f_meter_classify = []
1145
1125
  },
1146
1126
  show() {
1147
1127
  this.criteriaShow = true
@@ -1262,9 +1242,6 @@
1262
1242
  },
1263
1243
  computed: {
1264
1244
 
1265
- metertypes() {
1266
- return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('气表类型')]
1267
- },
1268
1245
  banklist() {
1269
1246
  return [{label: ' 全部 ', value: ''}, ...this.$appdata.getParam('银行名称')]
1270
1247
  },
@@ -1272,7 +1249,7 @@
1272
1249
  return {
1273
1250
  startDate: this.$refs.paged.$refs.cri.model.startDate,
1274
1251
  endDate: this.$refs.paged.$refs.cri.model.endDate,
1275
- condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr}
1252
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr + ` and f_meter_classify = '机表'` }
1276
1253
  },
1277
1254
  getfield() {
1278
1255
  return exportConfig.handplanConfig
@@ -811,7 +811,7 @@
811
811
 
812
812
  footer:[],
813
813
  config: {
814
- defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date']
814
+ defaultPrint: ['f_userinfo_code', 'f_user_name', 'f_pregas', 'f_collection', 'f_stairamount1', 'f_stair2amount', 'f_stair3amount','f_operate_date','f_address','f_pregas','fee','f_payment','f_depname']
815
815
  },
816
816
  //排序
817
817
  orderitem:'f_operate_date desc',