safecheck-client 3.0.34-3 → 3.0.34-30

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.
Files changed (94) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  3. package/src/App.vue +31 -31
  4. package/src/assets/123.png +0 -0
  5. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  6. package/src/components/LoadData.vue +62 -0
  7. package/src/components/android/AndroidDefectDeal.vue +1 -0
  8. package/src/components/android/AreaPlan.vue +1 -7
  9. package/src/components/android/ImgSelfAndroid.vue +181 -181
  10. package/src/components/android/PaperFeedback.vue +1 -1
  11. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  12. package/src/components/android/QRCode/QRCodeBinding.vue +247 -0
  13. package/src/components/android/QRCode/QRCodePage.vue +199 -0
  14. package/src/components/android/SafePlanItem.vue +509 -509
  15. package/src/components/android/SafecheckDevices.vue +1298 -1298
  16. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  17. package/src/components/android/examples/SafeListExamples.vue +95 -0
  18. package/src/components/android/examples/UserExamples.vue +125 -0
  19. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  20. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  21. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  22. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
  23. package/src/filiale/baiyin/android.js +1 -0
  24. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  25. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  26. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  27. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  28. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  29. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  30. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  31. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  32. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  33. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  34. package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
  35. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  36. package/src/filiale/bayan/android/SafecheckOrderV.vue +1 -1
  37. package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
  38. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  39. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  40. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  41. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  42. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  43. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  44. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1231 -0
  45. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  46. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
  47. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  48. package/src/filiale/jiaxian/android.js +14 -10
  49. package/src/filiale/jiaxian/pc.js +12 -12
  50. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  51. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  52. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +476 -468
  53. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  54. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  55. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  56. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  57. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  58. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  59. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  60. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  61. package/src/filiale/siyang/pc/NewCheckpaper.vue +1938 -1938
  62. package/src/filiale/siyang/pc/checkUserList.vue +786 -786
  63. package/src/filiale/siyang/pc.js +16 -16
  64. package/src/filiale/weinan/android/SafecheckDevices.vue +1307 -1295
  65. package/src/filiale/weinan/android/SafecheckOrderV.vue +11 -1
  66. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  67. package/src/filiale/wuan/android/SafecheckOrderV.vue +2240 -2240
  68. package/src/filiale/wuan/android/SafecheckUserInfo.vue +592 -592
  69. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  70. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  71. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  72. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
  73. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  74. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
  75. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2845 -2845
  76. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
  77. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  78. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
  79. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +269 -269
  80. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  81. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +1128 -1128
  82. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +972 -972
  83. package/src/filiale/yangchunboneng/pc/PaperList.vue +773 -773
  84. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  85. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  86. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  87. package/src/filiale/yuansheng/android/SwitchValve.vue +322 -322
  88. package/src/filiale/yuansheng/android.js +17 -17
  89. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  90. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  91. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  92. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  93. package/src/main.js +1 -1
  94. package/src/safecheck-android.js +4 -0
