safecheck-client 3.0.35-34 → 3.0.35-38
Sign up to get free protection for your applications and to get access to all the features.
- package/.babelrc +5 -5
- package/.editorconfig +9 -9
- package/android.html +18 -18
- package/config/dev.env.js +6 -6
- package/config/index.js +38 -38
- package/config/prod.env.js +3 -3
- package/config/test.env.js +6 -6
- package/docs/AppBase.md +22 -22
- package/docs/Busy.md +14 -14
- package/docs/CriteriaPaged.md +47 -47
- package/docs/DataGrid.md +54 -54
- package/docs/DataModel.md +22 -22
- package/docs/Dynamic.md +42 -42
- package/docs/GetParams.md +11 -11
- package/docs/HttpBusy.md +13 -13
- package/docs/HttpStore.md +29 -29
- package/docs/MessageBox.md +28 -28
- package/docs/PagedList.md +29 -29
- package/docs/Pager.md +21 -21
- package/docs/Project.md +23 -23
- package/docs/Route.md +105 -105
- package/docs/SafetyCheck/AdjustPlan.md +13 -13
- package/docs/SafetyCheck/CheckerPlan.md +12 -12
- package/docs/Task.md +46 -46
- package/docs/TreeList.md +28 -28
- package/docs/TreeMixin.md +18 -18
- package/docs/all.md +10 -10
- package/docs/list.md +42 -42
- package/docs/partial.md +75 -75
- package/docs/selector.md +82 -82
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/Snippets.md +28 -28
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue-strap/345/217/230/346/233/264/350/256/260/345/275/225.md +7 -7
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243/vue/345/217/230/346/233/264/350/256/260/345/275/225.md +13 -13
- package/docs//345/274/200/345/217/221/346/226/207/346/241/243//345/274/200/345/217/221/347/216/257/345/242/203/350/256/276/347/275/256.md +77 -77
- package/docs//347/225/214/351/235/242/345/210/266/344/275/234/350/247/204/350/214/203.md +54 -54
- package/examples/AddressList/App.vue +13 -13
- package/examples/AddressList/index.html +11 -11
- package/examples/DispatchList/App.vue +10 -10
- package/examples/DispatchList/BaseTree.vue +13 -13
- package/examples/DispatchList/Init.vue +22 -22
- package/examples/DispatchList/Test.vue +20 -20
- package/examples/DispatchList/index.html +11 -11
- package/examples/DispatchList/main.js +18 -18
- package/home.html +16 -16
- package/package.json +1 -1
- package/publish.bat +7 -7
- package/release.bat +5 -5
- package/src/Widget.vue +13 -13
- package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +287 -287
- package/src/android-bootstrap/less/.csscomb.json +304 -304
- package/src/android-bootstrap/less/.csslintrc +19 -19
- package/src/android-bootstrap/less/alerts.less +73 -73
- package/src/android-bootstrap/less/badges.less +66 -66
- package/src/android-bootstrap/less/bootstrap.less +56 -56
- package/src/android-bootstrap/less/breadcrumbs.less +26 -26
- package/src/android-bootstrap/less/button-groups.less +247 -247
- package/src/android-bootstrap/less/buttons.less +173 -173
- package/src/android-bootstrap/less/carousel.less +269 -269
- package/src/android-bootstrap/less/close.less +34 -34
- package/src/android-bootstrap/less/code.less +69 -69
- package/src/android-bootstrap/less/component-animations.less +33 -33
- package/src/android-bootstrap/less/grid.less +84 -84
- package/src/android-bootstrap/less/input-groups.less +167 -167
- package/src/android-bootstrap/less/jumbotron.less +52 -52
- package/src/android-bootstrap/less/labels.less +64 -64
- package/src/android-bootstrap/less/list-group.less +141 -141
- package/src/android-bootstrap/less/media.less +66 -66
- package/src/android-bootstrap/less/mixins/alerts.less +14 -14
- package/src/android-bootstrap/less/mixins/background-variant.less +9 -9
- package/src/android-bootstrap/less/mixins/border-radius.less +18 -18
- package/src/android-bootstrap/less/mixins/buttons.less +69 -69
- package/src/android-bootstrap/less/mixins/center-block.less +7 -7
- package/src/android-bootstrap/less/mixins/clearfix.less +22 -22
- package/src/android-bootstrap/less/mixins/forms.less +90 -90
- package/src/android-bootstrap/less/mixins/gradients.less +59 -59
- package/src/android-bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/android-bootstrap/less/mixins/grid.less +122 -122
- package/src/android-bootstrap/less/mixins/hide-text.less +21 -21
- package/src/android-bootstrap/less/mixins/image.less +33 -33
- package/src/android-bootstrap/less/mixins/labels.less +12 -12
- package/src/android-bootstrap/less/mixins/list-group.less +30 -30
- package/src/android-bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/android-bootstrap/less/mixins/opacity.less +8 -8
- package/src/android-bootstrap/less/mixins/pagination.less +24 -24
- package/src/android-bootstrap/less/mixins/panels.less +24 -24
- package/src/android-bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/android-bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/android-bootstrap/less/mixins/reset-text.less +18 -18
- package/src/android-bootstrap/less/mixins/resize.less +6 -6
- package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/android-bootstrap/less/mixins/size.less +10 -10
- package/src/android-bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/android-bootstrap/less/mixins/table-row.less +44 -44
- package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/android-bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/android-bootstrap/less/mixins.less +40 -40
- package/src/android-bootstrap/less/modals.less +151 -151
- package/src/android-bootstrap/less/navbar.less +660 -660
- package/src/android-bootstrap/less/navs.less +290 -290
- package/src/android-bootstrap/less/normalize.less +424 -424
- package/src/android-bootstrap/less/pager.less +76 -76
- package/src/android-bootstrap/less/pagination.less +89 -89
- package/src/android-bootstrap/less/panels.less +274 -274
- package/src/android-bootstrap/less/popovers.less +131 -131
- package/src/android-bootstrap/less/print.less +101 -101
- package/src/android-bootstrap/less/progress-bars.less +87 -87
- package/src/android-bootstrap/less/responsive-embed.less +35 -35
- package/src/android-bootstrap/less/responsive-utilities.less +194 -194
- package/src/android-bootstrap/less/scaffolding.less +161 -161
- package/src/android-bootstrap/less/tables.less +262 -262
- package/src/android-bootstrap/less/theme.less +291 -291
- package/src/android-bootstrap/less/thumbnails.less +36 -36
- package/src/android-bootstrap/less/tooltip.less +102 -102
- package/src/android-bootstrap/less/type.less +303 -303
- package/src/android-bootstrap/less/utilities.less +55 -55
- package/src/android-bootstrap/less/variables.less +896 -896
- package/src/android-bootstrap/less/wells.less +29 -29
- package/src/androidTest.js +20 -20
- package/src/bootstrap/less/.csscomb.json +304 -304
- package/src/bootstrap/less/.csslintrc +19 -19
- package/src/bootstrap/less/alerts.less +73 -73
- package/src/bootstrap/less/badges.less +66 -66
- package/src/bootstrap/less/breadcrumbs.less +26 -26
- package/src/bootstrap/less/button-groups.less +247 -247
- package/src/bootstrap/less/buttons.less +172 -172
- package/src/bootstrap/less/carousel.less +269 -269
- package/src/bootstrap/less/close.less +34 -34
- package/src/bootstrap/less/code.less +69 -69
- package/src/bootstrap/less/component-animations.less +33 -33
- package/src/bootstrap/less/dropdowns.less +216 -216
- package/src/bootstrap/less/forms.less +626 -626
- package/src/bootstrap/less/grid.less +84 -84
- package/src/bootstrap/less/input-groups.less +167 -167
- package/src/bootstrap/less/jumbotron.less +52 -52
- package/src/bootstrap/less/labels.less +64 -64
- package/src/bootstrap/less/list-group.less +141 -141
- package/src/bootstrap/less/media.less +66 -66
- package/src/bootstrap/less/mixins/alerts.less +14 -14
- package/src/bootstrap/less/mixins/background-variant.less +9 -9
- package/src/bootstrap/less/mixins/border-radius.less +18 -18
- package/src/bootstrap/less/mixins/buttons.less +69 -69
- package/src/bootstrap/less/mixins/center-block.less +7 -7
- package/src/bootstrap/less/mixins/clearfix.less +22 -22
- package/src/bootstrap/less/mixins/forms.less +90 -90
- package/src/bootstrap/less/mixins/gradients.less +59 -59
- package/src/bootstrap/less/mixins/grid-framework.less +92 -92
- package/src/bootstrap/less/mixins/grid.less +122 -122
- package/src/bootstrap/less/mixins/hide-text.less +21 -21
- package/src/bootstrap/less/mixins/image.less +33 -33
- package/src/bootstrap/less/mixins/labels.less +12 -12
- package/src/bootstrap/less/mixins/list-group.less +30 -30
- package/src/bootstrap/less/mixins/nav-divider.less +10 -10
- package/src/bootstrap/less/mixins/nav-vertical-align.less +9 -9
- package/src/bootstrap/less/mixins/opacity.less +8 -8
- package/src/bootstrap/less/mixins/pagination.less +24 -24
- package/src/bootstrap/less/mixins/panels.less +24 -24
- package/src/bootstrap/less/mixins/progress-bar.less +10 -10
- package/src/bootstrap/less/mixins/reset-filter.less +8 -8
- package/src/bootstrap/less/mixins/reset-text.less +18 -18
- package/src/bootstrap/less/mixins/resize.less +6 -6
- package/src/bootstrap/less/mixins/responsive-visibility.less +15 -15
- package/src/bootstrap/less/mixins/size.less +10 -10
- package/src/bootstrap/less/mixins/tab-focus.less +9 -9
- package/src/bootstrap/less/mixins/table-row.less +44 -44
- package/src/bootstrap/less/mixins/text-emphasis.less +9 -9
- package/src/bootstrap/less/mixins/text-overflow.less +8 -8
- package/src/bootstrap/less/mixins/vendor-prefixes.less +227 -227
- package/src/bootstrap/less/mixins.less +40 -40
- package/src/bootstrap/less/modals.less +151 -151
- package/src/bootstrap/less/navbar.less +660 -660
- package/src/bootstrap/less/normalize.less +424 -424
- package/src/bootstrap/less/pagination.less +89 -89
- package/src/bootstrap/less/panels.less +275 -275
- package/src/bootstrap/less/popovers.less +131 -131
- package/src/bootstrap/less/print.less +101 -101
- package/src/bootstrap/less/progress-bars.less +87 -87
- package/src/bootstrap/less/responsive-embed.less +35 -35
- package/src/bootstrap/less/responsive-utilities.less +194 -194
- package/src/bootstrap/less/scaffolding.less +161 -161
- package/src/bootstrap/less/theme.less +291 -291
- package/src/bootstrap/less/thumbnails.less +36 -36
- package/src/bootstrap/less/tooltip.less +102 -102
- package/src/bootstrap/less/type.less +303 -303
- package/src/bootstrap/less/utilities.less +55 -55
- package/src/bootstrap/less/wells.less +29 -29
- package/src/components/FileUpload.vue +696 -696
- package/src/components/Hello.vue +39 -39
- package/src/components/LeftTree.vue +27 -27
- package/src/components/android/AddressList.vue +61 -61
- package/src/components/android/AttendanceTally.vue +116 -116
- package/src/components/android/Blank.vue +10 -10
- package/src/components/android/CheckUnplanPage.vue +56 -56
- package/src/components/android/Checker.vue +12 -12
- package/src/components/android/CheckerAnnual.vue +81 -81
- package/src/components/android/CheckerAvarta.vue +82 -82
- package/src/components/android/EquipmentInspection.vue +348 -348
- package/src/components/android/FootprintMap.vue +120 -120
- package/src/components/android/HiddentroubleInvestigation.vue +192 -192
- package/src/components/android/MasterMain.vue +77 -77
- package/src/components/android/Menu.vue +132 -132
- package/src/components/android/NavBottom.vue +157 -157
- package/src/components/android/PaperAlarm.vue +85 -85
- package/src/components/android/PaperDeviceNoncivil.vue +214 -214
- package/src/components/android/PlumberAnnual.vue +83 -83
- package/src/components/android/PlumberAnnualDetail.vue +65 -65
- package/src/components/android/PlumberMonthly.vue +84 -84
- package/src/components/android/PostMap.vue +83 -83
- package/src/components/android/QueryCheckHistory.vue +122 -122
- package/src/components/android/QueryCheckHistoryItem.vue +62 -62
- package/src/components/android/RepairMain.vue +60 -60
- package/src/components/android/Repairman.vue +12 -12
- package/src/components/android/SafecheckDevices.vue +1298 -1298
- package/src/components/android/SafecheckOrderV.vue +2278 -2805
- package/src/components/android/StationMaster.vue +12 -12
- package/src/components/defects/DefectModal.vue +101 -101
- package/src/components/defects/DevicesAndItem.vue +39 -39
- package/src/components/issueplan/IssuePlanMain.vue +23 -23
- package/src/components/notice/NoticeForm.vue +100 -100
- package/src/components/notice/NoticeIssue.vue +20 -20
- package/src/components/paper/PicViewer.vue +18 -18
- package/src/components/pc/AddPlanItemYyChange.vue +743 -0
- package/src/components/pc/NewCheckpaper.vue +1998 -1943
- package/src/components/pc/SecurityCheckLedger.vue +22 -2
- package/src/components/pc/SecurityCheckList.vue +144 -0
- package/src/components/pc/SecurityCheckManage.vue +106 -0
- package/src/components/phonestate/MonthlyTraffic.vue +66 -66
- package/src/components/phonestate/MonthlyTrafficRouter.vue +15 -15
- package/src/components/phonestate/PostMap.vue +82 -82
- package/src/components/querycheckpaper/PaperItem.vue +59 -59
- package/src/components/userfile/MeterFile.vue +145 -145
- package/src/components/userfile/MeterModify.vue +46 -46
- package/src/components/userfileaudit/MeterAuditFile.vue +129 -129
- package/src/filiale/dexin/pc/DefectListNew.vue +643 -643
- package/src/filiale/dexin/pc/DefectPaperNew.vue +1066 -1066
- package/src/filiale/dexin/pc.js +13 -13
- package/src/filiale/huaran/pc/PaperList.vue +843 -843
- package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
- package/src/filiale/jingyang/android/CurrentCreate.vue +1080 -1080
- package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
- package/src/filiale/jingyang/android.js +15 -15
- package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
- package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -1053
- package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -1230
- package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
- package/src/filiale/qingtongxia/android.js +14 -14
- package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
- package/src/filiale/ruihua/android.js +11 -11
- package/src/filiale/siyang/android/AppCheckPlan.vue +246 -246
- package/src/filiale/siyang/android.js +15 -15
- package/src/filiale/siyang/pc/CheckBookList.vue +396 -396
- package/src/filiale/siyang/pc.js +22 -22
- package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
- package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
- package/src/filiale/xilan/pc/PaperList.vue +795 -0
- package/src/filiale/xilan/pc.js +13 -12
- package/src/main.js +33 -31
- package/src/plugins/LoadData.js +10 -10
- package/src/plugins/LoadParams.js +24 -24
- package/src/safecheck.js +9 -0
- package/src/stores/wxconfig.js +10 -10
- package/src/utils/getNowDate.js +33 -33
- package/test/e2e/custom-assertions/elementCount.js +26 -26
- package/test/e2e/nightwatch.conf.js +40 -40
- package/test/e2e/runner.js +30 -30
- package/test/e2e/specs/test.js +13 -13
- package/test/unit/.eslintrc +5 -5
- package/test/unit/TestUtil.js +62 -62
- package/test/unit/context.html +20 -20
- package/test/unit/index.js +13 -13
@@ -8,9 +8,12 @@
|
|
8
8
|
<div class="form-group col-sm-2" >
|
9
9
|
<label class="font_normal_body">小区名称</label>
|
10
10
|
<input type="text" class="input_search" v-model="model.f_residential_area"
|
11
|
-
style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area
|
11
|
+
style="width: 60%" placeholder="小区名称" condition="ta.f_residential_area = '{}'">
|
12
12
|
</div>
|
13
13
|
<div class="form-group col-sm-2" style="width: auto;margin-top:8px;float: right">
|
14
|
+
<div style="float: right" class="button_spacing"
|
15
|
+
:class="{'button_shrink_left':$parent.$parent.$parent.showItem,'button_shrink_right':!$parent.$parent.$parent.showItem}"
|
16
|
+
@click="$parent.$parent.hiddenr()"></div>
|
14
17
|
<export-excel-safe :data="$parent.$parent.searchData"
|
15
18
|
:field="$parent.$parent.excelHeaders"
|
16
19
|
:choose-col="true"
|
@@ -38,6 +41,9 @@
|
|
38
41
|
<th>
|
39
42
|
<nobr>计划下发时间</nobr>
|
40
43
|
</th>
|
44
|
+
<th>
|
45
|
+
<nobr>计划结束时间</nobr>
|
46
|
+
</th>
|
41
47
|
<th>
|
42
48
|
<nobr>执行时间</nobr>
|
43
49
|
</th>
|
@@ -58,10 +64,11 @@
|
|
58
64
|
<td style="text-align: center">{{row.f_plan_name}}</td>
|
59
65
|
<td style="text-align: center">{{row.plan_num}}</td>
|
60
66
|
<td style="text-align: center">{{row.f_issue_time}}</td>
|
67
|
+
<td style="text-align: center">{{row.f_use_end_time}}</td>
|
61
68
|
<td style="text-align: center">{{row.first_check_date}}</td>
|
62
69
|
<td style="text-align: center">{{row.zq_value}}</td>
|
63
70
|
<td style="text-align: center">{{row.dw_value}}</td>
|
64
|
-
<td style="text-align: center">{{row.difference_day}}</td>
|
71
|
+
<td :style="{ 'text-align': 'center', color: row.difference_day <= 100 ? 'red' : '' }">{{ row.difference_day }}</td>
|
65
72
|
</template>
|
66
73
|
</data-grid>
|
67
74
|
</criteria-paged>
|
@@ -86,6 +93,7 @@ export default {
|
|
86
93
|
'f_plan_name': '所属计划',
|
87
94
|
'plan_num': '计划内用户数',
|
88
95
|
'f_issue_time': '计划下发时间',
|
96
|
+
'f_use_end_time': '计划下发时间',
|
89
97
|
'first_check_date': '执行时间',
|
90
98
|
'zq_value': '执行周期',
|
91
99
|
'dw_value': '周期单位',
|
@@ -94,6 +102,13 @@ export default {
|
|
94
102
|
}
|
95
103
|
},
|
96
104
|
methods: {
|
105
|
+
hiddenr() {
|
106
|
+
this.$parent.isdetail = !this.$parent.isdetail
|
107
|
+
},
|
108
|
+
showList(row){
|
109
|
+
row.val = row
|
110
|
+
this.$parent.selected(row)
|
111
|
+
},
|
97
112
|
selfSearch(args) {
|
98
113
|
this.model.search(args.condition, args.model, args.condValue)
|
99
114
|
}
|
@@ -107,6 +122,11 @@ export default {
|
|
107
122
|
this.searchData.condition = val
|
108
123
|
}
|
109
124
|
}
|
125
|
+
},
|
126
|
+
computed: {
|
127
|
+
selected() {
|
128
|
+
return this.$refs.paged.$refs.grid.selected
|
129
|
+
}
|
110
130
|
}
|
111
131
|
|
112
132
|
}
|
@@ -0,0 +1,144 @@
|
|
1
|
+
<template>
|
2
|
+
<div class="flex">
|
3
|
+
<criteria-paged :model="model" v-ref:paged :pager="false">
|
4
|
+
<criteria partial='criteria' @condition-changed='$parent.selfSearch' v-ref:criteria>
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
6
|
+
<div class="row">
|
7
|
+
<div class="form-group col-sm-4" >
|
8
|
+
<label class="font_normal_body">计划名称</label>
|
9
|
+
<input type="text" class="input_search" style="width:60%" v-model="model.f_plan_name" placeholder='计划名称'
|
10
|
+
condition="f_plan_name = '{}'" @keyup.enter="search()">
|
11
|
+
</div>
|
12
|
+
<!-- <div class="form-group col-sm-4" >-->
|
13
|
+
<!-- <label class="font_normal_body">用户类型</label>-->
|
14
|
+
<!-- <v-select style="width:60% "-->
|
15
|
+
<!-- class="select select_list"-->
|
16
|
+
<!-- :value.sync="model.f_user_type"-->
|
17
|
+
<!-- v-model="model.f_user_type"-->
|
18
|
+
<!-- :options='$parent.$parent.userType'-->
|
19
|
+
<!-- placeholder='用户类型'-->
|
20
|
+
<!-- condition="f_user_type = '{}'"-->
|
21
|
+
<!-- close-on-select>-->
|
22
|
+
<!-- </v-select>-->
|
23
|
+
<!-- </div>-->
|
24
|
+
<!-- <div class="form-group col-sm-4" >-->
|
25
|
+
<!-- <label class="font_normal_body">是否已检</label>-->
|
26
|
+
<!-- <v-select style="width:60% "-->
|
27
|
+
<!-- class="select select_list"-->
|
28
|
+
<!-- :value.sync="model.f_state"-->
|
29
|
+
<!-- v-model="model.f_state"-->
|
30
|
+
<!-- :options='$parent.$parent.checkState'-->
|
31
|
+
<!-- placeholder='是否已检'-->
|
32
|
+
<!-- condition="f_state = '{}'"-->
|
33
|
+
<!-- close-on-select>-->
|
34
|
+
<!-- </v-select>-->
|
35
|
+
<!-- </div>-->
|
36
|
+
<!-- <div class="form-group col-sm-4" >-->
|
37
|
+
<!-- <label class="font_normal_body">安检状态</label>-->
|
38
|
+
<!-- <v-select style="width:60% "-->
|
39
|
+
<!-- class="select select_list"-->
|
40
|
+
<!-- :value.sync="model.f_entry_status"-->
|
41
|
+
<!-- v-model="model.f_entry_status"-->
|
42
|
+
<!-- :options='$parent.$parent.entry_status'-->
|
43
|
+
<!-- placeholder='安检状态'-->
|
44
|
+
<!-- condition="f_entry_status = '{}'"-->
|
45
|
+
<!-- close-on-select>-->
|
46
|
+
<!-- </v-select>-->
|
47
|
+
<!-- </div>-->
|
48
|
+
</div>
|
49
|
+
<!-- <div class="row" v-show="$parent.$parent.criteriaShow">-->
|
50
|
+
<!-- <div class="form-group col-sm-4" >-->
|
51
|
+
<!-- <label class="font_normal_body">气表编号</label>-->
|
52
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meternumber" placeholder='气表编号'-->
|
53
|
+
<!-- condition="f_meternumber = '{}'" @keyup.enter="search()">-->
|
54
|
+
<!-- </div>-->
|
55
|
+
<!-- <div class="form-group col-sm-4" >-->
|
56
|
+
<!-- <label class="font_normal_body">气表品牌</label>-->
|
57
|
+
<!-- <input type="text" class="input_search" style="width:60%" v-model="model.f_meter_brand" placeholder='气表品牌'-->
|
58
|
+
<!-- condition="f_meter_brand like '%{}%'" @keyup.enter="search()">-->
|
59
|
+
<!-- </div>-->
|
60
|
+
<!-- </div>-->
|
61
|
+
<div class="row">
|
62
|
+
<div class="form-group col-sm-2 button-range" >
|
63
|
+
<button class="button_search" style="margin-right: 10px" @click="search()" v-el:cba>查询</button>
|
64
|
+
<!-- <export-excel-safe :data="$parent.$parent.exportParameter"-->
|
65
|
+
<!-- :field="$parent.$parent.excelHeaders"-->
|
66
|
+
<!-- sqlurl="rs/logic/SafeExportExcel" sql-name="getCheckPlanUserList"-->
|
67
|
+
<!-- template-name='安检情况明细' :choose-col="true">-->
|
68
|
+
<!-- </export-excel-safe>-->
|
69
|
+
<!-- <!–展示下方条件或隐藏–>-->
|
70
|
+
<!-- <div class="span" style="float:right;">-->
|
71
|
+
<!-- <div class="button_spacing" style="float: right;margin-left:10px"-->
|
72
|
+
<!-- :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"-->
|
73
|
+
<!-- @click="$parent.$parent.hidden()">-->
|
74
|
+
<!-- </div>-->
|
75
|
+
<!-- </div>-->
|
76
|
+
</div>
|
77
|
+
</div>
|
78
|
+
</div>
|
79
|
+
</criteria>
|
80
|
+
<data-grid :model="model" class="table_sy" partial='list' v-ref:grid >
|
81
|
+
<template partial='head' >
|
82
|
+
<tr>
|
83
|
+
<th><nobr>计划名称</nobr></th>
|
84
|
+
<th><nobr>入户数</nobr></th>
|
85
|
+
<th><nobr>到访不遇数</nobr></th>
|
86
|
+
<th><nobr>拒检数</nobr></th>
|
87
|
+
<th><nobr>安检率</nobr></th>
|
88
|
+
<th><nobr>入户率</nobr></th>
|
89
|
+
</tr>
|
90
|
+
</template>
|
91
|
+
<template partial='body' >
|
92
|
+
<tr >
|
93
|
+
<td style="text-align:center"><span>{{row.f_plan_name}}</span></td>
|
94
|
+
<td style="text-align:center">{{row.f_ruhu}}</td>
|
95
|
+
<td style="text-align:center">{{row.f_buyu}}</td>
|
96
|
+
<td style="text-align:center">{{row.f_jujian}}</td>
|
97
|
+
<td style="text-align:center">{{row.f_check_bv}}</td>
|
98
|
+
<td style="text-align:center">{{row.f_ruhu_bv}}</td>
|
99
|
+
</tr>
|
100
|
+
</template>
|
101
|
+
<template partial='foot'></template>
|
102
|
+
</data-grid>
|
103
|
+
</criteria-paged>
|
104
|
+
</div>
|
105
|
+
</template>
|
106
|
+
|
107
|
+
<script>
|
108
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
109
|
+
export default {
|
110
|
+
title: '安检情况明细',
|
111
|
+
data () {
|
112
|
+
return {
|
113
|
+
model: new PagedList('rs/sql/securityCheckList', 50, {}),
|
114
|
+
}
|
115
|
+
},
|
116
|
+
props: ['checkrow'],
|
117
|
+
ready () {
|
118
|
+
this.search()
|
119
|
+
// this.getfield = this.config.excelHeaders
|
120
|
+
},
|
121
|
+
methods: {
|
122
|
+
search () {
|
123
|
+
this.$refs.paged.$refs.criteria.search()
|
124
|
+
},
|
125
|
+
async selfSearch (args) {
|
126
|
+
if(!this.checkrow){
|
127
|
+
return
|
128
|
+
}
|
129
|
+
let condition = {
|
130
|
+
condition1: `f_residential_area = '${this.checkrow.f_residential_area}'`,
|
131
|
+
condition2: args.condition
|
132
|
+
}
|
133
|
+
const res = await new HttpResetClass().load('post','/rs/sql/securityCheckList',{data:{condition: condition}})
|
134
|
+
this.model.rows = res.data
|
135
|
+
// this.model.search(condition, args.model)
|
136
|
+
},
|
137
|
+
},
|
138
|
+
watch: {
|
139
|
+
'checkrow' () {
|
140
|
+
this.search()
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
</script>
|
@@ -0,0 +1,106 @@
|
|
1
|
+
<template>
|
2
|
+
<div id="unit" class="flex-row" v-if="listpage" >
|
3
|
+
<div :class="{'basic-main':((!isdetail) && (!usershow)),'binary-left':isdetail||usershow}" >
|
4
|
+
<security-check-ledger1 v-ref:list :row="row" @select-changed="selected"></security-check-ledger1>
|
5
|
+
</div>
|
6
|
+
<div class="binary-right" style="overflow-y: scroll" v-if="isdetail">
|
7
|
+
<security-check-ledger2 :checkrow="checkrow" ></security-check-ledger2>
|
8
|
+
</div>
|
9
|
+
</div>
|
10
|
+
</template>
|
11
|
+
<script>
|
12
|
+
import Vue from 'vue'
|
13
|
+
|
14
|
+
export default {
|
15
|
+
title: '安检情况汇总',
|
16
|
+
data () {
|
17
|
+
return {
|
18
|
+
f_userinfo_id: '',
|
19
|
+
f_filialeid: this.$login.f.orgid,
|
20
|
+
config: {
|
21
|
+
isLimit: false, // 限购
|
22
|
+
audit: false, // 启用审核
|
23
|
+
heatingSeason: false, // 采暖季
|
24
|
+
deductionWay: 'cycle' // 'cycle: 周期扣费; day: 日运算扣费; singleHS: 采暖季独立扣费; dayHS: 采暖季日扣费;' 此值不配置默认周期扣费
|
25
|
+
},
|
26
|
+
listpage: true,
|
27
|
+
row: null,
|
28
|
+
checkrow: null,
|
29
|
+
parentData: '',
|
30
|
+
isdetail: false,
|
31
|
+
gasPriceShow: false,
|
32
|
+
usershow: false,
|
33
|
+
// 控制气价信息界面和变更操作记录界面的展示
|
34
|
+
changeView: false,
|
35
|
+
nocivilshow:true,
|
36
|
+
modalshow:false,
|
37
|
+
}
|
38
|
+
},
|
39
|
+
ready () {
|
40
|
+
},
|
41
|
+
methods: {
|
42
|
+
cancel(obj) {
|
43
|
+
this.listpage = true
|
44
|
+
},
|
45
|
+
dealMsg(val) {
|
46
|
+
this.listpage = false
|
47
|
+
this.f_userinfo_id = val.f_userinfo_id
|
48
|
+
},
|
49
|
+
selected (obj) {
|
50
|
+
//tag)
|
51
|
+
//tag)
|
52
|
+
this.checkrow = obj.val
|
53
|
+
this.isdetail = true
|
54
|
+
this.usershow = false
|
55
|
+
this.listpage = true
|
56
|
+
},
|
57
|
+
selected2 (obj) {
|
58
|
+
|
59
|
+
},
|
60
|
+
refresh () {
|
61
|
+
this.row = null
|
62
|
+
this.gasPriceShow = false
|
63
|
+
this.isdetail = false
|
64
|
+
this.usershow =false
|
65
|
+
this.listpage=true
|
66
|
+
this.$refs.list.search()
|
67
|
+
}
|
68
|
+
},
|
69
|
+
events: {
|
70
|
+
'success' (name, row, res) {
|
71
|
+
this.row = row
|
72
|
+
this.gasPriceShow = false
|
73
|
+
this.isdetail = false
|
74
|
+
this.usershow =false
|
75
|
+
this.listpage=true
|
76
|
+
this.$refs.list.search()
|
77
|
+
},
|
78
|
+
'error' (name, row, res) {
|
79
|
+
this.row = row
|
80
|
+
this.gasPriceShow = false
|
81
|
+
this.isdetail = false
|
82
|
+
this.usershow =false
|
83
|
+
this.listpage=true
|
84
|
+
this.$refs.list.search()
|
85
|
+
},
|
86
|
+
'close' (res) {
|
87
|
+
this.row = null
|
88
|
+
this.gasPriceShow = false
|
89
|
+
this.isdetail = false
|
90
|
+
this.usershow =false
|
91
|
+
this.listpage=true
|
92
|
+
},
|
93
|
+
'search' () {
|
94
|
+
this.row = null
|
95
|
+
this.gasPriceShow = false
|
96
|
+
this.isdetail = false
|
97
|
+
this.usershow =false
|
98
|
+
this.listpage=true
|
99
|
+
// this.$refs.list.search()
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
</script>
|
104
|
+
<style>
|
105
|
+
|
106
|
+
</style>
|
@@ -1,66 +1,66 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<criteria-paged :model="model" v-ref:paged>
|
4
|
-
<criteria partial='criteria' @condition-changed='search'>
|
5
|
-
<div novalidate class="form-inline auto" partial>
|
6
|
-
<div class="form-group">
|
7
|
-
<label class="col-sm-12 control-label">选择年月:</label>
|
8
|
-
<div class="col-sm-12">
|
9
|
-
<datepicker placeholder="请选择年月"
|
10
|
-
:value.sync="$parent.$parent.model.f_ym"
|
11
|
-
:disabled-days-of-Week="[]"
|
12
|
-
:format="'yyyy-MM'">
|
13
|
-
</datepicker>
|
14
|
-
<button class="btn btn-default" @click="search()">查询</button>
|
15
|
-
<div class="form-group">
|
16
|
-
部门:
|
17
|
-
<chooser :userid.sync='$parent.$parent.f.id' resource-type="organization" :width='200' :select-data.sync='$parent.$parent.model.chosenOrg'></chooser>
|
18
|
-
</div>
|
19
|
-
{{$parent.$parent.model.chosenOrg.fullname}}
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
</div>
|
23
|
-
</criteria>
|
24
|
-
<data-grid :model="model" partial='list' v-ref:grid>
|
25
|
-
<template partial='head'>
|
26
|
-
<tr>
|
27
|
-
<th>手机使用者</th>
|
28
|
-
<th>流量Mb</th>
|
29
|
-
</tr>
|
30
|
-
</template>
|
31
|
-
<template partial='body'>
|
32
|
-
<td v-on:click.stop.prevent='$parent.$parent.$parent.dailyTraffic(row)'>{{row.f_user_name}} <span class="glyphicon glyphicon-option-horizontal"></span></td>
|
33
|
-
<td>{{row.f_traffic}}</td>
|
34
|
-
</template>
|
35
|
-
</data-grid>
|
36
|
-
</criteria-paged>
|
37
|
-
</div>
|
38
|
-
</template>
|
39
|
-
|
40
|
-
<script>
|
41
|
-
import { PagedList } from 'vue-client'
|
42
|
-
import * as Util from '../Util'
|
43
|
-
|
44
|
-
export default {
|
45
|
-
title: '月流量统计',
|
46
|
-
props: ['f'],
|
47
|
-
data () {
|
48
|
-
let model = new PagedList('rs/rcq/月度流量统计', 20, {f_loggedOnUserId: 'this.f_loggedOnUserId', f_loggedOnOrgId: 'this.chosenOrg.id', f_ym: 'this.f_ym'})
|
49
|
-
model.f_ym = Util.toStandardYearMonth()
|
50
|
-
model.chosenOrg = {id:0}
|
51
|
-
return {
|
52
|
-
model: model,
|
53
|
-
}
|
54
|
-
},
|
55
|
-
methods: {
|
56
|
-
dailyTraffic (row) {
|
57
|
-
this.$goto('daily-traffic', {f_userinfoid: row.f_userinfoid, f_user_name: row.f_user_name, f_ym: this.model.f_ym}, 'self')
|
58
|
-
}
|
59
|
-
},
|
60
|
-
ready () {
|
61
|
-
this.model.f_loggedOnUserId = this.f.id
|
62
|
-
this.model.chosenOrg.id = this.f.parent.id
|
63
|
-
this.model.search()
|
64
|
-
}
|
65
|
-
}
|
66
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<criteria-paged :model="model" v-ref:paged>
|
4
|
+
<criteria partial='criteria' @condition-changed='search'>
|
5
|
+
<div novalidate class="form-inline auto" partial>
|
6
|
+
<div class="form-group">
|
7
|
+
<label class="col-sm-12 control-label">选择年月:</label>
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<datepicker placeholder="请选择年月"
|
10
|
+
:value.sync="$parent.$parent.model.f_ym"
|
11
|
+
:disabled-days-of-Week="[]"
|
12
|
+
:format="'yyyy-MM'">
|
13
|
+
</datepicker>
|
14
|
+
<button class="btn btn-default" @click="search()">查询</button>
|
15
|
+
<div class="form-group">
|
16
|
+
部门:
|
17
|
+
<chooser :userid.sync='$parent.$parent.f.id' resource-type="organization" :width='200' :select-data.sync='$parent.$parent.model.chosenOrg'></chooser>
|
18
|
+
</div>
|
19
|
+
{{$parent.$parent.model.chosenOrg.fullname}}
|
20
|
+
</div>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</criteria>
|
24
|
+
<data-grid :model="model" partial='list' v-ref:grid>
|
25
|
+
<template partial='head'>
|
26
|
+
<tr>
|
27
|
+
<th>手机使用者</th>
|
28
|
+
<th>流量Mb</th>
|
29
|
+
</tr>
|
30
|
+
</template>
|
31
|
+
<template partial='body'>
|
32
|
+
<td v-on:click.stop.prevent='$parent.$parent.$parent.dailyTraffic(row)'>{{row.f_user_name}} <span class="glyphicon glyphicon-option-horizontal"></span></td>
|
33
|
+
<td>{{row.f_traffic}}</td>
|
34
|
+
</template>
|
35
|
+
</data-grid>
|
36
|
+
</criteria-paged>
|
37
|
+
</div>
|
38
|
+
</template>
|
39
|
+
|
40
|
+
<script>
|
41
|
+
import { PagedList } from 'vue-client'
|
42
|
+
import * as Util from '../Util'
|
43
|
+
|
44
|
+
export default {
|
45
|
+
title: '月流量统计',
|
46
|
+
props: ['f'],
|
47
|
+
data () {
|
48
|
+
let model = new PagedList('rs/rcq/月度流量统计', 20, {f_loggedOnUserId: 'this.f_loggedOnUserId', f_loggedOnOrgId: 'this.chosenOrg.id', f_ym: 'this.f_ym'})
|
49
|
+
model.f_ym = Util.toStandardYearMonth()
|
50
|
+
model.chosenOrg = {id:0}
|
51
|
+
return {
|
52
|
+
model: model,
|
53
|
+
}
|
54
|
+
},
|
55
|
+
methods: {
|
56
|
+
dailyTraffic (row) {
|
57
|
+
this.$goto('daily-traffic', {f_userinfoid: row.f_userinfoid, f_user_name: row.f_user_name, f_ym: this.model.f_ym}, 'self')
|
58
|
+
}
|
59
|
+
},
|
60
|
+
ready () {
|
61
|
+
this.model.f_loggedOnUserId = this.f.id
|
62
|
+
this.model.chosenOrg.id = this.f.parent.id
|
63
|
+
this.model.search()
|
64
|
+
}
|
65
|
+
}
|
66
|
+
</script>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<template>
|
2
|
-
<div>
|
3
|
-
<route :comp="{name: 'void-page'}" name="traffic-router"></route>
|
4
|
-
</div>
|
5
|
-
</template>
|
6
|
-
|
7
|
-
<script>
|
8
|
-
export default {
|
9
|
-
title: '月流量统计',
|
10
|
-
props: ['f'],
|
11
|
-
ready () {
|
12
|
-
this.$goto('monthly-traffic-list', {f: this.f}, 'self')
|
13
|
-
}
|
14
|
-
}
|
15
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div>
|
3
|
+
<route :comp="{name: 'void-page'}" name="traffic-router"></route>
|
4
|
+
</div>
|
5
|
+
</template>
|
6
|
+
|
7
|
+
<script>
|
8
|
+
export default {
|
9
|
+
title: '月流量统计',
|
10
|
+
props: ['f'],
|
11
|
+
ready () {
|
12
|
+
this.$goto('monthly-traffic-list', {f: this.f}, 'self')
|
13
|
+
}
|
14
|
+
}
|
15
|
+
</script>
|
@@ -1,82 +1,82 @@
|
|
1
|
-
<template>
|
2
|
-
<div class="auto">
|
3
|
-
<button type="button" class="btn btn-default" @click="this.$back('ass')"><<</button>
|
4
|
-
<div id="allmap2" :style="mapStyle"></div>
|
5
|
-
</div>
|
6
|
-
</template>
|
7
|
-
|
8
|
-
<script>
|
9
|
-
// because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
|
10
|
-
|
11
|
-
import Vue from 'vue'
|
12
|
-
|
13
|
-
export default {
|
14
|
-
title: '岗位图',
|
15
|
-
props: ['lonlats'],
|
16
|
-
data () {
|
17
|
-
return {
|
18
|
-
mapStyle: {
|
19
|
-
width: (this.$parent.$el.clientWidth -30) + 'px',
|
20
|
-
height: (this.$parent.$el.clientHeight - 80) + 'px'
|
21
|
-
},
|
22
|
-
markers : []
|
23
|
-
}
|
24
|
-
},
|
25
|
-
ready () {
|
26
|
-
this.lonlats.filter((item) => {
|
27
|
-
return item.f_longitude != 0 && item.f_latitude != 0
|
28
|
-
}).forEach((item) => {
|
29
|
-
this.markers.push({
|
30
|
-
longitude: item.f_longitude,
|
31
|
-
latitude: item.f_latitude,
|
32
|
-
hint: item.f_user_name + '[' + item.f_datetime + ']'
|
33
|
-
})
|
34
|
-
})
|
35
|
-
if(Vue.mapLoaded) {
|
36
|
-
this.render()
|
37
|
-
} else {
|
38
|
-
window.__mapCallback__ = this.mapCallback
|
39
|
-
let element = document.createElement('script')
|
40
|
-
element.setAttribute("type","text/javascript")
|
41
|
-
element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
|
42
|
-
document.body.appendChild(element)
|
43
|
-
}
|
44
|
-
},
|
45
|
-
methods: {
|
46
|
-
mapCallback () {
|
47
|
-
Vue.mapLoaded = true
|
48
|
-
this.render()
|
49
|
-
},
|
50
|
-
patch () {
|
51
|
-
let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
|
52
|
-
if(a.length != 0) {
|
53
|
-
a[0].style.height = 'auto'
|
54
|
-
} else {
|
55
|
-
window.setTimeout(this.patch, 500)
|
56
|
-
}
|
57
|
-
},
|
58
|
-
render () {
|
59
|
-
window.map = new BMap.Map("allmap2")
|
60
|
-
window.map.clearOverlays();
|
61
|
-
if(this.markers.length == 0)
|
62
|
-
window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
|
63
|
-
else
|
64
|
-
window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
|
65
|
-
window.map.addControl(new BMap.NavigationControl())
|
66
|
-
this.markers.forEach(function(pos) {
|
67
|
-
var point = new BMap.Point(pos.longitude,pos.latitude)
|
68
|
-
var marker = new BMap.Marker(point) // 创建标注
|
69
|
-
var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
|
70
|
-
marker.setLabel(label)
|
71
|
-
label.setStyle({ border : '0px', padding: '0px'})
|
72
|
-
window.map.addOverlay(marker) // 将标注添加到地图中
|
73
|
-
// var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
|
74
|
-
// marker.addEventListener("click", function(){
|
75
|
-
// window.map.openInfoWindow(infoWindow,point) //开启信息窗口
|
76
|
-
// })
|
77
|
-
})
|
78
|
-
this.patch()
|
79
|
-
}
|
80
|
-
}
|
81
|
-
}
|
82
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div class="auto">
|
3
|
+
<button type="button" class="btn btn-default" @click="this.$back('ass')"><<</button>
|
4
|
+
<div id="allmap2" :style="mapStyle"></div>
|
5
|
+
</div>
|
6
|
+
</template>
|
7
|
+
|
8
|
+
<script>
|
9
|
+
// because of some weired behavior of baidu map, logic cant be extracted out and factored into a map component
|
10
|
+
|
11
|
+
import Vue from 'vue'
|
12
|
+
|
13
|
+
export default {
|
14
|
+
title: '岗位图',
|
15
|
+
props: ['lonlats'],
|
16
|
+
data () {
|
17
|
+
return {
|
18
|
+
mapStyle: {
|
19
|
+
width: (this.$parent.$el.clientWidth -30) + 'px',
|
20
|
+
height: (this.$parent.$el.clientHeight - 80) + 'px'
|
21
|
+
},
|
22
|
+
markers : []
|
23
|
+
}
|
24
|
+
},
|
25
|
+
ready () {
|
26
|
+
this.lonlats.filter((item) => {
|
27
|
+
return item.f_longitude != 0 && item.f_latitude != 0
|
28
|
+
}).forEach((item) => {
|
29
|
+
this.markers.push({
|
30
|
+
longitude: item.f_longitude,
|
31
|
+
latitude: item.f_latitude,
|
32
|
+
hint: item.f_user_name + '[' + item.f_datetime + ']'
|
33
|
+
})
|
34
|
+
})
|
35
|
+
if(Vue.mapLoaded) {
|
36
|
+
this.render()
|
37
|
+
} else {
|
38
|
+
window.__mapCallback__ = this.mapCallback
|
39
|
+
let element = document.createElement('script')
|
40
|
+
element.setAttribute("type","text/javascript")
|
41
|
+
element.setAttribute("src", 'http://api.map.baidu.com/api?v=2.0&ak=CAErfbr2DatVA6rHdoUELPynrdPh9A6S&callback=__mapCallback__')
|
42
|
+
document.body.appendChild(element)
|
43
|
+
}
|
44
|
+
},
|
45
|
+
methods: {
|
46
|
+
mapCallback () {
|
47
|
+
Vue.mapLoaded = true
|
48
|
+
this.render()
|
49
|
+
},
|
50
|
+
patch () {
|
51
|
+
let a = document.getElementById('allmap2').getElementsByClassName('BMap_cpyCtrl BMap_noprint anchorBL')
|
52
|
+
if(a.length != 0) {
|
53
|
+
a[0].style.height = 'auto'
|
54
|
+
} else {
|
55
|
+
window.setTimeout(this.patch, 500)
|
56
|
+
}
|
57
|
+
},
|
58
|
+
render () {
|
59
|
+
window.map = new BMap.Map("allmap2")
|
60
|
+
window.map.clearOverlays();
|
61
|
+
if(this.markers.length == 0)
|
62
|
+
window.map.centerAndZoom(new BMap.Point(116.404, 39.915), 11)
|
63
|
+
else
|
64
|
+
window.map.centerAndZoom(new BMap.Point(this.markers[0].longitude, this.markers[0].latitude), 11)
|
65
|
+
window.map.addControl(new BMap.NavigationControl())
|
66
|
+
this.markers.forEach(function(pos) {
|
67
|
+
var point = new BMap.Point(pos.longitude,pos.latitude)
|
68
|
+
var marker = new BMap.Marker(point) // 创建标注
|
69
|
+
var label = new BMap.Label(pos.hint, {offset: new BMap.Size(20, 0)})
|
70
|
+
marker.setLabel(label)
|
71
|
+
label.setStyle({ border : '0px', padding: '0px'})
|
72
|
+
window.map.addOverlay(marker) // 将标注添加到地图中
|
73
|
+
// var infoWindow = new BMap.InfoWindow(pos.hint) // 创建信息窗口对象
|
74
|
+
// marker.addEventListener("click", function(){
|
75
|
+
// window.map.openInfoWindow(infoWindow,point) //开启信息窗口
|
76
|
+
// })
|
77
|
+
})
|
78
|
+
this.patch()
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
</script>
|