safecheck-client 3.0.34-1 → 3.0.34-100

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 (183) hide show
  1. package/package.json +1 -1
  2. package/src/App-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.vue +55 -0
  3. package/src/assets/123.png +0 -0
  4. package/src/assets/f8632d3c8c4c1cb68e99da754cab1a7.png +0 -0
  5. package/src/components/LoadData.vue +62 -0
  6. package/src/components/NewDefectList/DefectListNew.vue +1 -0
  7. package/src/components/android/AddPlanItemYy.vue +451 -0
  8. package/src/components/android/AndroidDefectDeal.vue +1 -0
  9. package/src/components/android/AndroidDefectDealBeforeSafe.vue +502 -0
  10. package/src/components/android/AreaPlan.vue +1 -7
  11. package/src/components/android/AreaSelect.vue +198 -0
  12. package/src/components/android/BuildingSelect.vue +192 -0
  13. package/src/components/android/CheckPlanSelect.vue +229 -0
  14. package/src/components/android/CurrentCreateYy.vue +1051 -0
  15. package/src/components/android/ImgSelfAndroid.vue +181 -181
  16. package/src/components/android/PaperFeedback.vue +34 -1
  17. package/src/components/android/PaperFeedbackTemp.vue +1 -1
  18. package/src/components/android/QRCode/QRCodeBinding.vue +300 -0
  19. package/src/components/android/QRCode/QRCodePage.vue +212 -0
  20. package/src/components/android/SafecheckDevices.vue +4 -4
  21. package/src/components/android/SafecheckDevicesTemp.vue +1 -1
  22. package/src/components/android/SafecheckOrderV.vue +8 -12
  23. package/src/components/android/UserinfoSelect.vue +714 -0
  24. package/src/components/android/examples/410.png +0 -0
  25. package/src/components/android/examples/SafeListExamples.vue +296 -0
  26. package/src/components/android/examples/UserExamples.vue +137 -0
  27. package/src/components/android/examples/ViewDetailsExamples.vue +1235 -0
  28. package/src/components/android/examples/touxiang.png +0 -0
  29. package/src/components/android/userinfo/SafecheckUserInfo.vue +1 -1
  30. package/src/components/pc/SafeVisitInfo.vue +261 -0
  31. package/src/components/rongcheng/AddPlanItem.vue +8 -0
  32. package/src/components/rongcheng/AspiratedAreaPlan.vue +574 -464
  33. package/src/components/rongcheng/AspiratedUserInfo.vue +1 -1
  34. package/src/components/rongcheng/CheckSearchUser.vue +46 -16
  35. package/src/components/rongcheng/PaperStatem.vue +6 -1
  36. package/src/components/rongcheng/PhoneDevicesInfo.vue +16 -1
  37. package/src/components/rongcheng/PhoneUpUserinfo.vue +1236 -1328
  38. package/src/components/rongcheng/SafecheckOrderV.vue +12 -3
  39. package/src/components/rongcheng/SafecheckOrderVCli.vue +9 -0
  40. package/src/filiale/baiyin/android/AndroidDefectDeal.vue +633 -633
  41. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -0
  42. package/src/filiale/baiyin/android.js +11 -10
  43. package/src/filiale/baiyin/pc/CheckPlanAreaList.vue +485 -485
  44. package/src/filiale/baiyin/pc/CheckSearchUser.vue +1067 -1067
  45. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  46. package/src/filiale/baiyin/pc/DefectMainNew.vue +63 -63
  47. package/src/filiale/baiyin/pc/DefectPaperNew.vue +1052 -1052
  48. package/src/filiale/baiyin/pc/PaperList.vue +790 -790
  49. package/src/filiale/baiyin/pc/PlanChooser.vue +167 -167
  50. package/src/filiale/baiyin/pc/PlanManage.vue +834 -834
  51. package/src/filiale/baiyin/pc/RightTreeSafe.vue +348 -348
  52. package/src/filiale/baiyin/pc/RoleSelector.vue +160 -160
  53. package/src/filiale/bayan/android/AddPlanItem.vue +8 -0
  54. package/src/filiale/bayan/android/PaperFeedback.vue +68 -50
  55. package/src/filiale/bayan/android/PhoneUpUserinfo.vue +40 -40
  56. package/src/filiale/bayan/android/SafecheckDevices.vue +1 -1
  57. package/src/filiale/bayan/android/SafecheckOrderV.vue +58 -58
  58. package/src/filiale/bayan/android/SafecheckUserInfo.vue +6 -1
  59. package/src/filiale/bayan/pc/NewCheckpaper.vue +50 -46
  60. package/src/filiale/bayan/pc/PaperList.vue +1 -0
  61. package/src/filiale/dexin/android/SafecheckDevices.vue +1 -1
  62. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +35 -15
  63. package/src/filiale/hanzhong/android/PaperFeedback.vue +1 -1
  64. package/src/filiale/hanzhong/android/SafecheckDevices.vue +1 -1
  65. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +1 -1
  66. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -0
  67. package/src/filiale/huaran/android.js +12 -0
  68. package/src/filiale/huaran/pc/CheckBook.vue +313 -0
  69. package/src/filiale/huaran/pc/CheckBookAll.vue +69 -0
  70. package/src/filiale/huaran/pc/CheckBookArea.vue +170 -0
  71. package/src/filiale/huaran/pc/CheckBookCompany.vue +166 -0
  72. package/src/filiale/huaran/pc/CheckBookDetails.vue +196 -0
  73. package/src/filiale/huaran/pc/CheckBookEntry.vue +61 -0
  74. package/src/filiale/huaran/pc/CheckBookList.vue +386 -0
  75. package/src/filiale/huaran/pc/CheckBookSearchArea.vue +564 -0
  76. package/src/filiale/huaran/pc/CheckBookSearchUnit.vue +229 -0
  77. package/src/filiale/huaran/pc/CheckBookSearchUser.vue +604 -0
  78. package/src/filiale/huaran/pc/CheckBookUser.vue +112 -0
  79. package/src/filiale/huaran/pc/PaperList.vue +822 -0
  80. package/src/filiale/huaran/pc/PlanManage.vue +887 -0
  81. package/src/filiale/huaran/pc/checkPlanList.vue +419 -0
  82. package/src/filiale/huaran/pc/checkUserList.vue +867 -0
  83. package/src/filiale/huaran/pc.js +27 -0
  84. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -0
  85. package/src/filiale/jiaxian/android/PhoneUpUserinfo.vue +1229 -0
  86. package/src/filiale/jiaxian/android/SafecheckDevices.vue +1298 -1298
  87. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -0
  88. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -0
  89. package/src/filiale/jiaxian/android.js +14 -10
  90. package/src/filiale/jiaxian/pc.js +12 -12
  91. package/src/filiale/jingyang/android/PaperFeedback.vue +1 -1
  92. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +1 -1
  93. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +15 -7
  94. package/src/filiale/pingxiang/android/PaperFeedback.vue +1 -1
  95. package/src/filiale/qianneng/android/SafecheckOrderV.vue +1 -1
  96. package/src/filiale/qingjian/android/PhoneUpUserinfo.vue +1270 -1270
  97. package/src/filiale/qingjian/android/SafecheckDevices.vue +1 -1
  98. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  99. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +1 -1
  100. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -0
  101. package/src/filiale/qingtongxia/android/CurrentCreate.vue +1053 -0
  102. package/src/filiale/qingtongxia/android/PhoneUpUserinfo.vue +1230 -0
  103. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -0
  104. package/src/filiale/qingtongxia/android.js +4 -0
  105. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -0
  106. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -0
  107. package/src/filiale/ruihua/android.js +11 -0
  108. package/src/filiale/shanxian/android/AddPlanItem.vue +447 -0
  109. package/src/filiale/shanxian/android/SafecheckOrderV.vue +1 -1
  110. package/src/filiale/shanxian/android.js +1 -0
  111. package/src/filiale/shanxian/pc/PaperList.vue +785 -0
  112. package/src/filiale/shanxian/pc/checkUserList.vue +4 -4
  113. package/src/filiale/shanxian/pc.js +2 -2
  114. package/src/filiale/shiquan/android/SafecheckDevices.vue +1 -1
  115. package/src/filiale/siyang/android/AddPlanItem.vue +450 -0
  116. package/src/filiale/siyang/android/AppCheckPlan.vue +246 -0
  117. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -0
  118. package/src/filiale/siyang/android/SafecheckUserInfo.vue +1 -1
  119. package/src/filiale/siyang/android.js +4 -0
  120. package/src/filiale/siyang/pc/CheckBookList.vue +396 -0
  121. package/src/filiale/siyang/pc/CheckBookSearchArea.vue +667 -0
  122. package/src/filiale/siyang/pc/CheckPlanAreaList.vue +512 -0
  123. package/src/filiale/siyang/pc/CheckSearchUser.vue +1035 -0
  124. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -0
  125. package/src/filiale/siyang/pc/checkPlanList.vue +367 -0
  126. package/src/filiale/siyang/pc/checkUserList.vue +22 -18
  127. package/src/filiale/siyang/pc.js +6 -0
  128. package/src/filiale/tongchuan/android/SafecheckDevices.vue +2 -2
  129. package/src/filiale/tongchuan/android/Select.vue +421 -0
  130. package/src/filiale/tongchuan/android.js +1 -0
  131. package/src/filiale/tongchuan/pc/CheckPlanCountChartArea.vue +3 -1
  132. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +6 -2
  133. package/src/filiale/tongchuan/pc/HiddenSituation.vue +3 -1
  134. package/src/filiale/tongchuan/pc/NewCheckpaper.vue +13 -22
  135. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +1 -1
  136. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +5 -2
  137. package/src/filiale/tongchuan/pc/checkUserList.vue +30 -0
  138. package/src/filiale/tongchuan/utils/EventListener.js +29 -0
  139. package/src/filiale/tongchuan/utils/coerceBoolean.js +7 -0
  140. package/src/filiale/weinan/android/SafecheckDevices.vue +1 -1
  141. package/src/filiale/weinan/android/SafecheckOrderV.vue +6 -2
  142. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +75 -62
  143. package/src/filiale/weinan/pc/CheckDetail.vue +11 -11
  144. package/src/filiale/weinan/pc/DefectPaperNew.vue +31 -0
  145. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -0
  146. package/src/filiale/weinan/pc/checkUserList.vue +49 -113
  147. package/src/filiale/weinan/pc.js +1 -0
  148. package/src/filiale/wuan/android/SafecheckOrderV.vue +5 -1
  149. package/src/filiale/wuan/android/SafecheckUserInfo.vue +10 -5
  150. package/src/filiale/xilan/android/AddPlanItem.vue +457 -0
  151. package/src/filiale/xilan/android/CurrentCreate.vue +1063 -0
  152. package/src/filiale/xilan/android.js +11 -0
  153. package/src/filiale/xilan/pc/checkUserList.vue +772 -0
  154. package/src/filiale/xilan/pc.js +12 -0
  155. package/src/filiale/yangchunboneng/android/CurrentCreate.vue +8 -11
  156. package/src/filiale/yangchunboneng/android/DailyworkloadQuery.vue +8 -13
  157. package/src/filiale/yangchunboneng/android/NewCheckpaperAndroid.vue +1362 -1362
  158. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  159. package/src/filiale/yangchunboneng/android/PhoneUpUserinfo.vue +1235 -1235
  160. package/src/filiale/yangchunboneng/android/SafecheckDevices.vue +1336 -1332
  161. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2845
  162. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  163. package/src/filiale/yangchunboneng/android/safeHistoryLook.vue +8 -13
  164. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +23 -11
  165. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +9 -9
  166. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +96 -30
  167. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +1192 -1192
  168. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +54 -3
  169. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +1046 -944
  170. package/src/filiale/yangchunboneng/pc/PaperList.vue +29 -0
  171. package/src/filiale/yongzhou/android/PaperFeedback.vue +1 -1
  172. package/src/filiale/yongzhou/android/SafecheckDevices.vue +1 -1
  173. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +1 -1
  174. package/src/filiale/yuansheng/android/SafecheckDevices.vue +11 -1
  175. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +10 -2
  176. package/src/filiale/yunchengminsheng/android/PaperFeedback.vue +1 -1
  177. package/src/filiale/yunchengminsheng/android/SafecheckDevices.vue +1 -1
  178. package/src/filiale/yunchengminsheng/android/SafecheckUserInfo.vue +1 -1
  179. package/src/main-/345/215/225/351/241/265/351/235/242/346/211/223/345/214/205/347/224/250.js +24 -0
  180. package/src/main.js +33 -33
  181. package/src/safecheck-android.js +307 -296
  182. package/src/safecheck-page.js +12 -0
  183. package/src/safecheck.js +3 -0