@@ -1,160 +1,160 @@
1
- <template>
2
- <div style="width: 100%;height: 100%">
3
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
- <label class="font_normal_body">公&emsp;&emsp;司</label>
5
- <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
- </div>
7
- <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
- <label class="font_normal_body">{{ roleLable }}</label>
9
- <v-select :value="selVal" v-model='selVal'
10
- :value-single="!valueMultiple"
11
- class="select_list select"
12
- :options='users' :placeholder='roleName'
13
- :close-on-select = 'valueClose'
14
- :multiple="valueMultiple"
15
- :width="rightWidth"
16
- @change="valuechange">
17
- </v-select>
18
- </div>
19
- </div>
20
- </template>
21
-
22
- <script>
23
- import {HttpResetClass} from 'vue-client'
24
-
25
- export default {
26
- name: "RoleSelector",
27
- props: {
28
- valueMultiple: {
29
- type: Boolean,
30
- default: false
31
- },
32
- roleName: {
33
- type: String,
34
- default: '安检员'
35
- },
36
- roleLable: {
37
- type: String,
38
- default: '安检员'
39
- },
40
- leftWidth: {
41
- type: String,
42
- default: '60%'
43
- },
44
- rightWidth: {
45
- type: String,
46
- default: '60%'
47
- },
48
- value: {
49
- default: ''
50
- },
51
- resobjprop: {
52
- default: {}
53
- },
54
- valueClose: {
55
- type: Boolean,
56
- default: true
57
- }
58
- },
59
- data() {
60
- return {
61
- source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
- //source: `root.getResourceById($${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolesnames$).indexOf($${this.roleName}$) != -1)`,
63
- allUsers: [],
64
- users: [],
65
- selVal: '',
66
- organizationname:this.$login.f.f_fengongsi,
67
- resids: [],
68
- changeval: ''
69
- }
70
- },
71
- watch: {
72
- 'value'(val) {
73
- console.log("969696", val)
74
- if (val) {
75
- if (this.valueMultiple) {
76
-
77
- } else {
78
- this.selVal = val
79
- }
80
-
81
- }
82
- }
83
- },
84
- async ready() {
85
- await this.search()
86
- await this.filterUser(this.resids)
87
- },
88
- methods: {
89
- async search() {
90
- let http = new HttpResetClass()
91
- const res = await http.load('POST', '/rs/search', {
92
- data: {
93
- source: this.source,
94
- userid: this.$login.f.id
95
- }
96
- }, {resolveMsg: null, rejectMsg: null})
97
- this.allUsers = res.data
98
- },
99
- valuechange(val) {
100
- console.log(`val instanceof Array======${!val instanceof Array}`)
101
- if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
102
- return
103
- }
104
- if (this.valueMultiple && Array.isArray(val)) {
105
- if (val && val.length > 0) {
106
- let valuesele = `(`
107
- for (let i = 0; i < val.length; i++) {
108
- valuesele += `'${val[i]}',`
109
- }
110
- this.value = valuesele.substring(0, valuesele.length - 1) + ')'
111
- } else {
112
- this.value = ''
113
- }
114
- } else {
115
- this.value = val
116
- }
117
- // this.changeval = val
118
- },
119
- getRes(obj) {
120
- this.resids = obj.resids
121
- this.organizationname = obj.res[0]
122
- this.filterUser(this.resids)
123
- this.$dispatch('re-res', obj)
124
- },
125
- async filterUser(resids) {
126
- // 处理第一次进入页面值异常问题
127
- if (resids.length > 0 && typeof resids[0] == "object") {
128
- resids = resids[0]
129
- }
130
- if (resids[0]) {
131
- this.source = `tool.getChildrenOfResName($${this.roleName}$)`
132
- await this.search()
133
- }
134
- this.users = []
135
- this.allUsers.forEach(user => {
136
- if (this.organizationname == user.organizationname || !user.organizationname){
137
- this.users.push({label: user.name, value: user.name})
138
- }
139
- })
140
- if (!this.valueMultiple && this.users.length > 0) {
141
- this.users = [{label: '全部', value: ''}, ...this.users]
142
- }
143
- let temp = []
144
- this.users = this.users.filter(item => {
145
- if (!temp.includes(item.label)) {
146
- temp.push(item.label)
147
- return true
148
- }
149
- return false
150
- })
151
- this.$emit('alluser', this.allUsers)
152
- //tag
153
- }
154
- }
155
- }
156
- </script>
157
-
158
- <style scoped>
159
-
160
- </style>
1
+ <template>
2
+ <div style="width: 100%;height: 100%">
3
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
4
+ <label class="font_normal_body">公&emsp;&emsp;司</label>
5
+ <right-tree-safe :width="leftWidth" @re-res="getRes" :resobjprop.sync="resobjprop"></right-tree-safe>
6
+ </div>
7
+ <div class="col-sm-6 form-group" style="margin-bottom: 0px">
8
+ <label class="font_normal_body">{{ roleLable }}</label>
9
+ <v-select :value="selVal" v-model='selVal'
10
+ :value-single="!valueMultiple"
11
+ class="select_list select"
12
+ :options='users' :placeholder='roleName'
13
+ :close-on-select = 'valueClose'
14
+ :multiple="valueMultiple"
15
+ :width="rightWidth"
16
+ @change="valuechange">
17
+ </v-select>
18
+ </div>
19
+ </div>
20
+ </template>
21
+
22
+ <script>
23
+ import {HttpResetClass} from 'vue-client'
24
+
25
+ export default {
26
+ name: "RoleSelector",
27
+ props: {
28
+ valueMultiple: {
29
+ type: Boolean,
30
+ default: false
31
+ },
32
+ roleName: {
33
+ type: String,
34
+ default: '安检员'
35
+ },
36
+ roleLable: {
37
+ type: String,
38
+ default: '安检员'
39
+ },
40
+ leftWidth: {
41
+ type: String,
42
+ default: '60%'
43
+ },
44
+ rightWidth: {
45
+ type: String,
46
+ default: '60%'
47
+ },
48
+ value: {
49
+ default: ''
50
+ },
51
+ resobjprop: {
52
+ default: {}
53
+ },
54
+ valueClose: {
55
+ type: Boolean,
56
+ default: true
57
+ }
58
+ },
59
+ data() {
60
+ return {
61
+ source: `tool.getChildrenOfResName($${this.roleName}$)`,
62
+ //source: `root.getResourceById($${this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)}$,$organization$).getSpecialResByType($user$).where(row.getAttributes().get($rolesnames$).indexOf($${this.roleName}$) != -1)`,
63
+ allUsers: [],
64
+ users: [],
65
+ selVal: '',
66
+ organizationname:this.$login.f.f_fengongsi,
67
+ resids: [],
68
+ changeval: ''
69
+ }
70
+ },
71
+ watch: {
72
+ 'value'(val) {
73
+ console.log("969696", val)
74
+ if (val) {
75
+ if (this.valueMultiple) {
76
+
77
+ } else {
78
+ this.selVal = val
79
+ }
80
+
81
+ }
82
+ }
83
+ },
84
+ async ready() {
85
+ await this.search()
86
+ await this.filterUser(this.resids)
87
+ },
88
+ methods: {
89
+ async search() {
90
+ let http = new HttpResetClass()
91
+ const res = await http.load('POST', '/rs/search', {
92
+ data: {
93
+ source: this.source,
94
+ userid: this.$login.f.id
95
+ }
96
+ }, {resolveMsg: null, rejectMsg: null})
97
+ this.allUsers = res.data
98
+ },
99
+ valuechange(val) {
100
+ console.log(`val instanceof Array======${!val instanceof Array}`)
101
+ if ((typeof val === 'object' && !val instanceof Array) || (val instanceof Event)) {
102
+ return
103
+ }
104
+ if (this.valueMultiple && Array.isArray(val)) {
105
+ if (val && val.length > 0) {
106
+ let valuesele = `(`
107
+ for (let i = 0; i < val.length; i++) {
108
+ valuesele += `'${val[i]}',`
109
+ }
110
+ this.value = valuesele.substring(0, valuesele.length - 1) + ')'
111
+ } else {
112
+ this.value = ''
113
+ }
114
+ } else {
115
+ this.value = val
116
+ }
117
+ // this.changeval = val
118
+ },
119
+ getRes(obj) {
120
+ this.resids = obj.resids
121
+ this.organizationname = obj.res[0]
122
+ this.filterUser(this.resids)
123
+ this.$dispatch('re-res', obj)
124
+ },
125
+ async filterUser(resids) {
126
+ // 处理第一次进入页面值异常问题
127
+ if (resids.length > 0 && typeof resids[0] == "object") {
128
+ resids = resids[0]
129
+ }
130
+ if (resids[0]) {
131
+ this.source = `tool.getChildrenOfResName($${this.roleName}$)`
132
+ await this.search()
133
+ }
134
+ this.users = []
135
+ this.allUsers.forEach(user => {
136
+ if (this.organizationname == user.organizationname || !user.organizationname){
137
+ this.users.push({label: user.name, value: user.name})
138
+ }
139
+ })
140
+ if (!this.valueMultiple && this.users.length > 0) {
141
+ this.users = [{label: '全部', value: ''}, ...this.users]
142
+ }
143
+ let temp = []
144
+ this.users = this.users.filter(item => {
145
+ if (!temp.includes(item.label)) {
146
+ temp.push(item.label)
147
+ return true
148
+ }
149
+ return false
150
+ })
151
+ this.$emit('alluser', this.allUsers)
152
+ //tag
153
+ }
154
+ }
155
+ }
156
+ </script>
157
+
158
+ <style scoped>
159
+
160
+ </style>
@@ -707,7 +707,6 @@ export default {
707
707
  HostApp.__this__ = null
708
708
  },
