apply-clients 5.0.36-1 → 5.0.36-2

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": "apply-clients",
3
- "version": "5.0.36-1",
3
+ "version": "5.0.36-2",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -862,9 +862,6 @@ export default {
862
862
  }, {resolveMsg: null, rejectMsg: null})
863
863
  let rs = []
864
864
  for (let i = 0; i < area.data.length; i++) {
865
- if (area.data[i].f_pcd.indexOf('湖北省')!=-1){
866
- area.data[i].f_pcd = area.data[i].f_pcd.replace('湖北省','')
867
- }
868
865
  let temp = {
869
866
  label: area.data[i].f_pcd,
870
867
  value: area.data[i].f_pcd
@@ -1683,6 +1680,9 @@ export default {
1683
1680
  // xxx xx xxx
1684
1681
  if (this.$refs.service_show.data.fields[i].label === '县/区' && this.$refs.service_show.data.fields[i].value) {
1685
1682
  address += this.$refs.service_show.data.fields[i].value
1683
+ if (address.indexOf('湖北省')!=-1){
1684
+ address = address.replace('湖北省','')
1685
+ }
1686
1686
  }
1687
1687
  if (this.$refs.service_show.data.fields[i].label === '街道名称' && this.$refs.service_show.data.fields[i].value) {
1688
1688
  address += this.$refs.service_show.data.fields[i].value
@@ -114,9 +114,6 @@
114
114
  }, {resolveMsg: null, rejectMsg: null})
115
115
  let rs = []
116
116
  for (let i = 0; i < area.data.length; i++) {
117
- if (area.data[i].f_pcd.indexOf('湖北省')!=-1){
118
- area.data[i].f_pcd = area.data[i].f_pcd.replace('湖北省','')
119
- }
120
117
  let temp = {
121
118
  label: area.data[i].f_pcd,
122
119
  value: area.data[i].f_pcd
@@ -485,6 +482,9 @@
485
482
  // xxx xx xxx
486
483
  if (this.$refs.service_show.data.fields[k].label === '县/区' && this.$refs.service_show.data.fields[k].value) {
487
484
  address += this.$refs.service_show.data.fields[k].value
485
+ if (address.indexOf('湖北省')!=-1){
486
+ address = address.replace('湖北省','')
487
+ }
488
488
  }
489
489
  if (this.$refs.service_show.data.fields[k].label === '街道名称' && this.$refs.service_show.data.fields[k].value) {
490
490
  address += this.$refs.service_show.data.fields[k].value