safecheck-client 4.0.2-73 → 4.0.2-75

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 (31) hide show
  1. package/package.json +132 -132
  2. package/src/assets/marker-default.png +0 -0
  3. package/src/assets/myLocationIcon.png +0 -0
  4. package/src/components/android/AppMapLocation.vue +829 -0
  5. package/src/components/android/AppMapPaper.vue +83 -0
  6. package/src/components/android/PhoneUpUserinfo.vue +1249 -1249
  7. package/src/components/android/SafeRightTree.vue +218 -218
  8. package/src/components/android/SafecheckDevices.vue +1340 -1340
  9. package/src/components/android/week/CheckResultSimple.vue +258 -258
  10. package/src/components/android/week/FirstWeekCheck.vue +303 -301
  11. package/src/components/android/week/StepHeaderBar.vue +477 -485
  12. package/src/components/android/week/WeekCheck.vue +267 -267
  13. package/src/components/android/week/WeekCheckPaper.vue +274 -274
  14. package/src/components/android/week/WeekCheckPlan.vue +145 -145
  15. package/src/components/android/week/WeekCheckUserInfo.vue +99 -99
  16. package/src/components/pc/CheckBookArea.vue +146 -146
  17. package/src/components/pc/CheckBookCompany.vue +144 -144
  18. package/src/components/pc/CheckBookDetails.vue +161 -161
  19. package/src/components/pc/CheckBookEntry.vue +60 -60
  20. package/src/components/pc/CheckBookSearchArea.vue +560 -560
  21. package/src/components/pc/CheckBookSearchUnit.vue +229 -229
  22. package/src/components/pc/CheckBookSearchUserList.vue +674 -674
  23. package/src/filiale/jinhong/android/AndroidDefectDeal.vue +748 -748
  24. package/src/filiale/jinhong/android/AndroidNotifiedDeal.vue +569 -569
  25. package/src/filiale/jinhong/pc/checkUserList.vue +806 -806
  26. package/src/filiale/meihekou/android/CheckPlanList.vue +198 -198
  27. package/src/filiale/meihekou/android/CheckPlanListArea.vue +190 -190
  28. package/src/filiale/meihekou/android/SafecheckDevices.vue +1343 -1343
  29. package/src/filiale/meihekou/android.js +22 -22
  30. package/src/safecheck-android.js +332 -328
  31. package/build/reports/problems/problems-report.html +0 -663
@@ -0,0 +1,83 @@
1
+ <template>
2
+ <div>
3
+ <tabset v-ref:tabs :close="false" nav-style="tabs nav-apply-tab" :active.sync="0">
4
+ <tab header='任务地图'>
5
+ <div class="auto tip">
6
+ <form>
7
+ <div class="form-group">
8
+ <div class="row app-row">
9
+ <div class="col-xs-5">
10
+ <img src="../../assets/用户ID.png" style="width: 20px;margin-top: 5px" alt="">
11
+ <label class="font text-left">用户编号:</label>
12
+ </div>
13
+ <div class="col-xs-7" >
14
+ <input class="search_input input-font"
15
+ v-model=f_userinfo_code placeholder="请输入用户编号" />
16
+ </div>
17
+ </div>
18
+ <div class="row text-center" style="margin-top: 20px;">
19
+ <button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="getuserinfoLocation">查询</button>
20
+ </div>
21
+ </div>
22
+ </form>
23
+ </div>
24
+ <app-map-location
25
+ :islocation="true"
26
+ :locationzoomcenter="false"
27
+ :usenative="true"
28
+ :isshowsearch="false"
29
+ :mylocationinfo="false"
30
+ :islocationclearmark="false"
31
+ :isshowmapmodel="false"
32
+ :locationwindow="false"
33
+ mapmodel="dragMarker"
34
+ :labelmarksarray="labelmarksarray"
35
+ ></app-map-location>
36
+ </tab>
37
+ </tabset>
38
+ </div>
39
+ </template>
40
+
41
+ <script>
42
+ import {HttpResetClass} from 'vue-client'
43
+ import {isEmpty} from '../../components/Util'
44
+ export default {
45
+ title: '地图查看',
46
+ name: 'AppMapPaper',
47
+ data() {
48
+ return {
49
+ f_userinfo_code:'',
50
+ labelmarksarray: [],
51
+ }
52
+ },
53
+ ready () {
54
+ this.getuserinfoLocation()
55
+ },
56
+ methods: {
57
+ getuserinfoLocation() {
58
+ if (isEmpty(this.f_userinfo_code)){
59
+ this.$showMessage('请输入用户编号')
60
+ }
61
+ let http = new HttpResetClass()
62
+ http.load('POST', 'api/af-safecheck/sql/safe_singleTable_OrderBy', {data: {
63
+ items: 're.*',
64
+ tablename: 't_seals_record re left join t_userinfo us on re.f_userinfo_id = us.f_userinfo_id',
65
+ condition: `us.f_userinfo_code = '${this.f_userinfo_code}'`,
66
+ orderitem: ' re.id desc'
67
+ }}).then(res => {
68
+ this.labelmarksarray = res.data.map(item => {
69
+ return {
70
+ data: {
71
+ data: item,
72
+ content: `<p>用户地址:${item.f_address}</p>`
73
+ },
74
+ position: [item.f_longitude, item.f_latitude],
75
+ isclearmarker: false,
76
+ islabel: false
77
+ }
78
+ })
79
+ })
80
+ },
81
+ }
82
+ }
83
+ </script>