709
709
  takePic(prop, title, index) {
710
- const obj = HostApp.getGpsDetailAddress()
711
710
  HostApp.__callback__ = this.cameraCallBack
712
711
  HostApp.__this__ = this
713
712
  ////tag
@@ -728,6 +727,7 @@ export default {
728
727
  }
729
728
  let jingweidu = ''
730
729
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
730
+ const obj = HostApp.getGpsDetailAddress()
731
731
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
732
732
  }
733
733
  HostApp._open_a_page({
@@ -430,7 +430,6 @@ export default {
430
430
  if (this.role == 'androidview') {
431
431
  return
432
432
  }
433
- const obj = HostApp.getGpsDetailAddress()
434
433
  HostApp.__callback__ = this.cameraCallBack
435
434
  HostApp.__this__ = this
436
435
  //tag
@@ -450,6 +449,7 @@ export default {
450
449
  }
451
450
  let jingweidu = ''
452
451
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
452
+ const obj = HostApp.getGpsDetailAddress()
453
453
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
454
454
  }
455
455
  //tag
@@ -2548,7 +2548,7 @@
2548
2548
  }
2549
2549
 
2550
2550
  if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
2551
- that.config = that.config2
2551
+ that.config.燃气表 = that.config2.燃气表
2552
2552
  }
