safecheck-client 3.0.33-15 → 3.0.33-152

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 (163) hide show
  1. package/index.html +6 -2
  2. package/package.json +133 -133
  3. package/src/App.vue +2 -2
  4. package/src/components/Util/ImgSelfSafePlus.vue +19 -10
  5. package/src/components/Util.js +7 -0
  6. package/src/components/android/AreaPlan.vue +2 -1
  7. package/src/components/android/CurrentCreate.vue +1 -1
  8. package/src/components/android/ImgSelfAndroid.vue +1 -1
  9. package/src/components/android/SafecheckDevices.vue +5 -1
  10. package/src/components/android/SafecheckOrderV.vue +18 -12
  11. package/src/components/map/checkScreen.vue +27 -21
  12. package/src/components/paper/PlanChooser.vue +4 -2
  13. package/src/components/pc/NewCheckpaper.vue +11 -8
  14. package/src/components/planmanage/PlanManage.vue +14 -4
  15. package/src/components/planmanage/checkPlanList.vue +2 -1
  16. package/src/components/planmanage/checkUserList.vue +2 -0
  17. package/src/components/report/HiddenSituation.vue +3 -3
  18. package/src/components/rongcheng/AspiratedPaperFeedbackm.vue +28 -2
  19. package/src/components/rongcheng/AspiratedPaperMessage.vue +1 -1
  20. package/src/components/rongcheng/DefectPaper.vue +1 -1
  21. package/src/components/rongcheng/PaperListNPSQ.vue +36 -1
  22. package/src/components/rongcheng/PaperListSQ.vue +32 -11
  23. package/src/components/rongcheng/PhoneUpUserinfo.vue +939 -802
  24. package/src/components/rongcheng/SafecheckOrderV.vue +1 -1
  25. package/src/components/rongcheng/report/CheckPlanAreaList.vue +1 -3
  26. package/src/components/safecheckNew/PaperList.vue +785 -0
  27. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -0
  28. package/src/components/safecheckNew/android/AreaPlan.vue +561 -0
  29. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -0
  30. package/src/components/safecheckNew/android/Recheck.vue +379 -0
  31. package/src/components/safecheckNew/android/SafecheckDevices.vue +1400 -0
  32. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2692 -0
  33. package/src/filiale/Util.js +5 -0
  34. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -0
  35. package/src/filiale/baiyin/android.js +10 -0
  36. package/src/filiale/baiyin/pc/PaperList.vue +790 -0
  37. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -0
  38. package/src/filiale/baiyin/pc/PlanManage.vue +834 -0
  39. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -0
  40. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -0
  41. package/src/filiale/baiyin/pc.js +17 -0
  42. package/src/filiale/bayan/android/AddPlanItem.vue +7 -2
  43. package/src/filiale/bayan/android/CheckPlanDown.vue +249 -0
  44. package/src/filiale/bayan/android/SafecheckOrderV.vue +21 -8
  45. package/src/filiale/bayan/android/SafecheckUserInfo.vue +566 -514
  46. package/src/filiale/bayan/android.js +1 -0
  47. package/src/filiale/bayan/pc/CheckDetail.vue +205 -0
  48. package/src/filiale/bayan/pc/CheckPlan.vue +59 -0
  49. package/src/filiale/bayan/pc/CheckPlanAreaList.vue +565 -0
  50. package/src/filiale/bayan/pc/CheckSearchUser.vue +1110 -0
  51. package/src/filiale/bayan/pc/DefectListNew.vue +597 -0
  52. package/src/filiale/bayan/pc/DefectMainNew.vue +63 -0
  53. package/src/filiale/bayan/pc/DefectPaperNew.vue +1218 -0
  54. package/src/filiale/bayan/pc/HiddenSituation.vue +256 -0
  55. package/src/filiale/bayan/pc/NewCheckpaper.vue +31 -1
  56. package/src/filiale/bayan/pc/PaperList.vue +119 -12
  57. package/src/filiale/bayan/pc/PlanManage.vue +29 -8
  58. package/src/filiale/bayan/pc/SelectCheckPlan.vue +333 -0
  59. package/src/filiale/bayan/pc.js +6 -0
  60. package/src/filiale/dexin/android/SafecheckOrderV.vue +123 -24
  61. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -0
  62. package/src/filiale/fugou/android.js +2 -1
  63. package/src/filiale/fugou/pc/AddToCheckBook.vue +56 -119
  64. package/src/filiale/fugou/pc/CheckBook.vue +303 -301
  65. package/src/filiale/fugou/pc/CheckBookDetails.vue +161 -161
  66. package/src/filiale/fugou/pc/CheckBookEntry.vue +94 -66
  67. package/src/filiale/fugou/pc/CheckBookList.vue +366 -366
  68. package/src/filiale/fugou/pc/CheckBookSearchArea.vue +560 -560
  69. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +810 -685
  70. package/src/filiale/fugou/pc/CheckBookUser.vue +102 -45
  71. package/src/filiale/fugou/pc/DefectPaperNew.vue +10 -6
  72. package/src/filiale/fugou/pc/PaperDefectMain.vue +12 -6
  73. package/src/filiale/fugou/pc/PaperList.vue +14 -6
  74. package/src/filiale/fugou/pc/PlanManage.vue +62 -8
  75. package/src/filiale/fugou/pc/checkPlanList.vue +371 -371
  76. package/src/filiale/fugou/pc/checkUserList.vue +222 -42
  77. package/src/filiale/hanzhong/pc/CheckHiddenDanger.vue +15 -5
  78. package/src/filiale/hanzhong/pc/CheckSafeDetail.vue +12 -2
  79. package/src/filiale/hanzhong/pc/CheckSafeStatus.vue +12 -3
  80. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +13 -0
  81. package/src/filiale/hanzhong/pc/CheckUserList.vue +30 -11
  82. package/src/filiale/hanzhong/pc/CheckerSafeDetail.vue +11 -2
  83. package/src/filiale/jingyang/pc/ReportCheckItemList.vue +543 -0
  84. package/src/filiale/jingyang/pc.js +1 -0
  85. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -22
  86. package/src/filiale/liaoyuan/pc/checkPlanList.vue +373 -0
  87. package/src/filiale/liaoyuan/pc.js +2 -1
  88. package/src/filiale/qianneng/pc/PaperList.vue +31 -1
  89. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +7 -5
  90. package/src/filiale/qingjian/android/SafecheckOrderV.vue +66 -1
  91. package/src/filiale/rongchuang/android/SafecheckDevices.vue +468 -748
  92. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +984 -1234
  93. package/src/filiale/rongchuang/android.js +1 -0
  94. package/src/filiale/rongchuang/pc/NewCheckpaper.vue +294 -305
  95. package/src/filiale/rongchuang/pc/PaperList.vue +812 -0
  96. package/src/filiale/rongchuang/pc.js +1 -0
  97. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -0
  98. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -0
  99. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -0
  100. package/src/filiale/siyang/android.js +11 -0
  101. package/src/filiale/siyang/pc/PaperDefectMain.vue +864 -0
  102. package/src/filiale/siyang/pc/PaperList.vue +834 -0
  103. package/src/filiale/siyang/pc/PlanManage.vue +839 -0
  104. package/src/filiale/siyang/pc/checkUserList.vue +781 -0
  105. package/src/filiale/siyang/pc.js +15 -0
  106. package/src/filiale/tianke/pc/checkScreen.vue +36 -31
  107. package/src/filiale/tongchuan/android/PhoneUpUserinfo.vue +60 -2
  108. package/src/filiale/tongchuan/android/SafecheckOrderV.vue +2 -3
  109. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/tongchuan/pc/checkUserList.vue +2 -2
  111. package/src/filiale/weinan/android/PaperFeedback.vue +8 -8
  112. package/src/filiale/weinan/android/SafecheckDevices.vue +6 -2
  113. package/src/filiale/weinan/android/SafecheckOrderV.vue +16 -2
  114. package/src/filiale/weinan/android/SafecheckUserInfo.vue +7 -2
  115. package/src/filiale/weinan/pc/CheckSearchUser.vue +1078 -0
  116. package/src/filiale/weinan/pc/DefectListNew.vue +617 -0
  117. package/src/filiale/weinan/pc/DefectMainNew.vue +1 -1
  118. package/src/filiale/weinan/pc/DefectPaperNew.vue +7 -1
  119. package/src/filiale/weinan/pc.js +2 -0
  120. package/src/filiale/wenxi/android/PhoneUpUserinfo.vue +1 -1
  121. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +85 -63
  122. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1 -1
  123. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +46 -1
  124. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +45 -4
  125. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +2 -2
  126. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +20 -20
  127. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +3 -3
  128. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -0
  129. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +5 -5
  130. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +17 -4
  131. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +30 -12
  132. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +2 -1
  133. package/src/filiale/yangchunboneng/android.js +1 -0
  134. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +4 -4
  135. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +76 -32
  136. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +72 -1
  137. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +187 -13
  138. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +98 -3
  139. package/src/filiale/yangchunboneng/pc/PaperList.vue +17 -0
  140. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  141. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +221 -256
  142. package/src/filiale/yongzhou/pc/CheckPlan.vue +59 -0
  143. package/src/filiale/yongzhou/pc/CheckSearchUser.vue +1 -1
  144. package/src/filiale/yongzhou/pc/DefectPaperNew.vue +1105 -0
  145. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +412 -107
  146. package/src/filiale/yongzhou/pc/PaperDefectMain.vue +872 -0
  147. package/src/filiale/yongzhou/pc/PaperList.vue +1 -1
  148. package/src/filiale/yongzhou/pc/SelectCheckPlan.vue +364 -0
  149. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +56 -125
  150. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +94 -187
  151. package/src/filiale/yongzhou/pc/safeDetail.vue +311 -20
  152. package/src/filiale/yongzhou/pc/safeStatistics.vue +74 -24
  153. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  154. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  155. package/src/filiale/yongzhou/pc/safeStatisticsYear.vue +47 -23
  156. package/src/filiale/yongzhou/pc/safeTable.vue +3 -3
  157. package/src/filiale/yongzhou/pc.js +4 -0
  158. package/src/filiale/zhongsheng/android/CurrentCreate.vue +7 -2
  159. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +6 -2
  160. package/src/main.js +1 -1
  161. package/src/rongcheng.js +3 -1
  162. package/src/safecheck-android.js +6 -0
  163. package/src/safecheck.js +3 -0
