safecheck-client 3.0.34-6 → 3.0.34-61

Sign up to get free protection for your applications and to get access to all the features.
Files changed (135) hide show
  1. package/docs/FormPrint.md +18 -18
  2. package/docs/GridTree.md +47 -47
  3. package/docs/PrintFile.md +38 -38
  4. package/docs/tree.md +40 -40
  5. package/package.json +1 -1
  6. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  7. package/src/assets/123.png +0 -0
  8. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  9. package/src/components/LoadData.vue +62 -0
  10. package/src/components/NewDefectList/DefectListNew.vue +617 -616
  11. package/src/components/android/AddGas.vue +147 -147
  12. package/src/components/android/AndroidDefectDeal.vue +1 -0
  13. package/src/components/android/AreaPlan.vue +566 -566
  14. package/src/components/android/AreaSelect.vue +208 -0
  15. package/src/components/android/BuildingSelect.vue +217 -0
  16. package/src/components/android/CheckPlanSelect.vue +248 -0
  17. package/src/components/android/CheckerMonthly.vue +84 -84
  18. package/src/components/android/LcheckUnplan.vue +108 -108
  19. package/src/components/android/PaperFeedback.vue +33 -0
  20. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  21. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  22. package/src/components/android/SafecheckDevices.vue +2 -2
  23. package/src/components/android/SafecheckOrderV.vue +8 -12
  24. package/src/components/android/SwitchValve.vue +323 -323
  25. package/src/components/android/examples/SafeListExamples.vue +96 -0
  26. package/src/components/android/examples/UserExamples.vue +130 -0
  27. package/src/components/checkerphonestate/Checker.vue +32 -32
  28. package/src/components/checkerphonestate/CheckerState.vue +97 -97
  29. package/src/components/defects/AddDefectModal.vue +120 -120
  30. package/src/components/defects/AddDevice.vue +95 -95
  31. package/src/components/defects/DevicesSeting.vue +106 -106
  32. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  33. package/src/components/metterfiles/MetterFiles.vue +104 -104
  34. package/src/components/notice/NoticeQuery.vue +76 -76
  35. package/src/components/paper/RepairVerifyForm.vue +76 -76
  36. package/src/components/phonestate/DailyTraffic.vue +57 -57
  37. package/src/components/phonestate/LastKnownState.vue +74 -74
  38. package/src/components/rongcheng/AddPlanItem.vue +4 -0
  39. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  40. package/src/components/rongcheng/CheckSearchUser.vue +40 -14
  41. package/src/components/rongcheng/PaperStatem.vue +6 -1
  42. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  43. package/src/components/rongcheng/PhoneUpUserinfo.vue +0 -92
  44. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  45. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  46. package/src/components/task/RepairAnnual.vue +79 -79
  47. package/src/components/task/RepairAnnualDetail.vue +49 -49
  48. package/src/components/task/RepairMonthly.vue +91 -91
  49. package/src/components/task/TaskAnnual.vue +77 -77
  50. package/src/components/task/TaskAnnualDetail.vue +47 -47
  51. package/src/components/task/TaskMonthly.vue +89 -89
  52. package/src/components/userfile/UserfileChange.vue +277 -277
  53. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +4 -4
  54. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  55. package/src/filiale/baiyin/android.js +1 -0
  56. package/src/filiale/baiyin/pc/CheckSearchUser.vue +2 -2
  57. package/src/filiale/baiyin/pc/DefectListNew.vue +3 -3
  58. package/src/filiale/baiyin/pc/PaperList.vue +7 -7
  59. package/src/filiale/baiyin/pc/checkUserList.vue +771 -771
  60. package/src/filiale/baiyin/pc.js +21 -21
  61. package/src/filiale/bayan/android/SafecheckOrderV.vue +52 -29
  62. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  63. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  64. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  65. package/src/filiale/huaran/android.js +12 -0
  66. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  67. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  68. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  69. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  70. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  71. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  72. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  73. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  74. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  75. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  76. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  77. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  78. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  79. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  80. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  81. package/src/filiale/huaran/pc.js +27 -0
  82. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  83. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  84. package/src/filiale/jiaxian/android/SafecheckDevices.vue +6 -6
  85. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  86. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  87. package/src/filiale/jiaxian/android.js +4 -0
  88. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  89. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  90. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  91. package/src/filiale/ruihua/android.js +11 -0
  92. package/src/filiale/shanxian/pc/checkUserList.vue +700 -700
  93. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +645 -0
  94. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  95. package/src/filiale/siyang/pc/CheckSearchUser.vue +982 -0
  96. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  97. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  98. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  99. package/src/filiale/siyang/pc.js +5 -0
  100. package/src/filiale/tongchuan/android/Select.vue +421 -0
  101. package/src/filiale/tongchuan/android.js +1 -0
  102. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  103. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  104. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  105. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  106. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1060 -1060
  107. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  108. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  109. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  110. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  111. package/src/filiale/weinan/android/SafecheckOrderV.vue +1 -1
  112. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +735 -722
  113. package/src/filiale/weinan/pc/CheckDetail.vue +278 -278
  114. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  115. package/src/filiale/weinan/pc/DefectMainNew.vue +63 -63
  116. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  117. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  118. package/src/filiale/weinan/pc/checkUserList.vue +712 -776
  119. package/src/filiale/weinan/pc.js +47 -46
  120. package/src/filiale/wuan/android/SafecheckOrderV.vue +1 -0
  121. package/src/filiale/wuan/android/SafecheckUserInfo.vue +4 -0
  122. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +1192 -1192
  123. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +472 -472
  124. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +473 -473
  125. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +13 -11
  126. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +6 -6
  127. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +10 -10
  128. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +10 -10
  129. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +6 -6
  130. package/src/filiale/yangchunboneng/pc/PaperList.vue +6 -6
  131. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  132. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  133. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  134. package/src/safecheck-android.js +7 -0
  135. package/src/safecheck-page.js +10 -0