2553
2553
 
2554
2554
  //tag)
@@ -500,7 +500,6 @@ export default {
500
500
  HostApp.__this__ = null
501
501
  },
502
502
  takePic(type, prop, title) {
503
- const obj = HostApp.getGpsDetailAddress()
504
503
  HostApp.__callback__ = this.cameraCallBack
505
504
  HostApp.__this__ = this
506
505
  //tag
@@ -526,6 +525,7 @@ export default {
526
525
  }
527
526
  let jingweidu = ''
528
527
  if (this.$parent.$parent.is_has_jingweidu == 'true') {
528
+ const obj = HostApp.getGpsDetailAddress()
529
529
  jingweidu = '\t经度:' + obj.longitude + '\t纬度:' + obj.latitude
530
530
  }
531
531
  let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'
@@ -430,7 +430,6 @@ export default {
430
430
  if (this.role == 'androidview') {
431
431
  return
432
432
  }
433
- const obj = HostApp.getGpsDetailAddress()
434
433
  HostApp.__callback__ = this.cameraCallBack
435
434
  HostApp.__this__ = this
436
435
  //tag
@@ -450,6 +449,7 @@ export default {
450
449
  }
451
450
  let jingweidu = ''
452
451
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
452
+ const obj = HostApp.getGpsDetailAddress()
453
453
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
454
454
  }
455
455
  //tag
@@ -170,30 +170,35 @@
170
170
 
171
171
  <div class="col-sm-3 form-group">
172
172
  <label class="font_normal_body">街道/乡镇</label>
173
- <v-select :value.sync="model.f_street_id" :value-single="true"
173
+ <v-select :value.sync="model.f_street_id"
174
+ :multiple="true"
174
175
  :options='$parent.$parent.streetslist' placeholder='请选择'
175
- condition="f_street_id = '{}'"
176
+ condition="f_street_id in {}"
176
177
  v-model='model.f_street_id'
177
178
  @change="$parent.$parent.streetChange"
178
- close-on-select :search="true" >
179
+ :search="true" >
179
180
  </v-select>
180
181
  </div>
181
182
  <div class="col-sm-3 form-group">
182
183
  <label class="font_normal_body">片区/行政村</label>
183
- <v-select :value.sync="model.f_community_id" v-model='model.f_community_id'
184
- :options='$parent.$parent.communitylist' placeholder='片区/管理站' filer-key="name"
185
- condition="f_community_id = '{}'"
184
+ <v-select :value.sync="model.f_community_id"
185
+ :multiple="true"
186
+ v-model='model.f_community_id'
187
+ :options='$parent.$parent.communitylist'
188
+ placeholder='片区/管理站' filer-key="name"
189
+ condition="f_community_id in {}"
186
190
  @change="$parent.$parent.communityChange"
187
- close-on-select v-ref:slice>
191
+ v-ref:slice>
188
192
  </v-select>
189
193
  </div>
190
194
  <div class="col-sm-3 form-group">
191
195
  <label class="font_normal_body">小区/自然村</label>
192
- <v-select :value.sync="model.f_residential_area_id" :value-single="true"
196
+ <v-select :value.sync="model.f_residential_area_id"
197
+ :multiple="true"
193
198
  :options='$parent.$parent.areaslist' placeholder='请选择'
194
- condition="f_residential_area_id = '{}'"
199
+ condition="f_residential_area_id in {}"
195
200
  v-model='model.f_residential_area_id'
196
- close-on-select>
201
+ >
197
202
  </v-select>
198
203
  </div>
199
204
  <div class="col-sm-3 form-group">
@@ -712,15 +717,30 @@ export default {
712
717
  })