@@ -0,0 +1,502 @@
1
+ <style scoped>
2
+ .bg {
3
+ background-color: blue;
4
+ height: 1px;
5
+ border: 0;
6
+ }
7
+
8
+ .app-row {
9
+ background-color: white;
10
+ padding: 10px 10px 0 10px;
11
+ border-bottom: 1px solid rgba(235, 235, 235, 0.5);
12
+ }
13
+
14
+ .search_input {
15
+ border: 0;
16
+ outline: none;
17
+ }
18
+
19
+ .font {
20
+ font: 15px PingFang-SC-Medium;
21
+ color: #666666;
22
+ }
23
+
24
+ .input-font {
25
+ font: 15px PingFang-SC-Medium;
26
+ color: #333333;
27
+ }
28
+
29
+ .btn-font {
30
+ font: 600 16px PingFang-SC-Bold;
31
+ color: #499EDF;
32
+ }
33
+
34
+ .btn-color {
35
+ background-color: #FFFFFF;
36
+ border-radius: 10px;
37
+ border: 1px solid #499EDF;
38
+ }
39
+
40
+ .app-text {
41
+ font-size: 12px;
42
+ }
43
+
44
+ .panel-self {
45
+ border-radius: 10px;
46
+ border: 1px solid #499EDF;
47
+ background-color: #F8F8F8;
48
+ }
49
+
50
+ .yybtn-color {
51
+ background-color: #499edf;
52
+ border-radius: 4px;
53
+ border: 1px solid #499EDF;
54
+ color: #FFFFFF;
55
+ font: 14px PingFang-SC-Bold;
56
+ }
57
+
58
+ .qxbtn-color {
59
+ background-color: #FFFFFF;
60
+ border-radius: 4px;
61
+ color: #499edf;
62
+ font: 14px PingFang-SC-Bold;
63
+ border: 1px solid #499EDF;
64
+ }
65
+
66
+ .button_shrink_top {
67
+ width: 35px;
68
+ height: 35px;
69
+ background-size: 100%;
70
+ background-image: url("../../../static/newStyle/stretch_top.png")
71
+ }
72
+
73
+ .button_shrink_bottom {
74
+ width: 35px;
75
+ height: 35px;
76
+ background-size: 100%;
77
+ background-image: url("../../../static/newStyle/stretch_bottom.png")
78
+ }
79
+
80
+ .button_shrink_left {
81
+ width: 35px;
82
+ height: 35px;
83
+ background-size: 100%;
84
+ background-image: url("../../../static/newStyle/stretch_left.png")
85
+ }
86
+
87
+ .button_shrink_right {
88
+ width: 35px;
89
+ height: 35px;
90
+ background-size: 100%;
91
+ background-image: url("../../../static/newStyle/stretch_right.png")
92
+ }
93
+ </style>
94
+ <template>
95
+ <div style="height: auto;width: 100%">
96
+ <criteria-paged :model="model" v-ref:paged :pager="false">
97
+ <list :model="model" partial='list'>
98
+ <div partial>
99
+ <div class="auto app-text" style="margin-top: 5px;">
100
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
101
+ <div class="panel-body panel-self">
102
+ <div class="col-xs-12">
103
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户编号:</b></p>
104
+ <p class="panel-title col-xs-5 text-left input-font" style="width: 74%">{{ row.f_userinfo_code }}</p>
105
+ </div>
106
+ <div class="col-xs-12">
107
+ <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
108
+ <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_user_name }}</p>
109
+ </div>
110
+ <div class="col-xs-12">
111
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>用户电话:</b></p>
112
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_user_phone }}</p>
113
+ </div>
114
+ <div class="col-xs-12">
115
+ <p class="panel-title text-left font" style="width: 23%;float: left"><b>安检时间:</b></p>
116
+ <p class="panel-title text-left input-font" style="width: 77%">{{ row.f_create_time }}</p>
117
+ </div>
118
+ <div class="col-xs-12">
119
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
120
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_address }}</p>
121
+ </div>
122
+ <div class="col-xs-12">
123
+ <p class="panel-title text-left font" style="width: 21%;float: left"><b>所属安检:</b></p>
124
+ <p class="panel-title text-left input-font" style="width: 79%">{{ row.f_checker_name }}</p>
125
+ </div>
126
+ <div class="col-xs-6">
127
+ <p class="panel-title col-xs-5 text-left font"><b>检&ensp;查&ensp;项:</b></p>
128
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_device_type }}</p>
129
+ </div>
130
+ <div class="col-xs-6">
131
+ <p class="panel-title col-xs-5 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
132
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_name }}</p>
133
+ </div>
134
+ <div class="col-xs-12">
135
+ <p class="panel-title col-xs-5 text-left font"><b>备注:</b></p>
136
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_comments }}</p>
137
+ </div>
138
+ <div class="col-xs-12">
139
+ <p class="panel-title col-xs-5 text-left font"><b>隐患原因:</b></p>
140
+ <p class="panel-title col-xs-7 text-left input-font">{{ row.f_item_value }}</p>
141
+ </div>
142
+
143
+ <div class="col-xs-12">
144
+ <button type="button" name="button" class="btn btn-primary"
145
+ style="background-color:#499edf;float: right"
146
+ @click="$parent.$parent.$parent.openshowModal(row)">查看
147
+ </button>
148
+ <button type="button" name="button" class="btn btn-primary"
149
+ style="background-color:#499edf;float: right;margin-right:10px;"
150
+ @click="$parent.$parent.$parent.openshowModal1(row)">处理
151
+ </button>
152
+ <!--<button type="button" class="btn btn-default" @click="$parent.$parent.$parent.ceshi">确认2</button>-->
153
+ </div>
154
+ </div>
155
+ </div>
156
+ </div>
157
+ </div>
158
+ </list>
159
+ </criteria-paged>
160
+ </div>
161
+ <modal :show.sync="showModal">
162
+ <div slot="modal-header" class="modal-header">
163
+ <h4 class="modal-title">
164
+ 隐患照片
165
+ </h4>
166
+ </div>
167
+ <div slot="modal-body" class="modal-body">
168
+ <div class="from-group">
169
+ <div class="row">
170
+ <div class="col-md-6">
171
+ <img-self v-if="row.f_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_path" width="300" height="400"></img-self>
172
+ <img-self v-if="row.f_p1_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p1_path" width="300" height="400"></img-self>
173
+ <img-self v-if="row.f_p2_path" :src="`${this.$androidUtil.getProxyUrl()}/rs/image/file/`+row.f_p2_path" width="300" height="400"></img-self>
174
+ </div>
175
+ </div>
176
+ </div>
177
+ </div>
178
+ <div slot="modal-footer" class="modal-footer">
179
+ <button type="button" class="btn btn-default" @click="closeshowModal">确认</button>
180
+ </div>
181
+ </modal>
182
+ <modal :show.sync="showModal1">
183
+ <div slot="modal-header" class="modal-header">
184
+ <h4 class="modal-title">
185
+ 处理结果
186
+ </h4>
187
+ </div>
188
+ <div slot="modal-body" class="modal-body">
189
+ <div class="row" style="margin-bottom: 10px">
190
+ <p class="panel-title col-xs-3 text-left font"><b>隐&ensp;患&ensp;项:</b></p>
191
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_name }}</p>
192
+ </div>
193
+ <div class="row" style="margin-bottom: 10px">
194
+ <p class="panel-title col-xs-3 text-left font"><b>隐患原因:</b></p>
195
+ <p class="panel-title col-xs-9 text-left input-font">{{ deal.result.f_item_value }}</p>
196
+ </div>
197
+ <div class="form-group col-sm-12">
198
+ <div class="auto">
199
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
200
+ <div class="panel-body panel-self"
201
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
202
+ <img-self :src="deal.f_deal_path" alt="整改照片" :width="140" :height="170" capture="camera"
203
+ type="file"></img-self>
204
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
205
+ <img src="../../assets/remove.png" @click="delfile('f_deal_path', deal.f_deal_path)"></img>
206
+ <button type="button" name="button" class="btn btn-primary btn-photo"
207
+ @click="takePic('f_deal_path','整改照片')">拍照
208
+ </button>
209
+ </div>
210
+ </div>
211
+ <div class="panel-body panel-self"
212
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
213
+ <img-self :src="deal.f_other_dealpath1" alt="整改照片" :width="140" :height="170" capture="camera"
214
+ type="file"></img-self>
215
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
216
+ <img src="../../assets/remove.png" @click="delfile('f_other_dealpath1', deal.f_other_dealpath1)"></img>
217
+ <button type="button" name="button" class="btn btn-primary btn-photo"
218
+ @click="takePic('f_other_dealpath1','整改照片')">拍照
219
+ </button>
220
+ </div>
221
+ </div>
222
+ <div class="panel-body panel-self"
223
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
224
+ <img-self :src="deal.f_other_dealpath2" alt="整改照片" :width="140" :height="170" capture="camera"
225
+ type="file"></img-self>
226
+ <div class="row text-right div-photo" style="height: 50px;margin-top: -30px">
227
+ <img src="../../assets/remove.png" @click="delfile('f_other_dealpath2', deal.f_other_dealpath2)"></img>
228
+ <button type="button" name="button" class="btn btn-primary btn-photo"
229
+ @click="takePic('f_other_dealpath2','整改照片')">拍照
230
+ </button>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ </div>
236
+ <div class="form-group col-sm-12" v-if="isNeedDealSign">
237
+ <p class="panel-title text-left font" style="text-align: center">用户签名:</p>
238
+ <div class="auto">
239
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
240
+ <div class="panel-body panel-self"
241
+ style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
242
+ <img :src="deal.f_dealsign_path" :width="200" :height="150"/>
243
+ <div class="row text-right div-photo" style="height: 50px;margin-top: 60px">
244
+ <button type="button" name="button" class="btn btn-primary btn-photo" @click="sign">签名</button>
245
+ </div>
246
+ </div>
247
+ </div>
248
+ </div>
249
+ </div>
250
+ <div class="row">
251
+ <div class="col-xs-2">
252
+ <p class="panel-title text-left font" style="text-align: center">处理结果</p>
253
+ </div>
254
+ <div class="col-xs-9">
255
+ <textarea class="input-font " v-model=deal.f_deal_remark style="width: 100%"></textarea>
256
+ </div>
257
+ </div>
258
+ <div v-if="isCancelLimitGas" style="display: flex;align-items: end;height: 30px;gap: 10px;padding-left: 16px;">
259
+ <input type="checkbox" v-model="deletebacklistisselect"/>
260
+ <div style="height: 18px">取消限制该用户购气</div>
261
+ </div>
262
+ </div>
263
+ <div slot="modal-footer" class="modal-footer">
264
+ <button type="button" class="btn btn-default" @click="commitDealDefect">确认</button>
265
+ <button type="button" class="btn btn-default" @click="closeshowModal1">取消</button>
266
+ </div>
267
+ </modal>
268
+ </template>
269
+
270
+ <script>
271
+ import Vue from 'vue'
272
+ import {HttpResetClass, PagedList} from 'vue-client'
273
+ import * as Util from '../Util'
274
+
275
+ export default {
276
+ props:['row'],
277
+ title: '无计划安检查询',
278
+ data() {
279
+ return {
280
+ row:{},
281
+ showModal: false,
282
+ showModal1: false,
283
+ showimg: '',
284
+ deal: {
285
+ result: {},
286
+ f_deal_path: '',
287
+ f_other_dealpath1: '',
288
+ f_other_dealpath2: '',
289
+ f_deal_remark: '',
290
+ f_dealsign_path: '', //签名
291
+ f_dealer: Vue.user.name,
292
+ f_dealer_id: Vue.user.id
293
+ },
294
+ user_types: [
295
+ {label: '请选择用户类型', value: ''},
296
+ {label: '民用', value: '民用'},
297
+ {label: '非民用', value: '非民用'},
298
+ ],
299
+ f_filialeids: '',
300
+ model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/AndroidDealWith`, 20, {
301
+ condition: 'this.condition',
302
+ f_filialeids: `'${Vue.user.orgid}'`,
303
+ f_checker_id: `'${Vue.user.id}'`
304
+ }),
305
+ criteriaShow: false,
306
+ isNeedDealSign: this.$appdata.getSingleValue('隐患处理是否需要签名') == 'true',
307
+ isCancelLimitGas: this.$appdata.getSingleValue('隐患处理-取消限制购气') == '是',
308
+ deletebacklistisselect: false
309
+ }
310
+ },
311
+ ready() {
312
+ debugger
313
+ this.selfSearch()
314
+ },
315
+ methods: {
316
+ async deletebacklist() {
317
+ ////tag)
318
+ let http = new HttpResetClass()
319
+ ////tag
320
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/safe_singleTable_OrderBy`, {
321
+ data: {
322
+ items: "*",
323
+ tablename: "t_userinfo",
324
+ condition: `f_userinfo_code = ${this.deal.result.f_userinfo_code}`,
325
+ orderitem: "f_userinfo_code"
326
+ }
327
+ }, {resolveMsg: null, rejectMsg: null})
328
+ ////tag)
329
+ ////tag
330
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/logic/backlistOperate`, {
331
+ data: {
332
+ "f_operat_type": "取消拉黑",
333
+ "f_state": "有效",
334
+ "f_user_name": this.deal.result.f_user_name,
335
+ "f_comments": '',
336
+ "f_operator": Vue.user.name,
337
+ "f_operatorid": Vue.user.id,
338
+ "f_orgid": Vue.user.orgid,
339
+ "f_orgname": Vue.user.orgs,
340
+ "f_depid": Vue.user.depids,
341
+ "f_depname": Vue.user.deps,
342
+ "f_describe": `${Vue.user.name}对用户${this.deal.result.f_user_name}进行取消拉黑`,
343
+ "f_userinfo_id": {
344
+ "f_userinfo_id": res1.data[0].f_userinfo_id,
345
+ "f_user_state": "正常",
346
+ "version": res1.data[0].version
347
+ },
348
+ "f_limit_times":"",
349
+ "f_limit_value":""
350
+ }
351
+ }, {resolveMsg: null, rejectMsg: null})
352
+ },
353
+ // 签名回调
354
+ signCallback(prop, fileName) {
355
+ console.log("签名回调地址" + fileName)
356
+ // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
357
+ HostApp.__this__.$set('deal.f_dealsign_path', fileName)
358
+ HostApp.__callback__ = null
359
+ HostApp.__this__ = null
360
+ },
361
+ // 用户签名
362
+ sign() {
363
+ if (!this.deal.f_deal_path) {
364
+ this.$showMessage('请先拍摄处理后照片!!!')
365
+ return
366
+ }
367
+ this.delAudioFile('f_dealsign_path', this.deal.f_dealsign_path)
368
+ let prop = 'f_dealsign_path'
369
+ let idx = 'aofeng'
370
+ let fileName
371
+ if (!this.deal.f_dealsign_path) {
372
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
373
+ } else {
374
+ fileName = Util.getFileName(this.deal.f_dealsign_path)
375
+ }
376
+ HostApp.__callback__ = this.signCallback
377
+ HostApp.__this__ = this
378
+ HostApp.getSignature({
379
+ file: fileName,
380
+ requestCode: 111,
381
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
382
+ })
383
+ },
384
+ delAudioFile(prop, fileName) {
385
+ if (!fileName)
386
+ return
387
+ else {
388
+ HostApp.delfile(fileName)
389
+ this.deal[prop] = null
390
+ }
391
+ },
392
+ commitDealDefect() {
393
+ //tag
394
+ //tag)
395
+ // if (!this.deal.f_deal_path) {
396
+ // this.$showMessage('处理后照片必须上传')
397
+ // return
398
+ // }
399
+ if (this.isNeedDealSign && !this.deal.f_dealsign_path) {
400
+ this.$showMessage('签名必须上传')
401
+ return
402
+ }
403
+ if (this.deletebacklistisselect){
404
+ this.deletebacklist()
405
+ }
406
+ this.deal.f_other_dealpath = this.deal.f_deal_path
407
+ HostApp.__this__ = this
408
+ HostApp.logicWithHint({
409
+ 'logic': 'safe_dealWithDefect', 'callback': 'javascript: HostApp.__this__.commitCallBack()',
410
+ 'data': this.deal, 'backresult': 1
411
+ })
412
+ },
413
+ commitCallBack(jo) {
414
+ //tag
415
+ //tag)
416
+ if (jo.state == 'ok') {
417
+ let ress = JSON.parse(jo.result)
418
+ if (ress.code == 200) {
419
+ this.$showMessage(ress.msg)
420
+ this.closeshowModal1()
421
+ } else {
422
+ this.$showMessage(ress.msg)
423
+ }
424
+ } else {
425
+ this.$showMessage('本地服务调用失败')
426
+ }
427
+ },
428
+ delfile(prop, fileName) {
429
+ if (fileName == Vue.nopic)
430
+ return
431
+ else {
432
+ HostApp.delfile(fileName)
433
+ this.deal[prop] = Vue.nopic
434
+ }
435
+ },
436
+ openshowModal(val) {
437
+ this.row = val
438
+ this.showModal = true
439
+ },
440
+ closeshowModal() {
441
+ this.showimg = ''
442
+ this.showModal = false
443
+ },
444
+ openshowModal1(val) {
445
+ this.deal.result = val
446
+ //tag
447
+ //tag
448
+ this.deletebacklistisselect = false
449
+ this.showModal1 = true
450
+ },
451
+ closeshowModal1() {
452
+ this.deal = {
453
+ result: {},
454
+ f_deal_path: '',
455
+ f_other_dealpath1: '',
456
+ f_other_dealpath2: '',
457
+ f_deal_remark: '',
458
+ f_dealsign_path: '', //签名
459
+ f_dealer: Vue.user.name,
460
+ f_dealer_id: Vue.user.id
461
+ }
462
+ this.showModal1 = false
463
+ this.selfSearch()
464
+ },
465
+ cameraCallBack(prop, fileName) {
466
+ HostApp.__this__.$set( 'deal.'+prop+'', fileName)
467
+ HostApp.__callback__ = null
468
+ HostApp.__this__ = null
469
+ },
470
+ takePic(prop, title) {
471
+ HostApp.__callback__ = this.cameraCallBack
472
+ HostApp.__this__ = this
473
+ let fileName
474
+ if (!this.deal[prop] || this.deal[prop].includes("nopic.png")) {
475
+ fileName = Util.guid() + '-' + prop + '.jpg'
476
+ } else {
477
+ fileName = Util.getFileName(this.deal[prop])
478
+ }
479
+ //tag
480
+ //tag
481
+ HostApp._open_a_page({
482
+ type: 'boomerang',
483
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
484
+ param: {
485
+ file: fileName,
486
+ requestCode: 111,
487
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
488
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name
489
+ }
490
+ })
491
+ },
492
+ selfSearch() {
493
+ let condition = `tcp.f_userinfo_code = '${this.row.f_userinfo_code}'`
494
+ this.model.search(condition)
495
+ },
496
+
497
+ hidden() {
498
+ this.criteriaShow = !this.criteriaShow
499
+ }
500
+ }
501
+ }
502
+ </script>
@@ -424,13 +424,7 @@
424
424
  {label: '未检', value: '未检'},
425
425
  {label: '已检', value: '已检'},
426
426
  ],
427
- last_check_states: [
428
- {label: '请选择上次安检状态', value: ''},
429
- {label: '入户', value: '入户'},
430
- {label: '拒检', value: '拒检'},
431
- {label: '到访不遇', value: '到访不遇'},
432
- {label: '未使用天然气', value: '未使用天然气'}
433
- ],
427
+ last_check_states: Vue.$appdata.getParam('安检状态'),
434
428
  upload_states: [
435
429
  {label: '请选择上传状态', value: ''},
436
430
  {label: '未传', value: '未传'},