manage-client 4.1.156 → 4.1.158

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.
File without changes
File without changes
File without changes
@@ -0,0 +1,2 @@
1
+ #Thu Jun 04 15:26:04 CST 2026
2
+ gradle.version=9.3.0
Binary file
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "manage-client",
3
- "version": "4.1.156",
3
+ "version": "4.1.158",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -167,6 +167,19 @@
167
167
  <input type="text" style="width:60%" class="input_search" v-model="model.f_address"
168
168
  condition="f_address like '%{}%'" placeholder='客户地址'>
169
169
  </div>
170
+ <div class="col-sm-2 form-group">
171
+ <label class="font_normal_body">&nbsp;&nbsp;&nbsp;小区&nbsp;&nbsp;&nbsp;</label>
172
+ <v-select :value.sync="model.f_residential_area_id"
173
+ class="select_list select"
174
+ enter-push :disabled="$parent.$parent.isAreaShow"
175
+ v-model="model.f_residential_area_id"
176
+ multiple="true"
177
+ @select-search="$parent.$parent.getAreaList"
178
+ :options='$parent.$parent.residentialArea'
179
+ placeholder='小区'
180
+ condition="f_residential_area_id in {}">
181
+ </v-select>
182
+ </div>
170
183
  <div class="col-sm-2 form-group">
171
184
  <label class="font_normal_body">客户电话</label>
172
185
  <input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
@@ -406,7 +419,7 @@
406
419
  /**
407
420
  *用户档案查询列表以及添加操作组件
408
421
  */
409
- import { PagedList } from 'vue-client'
422
+ import {HttpResetClass, PagedList} from 'vue-client'
410
423
  import Vue from 'vue'
411
424
  import plugin from 'system-clients/src/plugins/GetLoginInfoService'
412
425
 
@@ -442,6 +455,8 @@
442
455
  sqlName:'inspectList',
443
456
  rowdata:{},
444
457
  sumsmodel: {},
458
+ //小区
459
+ residentialArea: [],
445
460
  config: {
446
461
  defaultPrint: ['f_userinfo_code','f_user_id']
447
462
  },
@@ -513,7 +528,7 @@
513
528
  }
514
529
  },
515
530
  ready () {
516
-
531
+ this.getAreaList()
517
532
  readySomething(this).then(() => {
518
533
  this.$emit('ready')
519
534
  }).catch((error) => {
@@ -600,6 +615,27 @@
600
615
  this.filialeCodeStr= " and f_orgid = " + this.$login.f.orgid
601
616
  }
602
617
  },
618
+ getAreaList (searchText) {
619
+ let condition = `1=1 and s.f_orgid = '${this.$login.f.orgid}'`
620
+ if (searchText) {
621
+ condition = condition + ` and f_residential_area like '%${searchText}%' `
622
+ }
623
+ let HttpReset = new HttpResetClass()
624
+ HttpReset.load('POST', 'api/af-revenue/sql/manage_getarealist?pageNo=1&pageSize=100', {
625
+ data: {
626
+ condition: condition
627
+ }
628
+ }, {resolveMsg: null, rejectMsg: '获取小区信息失败!'}).then((req) => {
629
+ let redata = []
630
+ req.data.forEach((row, n) => {
631
+ redata[n] = {
632
+ label: row.f_residential_area,
633
+ value: row.id
634
+ }
635
+ })
636
+ this.residentialArea = [{label: '全部', value: ''}, ...redata]
637
+ })
638
+ },
603
639
  userTypeChange () {
604
640
  this.gasproperties=[]
605
641
  if(this.$refs.paged.$refs.cri.model !==null) {