713
718
  this.communitylist=redata
714
719
  },
715
- async streetChange(val){
716
- if(val){
717
- await this.initcommunity(` f_filialeid = '${this.f_filialeids}' and f_street_id ='${val}' `)
720
+ async streetChange(val) {
721
+ if (val.length > 0) {
722
+ // 使用数组来收集值
723
+ const ids = [];
724
+ for (let i = 0; i < val.length; i++) {
725
+ ids.push(val[i]);
726
+ }
727
+ // 将数组转换为逗号分隔的字符串
728
+ const strs = ids.join(',');
729
+ // 调用 initcommunity 方法时确保 SQL 语法正确
730
+ await this.initcommunity(`f_filialeid = '${this.f_filialeids}' and f_street_id in (${strs})`);
718
731
  }
719
732
  },
720
733
  async communityChange(val){
721
734
  console.log(val)
722
- if(val){
723
- await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id ='${val}' `)
735
+ if(val.length > 0){
736
+ // 使用数组来收集值
737
+ const ids = [];
738
+ for (let i = 0; i < val.length; i++) {
739
+ ids.push(val[i]);
740
+ }
741
+ // 将数组转换为逗号分隔的字符串
742
+ const strs = ids.join(',');
743
+ await this.initareas(` f_filialeid = '${this.f_filialeids}' and f_community_id in (${strs}) `)
724
744
  }
725
745
  }
726
746
  },
@@ -608,7 +608,6 @@ export default {
608
608
  HostApp.__this__ = null
609
609
  },
610
610
  takePic(prop, title, index) {
611
- const obj = HostApp.getGpsDetailAddress()
612
611
  HostApp.__callback__ = this.cameraCallBack
613
612
  HostApp.__this__ = this
614
613
  ////tag
@@ -629,6 +628,7 @@ export default {
629
628
  }
630
629
  let jingweidu = ''
631
630
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
631
+ const obj = HostApp.getGpsDetailAddress()
632
632
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
633
633
  }
634
634
  HostApp._open_a_page({
@@ -435,7 +435,6 @@
435
435
  if (this.role == 'androidview') {
436
436
  return
437
437
  }
438
- const obj = HostApp.getGpsDetailAddress()
439
438
  HostApp.__callback__ = this.cameraCallBack
440
439
  HostApp.__this__ = this
441
440
  //tag
@@ -455,6 +454,7 @@
455
454
  }
456
455
  let jingweidu = ''
457
456
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
457
+ const obj = HostApp.getGpsDetailAddress()
458
458
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
459
459
  }
460
460
  //tag
@@ -422,7 +422,6 @@ export default {
422
422
  HostApp.__this__ = null
423
423
  },
424
424
  takePic (type ,prop, title) {
425
- const obj = HostApp.getGpsDetailAddress()
426
425
  HostApp.__callback__ = this.cameraCallBack
427
426
  HostApp.__this__ = this
428
427
  //tag
@@ -448,6 +447,7 @@ export default {
448
447
  }
449
448
  let jingweidu = ''
450
449
  if (this.$parent.$parent.is_has_jingweidu == 'true'){
450
+ const obj = HostApp.getGpsDetailAddress()
451
451
  jingweidu = '\t经度:' + obj.longitude+ '\t纬度:' + obj.latitude
452
452
  }
453
453
  let page = 'com.aofeng.hybrid.android.peripheral.CameraActivity'