@@ -1,47 +1,47 @@
1
- <template>
2
- <div class="flex">
3
- <div class="form-group auto">
4
- <label>{{f_checker}}{{f_plan_year}}任务月完成情况</label>
5
- <button type="button" class="btn btn-default" @click="this.$back('asd')">&lt;&lt;</button>
6
- </div>
7
- <div class="span">
8
- <data-grid :model="model" partial='list' v-ref:grid>
9
- <template partial='head'>
10
- <tr>
11
- <th>年</th>
12
- <th>月</th>
13
- <th>任务</th>
14
- <th>已完成</th>
15
- </tr>
16
- </template>
17
- <template partial='body'>
18
- <td>{{row.f_plan_year}}</td>
19
- <td>{{row.f_plan_month}}</td>
20
- <td>{{row.task}}</td>
21
- <td>{{row.accomplished}}</td>
22
- </template>
23
- </data-grid>
24
- </div>
25
- <div style="height:50px;"></div>
26
- </div>
27
- </template>
28
-
29
- <script>
30
- import { PagedList } from 'vue-client'
31
-
32
- export default {
33
- title: '安检员年任务明细',
34
- props: ['f_checker', 'f_plan_year', 'f_subcompany'],
35
- data() {
36
- return {
37
- model: new PagedList('rs/sql/跟踪安检员年任务明细', 20, {f_checker: 'this.f_checker', f_plan_year: 'this.f_plan_year', f_subcompany: 'this.f_subcompany'})
38
- }
39
- },
40
- ready () {
41
- this.model.f_checker = this.f_checker
42
- this.model.f_plan_year = this.f_plan_year
43
- this.model.f_subcompany = this.f_subcompany
44
- this.model.search()
45
- }
46
- }
47
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <div class="form-group auto">
4
+ <label>{{f_checker}}{{f_plan_year}}任务月完成情况</label>
5
+ <button type="button" class="btn btn-default" @click="this.$back('asd')">&lt;&lt;</button>
6
+ </div>
7
+ <div class="span">
8
+ <data-grid :model="model" partial='list' v-ref:grid>
9
+ <template partial='head'>
10
+ <tr>
11
+ <th>年</th>
12
+ <th>月</th>
13
+ <th>任务</th>
14
+ <th>已完成</th>
15
+ </tr>
16
+ </template>
17
+ <template partial='body'>
18
+ <td>{{row.f_plan_year}}</td>
19
+ <td>{{row.f_plan_month}}</td>
20
+ <td>{{row.task}}</td>
21
+ <td>{{row.accomplished}}</td>
22
+ </template>
23
+ </data-grid>
24
+ </div>
25
+ <div style="height:50px;"></div>
26
+ </div>
27
+ </template>
28
+
29
+ <script>
30
+ import { PagedList } from 'vue-client'
31
+
32
+ export default {
33
+ title: '安检员年任务明细',
34
+ props: ['f_checker', 'f_plan_year', 'f_subcompany'],
35
+ data() {
36
+ return {
37
+ model: new PagedList('rs/sql/跟踪安检员年任务明细', 20, {f_checker: 'this.f_checker', f_plan_year: 'this.f_plan_year', f_subcompany: 'this.f_subcompany'})
38
+ }
39
+ },
40
+ ready () {
41
+ this.model.f_checker = this.f_checker
42
+ this.model.f_plan_year = this.f_plan_year
43
+ this.model.f_subcompany = this.f_subcompany
44
+ this.model.search()
45
+ }
46
+ }
47
+ </script>
@@ -1,89 +1,89 @@
1
- <template>
2
- <div class="flex">
3
- <form class="form-inline">
4
- <div class="form-group">
5
- <label for="c_plan_year">年份:</label>
6
- <v-select id="c_plan_year" :value.sync="c_plan_year"
7
- :options='c_year_list' close-on-select clear-button></v-select>
8
- <label for="c_plan_month">月份:</label>
9
- <v-select id="c_plan_month" :value.sync="c_plan_month"
10
- :options='c_month_list' close-on-select clear-button></v-select>
11
- <button type="button" class="btn btn-default" @click="search()">查询</button>
12
- </div>
13
- <div class="form-group">
14
- 部门:
15
- <chooser :userid.sync='f.id' resource-type="organization" :width='200' :select-data.sync='model.chosenOrg'></chooser>
16
- </div>
17
- {{model.chosenOrg.fullname}}
18
- </form>
19
- <div class="span">
20
- <data-grid :model="model" partial='list' v-ref:grid>
21
- <template partial='head'>
22
- <tr>
23
- <th>安检员</th>
24
- <th>任务</th>
25
- <th>已完成</th>
26
- </tr>
27
- </template>
28
- <template partial='body'>
29
- <td>{{row.f_checker}}</td>
30
- <td>{{row.task}}</td>
31
- <td>{{row.accomplished}}</td>
32
- </template>
33
- </data-grid>
34
- </span>
35
- <div style="height:50px;"></div>
36
- </div>
37
- </template>
38
-
39
- <script>
40
- import { PagedList } from 'vue-client'
41
- import Vue from 'vue'
42
-
43
- export default {
44
- title: '安检员月任务',
45
- props: ['f'],
46
- data() {
47
- let options = []
48
- let year = (new Date()).getFullYear()
49
- for(let i = year - 8; i <= year +1; i++ )
50
- options.push({label: i+'', value: i+''})
51
- let moptions = []
52
- for(let i=1; i<=12; i++)
53
- moptions.push({label: i + '', value: i + ''})
54
- let model = new PagedList('rs/sql/跟踪安检员月任务', 20,
55
- {id: 'this.id', org_id: 'this.chosenOrg.id', f_plan_year: 'this.f_plan_year', f_subcompany: 'this.f_subcompany',
56
- f_plan_month: 'this.f_plan_month', f_ym: 'this.f_ym'})
57
- model.chosenOrg = {id:0}
58
- return {
59
- c_plan_year: year + '',
60
- c_year_list: options,
61
- c_month_list: moptions,
62
- c_plan_month: moptions[new Date().getMonth()].value,
63
- model: model
64
- }
65
- },
66
- ready () {
67
- this.model.id = this.f.id
68
- this.model.chosenOrg.id = this.f.parent.id
69
- this.model.f_plan_year = this.c_plan_year[0]
70
- this.model.f_plan_month = this.c_plan_month[0]
71
- this.model.f_subcompany = Vue.f_subcompany
72
- this.model.f_ym = this.c_plan_year[0] + '-' + (this.c_plan_month[0].length > 1 ? this.c_plan_month[0] : '0' + this.c_plan_month[0])
73
- this.$watch('c_plan_year', function (val) {
74
- this.model.f_plan_year = val[0]
75
- this.model.f_ym = val[0] + '-' + (this.c_plan_month[0].length > 1 ? this.c_plan_month[0] : '0' + this.c_plan_month[0])
76
- })
77
- this.$watch('c_plan_month', function (val) {
78
- this.model.f_plan_month = val[0]
79
- this.model.f_ym = this.c_plan_year[0] + '-' + (val[0].length > 1 ? val[0] : '0' + val[0])
80
- })
81
- },
82
- methods: {
83
- search () {
84
- this.model.rows = []
85
- this.model.search()
86
- }
87
- }
88
- }
89
- </script>
1
+ <template>
2
+ <div class="flex">
3
+ <form class="form-inline">
4
+ <div class="form-group">
5
+ <label for="c_plan_year">年份:</label>
6
+ <v-select id="c_plan_year" :value.sync="c_plan_year"
7
+ :options='c_year_list' close-on-select clear-button></v-select>
8
+ <label for="c_plan_month">月份:</label>
9
+ <v-select id="c_plan_month" :value.sync="c_plan_month"
10
+ :options='c_month_list' close-on-select clear-button></v-select>
11
+ <button type="button" class="btn btn-default" @click="search()">查询</button>
12
+ </div>
13
+ <div class="form-group">
14
+ 部门:
15
+ <chooser :userid.sync='f.id' resource-type="organization" :width='200' :select-data.sync='model.chosenOrg'></chooser>
16
+ </div>
17
+ {{model.chosenOrg.fullname}}
18
+ </form>
19
+ <div class="span">
20
+ <data-grid :model="model" partial='list' v-ref:grid>
21
+ <template partial='head'>
22
+ <tr>
23
+ <th>安检员</th>
24
+ <th>任务</th>
25
+ <th>已完成</th>
26
+ </tr>
27
+ </template>
28
+ <template partial='body'>
29
+ <td>{{row.f_checker}}</td>
30
+ <td>{{row.task}}</td>
31
+ <td>{{row.accomplished}}</td>
32
+ </template>
33
+ </data-grid>
34
+ </span>
35
+ <div style="height:50px;"></div>
36
+ </div>
37
+ </template>
38
+
39
+ <script>
40
+ import { PagedList } from 'vue-client'
41
+ import Vue from 'vue'
42
+
43
+ export default {
44
+ title: '安检员月任务',
45
+ props: ['f'],
46
+ data() {
47
+ let options = []
48
+ let year = (new Date()).getFullYear()
49
+ for(let i = year - 8; i <= year +1; i++ )
50
+ options.push({label: i+'', value: i+''})
51
+ let moptions = []
52
+ for(let i=1; i<=12; i++)
53
+ moptions.push({label: i + '', value: i + ''})
54
+ let model = new PagedList('rs/sql/跟踪安检员月任务', 20,
55
+ {id: 'this.id', org_id: 'this.chosenOrg.id', f_plan_year: 'this.f_plan_year', f_subcompany: 'this.f_subcompany',
56
+ f_plan_month: 'this.f_plan_month', f_ym: 'this.f_ym'})
57
+ model.chosenOrg = {id:0}
58
+ return {
59
+ c_plan_year: year + '',
60
+ c_year_list: options,
61
+ c_month_list: moptions,
62
+ c_plan_month: moptions[new Date().getMonth()].value,
63
+ model: model
64
+ }
65
+ },
66
+ ready () {
67
+ this.model.id = this.f.id
68
+ this.model.chosenOrg.id = this.f.parent.id
69
+ this.model.f_plan_year = this.c_plan_year[0]
70
+ this.model.f_plan_month = this.c_plan_month[0]
71
+ this.model.f_subcompany = Vue.f_subcompany
72
+ this.model.f_ym = this.c_plan_year[0] + '-' + (this.c_plan_month[0].length > 1 ? this.c_plan_month[0] : '0' + this.c_plan_month[0])
73
+ this.$watch('c_plan_year', function (val) {
74
+ this.model.f_plan_year = val[0]
75
+ this.model.f_ym = val[0] + '-' + (this.c_plan_month[0].length > 1 ? this.c_plan_month[0] : '0' + this.c_plan_month[0])
76
+ })
77
+ this.$watch('c_plan_month', function (val) {
78
+ this.model.f_plan_month = val[0]
79
+ this.model.f_ym = this.c_plan_year[0] + '-' + (val[0].length > 1 ? val[0] : '0' + val[0])
80
+ })
81
+ },
82
+ methods: {
83
+ search () {
84
+ this.model.rows = []
85
+ this.model.search()
86
+ }
87
+ }
88
+ }
89
+ </script>