manage-client 4.1.102 → 4.1.104-lsby

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.1.102",
3
+ "version": "4.1.104-lsby",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -67,11 +67,11 @@
67
67
  "style": "0.0.3",
68
68
  "style-loader": "^0.20.3",
69
69
  "swiper": "^5.4.5",
70
- "system-clients": "3.2.90-tongchuan",
70
+ "system-clients": "4.0.12",
71
71
  "ldap-clients": "3.0.96",
72
72
  "url-loader": "^0.5.7",
73
73
  "vue-amap": "0.5.10",
74
- "vue-client": "1.25.29",
74
+ "vue-client": "1.26.6",
75
75
  "vue-hot-reload-api": "^1.2.0",
76
76
  "vue-html-loader": "^1.0.0",
77
77
  "vue-loader": "8.2.1",
@@ -811,28 +811,19 @@
811
811
  <tr style="position: relative" class="table-bordered">
812
812
  <td
813
813
  style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;color: #5CB95C;font-weight: bold">
814
- 汇总信息
814
+ 全表汇总信息
815
815
  </td>
816
816
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
817
817
  气量合计:&emsp;{{(sumsmodel.f_pregas - 0).toFixed(2)}}
818
818
  </td>
819
819
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
820
- 应交金额合计:&emsp;{{(sumsmodel.fee - 0).toFixed(2)}}
820
+ 卡表收费合计:&emsp;{{(sumsmodel.f_preamount - 0).toFixed(2)}}
821
821
  </td>
822
822
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
823
- 违约金合计:&emsp;{{sumsmodel.f_delaypay}}
824
- </td>
825
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
826
- 燃气费合计:&emsp;{{(sumsmodel.f_preamount - 0).toFixed(2)}}
827
- </td>
828
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
829
- 预存金额合计:&emsp;{{sumsmodel.f_yucun}}
823
+ 物联网收费合计:&emsp;{{sumsmodel.f_yucun}}
830
824
  </td>
831
825
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
832
826
  收款合计:&emsp;{{(sumsmodel.f_collection - 0).toFixed(2)}}
833
- </td>
834
- <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
835
- 优惠合计:&emsp;{{sumsmodel.f_privilege_money}}
836
827
  </td>
837
828
  <td style="display: inline-block;width: auto;border-right: 1px solid #F2F6FA;padding: 0px 10px 0px 10px;font-weight: bold">
838
829
  一阶气量合计:&emsp;{{(sumsmodel.f_stairamount1 -0).toFixed(2)}}
@@ -493,6 +493,30 @@
493
493
  condition="f_network_valve='{}'">
494
494
  </v-select>
495
495
  </div>
496
+ <div class="col-sm-2 form-group">
497
+ <label class="font_normal_body">类型</label>
498
+ <v-select
499
+ placeholder='类型'
500
+ :value.sync="model.f_type"
501
+ style="width:60%"
502
+ v-model="model.f_type"
503
+ :options='$parent.$parent.types'
504
+ close-on-select
505
+ condition="f_type='{}'">
506
+ </v-select>
507
+ </div>
508
+ <div class="col-sm-2 form-group">
509
+ <label class="font_normal_body">用户等级</label>
510
+ <v-select
511
+ placeholder='用户等级'
512
+ :value.sync="model.f_user_level"
513
+ style="width:60%"
514
+ v-model="model.f_user_level"
515
+ :options='$parent.$parent.userlevels'
516
+ close-on-select
517
+ condition="f_type='{}'">
518
+ </v-select>
519
+ </div>
496
520
  </div>
497
521
  </div>
498
522
  </criteria>
@@ -536,6 +560,12 @@
536
560
  <th>
537
561
  <nobr>联系电话</nobr>
538
562
  </th>
563
+ <th>
564
+ <nobr>类型</nobr>
565
+ </th>
566
+ <th>
567
+ <nobr>用户等级</nobr>
568
+ </th>
539
569
  <th>
540
570
  <nobr>建档日期</nobr>
541
571
  </th>
@@ -725,6 +755,8 @@
725
755
  <td style="text-align: center;"><nobr>{{row.f_idnumber}}</nobr></td>
726
756
  <td style="text-align: center;"><nobr>{{row.f_address}}</nobr></td>
727
757
  <td style="text-align: center;"><nobr>{{row.f_user_phone}}</nobr></td>
758
+ <td style="text-align: center;"><nobr>{{row.f_type}}</nobr></td>
759
+ <td style="text-align: center;"><nobr>{{row.f_user_level}}</nobr></td>
728
760
  <td style="text-align: center;"><nobr>{{row.f_createfile_date}}</nobr></td>
729
761
  <td style="text-align: center;"><nobr>{{row.f_contract_id}}</nobr></td>
730
762
  <td style="text-align: center;"><nobr>{{row.f_gas_date}}</nobr></td>
@@ -966,6 +998,8 @@
966
998
  pricenames:[],
967
999
  dypayment:[{label:"全部",value:""},{label:"银行代扣",value:"银行代扣",},{label:"现金缴费",value:"现金缴费",}],
968
1000
  networkvalves: this.$appdata.getParam('自动阀控') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('自动阀控')] : [],
