address-client 4.0.10 → 4.0.12

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.
@@ -1,2 +1,2 @@
1
- #Mon Dec 07 15:35:10 CST 2020
2
- gradle.version=5.2.1
1
+ #Tue Apr 15 09:22:28 CST 2025
2
+ gradle.version=8.10
Binary file
@@ -14,92 +14,105 @@ var proxy = httpProxy.createProxyServer()
14
14
  var str = 'http://192.168.50.4:8400', str2= 'http://192.168.50.4:8400'
15
15
  var str3= 'http://192.168.50.4:8400'
16
16
  var proxyTable = {
17
+ '/api/af-revenue': {
18
+ pathRewrite: {'/api/af-revenue': '/'},
19
+ target: 'http://127.0.0.1:9026'
20
+ },
21
+
22
+ '/api': {
23
+ target: str
24
+ },
17
25
  '/api/af-auth': {
18
26
  target: str
19
27
  },
20
- '/api/af-system': {
28
+ '/sketch': {
29
+ target: str,
30
+ changeOrigin: true
31
+ },
32
+ '/invoice/rs/logic/getInvoice': {
21
33
  target: str
22
34
  },
23
- '/api/af-revenue': {
24
- pathRewrite: {'/api/af-revenue': '/'},
25
- target: 'http://127.0.0.1:9026'
35
+ // '/rs/sql/filemanage_getUserfies':{
36
+ // target: 'http://127.0.0.1:8080/'
37
+ // },
38
+ // '/rs/logic/importNetworkValve':{
39
+ // target: 'http://127.0.0.1:8080/'
40
+ // },
41
+ '/rs/file': {
42
+ target: str
26
43
  },
27
- '/rs/entity': {
44
+ '/webapps': {
45
+ target: str
46
+ },
47
+ '/rs/sql/singleTable': {
48
+ target: str
49
+ },
50
+ '/invoice': {
51
+ target: str
52
+ },
53
+ '/rs/batchSettlement': {
28
54
  target: str
29
- // secure:true,
30
- // changeOrigin:true
31
- // target: 'http://127.0.0.1:8080'
32
55
  },
33
- '/webapps':{
34
- target: str3,
35
- secure:true,
36
- changeOrigin:true
37
- // target: 'http://127.0.0.1:8080'
56
+
57
+ // 查找资源服务数据
58
+ '/rs/search': {
59
+ target: str
38
60
  },
61
+ // 查找资源服务数据
39
62
  '/rs/logic/getLogin': {
40
- target: str3,
41
- secure:true,
42
- changeOrigin:true
63
+ target: str
43
64
  },
65
+ // 查找资源服务数据
44
66
  '/rs/logic/getInitData': {
45
- target: str3,
46
- secure:true,
47
- changeOrigin:true,
67
+ target: str
48
68
  },
49
69
  '/rs/logic/getSaleInitData': {
50
- target: str3,
51
- secure:true,
52
- changeOrigin:true
53
- },
54
- // '/rs/logic':{
55
- // target: str3,
56
- // secure:true,
57
- // changeOrigin:true
58
- // // target: 'http://127.0.0.1:8080'
59
- // },
60
- '/rs/vue': {
61
- target: str3,
62
- secure:true,
63
- changeOrigin:true
70
+ target: str
64
71
  },
72
+ // 用户登录服务地址
65
73
  '/rs/user': {
66
- target: str3,
67
- secure:true,
68
- changeOrigin:true
74
+ target: str
75
+ },
76
+ '/rs/path': {
77
+ target: str
78
+ },
79
+ '/rs/data': {
80
+ target: str
81
+ },
82
+ '/rs/license': {
83
+ target: str
69
84
  },
70
85
  '/rs/db': {
71
- target: str3,
72
- secure:true,
73
- changeOrigin:true
86
+ target: str
74
87
  },
75
- '/rs/search': {
76
- target: str3,
77
- secure:true,
78
- changeOrigin:true
79
- // target: 'http://127.0.0.1:8080'
88
+ '/excel': {
89
+ target: str
80
90
  },
81
- '/rs/data': {
82
- target: str3,
83
- secure:true,
84
- changeOrigin:true
91
+ '/rs/config': {
92
+ target: str
85
93
  },
86
- '/rs/sql': {
94
+ '/rs/report': {
95
+ target: str
96
+ },
97
+ '/rs/vue': {
87
98
  target: str
88
- // secure: true,
89
- // changeOrigin:true
90
- // target: 'http://127.0.0.1:8080'
91
99
  },
100
+
92
101
  '/rs/logic': {
93
102
  target: str
94
- // secure: true,
95
- // changeOrigin:true
96
- // target: 'http://127.0.0.1:8080'
103
+ },
104
+ '/rs/entity': {
105
+ target: str
106
+ },
107
+ '/rs/sql': {
108
+ target: str
109
+ },
110
+ '/webmeter': {
111
+ target: str
97
112
  },
98
113
  '/rs': {
99
- // target: 'http://192.168.50.199:8300'
100
- target: str3,
101
- secure:true,
102
- changeOrigin:true
114
+ target: str
115
+ // changeOrigin: true
103
116
  }
104
117
  }
105
118
 
Binary file
@@ -1,6 +1,6 @@
1
1
  distributionBase=GRADLE_USER_HOME
2
2
  distributionPath=wrapper/dists
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
4
4
  networkTimeout=10000
5
5
  validateDistributionUrl=true
6
6
  zipStoreBase=GRADLE_USER_HOME
package/gradlew CHANGED
@@ -15,6 +15,8 @@
15
15
  # See the License for the specific language governing permissions and
16
16
  # limitations under the License.
17
17
  #
18
+ # SPDX-License-Identifier: Apache-2.0
19
+ #
18
20
 
19
21
  ##############################################################################
20
22
  #
@@ -55,7 +57,7 @@
55
57
  # Darwin, MinGW, and NonStop.
56
58
  #
57
59
  # (3) This script is generated from the Groovy template
58
- # https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
60
+ # https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
59
61
  # within the Gradle project.
60
62
  #
61
63
  # You can find Gradle at https://github.com/gradle/gradle/.
@@ -84,7 +86,8 @@ done
84
86
  # shellcheck disable=SC2034
85
87
  APP_BASE_NAME=${0##*/}
86
88
  # Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
87
- APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit
89
+ APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
90
+ ' "$PWD" ) || exit
88
91
 
89
92
  # Use the maximum available, or set MAX_FD != -1 to use that value.
90
93
  MAX_FD=maximum
package/gradlew.bat CHANGED
@@ -13,6 +13,8 @@
13
13
  @rem See the License for the specific language governing permissions and
14
14
  @rem limitations under the License.
15
15
  @rem
16
+ @rem SPDX-License-Identifier: Apache-2.0
17
+ @rem
16
18
 
17
19
  @if "%DEBUG%"=="" @echo off
18
20
  @rem ##########################################################################
@@ -43,11 +45,11 @@ set JAVA_EXE=java.exe
43
45
  %JAVA_EXE% -version >NUL 2>&1
44
46
  if %ERRORLEVEL% equ 0 goto execute
45
47
 
46
- echo.
47
- echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
48
- echo.
49
- echo Please set the JAVA_HOME variable in your environment to match the
50
- echo location of your Java installation.
48
+ echo. 1>&2
49
+ echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2
50
+ echo. 1>&2
51
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
52
+ echo location of your Java installation. 1>&2
51
53
 
52
54
  goto fail
53
55
 
@@ -57,11 +59,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
57
59
 
58
60
  if exist "%JAVA_EXE%" goto execute
59
61
 
60
- echo.
61
- echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
62
- echo.
63
- echo Please set the JAVA_HOME variable in your environment to match the
64
- echo location of your Java installation.
62
+ echo. 1>&2
63
+ echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2
64
+ echo. 1>&2
65
+ echo Please set the JAVA_HOME variable in your environment to match the 1>&2
66
+ echo location of your Java installation. 1>&2
65
67
 
66
68
  goto fail
67
69
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "address-client",
3
- "version": "4.0.10",
3
+ "version": "4.0.12",
4
4
  "description": "地址管理前台组件",
5
5
  "author": "wanbochao",
6
6
  "license": "ISC",
@@ -80,9 +80,9 @@
80
80
  "style": "0.0.3",
81
81
  "style-loader": "^0.20.3",
82
82
  "ldap-clients": "3.0.48",
83
- "system-clients": "3.2.95",
83
+ "system-clients": "3.3.2",
84
84
  "url-loader": "^0.5.7",
85
- "vue-client": "1.24.150",
85
+ "vue-client": "1.24.162",
86
86
  "vue-hot-reload-api": "^1.2.0",
87
87
  "vue-html-loader": "^1.0.0",
88
88
  "vue-loader": "^8.2.1",
@@ -34,6 +34,7 @@
34
34
  </div>
35
35
  <div class="col-sm-4 form-group button-range" >
36
36
  <button class="button_search button_spacing" @click="search()" >查询</button>
37
+ <button class="button_search button_spacing" v-show="this.$login.r.includes('清空安检')" @click="$parent.$parent.clearPlanId()">清空安检id</button>
37
38
  <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('民用')">添加民用</button>
38
39
  <button class="button_new button_spacing" style="width: max-content" @click="$parent.$parent.add('非民用')">添加特殊地址</button>
39
40
  <button class="button_new button_spacing" style="width: max-content" v-show="this.$login.r.includes('批量修改')" @click="$parent.$parent.modifyBatch()">批量修改</button>
@@ -315,7 +316,9 @@
315
316
  //初始化街道数据
316
317
  areaslist:[],
317
318
  // 要修改的用户信息
318
- userInfos: []
319
+ userInfos: [],
320
+ // 要清空f_plan_id的数据集
321
+ ids: []
319
322
  }
320
323
  },
321
324
  title: '地址列表',
@@ -331,6 +334,7 @@
331
334
  ready(){
332
335
  readyGen(this)
333
336
  this.search()
337
+ console.log(this.$login.r)
334
338
  this.initpcds(`f_filialeid = '${this.f_filialeids}'`)
335
339
  this.initareas(`f_filialeid = '${this.f_filialeids}'`)
336
340
  //this.$refs.paged.$refs.grid.selectInit()
@@ -469,6 +473,24 @@
469
473
  this.$refs.paged.$refs.grid.selectInit()
470
474
  this.$refs.paged.$refs.cri.search()
471
475
  },
476
+ clearPlanId(){
477
+ this.ids=[]
478
+ if (this.$refs.paged.$refs.grid.getRowData().length != 0){
479
+ this.$refs.paged.$refs.grid.getRowData().forEach((row,n) => {
480
+ console.log("看看数据",row)
481
+ this.ids[n] = row.id
482
+ })
483
+ console.log("看看id数据",this.ids)
484
+ let data = {
485
+ ids:this.ids
486
+ }
487
+ this.$resetpost('api/af-revenue/logic/clearPlanId',data)
488
+ this.$refs.paged.$refs.grid.selectInit()
489
+ }else {
490
+ this.$showAlert('请至少选择一项!', 'warning', 2000)
491
+ }
492
+
493
+ },
472
494
  cancelModify() {
473
495
  this.initpcds(`f_filialeid = '${this.f_filialeids}'`)
474
496
  this.showModify = false
@@ -413,7 +413,7 @@ export default {
413
413
  }, {resolveMsg: null, rejectMsg: '获取地址失败!'})
414
414
  this.sliceArea = []
415
415
  req.data.forEach((row) => {
416
- this.sliceArea.push({label: row, value: {name: row.name, code:row.number}})
416
+ this.sliceArea.push({label: row.name, value: {name: row.name, code:row.number}})
417
417
  })
418
418
  },
419
419
  //初始化小区添加小区
@@ -602,12 +602,12 @@ export default {
602
602
  this.$refs.buildinglist.search()
603
603
  },
604
604
  //保存小区
605
- async savearea(){
606
- if(this.f_special){
607
- this.areamodel.f_special='1'
605
+ async savearea() {
606
+ if (this.f_special) {
607
+ this.areamodel.f_special = '1'
608
608
  }
609
- if(this.areamodel.f_sell_add==='0'){
610
- this.areamodel.f_residential_area=this.areamodel.f_residential_area+'(L)'
609
+ if (this.areamodel.f_sell_add === '0') {
610
+ this.areamodel.f_residential_area = this.areamodel.f_residential_area + '(L)'
611
611
  } else {
612
612
  this.areamodel.f_residential_area = this.areamodel.f_residential_area.replace(/\(L\)/g, '')
613
613
  }
@@ -624,62 +624,62 @@ export default {
624
624
  this.areamodel.f_area_code = this.areamodel.slice_area[0].code
625
625
  }
626
626
  }
627
- this.areamodel.f_pcd=this.findbyid(this.pcdslist,this.areamodel.f_pcd_id).f_pcd
628
- this.areamodel.f_street=this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
627
+ this.areamodel.f_pcd = this.findbyid(this.pcdslist, this.areamodel.f_pcd_id).f_pcd
628
+ this.areamodel.f_street = this.findbyid(this.streetslist, this.areamodel.f_street_id).f_street
629
629
 
630
630
  await this.$resetpost('api/af-revenue/logic/address_updatearea', this.areamodel)
631
631
  },
632
- cleardara(){
633
- this.areamodel= {
632
+ cleardara() {
633
+ this.areamodel = {
634
634
  f_area_id: '',
635
- f_pcd_id:'',
636
- f_street_id:'',
637
- f_slice_area:'',
638
- f_linkname:'',
639
- f_linkphone:'',
640
- f_adjustable_id:'',
641
- f_residential_area:'',
642
- f_user_type:'',
643
- f_gasproperties:'',
644
- f_area_address:'',
645
- f_meter_brand:'',
646
- f_price_name:'',
647
- f_price_type:'',
648
- f_meter_style:'',
649
- f_position:'',
650
- f_comments:'',
635
+ f_pcd_id: '',
636
+ f_street_id: '',
637
+ f_slice_area: '',
638
+ f_linkname: '',
639
+ f_linkphone: '',
640
+ f_adjustable_id: '',
641
+ f_residential_area: '',
642
+ f_user_type: '',
643
+ f_gasproperties: '',
644
+ f_area_address: '',
645
+ f_meter_brand: '',
646
+ f_price_name: '',
647
+ f_price_type: '',
648
+ f_meter_style: '',
649
+ f_position: '',
650
+ f_comments: '',
651
651
  f_meter_type: '',
652
- f_sell_add:''
652
+ f_sell_add: ''
653
653
  }
654
654
  },
655
- cancel(){
655
+ cancel() {
656
656
  this.cleardara()
657
657
  this.$dispatch('cancel')
658
658
  },
659
659
  },
660
660
  watch: {
661
- 'areamodel.f_meter_type' (val) {
661
+ 'areamodel.f_meter_type'(val) {
662
662
  if (val === '机表')
663
663
  this.isMachine = false
664
664
  },
665
- 'areatype'(){
665
+ 'areatype'() {
666
666
  this.initdata()
667
667
  },
668
- 'areamodel.f_pcd_id'(){
669
- if(this.areamodel.f_pcd_id&&this.areamodel.f_street_id){
670
- if (this.findbyid(this.pcdslist,this.areamodel.f_pcd_id) && this.findbyid(this.streetslist,this.areamodel.f_street_id)) {
671
- this.areamodel.f_area_address = this.findbyid(this.pcdslist,this.areamodel.f_pcd_id).f_pcd + this.findbyid(this.streetslist,this.areamodel.f_street_id).f_street
668
+ 'areamodel.f_pcd_id'() {
669
+ if (this.areamodel.f_pcd_id && this.areamodel.f_street_id) {
670
+ if (this.findbyid(this.pcdslist, this.areamodel.f_pcd_id) && this.findbyid(this.streetslist, this.areamodel.f_street_id)) {
671
+ this.areamodel.f_area_address = this.findbyid(this.pcdslist, this.areamodel.f_pcd_id).f_pcd + this.findbyid(this.streetslist, this.areamodel.f_street_id).f_street
672
672
  }
673
673
  }
674
674
  },
675
- 'areamodel.f_street_id'(){
675
+ 'areamodel.f_street_id'() {
676
676
  if (this.areamodel.f_pcd_id && this.areamodel.f_street_id) {
677
677
  if (this.findbyid(this.pcdslist, this.areamodel.f_pcd_id) && this.findbyid(this.streetslist, this.areamodel.f_street_id)) {
678
678
  this.areamodel.f_area_address = this.findbyid(this.pcdslist, this.areamodel.f_pcd_id).f_pcd + this.findbyid(this.streetslist, this.areamodel.f_street_id).f_street
679
679
  }
680
680
  }
681
681
  },
682
- 'f_filialeids'(){
682
+ 'f_filialeids'() {
683
683
  if (this.areamodel.f_filialeid) {
684
684
  if (this.areamodel.f_filialeid != this.f_filialeids) {
685
685
  this.$dispatch('cancel')
@@ -693,27 +693,27 @@ export default {
693
693
  metertypes() {
694
694
  return this.$appdata.getParam('气表类型')
695
695
  },
696
- usertypes () {
696
+ usertypes() {
697
697
  return this.$appdata.getParam('用户类型')
698
698
  },
699
- f_price_types () {
699
+ f_price_types() {
700
700
  return this.$appdata.getParam('气价类型')
701
701
  },
702
- meterstyle () {
702
+ meterstyle() {
703
703
  let ret = this.$GetSaleParam.getGasbrand()
704
704
  let rs = new Array()
705
- if(this.areamodel.f_meter_brand) {
705
+ if (this.areamodel.f_meter_brand) {
706
706
  ret.forEach((item, index) => {
707
- if(this.areamodel.f_meter_brand == item.value.f_meter_brand) {
708
- item.value.gasmodel.forEach((item1, index) =>{
709
- rs.push({label: item1.label, value:item1.label})
707
+ if (this.areamodel.f_meter_brand == item.value.f_meter_brand) {
708
+ item.value.gasmodel.forEach((item1, index) => {
709
+ rs.push({label: item1.label, value: item1.label})
710
710
  })
711
711
  }
712
712
  })
713
713
  }
714
714
  return rs
715
715
  },
716
- pricenames () {
716
+ pricenames() {
717
717
  let rs = new Array()
718
718
  if (this.areamodel.f_user_type && this.areamodel.f_gasproperties && this.areamodel.f_price_type) {
719
719
  let params = {
@@ -732,10 +732,10 @@ export default {
732
732
  }
733
733
  return rs
734
734
  },
735
- positions () {
735
+ positions() {
736
736
  return this.$appdata.getParam('安装位置')
737
737
  },
738
- inputtores () {
738
+ inputtores() {
739
739
  // 获取抄表员
740
740
  let rs = new Array()
741
741
  if (this.$login.f.f_gasman.length > 0) {
@@ -761,11 +761,12 @@ export default {
761
761
  border: 1px solid #999999;
762
762
  margin-top: 13px;
763
763
  }
764
+
764
765
  .datapanel {
765
766
  color: #333;
766
767
  background-color: white;
767
- box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px ;
768
+ box-shadow: darkgrey 0.5px 0.5px 0.5px 0.5px;
768
769
  padding: 10px 30px 10px 30px;
769
- border-radius:15px;
770
+ border-radius: 15px;
770
771
  }
771
772
  </style>
File without changes