@@ -0,0 +1,167 @@
1
+ <template>
2
+ <div>
3
+ <form class="form-inline">
4
+ <div class="row form-group">
5
+ <div class="col-sm-4">
6
+ <label class="font_normal_body" for="c_plan_year">计划年份:</label>
7
+ <v-select id="c_plan_year" :value.sync="c_plan_year"
8
+ class="select_list select"
9
+ :width="'55%'"
10
+ style="width: 55%"
11
+ :options='c_year_list' close-on-select clear-button></v-select>
12
+ </div>
13
+ <div class="col-sm-4">
14
+ <label class="font_normal_body" for="c_plan_month">计划月份:</label>
15
+ <v-select id="c_plan_month" :value.sync="c_plan_month"
16
+ class="select_list select"
17
+ :width="'55%'"
18
+ style="width: 55%"
19
+ :options='c_month_list' close-on-select clear-button></v-select>
20
+ </div>
21
+ <div class="col-sm-4">
22
+ <label class="font_normal_body">安检人员:</label>
23
+ <v-select id="checker" :value.sync="model.f_checker_id" placeholder='安检员'
24
+ :value-single="true"
25
+ class="select_list select"
26
+ :width="'55%'"
27
+ style="width: 55%"
28
+ :options='checkers' close-on-select clear-button> </v-select>
29
+ </div>
30
+ </div>
31
+ <div class="row form-group">
32
+ <!--<div style="width: 65%;height:100%; display: inline-block">-->
33
+ <div class="col-sm-4">
34
+ <label class="font_normal_body">是否共享:</label>
35
+ <v-select id="share" :value.sync="model.f_is_share" placeholder='是否共享'
36
+ :value-single="true"
37
+ class="select_list select"
38
+ :width="'55%'"
39
+ style="width: 55%"
40
+ :options='shares' close-on-select clear-button> </v-select>
41
+ </div>
42
+
43
+ <div class="col-sm-4">
44
+ <label class="font_normal_body">计划名称:</label>
45
+ <input type="text" class="input_search" v-model="model.f_plan_name"
46
+ style="width: 60%" placeholder="计划名称" condition="f_plan_name like '%{}%'">
47
+ </div>
48
+ <div class="col-sm-4">
49
+ <button type="button" class="button_search" @click="search()">查询</button>
50
+ </div>
51
+ </div>
52
+ </form>
53
+ <hr>
54
+ <table class="table table_sy">
55
+ <thead>
56
+ <tr>
57
+ <th></th>
58
+ <th>计划名称</th>
59
+ <th>计划类型</th>
60
+ </tr>
61
+ </thead>
62
+ <tbody>
63
+ <tr v-for="row in model.rows">
64
+ <td @click="select(row, $index)">{{row.selected ? '☆' : ''}}</td>
65
+ <td @click="select(row, $index)">{{row.f_plan_name}}</td>
66
+ <td @click="select(row, $index)">{{row.f_plan_type}}</td>
67
+ </tr>
68
+ </tbody>
69
+ </table>
70
+ </div>
71
+ </template>
72
+
73
+ <script>
74
+ import { PagedList } from 'vue-client'
75
+ import Vue from 'vue'
76
+ import co from 'co'
77
+ import { HttpResetClass } from 'vue-client'
78
+
79
+ let selectnew = function * (self) {
80
+ let http = new HttpResetClass()
81
+ http.load('POST', '/rs/search', {
82
+ data:{
83
+ source: `this.getSpecialResByType($user$).where(row.getAttributes().get($rolesnames$)!=null ).where(row.getAttributes().get($rolesnames$).indexOf($安检员$) != -1)`,
84
+ userid: self.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)
85
+ }
86
+ }, {resolveMsg: null, rejectMsg: null}).then((res) => {
87
+ self.checkers = []
88
+ let arr = []
89
+ //tag
90
+ res.data.forEach((resRow) => {
91
+ if(!arr.includes(resRow.name) && resRow.state == '在职'){
92
+ arr.push(resRow.name)
93
+ self.checkers.push({label:resRow.name,value:resRow.id})
94
+ }
95
+ })
96
+ self.checkers.push({label:'全部',value:''})
97
+ })
98
+ }
99
+
100
+
101
+ export default {
102
+ title: '选择安检计划',
103
+ props: ['f'],
104
+ data() {
105
+ let options = []
106
+ let year = (new Date()).getFullYear()
107
+ for(let i = year - 8; i <= year +1; i++ )
108
+ options.push({label: i+'', value: i+''})
109
+ let moptions = []
110
+ for(let i=1; i<=12; i++)
111
+ moptions.push({label: i + '', value: i + ''})
112
+ let model = new PagedList('rs/sql/按年月人员提取安检计划', 20,
113
+ {f_subcompany:'this.f_subcompany',f_plan_name:'this.f_plan_name',f_checker_id: 'this.f_checker_id', f_plan_year: 'this.f_plan_year', f_plan_month: 'this.f_plan_month', f_is_share: 'this.f_is_share',f_filialeid:'this.f_filialeid'})
114
+ model.f_checker_id = ''
115
+ model.f_plan_name=''
116
+ model.f_filialeid = this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)
117
+ return {
118
+ checker:'',
119
+ checkers:[],
120
+ shares: [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}],
121
+ c_plan_year: [year + ''],
122
+ c_year_list: options,
123
+ c_month_list: moptions,
124
+ c_plan_month: [moptions[new Date().getMonth()].value],
125
+ model: model,
126
+ selectedRow: {}
127
+ }
128
+ },
129
+ ready () {
130
+ this.model.f_plan_year = this.c_plan_year[0]
131
+ this.model.f_plan_month = this.c_plan_month[0]
132
+ this.model.f_subcompany = this.$login.f.f_orgids.substring(0,this.$login.f.f_orgids.length-1)
133
+ //tag
134
+ //tag
135
+ //tag
136
+ this.model.f_plan_name=''
137
+ let gen = selectnew(this)
138
+ return co(gen)
139
+ },
140
+ watch: {
141
+ 'c_plan_year' (val) {
142
+ this.model.f_plan_year = val[0]
143
+ },
144
+ 'c_plan_month' (val) {
145
+ this.model.f_plan_month = val[0]
146
+ },
147
+ 'checker'(){
148
+ //tag
149
+ this.selectedRow = {}
150
+ }
151
+ },
152
+ methods: {
153
+ search () {
154
+ //this.model.rows = []
155
+ this.model.rows = []
156
+ this.model.search()
157
+ },
158
+ select(row, idx) {
159
+ if(this.selectedRow)
160
+ this.$set('model.rows[' + this.selectedRow.idx + '].selected', false)
161
+ this.selectedRow = row
162
+ this.selectedRow.idx = idx
163
+ this.$set('model.rows[' + idx + '].selected', true)
164
+ }
165
+ }
166
+ }
167
+ </script>