1001
+ types: this.$appdata.getParam('类型') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('类型')] : [],
1002
+ userlevels: this.$appdata.getParam('用户等级') ? [{label: '全部', value: ''}, ...this.$appdata.getParam('用户等级')] : [],
969
1003
  }
970
1004
  },
971
1005
  ready(){
@@ -557,6 +557,8 @@ export default {
557
557
  'f_meternumber': '表号'
558
558
  }, compreConfig: {
559
559
  'f_user_state': '客户状态',
560
+ 'f_type': '类型',
561
+ 'f_user_level': '用户等级',
560
562
  'f_userinfo_code': '客户编号',
561
563
  'f_olduserinfo_code': '档案编号',
562
564
  'f_card_id': '卡号',
@@ -573,7 +575,7 @@ export default {
573
575
  'f_subscribe_date': '预约通气时间',
574
576
  'f_price_name': '气价名称',
575
577
  'f_position': '安装位置',
576
- 'f_meter_type': '类型',
578
+ 'f_meter_type': '表类型',
577
579
  'f_meter_brand': '品牌',
578
580
  'f_meternumber': '表号',
579
581
  'f_metertitles': '表封号',
@@ -68,7 +68,6 @@
68
68
  <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
69
69
  condition="f_address like '%{}%'" placeholder='客户地址'>
70
70
  </div>
71
-
72
71
  <div class="col-sm-2 form-group">
73
72
  <label class="font_normal_body" title="参数名称:用户类型">客户类型</label>
74
73
  <v-select :value.sync="model.f_user_type"
@@ -103,6 +102,20 @@
103
102
  condition="f_meter_style in {}"
104
103
  ></v-select>
105
104
  </div>
105
+ <div class="col-sm-2 form-group">
106
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
107
+ <v-select :value.sync="model.f_residential_area"
108
+ class="select_list select"
109
+ enter-push
110
+ multiple = "true"
111
+ v-model="model.f_residential_area"
112
+ style="width: 60%"
113
+ :options='$parent.$parent.residentialArea' placeholder='选择小区'
114
+ close-on-select>
115
+
116
+ </v-select>
117
+ </div>
118
+
106
119
  <res-select-group :initres="$parent.$parent.initres" @re-res="$parent.$parent.getRes" v-ref:sel></res-select-group>
107
120
 
108
121
  </div>
@@ -256,7 +269,7 @@
256
269
  </div>
257
270
  </template>
258
271
  <script>
259
- import { PagedList } from 'vue-client'
272
+ import {HttpResetClass, PagedList} from 'vue-client'
260
273
  import defaultPrint from '../../components/sale/config/DefaultPrint'
261
274
  import exportConfig from '../../components/sale/config/exportConfig.js'
262
275
  let readySomething = async function(self) {
@@ -316,13 +329,38 @@
316
329
  f_filialeid: this.$login.f.f_orgid,
317
330
  f_orgid: this.$login.f.orgid,
318
331
  f_depid: this.$login.f.depids,
319
- f_operatorid: this.$login.f.id
332
+ f_operatorid: this.$login.f.id,
333
+ residentialArea: []
320
334
  }
321
335
  },
322
336
  ready () {
323
337
  readySomething(this)
338
+ this.getaddress()
324
339
  },
325
340
  methods: {
341
+ async getaddress(){
342
+ console.log('开始获取小区')
343
+ let HttpReset = new HttpResetClass()
344
+ var data = await HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist', {
345
+ data: {
346
+ condition: `1=1 and s.f_filialeid = '${this.$login.f.orgid}'`
347
+ }
348
+ }, {resolveMsg: null, rejectMsg: '获取小区失败!'})
349
+ console.log('小区',data)
350
+ let house = []
351
+ for (let row of data.data){
352
+ console.log('开始保存小区')
353
+ house.push({label: row.f_residential_area, value: row.f_residential_area})
354
+ }
355
+ this.residentialArea = house
356
+ },
357
+ calculate(rows){
358
+ let data = []
359
+ rows.forEach((row, n) => {
360
+ data[n] = {label: row.f_residential_area, value: row.id}
361
+ })
362
+ return data
363
+ },
326
364
  getotherfooter() {
327
365
  // this.$refs.paged.$refs.cri.$refs.exports.otherData=[];
328
366
  // this.$refs.paged.$refs.cri.$refs.exports.footerData=[];
@@ -359,6 +397,17 @@
359
397
  this.show = false
360
398
  },
361
399
  selfSearch(args) {
400
+ this.area = this.$refs.paged.$refs.cri.model.f_residential_area
401
+ console.log("=====小区model绑定====",this.area)
402
+ if(this.area.length !== 0){
403
+ let str = JSON.stringify(this.area)
404
+ str = str.replace(/"/g,`'`)
405
+ str = str.replace(/\[/g,``)
406
+ str = str.replace(/\]/g,``)
407
+ console.log("=====小区model22222222222绑定====",str)
408
+ //查询多个小区时条件
409
+ args.condition += ` and f_residential_area in ( ${str} )`
410
+ }
362
411
  args.condition = `${args.condition} ` + this.orgCondtionStr
363
412
  // let f_orgstr = this.orgCondtionStr + 'and f_orgid = ' + this.f_orgid
364
413
  // args.condition = `${args.condition} ` + f_orgstr
File without changes
File without changes
File without changes
File without changes