safecheck-client 3.0.34-4 → 3.0.34-43
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/docs/FormPrint.md +18 -18
- package/docs/GridTree.md +47 -47
- package/docs/PrintFile.md +38 -38
- package/docs/tree.md +40 -40
- package/package.json +1 -1
- package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
- package/src/assets/123.png +0 -0
- package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
- package/src/components/LoadData.vue +62 -0
- package/src/components/android/AddGas.vue +147 -147
- package/src/components/android/AndroidDefectDeal.vue +1 -0
- package/src/components/android/AreaPlan.vue +566 -572
- package/src/components/android/CheckerMonthly.vue +84 -84
- package/src/components/android/LcheckUnplan.vue +108 -108
- package/src/components/android/PaperFeedback.vue +1 -1
- package/src/components/android/PaperFeedbackTemp.vue +1 -1
- package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
- package/src/components/android/QRCode/QRCodePage.vue +212 -0
- package/src/components/android/SafecheckDevices.vue +1 -1
- package/src/components/android/SafecheckDevicesTemp.vue +1 -1
- package/src/components/android/SafecheckOrderV.vue +2809 -2809
- package/src/components/android/SwitchValve.vue +323 -323
- package/src/components/android/examples/SafeListExamples.vue +96 -0
- package/src/components/android/examples/UserExamples.vue +126 -0
- package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
- package/src/components/checkerphonestate/Checker.vue +32 -32
- package/src/components/checkerphonestate/CheckerState.vue +97 -97
- package/src/components/defects/AddDefectModal.vue +120 -120
- package/src/components/defects/AddDevice.vue +95 -95
- package/src/components/defects/DevicesSeting.vue +106 -106
- package/src/components/metterfiles/AddUserfiles.vue +246 -246
- package/src/components/metterfiles/MetterFiles.vue +104 -104
- package/src/components/notice/NoticeQuery.vue +76 -76
- package/src/components/paper/RepairVerifyForm.vue +76 -76
- package/src/components/phonestate/DailyTraffic.vue +57 -57
- package/src/components/phonestate/LastKnownState.vue +74 -74
- package/src/components/task/RepairAnnual.vue +79 -79
- package/src/components/task/RepairAnnualDetail.vue +49 -49
- package/src/components/task/RepairMonthly.vue +91 -91
- package/src/components/task/TaskAnnual.vue +77 -77
- package/src/components/task/TaskAnnualDetail.vue +47 -47
- package/src/components/task/TaskMonthly.vue +89 -89
- package/src/components/userfile/UserfileChange.vue +277 -277
- package/src/filiale/baiyin/android/SafecheckOrderV.vue +2798 -0
- package/src/filiale/baiyin/android.js +1 -0
- package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
- package/src/filiale/baiyin/pc.js +21 -21
- package/src/filiale/bayan/android/PaperFeedback.vue +1 -1
- package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
- package/src/filiale/bayan/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
- package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
- package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
- package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
- package/src/filiale/huaran/android.js +12 -0
- package/src/filiale/huaran/pc/CheckBook.vue +313 -0
- package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
- package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
- package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
- package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
- package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
- package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
- package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
- package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
- package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
- package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
- package/src/filiale/huaran/pc/PaperList.vue +822 -0
- package/src/filiale/huaran/pc/PlanManage.vue +887 -0
- package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
- package/src/filiale/huaran/pc/checkUserList.vue +867 -0
- package/src/filiale/huaran/pc.js +27 -0
- package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
- package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
- package/src/filiale/jiaxian/android/SafecheckDevices.vue +4 -4
- package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2811 -0
- package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
- package/src/filiale/jiaxian/android.js +4 -0
- package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
- package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
- package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
- package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
- package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
- package/src/filiale/ruihua/android.js +11 -0
- package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/tongchuan/android/Select.vue +421 -0
- package/src/filiale/tongchuan/android.js +1 -0
- package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
- package/src/filiale/tongchuan/utils/EventListener.js +29 -0
- package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
- package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
- package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
- package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +57 -59
- package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
- package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
- package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
- package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
- package/src/filiale/weinan/pc/checkUserList.vue +34 -113
- package/src/filiale/weinan/pc.js +47 -46
- package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1200
- package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -480
- package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +2 -2
- package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -481
- package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +9 -7
- package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
- package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
- package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
- package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
- package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
- package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
- package/src/safecheck-android.js +4 -0
package/src/filiale/baiyin/pc.js
CHANGED
@@ -1,21 +1,21 @@
|
|
1
|
-
// 分公司特殊组件页面注册
|
2
|
-
import Vue from "vue";
|
3
|
-
|
4
|
-
//手机特殊目录注册到该文件中
|
5
|
-
let specialComp = {
|
6
|
-
// 计划安检
|
7
|
-
'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
|
8
|
-
'role-selector-safe': (resolve) => { require(['./pc/RoleSelector'], resolve) },
|
9
|
-
'right-tree-safe': (resolve) => { require(['./pc/RightTreeSafe'], resolve) },
|
10
|
-
'plan-chooser': (resolve) => { require(['./pc/PlanChooser'], resolve) },
|
11
|
-
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
12
|
-
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
13
|
-
'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
|
14
|
-
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
15
|
-
'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) }
|
16
|
-
}
|
17
|
-
exports.specialComp = specialComp
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
1
|
+
// 分公司特殊组件页面注册
|
2
|
+
import Vue from "vue";
|
3
|
+
|
4
|
+
//手机特殊目录注册到该文件中
|
5
|
+
let specialComp = {
|
6
|
+
// 计划安检
|
7
|
+
'plan-manage': (resolve) => { require(['./pc/PlanManage'], resolve) },
|
8
|
+
'role-selector-safe': (resolve) => { require(['./pc/RoleSelector'], resolve) },
|
9
|
+
'right-tree-safe': (resolve) => { require(['./pc/RightTreeSafe'], resolve) },
|
10
|
+
'plan-chooser': (resolve) => { require(['./pc/PlanChooser'], resolve) },
|
11
|
+
'paper-main': (resolve) => { require(['./pc/PaperList'], resolve) },
|
12
|
+
'check-search-user': (resolve) => { require(['./pc/CheckSearchUser'], resolve) },
|
13
|
+
'defect-main-new2': (resolve) => { require(['./pc/DefectMainNew'], resolve) },
|
14
|
+
'check-plan-area-list': (resolve) => { require(['./pc/CheckPlanAreaList'], resolve) },
|
15
|
+
'check-user-list': (resolve) => { require(['./pc/checkUserList'], resolve) }
|
16
|
+
}
|
17
|
+
exports.specialComp = specialComp
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
@@ -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
|
@@ -84,6 +84,13 @@
|
|
84
84
|
close-on-select>
|
85
85
|
</v-select>
|
86
86
|
</div>
|
87
|
+
<div class="row" style="margin-top: 10px">
|
88
|
+
<label class="font_normal_body">选择站点</label>
|
89
|
+
<right-tree
|
90
|
+
islist
|
91
|
+
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
92
|
+
@re-res="getSiteRes"></right-tree>
|
93
|
+
</div>
|
87
94
|
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给维修员'">
|
88
95
|
<label class="font_normal_body">维 修 员</label>
|
89
96
|
<v-select
|
@@ -93,13 +100,6 @@
|
|
93
100
|
placeholder='请选择维修员'
|
94
101
|
close-on-select></v-select>
|
95
102
|
</div>
|
96
|
-
<div class="row" style="margin-top: 10px" v-if="selectData.dispatchType=='派发给站点'">
|
97
|
-
<label class="font_normal_body">站    点</label>
|
98
|
-
<right-tree
|
99
|
-
islist
|
100
|
-
:source="'dep=this.getParentByType($organization$).getSpecialResByType($department$),tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))'"
|
101
|
-
@re-res="getSiteRes"></right-tree>
|
102
|
-
</div>
|
103
103
|
<!--<div class="row" style="margin-top: 10px">
|
104
104
|
<label class="font_normal_body">报修类型</label>
|
105
105
|
<v-select :value.sync="selectData.f_repairtype"
|
@@ -362,7 +362,7 @@
|
|
362
362
|
}
|
363
363
|
console.log("准备保存!")
|
364
364
|
this.disableTimer()
|
365
|
-
this.getEmp()
|
365
|
+
// this.getEmp()
|
366
366
|
this.showModal2=true
|
367
367
|
},
|
368
368
|
cancel1(){
|
@@ -377,14 +377,37 @@
|
|
377
377
|
getSiteRes(obj) {
|
378
378
|
console.log('siteRes ---> ')
|
379
379
|
console.log(obj)
|
380
|
-
if(
|
381
|
-
|
382
|
-
|
383
|
-
|
380
|
+
if(this.selectData.dispatchType=='派发给站点'){
|
381
|
+
if(obj.resids[0]){
|
382
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
383
|
+
this.selectData.f_reciever = obj.resids.join('.')
|
384
|
+
this.selectData.f_outlets = obj.res[obj.res.length - 1]
|
385
|
+
}else {
|
386
|
+
this.selectData.f_meetunit = ''
|
387
|
+
this.selectData.f_reciever = ''
|
388
|
+
this.selectData.f_outlets = ''
|
389
|
+
}
|
384
390
|
}else {
|
385
|
-
|
386
|
-
|
387
|
-
|
391
|
+
if(obj.resids[0]){
|
392
|
+
this.selectData.f_meetunit = obj.res.join('.')
|
393
|
+
}else {
|
394
|
+
this.selectData.f_meetunit = ''
|
395
|
+
this.selectData.f_reciever = ''
|
396
|
+
this.selectData.f_outlets = ''
|
397
|
+
}
|
398
|
+
this.repairers = []
|
399
|
+
let vali = {
|
400
|
+
source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$)!=-1)`,
|
401
|
+
userid: `${obj.resids[0]}`
|
402
|
+
}
|
403
|
+
let http = new HttpResetClass()
|
404
|
+
http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: vali}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
405
|
+
res.data.forEach((item) => {
|
406
|
+
if (item.state == '在职'){
|
407
|
+
this.repairers.push({label: `${item.name}`, value: item.name})
|
408
|
+
}
|
409
|
+
})
|
410
|
+
})
|
388
411
|
}
|
389
412
|
},
|
390
413
|
rectification(){
|
@@ -417,7 +440,7 @@
|
|
417
440
|
toRepair=null
|
418
441
|
}else{
|
419
442
|
console.log('派发给维修员---------'+this.selectData.f_repairman)
|
420
|
-
act={f_meetunit:
|
443
|
+
act={f_meetunit:this.selectData.f_meetunit,f_reciever:this.selectData.f_repairman,f_service_acitivity_type:'派单'}
|
421
444
|
toRepair='一级派单'
|
422
445
|
}
|
423
446
|
let repData={
|
@@ -438,16 +461,16 @@
|
|
438
461
|
this.save()
|
439
462
|
},
|
440
463
|
// 获取维修员
|
441
|
-
getEmp() {
|
442
|
-
|
443
|
-
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
450
|
-
},
|
464
|
+
// getEmp() {
|
465
|
+
// this.repairers=[]
|
466
|
+
// let per = {source: 'this.getRights().where(row.getType()==$user$).where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1))', userid: `${Vue.user.id}`}
|
467
|
+
// let http = new HttpResetClass()
|
468
|
+
// http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/search`, {data: per}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
469
|
+
// res.data.forEach((user)=>{
|
470
|
+
// this.repairers.push({label:user.name, value: user.name})
|
471
|
+
// })
|
472
|
+
// })
|
473
|
+
// },
|
451
474
|
closely(isdelete){
|
452
475
|
try {
|
453
476
|
var startOrStopAudioClipStr;
|
@@ -2547,9 +2570,9 @@
|
|
2547
2570
|
delete this.config['燃气表']['items']['气量异常差值']
|
2548
2571
|
}
|
2549
2572
|
|
2550
|
-
if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
|
2551
|
-
|
2552
|
-
}
|
2573
|
+
// if (this.data.f_user_type == '非民用' || this.data.f_check_type == '非民用'){
|
2574
|
+
// that.config.燃气表 = that.config2.燃气表
|
2575
|
+
// }
|
2553
2576
|
|
2554
2577
|
//tag)
|
2555
2578
|
if (value.data[0].f_devices) {
|
@@ -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"
|
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
|
-
|
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"
|
184
|
-
:
|
185
|
-
|
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
|
-
|
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"
|
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
|
-
|
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
|
-
|
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
|
-
|
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'
|