safecheck-client 4.0.0-21 → 4.0.0-23

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 (251) hide show
  1. package/package.json +1 -1
  2. package/src/components/CheckerCount/CheckCountUserList.vue +144 -144
  3. package/src/components/DefectDealMain/DefectListNew.vue +642 -642
  4. package/src/components/android/AddPlanItem.vue +447 -447
  5. package/src/components/android/AddPlanItemYy.vue +451 -451
  6. package/src/components/android/AddSpecialPlanItem.vue +426 -426
  7. package/src/components/android/BlackUserOnLine.vue +318 -318
  8. package/src/components/android/CurrentCreateYy.vue +1051 -1051
  9. package/src/components/android/Devices.vue +327 -327
  10. package/src/components/android/Devicesm.vue +327 -327
  11. package/src/components/android/PaperFeedbackTemp.vue +1470 -1470
  12. package/src/components/android/PaperFeedbackm.vue +1026 -1026
  13. package/src/components/android/PhoneRecordInfo.vue +113 -113
  14. package/src/components/android/PhoneSellInfo.vue +113 -113
  15. package/src/components/android/PhoneUpDetail.vue +1040 -1040
  16. package/src/components/android/QRCode/QRCodeBinding.vue +300 -300
  17. package/src/components/android/QRCode/QRCodePage.vue +212 -212
  18. package/src/components/android/SafePlanItem.vue +509 -509
  19. package/src/components/android/SafecheckDevices.vue +1337 -1337
  20. package/src/components/android/UserinfoSelect.vue +714 -714
  21. package/src/components/android/examples/SafeListExamples.vue +296 -296
  22. package/src/components/android/old/PaperFeedback.vue +1015 -1015
  23. package/src/components/android/recheck/Recheck.vue +402 -402
  24. package/src/components/android/userinfo/SafecheckUserInfo.vue +776 -776
  25. package/src/components/checkplan/checkmsg.vue +459 -459
  26. package/src/components/defect/DefectList.vue +507 -507
  27. package/src/components/defect/DefectListWeixiu.vue +484 -484
  28. package/src/components/filialCircle/CircleList.vue +139 -139
  29. package/src/components/inspections/AddInspectPlanItem.vue +325 -325
  30. package/src/components/inspections/AddInspectPlanItems.vue +325 -325
  31. package/src/components/inspections/AddInspectPlanItemss.vue +317 -317
  32. package/src/components/inspections/DisplayInspectionList.vue +1224 -1224
  33. package/src/components/inspections/inspectionFeedback.vue +720 -720
  34. package/src/components/inspections/inspectionOrderV.vue +1853 -1853
  35. package/src/components/inspections/inspectionOrderVs.vue +1853 -1853
  36. package/src/components/inspections/inspectionOrderVss.vue +1856 -1856
  37. package/src/components/inspections/inspectionUserInfo.vue +398 -398
  38. package/src/components/pc/AnnouncementPC.vue +524 -524
  39. package/src/components/pc/DefectList.vue +742 -742
  40. package/src/components/pc/DeviceChange.vue +1068 -1068
  41. package/src/components/pc/SafeVisitInfo.vue +261 -261
  42. package/src/components/planmanage/PlanManage.vue +886 -888
  43. package/src/components/planmanage/checkPlanList.vue +368 -368
  44. package/src/components/querycheckpaper/CheckPaperList.vue +130 -130
  45. package/src/components/report/HiddenSituation.vue +165 -165
  46. package/src/components/rongcheng/AspPaperFeedback.vue +1179 -1179
  47. package/src/components/rongcheng/AspiratedOrderV.vue +2377 -2377
  48. package/src/components/rongcheng/CurrentCreateOnline.vue +906 -906
  49. package/src/components/rongcheng/DefectList.vue +560 -560
  50. package/src/components/rongcheng/PaperFeedback.vue +1318 -1318
  51. package/src/components/rongcheng/SafecheckOrderVCli.vue +2641 -2641
  52. package/src/components/safecheckNew/android/AddPlanItem.vue +419 -419
  53. package/src/components/safecheckNew/android/CurrentCreate.vue +1050 -1050
  54. package/src/components/safecheckNew/android/Recheck.vue +379 -379
  55. package/src/components/safecheckNew/android/SafecheckOrderV.vue +2731 -2731
  56. package/src/components/sendsingle/EquipmentManagement.vue +727 -727
  57. package/src/components/shaoguan/DefectList.vue +473 -473
  58. package/src/components/shaoguan/SafecheckOrderV.vue +2140 -2140
  59. package/src/components/tongcheng/PaperFeedback.vue +1061 -1061
  60. package/src/components/userfile/SecurityAudit.vue +243 -243
  61. package/src/components/userfileNew/UserInfoAuditNew.vue +274 -274
  62. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +476 -476
  63. package/src/filiale/ancheng/android/PaperFeedback.vue +1489 -1489
  64. package/src/filiale/ancheng/android/SafecheckOrderV.vue +2703 -2703
  65. package/src/filiale/ancheng/android/SafecheckUserInfo.vue +737 -737
  66. package/src/filiale/ancheng/pc/checkScreen.vue +923 -923
  67. package/src/filiale/ankangyihua/android/AddPlanItem.vue +446 -446
  68. package/src/filiale/ankangyihua/android/SafecheckOrderV.vue +2908 -2908
  69. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +491 -491
  70. package/src/filiale/baiyin/android/SafecheckOrderV.vue +2785 -2785
  71. package/src/filiale/baiyin/pc/DefectListNew.vue +597 -597
  72. package/src/filiale/bayan/android/Edit.vue +132 -132
  73. package/src/filiale/bayan/android/PaperFeedback.vue +1669 -1669
  74. package/src/filiale/bayan/pc/DefectListNew.vue +597 -597
  75. package/src/filiale/bayan/pc/DeviceChange.vue +1838 -1838
  76. package/src/filiale/bayan/pc/HiddenSituation.vue +295 -295
  77. package/src/filiale/dexin/android/CasualSave.vue +1050 -1050
  78. package/src/filiale/dexin/android/SafecheckOrderV.vue +2950 -2950
  79. package/src/filiale/fugou/android/AddPlanItem.vue +413 -413
  80. package/src/filiale/fugou/android/SafecheckOrderV.vue +2796 -2796
  81. package/src/filiale/fugou/pc/CheckBookSearchUser.vue +830 -830
  82. package/src/filiale/fugu/android/SafecheckOrderV.vue +2484 -2484
  83. package/src/filiale/fugu/pc/NewCheckpaper.vue +1287 -1287
  84. package/src/filiale/ganquan/android/AddPlanItem.vue +444 -444
  85. package/src/filiale/ganquan/android/SafecheckOrderV.vue +2485 -2485
  86. package/src/filiale/ganquan/pc/NewCheckpaper.vue +1354 -1354
  87. package/src/filiale/guangxi/pc/DefectListNew.vue +518 -518
  88. package/src/filiale/hanzhong/android/PaperFeedback.vue +1477 -1477
  89. package/src/filiale/hanzhong/android/SafecheckOrderV.vue +2683 -2683
  90. package/src/filiale/hanzhong/android/SafecheckUserInfo.vue +786 -786
  91. package/src/filiale/huaran/android/SafecheckOrderV.vue +2803 -2803
  92. package/src/filiale/huatong/android/PaperFeedback.vue +1433 -1433
  93. package/src/filiale/huatong/android/SafecheckOrderV.vue +2426 -2426
  94. package/src/filiale/huatong/android/SafecheckUserInfo.vue +749 -749
  95. package/src/filiale/huayin/android/PaperFeedback.vue +1422 -1422
  96. package/src/filiale/huayin/android/SafecheckOrderV.vue +2712 -2712
  97. package/src/filiale/huayin/pc/NewCheckpaper.vue +1307 -1307
  98. package/src/filiale/jiaocheng/android/AddPlanItem.vue +435 -435
  99. package/src/filiale/jiaocheng/android/PaperFeedback.vue +1308 -1308
  100. package/src/filiale/jiaocheng/android/SafecheckUserInfo.vue +737 -737
  101. package/src/filiale/jiaocheng/pc/DefectListNew.vue +576 -576
  102. package/src/filiale/jiaxian/android/AddPlanItem.vue +447 -447
  103. package/src/filiale/jiaxian/android/SafecheckOrderV.vue +2807 -2807
  104. package/src/filiale/jiaxian/android/SafecheckUserInfo.vue +784 -784
  105. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +478 -478
  106. package/src/filiale/jingyang/android/AddPlanItem.vue +458 -458
  107. package/src/filiale/jingyang/android/PaperFeedback.vue +1493 -1493
  108. package/src/filiale/jingyang/android/SafecheckOrderV.vue +2734 -2734
  109. package/src/filiale/jingyang/android/SafecheckUserInfo.vue +781 -781
  110. package/src/filiale/jinhong/android/PhoneInsurancePurchaseDetail.vue +26 -9
  111. package/src/filiale/kelai/android/AddPlanItem.vue +488 -488
  112. package/src/filiale/kelai/android/AndroidDefectDeal.vue +747 -747
  113. package/src/filiale/kelai/android/PaperFeedback.vue +1539 -1539
  114. package/src/filiale/kelai/android/SafecheckOrderV.vue +2448 -2448
  115. package/src/filiale/kelai/android/SafecheckUserInfo.vue +774 -774
  116. package/src/filiale/kelai/android/SafecheckUserInfo1.vue +618 -618
  117. package/src/filiale/kelai/pc/DefectListNew.vue +688 -688
  118. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +518 -518
  119. package/src/filiale/kelai/pc/NewCheckpaper.vue +1454 -1454
  120. package/src/filiale/liaoyuan/android/AddPlanItem.vue +412 -412
  121. package/src/filiale/liaoyuan/android/CurrentCreate.vue +1066 -1066
  122. package/src/filiale/liaoyuan/android/SafecheckOrderV.vue +2388 -2388
  123. package/src/filiale/liaoyuan/android/SafecheckUserInfo.vue +557 -557
  124. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +489 -489
  125. package/src/filiale/liaoyuan/pc/NewCheckpaper.vue +1020 -1020
  126. package/src/filiale/lixian/android/SafecheckOrderV.vue +2404 -2404
  127. package/src/filiale/lixian/android/SafecheckUserInfo.vue +578 -578
  128. package/src/filiale/lixian/pc/NewCheckpaper.vue +1211 -1211
  129. package/src/filiale/minsheng/android/SafecheckUserInfo.vue +754 -754
  130. package/src/filiale/minsheng/pc/DefectListNew.vue +535 -535
  131. package/src/filiale/pingxiang/android/PaperFeedback.vue +1399 -1399
  132. package/src/filiale/pingxiang/android/SafecheckOrderV.vue +2424 -2424
  133. package/src/filiale/pingxiang/android/SafecheckUserInfo.vue +600 -600
  134. package/src/filiale/pingxiang/pc/DefectListNew.vue +519 -519
  135. package/src/filiale/pingxiang/pc/NewCheckpaper.vue +1294 -1294
  136. package/src/filiale/qianneng/android/AddPlanItem.vue +482 -482
  137. package/src/filiale/qianneng/android/PaperFeedback.vue +1434 -1434
  138. package/src/filiale/qianneng/android/SafecheckOrderV.vue +2785 -2785
  139. package/src/filiale/qianneng/android/SafecheckUserInfo.vue +775 -775
  140. package/src/filiale/qianneng/pc/DefectListNew.vue +576 -576
  141. package/src/filiale/qianneng/pc/NewCheckpaper.vue +1546 -1546
  142. package/src/filiale/qingjian/android/SafecheckOrderV.vue +2844 -2844
  143. package/src/filiale/qingjian/android/SafecheckUserInfo.vue +800 -800
  144. package/src/filiale/qingtongxia/android/AddPlanItem.vue +450 -450
  145. package/src/filiale/qingtongxia/android/SafecheckOrderV.vue +2726 -2726
  146. package/src/filiale/qingtongxia/android/SafecheckUserInfo.vue +782 -782
  147. package/src/filiale/qingtongxia/pc/DefectListNew.vue +594 -594
  148. package/src/filiale/rizhao/android/AddPlanItem.vue +446 -446
  149. package/src/filiale/rizhao/android/PaperFeedback.vue +1510 -1510
  150. package/src/filiale/rizhao/android/SafecheckOrderV.vue +2430 -2430
  151. package/src/filiale/rizhao/android/SafecheckUserInfo.vue +640 -640
  152. package/src/filiale/rizhao/pc/DefectList.vue +489 -489
  153. package/src/filiale/rongchuang/android/PaperFeedback.vue +1455 -1455
  154. package/src/filiale/rongchuang/android/SafecheckOrderV.vue +2696 -2696
  155. package/src/filiale/rongchuang/android/checkpapermsg.vue +209 -209
  156. package/src/filiale/ruihua/android/SafecheckOrderV.vue +2747 -2747
  157. package/src/filiale/ruihua/android/SafecheckUserInfo.vue +804 -804
  158. package/src/filiale/shanggao/android/PaperFeedback.vue +1422 -1422
  159. package/src/filiale/shanggao/android/SafecheckOrderV.vue +2426 -2426
  160. package/src/filiale/shanxian/android/PaperFeedback.vue +1445 -1445
  161. package/src/filiale/shanxian/android/SafecheckUserInfo.vue +749 -749
  162. package/src/filiale/shanxian/pc/HiddenSituation.vue +121 -121
  163. package/src/filiale/shanxian/pc/NewCheckpaper.vue +1526 -1526
  164. package/src/filiale/shexian/android/AddPlanItem.vue +444 -444
  165. package/src/filiale/shexian/android/PaperFeedback.vue +1448 -1448
  166. package/src/filiale/shexian/android/SafecheckOrderV.vue +2879 -2879
  167. package/src/filiale/shexian/pc/DefectListNew.vue +593 -593
  168. package/src/filiale/shexian/pc/NewCheckpaper.vue +1469 -1469
  169. package/src/filiale/shimen/android/PaperFeedback.vue +1341 -1341
  170. package/src/filiale/shimen/android/SafecheckUserInfo.vue +547 -547
  171. package/src/filiale/shimen/pc/DefectList.vue +473 -473
  172. package/src/filiale/shimen/pc/NewCheckpaper.vue +1275 -1275
  173. package/src/filiale/siyang/android/AddPlanItem.vue +450 -450
  174. package/src/filiale/siyang/android/CurrentCreate.vue +1051 -1051
  175. package/src/filiale/siyang/android/PhoneRecordInfo.vue +214 -214
  176. package/src/filiale/siyang/android/SafecheckOrderV.vue +2796 -2796
  177. package/src/filiale/siyang/android/SafecheckUserInfo.vue +789 -789
  178. package/src/filiale/siyang/pc/HiddenSituation.vue +167 -167
  179. package/src/filiale/tianke/android/AddPlanItem.vue +455 -455
  180. package/src/filiale/tianke/android/SafecheckOrderV.vue +2431 -2431
  181. package/src/filiale/tianke/android/SafecheckUserInfo.vue +744 -744
  182. package/src/filiale/tongchuan/android/AddPlanItem.vue +483 -483
  183. package/src/filiale/tongchuan/android/PaperFeedback.vue +1316 -1316
  184. package/src/filiale/tongchuan/android/PhoneRecordInfo.vue +191 -191
  185. package/src/filiale/tongchuan/android/PhoneSellInfo.vue +113 -113
  186. package/src/filiale/tongchuan/android/SafecheckUserInfo.vue +720 -720
  187. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +209 -209
  188. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +484 -484
  189. package/src/filiale/tongchuan/pc/HiddenSituation.vue +166 -166
  190. package/src/filiale/weinan/android/AddPlanItem.vue +438 -438
  191. package/src/filiale/weinan/android/CurrentCreate.vue +1171 -1171
  192. package/src/filiale/weinan/android/CurrentCreateOnline.vue +911 -911
  193. package/src/filiale/weinan/android/SafePlanItem.vue +440 -440
  194. package/src/filiale/weinan/android/SafecheckUserInfo.vue +778 -778
  195. package/src/filiale/weinan/pc/DefectListNew.vue +617 -617
  196. package/src/filiale/weinan/pc/DeviceChange.vue +1088 -1088
  197. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  198. package/src/filiale/weinan/pc/checkScreen.vue +1094 -1094
  199. package/src/filiale/weinanct/android/SafecheckOrderV.vue +2730 -2730
  200. package/src/filiale/weinanct/pc/NewCheckpaper.vue +1315 -1315
  201. package/src/filiale/wensu/android/AddPlanItem.vue +495 -495
  202. package/src/filiale/wensu/android/AndroidDefectDeal.vue +464 -464
  203. package/src/filiale/wensu/android/PaperFeedback.vue +1358 -1358
  204. package/src/filiale/wensu/android/SafecheckOrderV.vue +2430 -2430
  205. package/src/filiale/wensu/android/SafecheckUserInfo.vue +627 -627
  206. package/src/filiale/wensu/pc/DefectListNew.vue +735 -735
  207. package/src/filiale/wenxi/android/AddPlanItem.vue +431 -431
  208. package/src/filiale/wenxi/android/PaperFeedback.vue +1607 -1607
  209. package/src/filiale/wenxi/android/SafecheckOrderV.vue +2671 -2671
  210. package/src/filiale/wenxi/android/SafecheckUserInfo.vue +673 -673
  211. package/src/filiale/wenxi/pc/DefectList.vue +653 -653
  212. package/src/filiale/wenxi/pc/NewCheckpaper.vue +1358 -1358
  213. package/src/filiale/wuan/android/PaperFeedback.vue +1433 -1433
  214. package/src/filiale/wuan/android/SafecheckOrderV.vue +2241 -2241
  215. package/src/filiale/wuan/android/SafecheckUserInfo.vue +596 -596
  216. package/src/filiale/wuan/pc/DefectListWeixiu.vue +506 -506
  217. package/src/filiale/wuan/pc/NewCheckpaper.vue +1169 -1169
  218. package/src/filiale/wuhai/android/PaperFeedback.vue +1350 -1350
  219. package/src/filiale/wuhai/android/SafecheckOrderV.vue +2456 -2456
  220. package/src/filiale/wuhai/android/SafecheckUserInfo.vue +573 -573
  221. package/src/filiale/wuhai/pc/NewCheckpaper.vue +1281 -1281
  222. package/src/filiale/xinkang/android/SafecheckOrderV.vue +2732 -2732
  223. package/src/filiale/xinkang/android/SafecheckUserInfo.vue +747 -747
  224. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +475 -475
  225. package/src/filiale/xinkang/pc/NewCheckpaper.vue +1498 -1498
  226. package/src/filiale/yangchunboneng/android/AddPlanItem.vue +496 -496
  227. package/src/filiale/yangchunboneng/android/PaperFeedback.vue +1731 -1731
  228. package/src/filiale/yangchunboneng/android/SafecheckOrderV.vue +2865 -2865
  229. package/src/filiale/yangchunboneng/android/SafecheckUserInfo.vue +887 -887
  230. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +576 -576
  231. package/src/filiale/yongzhou/android/PaperFeedback.vue +1519 -1519
  232. package/src/filiale/yongzhou/android/SafecheckOrderV.vue +2774 -2774
  233. package/src/filiale/yongzhou/android/SafecheckUserInfo.vue +776 -776
  234. package/src/filiale/yuansheng/android/PaperFeedback.vue +1488 -1488
  235. package/src/filiale/yuansheng/android/SafecheckOrderV.vue +2758 -2758
  236. package/src/filiale/yuansheng/android/SafecheckUserInfo.vue +797 -797
  237. package/src/filiale/yuansheng/pc/DefectListNew.vue +524 -524
  238. package/src/filiale/yuansheng/pc/NewCheckpaper.vue +1371 -1371
  239. package/src/filiale/yuansheng/pc/checkmsg.vue +464 -464
  240. package/src/filiale/zhongsheng/android/BuyRecords.vue +122 -122
  241. package/src/filiale/zhongsheng/android/PaperFeedback.vue +1341 -1341
  242. package/src/filiale/zhongsheng/android/SafecheckOrderV.vue +2461 -2461
  243. package/src/filiale/zhongsheng/android/SafecheckUserInfo.vue +690 -690
  244. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +514 -514
  245. package/src/filiale/zhongsheng/pc/NewCheckpaper.vue +1322 -1322
  246. package/src/filiale/zhongyi/android/SafecheckOrderV.vue +2431 -2431
  247. package/src/filiale/zhongyi/pc/DefectListNew.vue +514 -514
  248. package/src/filiale/zhoukou/android/PaperFeedback.vue +1367 -1367
  249. package/src/filiale/zhoukou/android/SafecheckOrderV.vue +2502 -2502
  250. package/src/filiale/zhoukou/android/SafecheckUserInfo.vue +588 -588
  251. package/src/main.js +32 -33
@@ -1,720 +1,720 @@
1
- <template>
2
- <form novalidate class="form-horizontal" style="width: 95%;margin: auto">
3
- <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
4
- <div class="text-center">
5
- <label class="font">请拍摄总体巡检照片:</label>
6
- </div>
7
- </div>
8
- <div class="form-group col-sm-12" :class="style__">
9
- <label class="text-left font">总体安检照片</label>
10
-
11
- <div class="auto" :class="style__">
12
- <div class="panel" style="padding: 10px 10px 5px 10px;">
13
- <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
14
- <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
15
- <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs">
16
- <img-self :src="img.f_overall_path" alt="总体安检照片" :width="140" :height="170"></img-self>
17
- <img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
18
- </div>
19
- </div>
20
- <div class="row text-right div-photo">
21
- <button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', '总体安检照片')">拍照</button>
22
- <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
23
- <!--&nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_overall_path', img.f_overall_path)" style="width: 25%;"></img>-->
24
- </div>
25
- </div>
26
- </div>
27
- </div>
28
- </div>
29
- </form>
30
- </template>
31
-
32
- <script>
33
- import Vue from 'vue'
34
- import * as Util from '../Util'
35
- import { HttpResetClass } from 'vue-client'
36
- import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
37
- import Radio from 'vue-client/src/vue-strap/src/radioBtn'
38
- import co from 'co'
39
-
40
-
41
-
42
-
43
-
44
- let getRepairs = async function(self,url) {
45
- // 获取配置信息
46
- try {
47
- let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${Vue.user.id}`}
48
- let repairs =[]
49
- let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
50
- res.data.forEach((item) => {
51
- repairs.push({label: item.name, value: item})
52
- })
53
- self.f_repair_person = repairs
54
- if(self.$parent.$parent.role == 'inspect'){
55
- let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
56
- if(res.code == 200){
57
- self.$parent.$parent.user = res.data[0]
58
- self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
59
- }
60
- }else{
61
- //tag
62
- self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
63
- //tag
64
- if(res.data.length != 0){
65
- self.$parent.$parent.user = res.data[0]
66
- self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
67
- }
68
- })
69
- // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
70
- }
71
- } catch (error) {
72
- //tag
73
- }
74
- }
75
-
76
- export default {
77
- title: '用户反馈',
78
- data() {
79
- return {
80
- images: [],
81
- showmodelthree: false,
82
- isneedDate: this.$parent.$parent.isneedDate,
83
- plan: this.$parent.$parent.item,
84
- meading: this.$parent.$parent.meading,
85
- paper: this.$parent.$parent.data,
86
- printContent: [],
87
- upload_state: this.$parent.$parent.item.f_upload_state,
88
- enabled: false,//控制限制购气是否可选
89
- deleteenabled: false,
90
- showmodel: false,
91
- backlistisselect: false,
92
- deletebacklistisselect: false,
93
- radios: [
94
- {
95
- label: '满意',
96
- value: 0,
97
- isChecked: false,
98
- },
99
- {
100
- label: '基本满意',
101
- value: 1,
102
- isChecked: false,
103
- },
104
- {
105
- label: '不满意',
106
- value: 2,
107
- isChecked: false,
108
- },
109
- ],
110
- repairitems: [],
111
- showrepair: false,
112
- safeCheckToRepair: '',
113
- showCheckToRepair: false,
114
- userid: '',
115
- source:
116
- 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
117
- 'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
118
- isback: false,
119
- defectDevice: {},
120
- detail: {},
121
- callObj: null,
122
- user: {},
123
- role: this.$parent.$parent.role,
124
- Url: this.$androidUtil.getProxyUrl(),
125
- cause: "",
126
- deletecause: "",
127
- }
128
- },
129
- props: ['idx'],
130
- components: {
131
- RadioGroup,
132
- Radio
133
- },
134
- methods: {
135
- timeSet(val) {
136
- ////tag
137
- if (!val) {
138
- return
139
- }
140
- let time = new Date(val).getTime()
141
- let time2 = new Date().getTime()
142
- if (time2 > time) {
143
- return true
144
- }
145
- },
146
- // async isoverDate(){
147
- // //tag
148
- // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
149
- // condition:"f_plan_item_id='"+this.$parent.$parent.item.id+"'"
150
- // }
151
- // })
152
- // this.isneedDate=res.data[0]["f_subscribe_date"]
153
- // //tag
154
- // },
155
- check(index) {
156
- //tag
157
- // 先取消所有选中项
158
- for (let item of this.radios) {
159
- item.isChecked = false;
160
- }
161
- //再设置当前点击项选中
162
- this.paper.f_client_evaluation = this.radios[index].label;
163
- // 设置值,以供传递
164
- this.radios[index].isChecked = true;
165
- //tag;
166
- },
167
- getSignValue(fileName) {
168
- this.f_signname = fileName
169
- },
170
- cameraCallBack(prop, fileName) {
171
- if (prop == 'f_overall_path') {
172
- let f_overall_path = fileName + '?' + Math.random()
173
- HostApp.__this__.paper.f_overall_imgs.push({
174
- f_overall_path: f_overall_path
175
- })
176
- } else {
177
- HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
178
- }
179
- HostApp.__callback__ = null
180
- HostApp.__this__ = null
181
- },
182
- takePic(prop, title, index) {
183
- HostApp.__callback__ = this.cameraCallBack
184
- HostApp.__this__ = this
185
- //tag
186
- //tag
187
- let fileName
188
- if (prop == 'f_overall_path') {
189
- if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes("nopic.png")) {
190
- fileName = Util.guid() + '-' + prop + '.jpg'
191
- } else {
192
- fileName = Util.getFileName(this.paper.f_overall_imgs[index].f_overall_path)
193
- }
194
- } else {
195
- if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
196
- fileName = Util.guid() + '-' + prop + '.jpg'
197
- } else {
198
- fileName = Util.getFileName(this.paper[prop])
199
- }
200
- }
201
-
202
- HostApp._open_a_page({
203
- type: 'boomerang',
204
- page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
205
- param: {
206
- file: fileName,
207
- requestCode: 111,
208
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
209
- watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + '\t' + this.paper.f_userinfo_code+ '\t' + this.paper.f_user_name+ '\t' + this.paper.f_address
210
- }
211
- })
212
- },
213
- amrCallBack(fileName) {
214
- HostApp.__this__.$set('paper.f_recording1_path', fileName)
215
- HostApp.__callback__ = null
216
- HostApp.__this__ = null
217
- },
218
- record() {
219
- if (this.$parent.$parent.role != 'inspect') {
220
- if (this.paper.f_recording1_path != '') {
221
- window.location = this.paper.f_recording1_path
222
- }
223
- } else {
224
- HostApp.__callback__ = this.amrCallBack
225
- HostApp.__this__ = this
226
- let fileName
227
- if (!this.paper.f_recording1_path) {
228
- fileName = Util.guid() + '.amr'
229
- } else {
230
- fileName = Util.getFileName(this.paper.f_recording1_path)
231
- }
232
- HostApp._open_a_page({
233
- type: 'boomerang',
234
- page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
235
- param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
236
- })
237
- }
238
- },
239
- // 签名回调
240
- signCallback(prop, fileName) {
241
- // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
242
- HostApp.__this__.$set('paper.f_sign_path', fileName)
243
- HostApp.__callback__ = null
244
- HostApp.__this__ = null
245
- },
246
- // 用户签名
247
- sign() {
248
- if (!this.paper.f_read_instructions) {
249
- this.$showMessage('请先阅读并勾选用户须知内容后进行签名!')
250
- return
251
- }
252
- this.delAudioFile('f_sign_path', this.paper.f_sign_path)
253
- let prop = 'f_sign_path'
254
- let idx = 'aofeng'
255
- let fileName
256
- if (!this.paper.f_sign_path) {
257
- fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
258
- } else {
259
- fileName = Util.getFileName(this.paper.f_sign_path)
260
- }
261
- HostApp.__callback__ = this.signCallback
262
- HostApp.__this__ = this
263
- HostApp.getSignature({
264
- file: fileName,
265
- requestCode: 111,
266
- callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
267
- })
268
- },
269
- delfile(prop, fileName, index) {
270
- if (fileName == Vue.nopic)
271
- return
272
- else {
273
- if (prop == 'f_overall_path') {
274
- this.paper.f_overall_imgs.splice(index, 1)
275
- HostApp.delfile(fileName)
276
- } else {
277
- HostApp.delfile(fileName)
278
- this.paper[prop] = Vue.nopic
279
- }
280
- }
281
- },
282
- delAudioFile(prop, fileName) {
283
- if (!fileName)
284
- return
285
- else {
286
- HostApp.delfile(fileName)
287
- this.paper[prop] = null
288
- }
289
- },
290
- //获取打印用户信息
291
- getUser() {
292
- if (this.paper.f_user_name == undefined)
293
- this.paper.f_user_name = ''
294
- this.printContent.push({
295
- type: 3,
296
- text: '用户名称:' + this.paper.f_user_name,
297
- fontsize: 2,
298
- isbold: false,
299
- align: 'left'
300
- })
301
- if (this.paper.f_userinfo_code == undefined)
302
- this.paper.f_userinfo_code = ''
303
- this.printContent.push({
304
- type: 3,
305
- text: '用户编号:' + this.paper.f_userinfo_code,
306
- fontsize: 2,
307
- isbold: false,
308
- align: 'left'
309
- })
310
- if (this.paper.f_address == undefined)
311
- this.paper.f_address = ''
312
- this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
313
- if (this.paper.f_user_phone == undefined)
314
- this.paper.f_user_phone = ''
315
- this.printContent.push({
316
- type: 3,
317
- text: '电话:' + this.paper.f_user_phone,
318
- fontsize: 2,
319
- isbold: false,
320
- align: 'left'
321
- })
322
- },
323
- verify() {
324
- let hasError = this.$parent.$parent.verifyUser()
325
- if (hasError)
326
- return hasError
327
- hasError = this.$parent.$parent.verifyDevices()
328
- if (hasError)
329
- return hasError
330
- },
331
-
332
-
333
-
334
- //获取当前时间
335
- getNowFormatDate() {
336
- var date = new Date();
337
- var seperator1 = "-";
338
- var seperator2 = ":";
339
- var month = date.getMonth() + 1;
340
- var strDate = date.getDate();
341
- if (month >= 1 && month <= 9) {
342
- month = "0" + month;
343
- }
344
- if (strDate >= 0 && strDate <= 9) {
345
- strDate = "0" + strDate;
346
- }
347
- var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
348
- + " " + date.getHours() + seperator2 + date.getMinutes()
349
- + seperator2 + date.getSeconds();
350
- return currentdate;
351
- },
352
- readRepair() {
353
- let url = this.$androidUtil.getProxyUrl()
354
- let gen = getRepairs(this, url)
355
- return co(gen)
356
- },
357
- showToRepair() {
358
- let res = this.hasDefect()
359
- //tag
360
- //tag
361
- if (res == '正常') {
362
- this.showrepair = false
363
- } else {
364
- this.showrepair = true
365
- this.assignObj()
366
- }
367
- this.showCheckToRepair = !this.showCheckToRepair
368
- },
369
- // 选中部门
370
- reres(val) {
371
- if (val.res == undefined) {
372
- return
373
- }
374
- this.$parent.$parent.model.serviceacitivity[0].f_meetunit = val.res
375
- this.$parent.$parent.model.f_meetunit = val.res
376
- this.$parent.$parent.model.f_orgstr = val.resids
377
- var arr = val.res.split('.')
378
- this.$parent.$parent.model.f_outlets = arr[arr.length - 1]
379
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.resids
380
- },
381
- assignObj() {
382
- this.$parent.$parent.model.f_contact_phone = this.paper.f_user_phone
383
- this.$parent.$parent.model.f_user_name = this.paper.f_user_name
384
- this.$parent.$parent.model.f_address = this.paper.f_address
385
- this.$parent.$parent.model.f_user_type = this.paper.f_check_type
386
- this.$parent.$parent.model.f_street = this.paper.f_street
387
- this.$parent.$parent.model.f_residential_area = this.paper.f_residential_area
388
- this.$parent.$parent.model.f_building = this.paper.f_building
389
- this.$parent.$parent.model.f_unit = this.paper.f_unit
390
- this.$parent.$parent.model.f_floor = this.paper.f_floor
391
- this.$parent.$parent.model.f_room = this.paper.f_room
392
- this.$parent.$parent.model.f_floor = this.paper.f_floor
393
- this.$parent.$parent.model.f_userinfo_id = this.paper.f_userinfoid
394
- this.$parent.$parent.model.f_userinfo_code = this.paper.f_userinfo_code
395
- },
396
- hasDefect() {
397
- let checkResult = '正常'
398
- let codata = JSON.parse(JSON.stringify(this.paper))
399
- for (let device in this.paper) {
400
- if (device.startsWith("device")) {
401
- for (let item in this.paper[device]) {
402
- for (let i in this.paper[device][item].f_items) {
403
- let items = this.paper[device][item].f_items[i]
404
- //tag
405
- if (items.f_is_defect == true || items.f_is_defect == 'true') {
406
- checkResult = '有隐患'
407
- }
408
- }
409
- }
410
- }
411
- }
412
- return checkResult
413
- },
414
- uploadPaper() {
415
- if (this.showrepair) {
416
- //tag
417
- //tag
418
- //tag
419
- //tag
420
-
421
- if (this.meading == '转维修员' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
422
- this.$showMessage("请选择维修员!")
423
- return
424
- }
425
- if (this.$parent.$parent.meading == '转站点' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
426
- this.$showMessage("请选择站点!")
427
- return
428
- }
429
- if (this.$parent.$parent.model.f_repairtype == '') {
430
- this.$showMessage("请选择报修类型!")
431
- return
432
- }
433
- this.$parent.$parent.isToRepair = true
434
- this.$parent.$parent.uploadCheckPaper()
435
- // this.$parent.$parent.savePaper(false).then((res) => {
436
- // //tag
437
- // if(res != true){
438
- // //tag
439
- // return
440
- // }else{
441
- // this.$parent.$parent.todo()
442
- // }
443
- // })
444
- } else {
445
- this.$parent.$parent.undo()
446
- }
447
-
448
- },
449
- //确认安检转维修
450
-
451
- undo() {
452
- this.showCheckToRepair = !this.showCheckToRepair
453
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = ''
454
- this.$parent.$parent.model.serviceacitivity[0].f_meetunit = ''
455
- this.$parent.$parent.model.f_repairtype = ''
456
- this.meading = '转站点'
457
- },
458
- //取消拉黑
459
- async deletebacklist() {
460
- if (!this.deletecause) {
461
- this.$showMessage("请填写取消拉黑原因!")
462
- return
463
- }
464
- this.paper.f_blocking_cause = this.deletecause
465
- //tag)
466
- let http = new HttpResetClass()
467
- //tag
468
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
469
- data: {
470
- items: "version",
471
- tablename: "t_userinfo",
472
- condition: "f_userinfo_id=" + this.paper.f_userinfoid,
473
- orderitem: "f_userinfo_id"
474
- }
475
- }, {resolveMsg: null, rejectMsg: null})
476
- //tag)
477
- //tag
478
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
479
- data: {
480
- "f_operat_type": "取消拉黑",
481
- "f_state": "有效",
482
- "f_user_name": this.paper.f_user_name,
483
- "f_comments": this.paper.f_delete_cause,
484
- "f_operator": Vue.user.name,
485
- "f_operatorid": Vue.user.id,
486
- "f_orgid": Vue.user.orgid,
487
- "f_orgname": Vue.user.orgs,
488
- "f_depid": Vue.user.depids,
489
- "f_depname": Vue.user.deps,
490
- "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行取消拉黑`,
491
- "f_userinfo_id": {
492
- "f_userinfo_id": this.paper.f_userinfoid,
493
- "f_user_state": "正常",
494
- "version": res1.data[0].version
495
- },
496
- "f_limit_times":"",
497
- "f_limit_value":""
498
- }
499
- }, {resolveMsg: null, rejectMsg: null})
500
-
501
- //tag)
502
- if (res2.data.code == 200) {
503
- this.showmodelthree = false
504
- this.deleteenabled = true
505
- this.paper.f_blacklist = "否"
506
- this.$showMessage("取消该用户限制购气成功!")
507
- } else {
508
- this.$showMessage("网络异常,请稍后再试!")
509
- }
510
- },
511
- async backlist() {
512
- if (!this.cause) {
513
- this.$showMessage("请填写拉黑原因!")
514
- return
515
- }
516
- this.paper.f_blocking_cause = this.cause
517
- //tag)
518
- let http = new HttpResetClass()
519
- //tag
520
- let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
521
- data: {
522
- items: "version",
523
- tablename: "t_userinfo",
524
- condition: "f_userinfo_id=" + this.paper.f_userinfoid,
525
- orderitem: "f_userinfo_id"
526
- }
527
- }, {resolveMsg: null, rejectMsg: null})
528
- //tag)
529
- //tag
530
- let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
531
- data: {
532
- "f_operat_type": "拉黑",
533
- "f_state": "有效",
534
- "f_user_name": this.paper.f_user_name,
535
- "f_comments": this.paper.f_blocking_cause,
536
- "f_operator": Vue.user.name,
537
- "f_operatorid": Vue.user.id,
538
- "f_orgid": Vue.user.orgid,
539
- "f_orgname": Vue.user.orgs,
540
- "f_depid": Vue.user.depids,
541
- "f_depname": Vue.user.deps,
542
- "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行拉黑`,
543
- "f_userinfo_id": {
544
- "f_userinfo_id": this.paper.f_userinfoid,
545
- "f_user_state": "正常",
546
- "version": res1.data[0].version
547
- },
548
- "f_limit_times":"1",
549
- "f_limit_value":"3"
550
- }
551
- }, {resolveMsg: null, rejectMsg: null})
552
-
553
- //tag)
554
- if (res2.data.code == 200) {
555
- this.showmodel = false
556
- this.enabled = true
557
- this.paper.f_blacklist = "是"
558
- this.$showMessage("将该用户限制购气成功!")
559
- } else if (res2.data.msg == '数据增加重复') {
560
- this.showmodel = false
561
- this.enabled = true
562
- this.$showMessage("该用户已被限制购气,请勿重复提交!")
563
- } else {
564
- this.$showMessage("网络异常,请稍后再试!")
565
- }
566
- },
567
- cancel() {
568
- this.backlistisselect = false
569
- this.showmodel = false
570
- },
571
- deletecancel() {
572
- this.deletebacklistisselect = false
573
- this.showmodelthree = false
574
- },
575
- repiarmancg(val) {
576
- if (val) {
577
- //tag
578
- this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.name
579
- let http1 = new HttpResetClass()
580
- http1.load('POST', `${this.Url}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
581
- data: {
582
- items: 'f_user_telephone',
583
- tablename: 't_user',
584
- condition: `name = '${val}'`,
585
- orderitem: 'id'
586
- }
587
- }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
588
- this.$parent.$parent.model.f_repairman_phone = ress.data[0].f_user_telephone
589
- })
590
- }
591
- },
592
- },
593
- async ready() {
594
- // await this.isoverDate()
595
- //tag
596
- //tag
597
- //tag)
598
- if (this.$parent.$parent.role == 'repair') {
599
- this.$set('style__', 'divmask')
600
- this.$set('style_view_', '')
601
- } else if (this.$parent.$parent.role == 'view' || this.$parent.$parent.item.f_upload_state == '已传') {
602
- this.$set('style__', 'divmask')
603
- this.$set('style_view_', 'divmask')
604
- //tag
605
- } else {
606
- this.$set('style__', '')
607
- this.$set('style_view_', '')
608
- }
609
-
610
- for (let item of this.radios) {
611
- if (this.paper.f_client_evaluation == item.label) {
612
- item.isChecked = true;
613
- }
614
- }
615
- if (!this.paper.f_notified_path)
616
- this.$set('paper.f_notified_path', Vue.nopic)
617
- if (!this.paper.f_sign_path)
618
- this.$set('paper.f_sign_path', Vue.nopic)
619
- //tag
620
- if (!this.paper.f_overall_imgs) {
621
- let imgs = []
622
- // imgs.push({f_overall_path:Vue.nopic})
623
- this.$set('paper.f_overall_imgs', imgs)
624
- //tag
625
- }
626
- if (!this.paper.f_overall2_path)
627
- this.$set('paper.f_overall2_path', Vue.nopic)
628
-
629
- this.userid = this.role == 'view' ? this.$login.f.id : Vue.user.id
630
- if (Vue.config.safecheck != undefined) {
631
- if (Vue.config.safecheck.ApproveConfig != undefined) {
632
- if (Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
633
- this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
634
- }
635
- }
636
- }
637
- //tag
638
- //tag
639
- //tag
640
- //tag
641
- //tag
642
- //tag
643
- //tag
644
- }
645
- }
646
- </script>
647
- <style scoped>
648
- .panel-self{
649
- border-radius: 5px;
650
- border:1px solid #c5e1f7;
651
- background-color: #F2F6FA;
652
- }
653
- .text-left{
654
- text-align:left;
655
- }
656
- .font{
657
- font: 15px PingFang-SC-Medium;
658
- color: #333333;
659
- }
660
- .showIi{
661
- font: 14px PingFang-SC-Medium;
662
- color: #666666;
663
- }
664
- .info{
665
- margin-top: 15px;
666
- border-radius: 5px;
667
- background-color: #f3faff;
668
- }
669
- .btn-photo{
670
- border: 0;
671
- border-radius: 7px;
672
- background-color: #7dc1f4;
673
- font: 15px PingFang-SC-Bold;
674
- height: 20%;
675
- }
676
- .div-photo{
677
- width: auto;
678
- height: auto;
679
- /* margin-top: 10px; */
680
- position: absolute;
681
- bottom: 10px;
682
- right: 10px;
683
- }
684
- .btn-voice{
685
- border-radius: 7px;
686
- border: 1px solid #dedede;
687
- background-color: #f5fbff;
688
- font: 15px PingFang-SC-Bold;
689
- color: #499edf;
690
- }
691
- .save-btn{
692
- width: 25%;
693
- background-color:#499edf;
694
- border-radius: 6px;
695
- color: #FFFFFF;
696
- font: 15px PingFang-SC-Bold;
697
- }
698
- .upload-btn{
699
- width: 25%;
700
- background-color:#ffffff;
701
- border: 1px solid #499edf;
702
- border-radius: 6px;
703
- color: #499edf;
704
- font: 15px PingFang-SC-Bold;
705
- }
706
- .repair-btn{
707
- width: 25%;
708
- border: 1px solid #499edf;
709
- border-radius: 6px;
710
- font: 15px PingFang-SC-Bold;
711
- }
712
- #el_ca_tx{
713
- width: 100%;
714
- margin: 5px;
715
- }
716
- #el_ca_txt{
717
- width: 100%;
718
- margin: 5px;
719
- }
720
- </style>
1
+ <template>
2
+ <form novalidate class="form-horizontal" style="width: 95%;margin: auto">
3
+ <div class="form-group col-sm-12 col-xs-12 col-md-12 info" :class="style__">
4
+ <div class="text-center">
5
+ <label class="font">请拍摄总体巡检照片:</label>
6
+ </div>
7
+ </div>
8
+ <div class="form-group col-sm-12" :class="style__">
9
+ <label class="text-left font">总体安检照片</label>
10
+
11
+ <div class="auto" :class="style__">
12
+ <div class="panel" style="padding: 10px 10px 5px 10px;">
13
+ <div class="panel-body panel-self" style="background-color: #F8F8F8;width: 100%;height: 260px;position: relative">
14
+ <div class="row" style="height: 240px;overflow: scroll;top: 1px" >
15
+ <div class="col-xs-4 col-sm-3 col-md-2" style="margin-bottom: 35px" v-for="(index,img) in paper.f_overall_imgs">
16
+ <img-self :src="img.f_overall_path" alt="总体安检照片" :width="140" :height="170"></img-self>
17
+ <img src="../../assets/删除.png" @click="delfile('f_overall_path', img.f_overall_path,index)" style="width: 15px;margin-top: -80px" alt="">
18
+ </div>
19
+ </div>
20
+ <div class="row text-right div-photo">
21
+ <button type="button" name="button" class="btn btn-photo" @click="takePic('f_overall_path', '总体安检照片')">拍照</button>
22
+ <!--<button type="button" name="button" class="btn btn-primary btn-photo" @click="takePic('f_overall_path', '总体安检照片1')">拍照</button>-->
23
+ <!--&nbsp;&nbsp;&nbsp;&nbsp;<img src="../../../assets/remove.png" :class="style__" @click="delfile('f_overall_path', img.f_overall_path)" style="width: 25%;"></img>-->
24
+ </div>
25
+ </div>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ </form>
30
+ </template>
31
+
32
+ <script>
33
+ import Vue from 'vue'
34
+ import * as Util from '../Util'
35
+ import { HttpResetClass } from 'vue-client'
36
+ import RadioGroup from 'vue-client/src/vue-strap/src/radioGroup'
37
+ import Radio from 'vue-client/src/vue-strap/src/radioBtn'
38
+ import co from 'co'
39
+
40
+
41
+
42
+
43
+
44
+ let getRepairs = async function(self,url) {
45
+ // 获取配置信息
46
+ try {
47
+ let val = {source: 'this.getParentByType($department$).getAllChildrens().where(row.getAttributes().get($rolestr$).indexOf($维修员$) != -1 ))', userid: `${Vue.user.id}`}
48
+ let repairs =[]
49
+ let res = await Vue.resetpost(`${url}/rs/search`,{data: val},{resolveMsg: null, rejectMsg: null})
50
+ res.data.forEach((item) => {
51
+ repairs.push({label: item.name, value: item})
52
+ })
53
+ self.f_repair_person = repairs
54
+ if(self.$parent.$parent.role == 'inspect'){
55
+ let res = self.$androidUtil.bzLogic('getUserInfo',{id:self.paper.f_userinfoid})
56
+ if(res.code == 200){
57
+ self.$parent.$parent.user = res.data[0]
58
+ self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
59
+ }
60
+ }else{
61
+ //tag
62
+ self.$resetpost(`${self.Url}/api/af-safecheck/sql/safeCheckgetUserInfo`,{data:{id:self.paper.f_userinfoid}},{resolveMsg: null, rejectMsg: null}).then((res)=>{
63
+ //tag
64
+ if(res.data.length != 0){
65
+ self.$parent.$parent.user = res.data[0]
66
+ self.$parent.$parent.model.f_area = self.$parent.$parent.user.f_area
67
+ }
68
+ })
69
+ // path({alias:'getUserInfo',data:{id:this.paper.f_userinfoid}})
70
+ }
71
+ } catch (error) {
72
+ //tag
73
+ }
74
+ }
75
+
76
+ export default {
77
+ title: '用户反馈',
78
+ data() {
79
+ return {
80
+ images: [],
81
+ showmodelthree: false,
82
+ isneedDate: this.$parent.$parent.isneedDate,
83
+ plan: this.$parent.$parent.item,
84
+ meading: this.$parent.$parent.meading,
85
+ paper: this.$parent.$parent.data,
86
+ printContent: [],
87
+ upload_state: this.$parent.$parent.item.f_upload_state,
88
+ enabled: false,//控制限制购气是否可选
89
+ deleteenabled: false,
90
+ showmodel: false,
91
+ backlistisselect: false,
92
+ deletebacklistisselect: false,
93
+ radios: [
94
+ {
95
+ label: '满意',
96
+ value: 0,
97
+ isChecked: false,
98
+ },
99
+ {
100
+ label: '基本满意',
101
+ value: 1,
102
+ isChecked: false,
103
+ },
104
+ {
105
+ label: '不满意',
106
+ value: 2,
107
+ isChecked: false,
108
+ },
109
+ ],
110
+ repairitems: [],
111
+ showrepair: false,
112
+ safeCheckToRepair: '',
113
+ showCheckToRepair: false,
114
+ userid: '',
115
+ source:
116
+ 'dep=this.getParentByType($organization$).getSpecialResByType($department$),' +
117
+ 'tool.getFullTree(dep.where(row.hasSpecialRole($派单员$)))',
118
+ isback: false,
119
+ defectDevice: {},
120
+ detail: {},
121
+ callObj: null,
122
+ user: {},
123
+ role: this.$parent.$parent.role,
124
+ Url: this.$androidUtil.getProxyUrl(),
125
+ cause: "",
126
+ deletecause: "",
127
+ }
128
+ },
129
+ props: ['idx'],
130
+ components: {
131
+ RadioGroup,
132
+ Radio
133
+ },
134
+ methods: {
135
+ timeSet(val) {
136
+ ////tag
137
+ if (!val) {
138
+ return
139
+ }
140
+ let time = new Date(val).getTime()
141
+ let time2 = new Date().getTime()
142
+ if (time2 > time) {
143
+ return true
144
+ }
145
+ },
146
+ // async isoverDate(){
147
+ // //tag
148
+ // let res= await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/androidGetuserinfo`, {data:{
149
+ // condition:"f_plan_item_id='"+this.$parent.$parent.item.id+"'"
150
+ // }
151
+ // })
152
+ // this.isneedDate=res.data[0]["f_subscribe_date"]
153
+ // //tag
154
+ // },
155
+ check(index) {
156
+ //tag
157
+ // 先取消所有选中项
158
+ for (let item of this.radios) {
159
+ item.isChecked = false;
160
+ }
161
+ //再设置当前点击项选中
162
+ this.paper.f_client_evaluation = this.radios[index].label;
163
+ // 设置值,以供传递
164
+ this.radios[index].isChecked = true;
165
+ //tag;
166
+ },
167
+ getSignValue(fileName) {
168
+ this.f_signname = fileName
169
+ },
170
+ cameraCallBack(prop, fileName) {
171
+ if (prop == 'f_overall_path') {
172
+ let f_overall_path = fileName + '?' + Math.random()
173
+ HostApp.__this__.paper.f_overall_imgs.push({
174
+ f_overall_path: f_overall_path
175
+ })
176
+ } else {
177
+ HostApp.__this__.paper[prop] = fileName + '?' + Math.random()
178
+ }
179
+ HostApp.__callback__ = null
180
+ HostApp.__this__ = null
181
+ },
182
+ takePic(prop, title, index) {
183
+ HostApp.__callback__ = this.cameraCallBack
184
+ HostApp.__this__ = this
185
+ //tag
186
+ //tag
187
+ let fileName
188
+ if (prop == 'f_overall_path') {
189
+ if (!this.paper.f_overall_imgs[index] || this.paper.f_overall_imgs[index].f_overall_path.includes("nopic.png")) {
190
+ fileName = Util.guid() + '-' + prop + '.jpg'
191
+ } else {
192
+ fileName = Util.getFileName(this.paper.f_overall_imgs[index].f_overall_path)
193
+ }
194
+ } else {
195
+ if (!this.paper[prop] || this.paper[prop].includes("nopic.png")) {
196
+ fileName = Util.guid() + '-' + prop + '.jpg'
197
+ } else {
198
+ fileName = Util.getFileName(this.paper[prop])
199
+ }
200
+ }
201
+
202
+ HostApp._open_a_page({
203
+ type: 'boomerang',
204
+ page: 'com.aofeng.hybrid.android.peripheral.CameraActivity',
205
+ param: {
206
+ file: fileName,
207
+ requestCode: 111,
208
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");',
209
+ watermark: title + '\t时间:' + Util.toStandardTimeString() + '\t' + Vue.user.name + '\t' + this.paper.f_userinfo_code+ '\t' + this.paper.f_user_name+ '\t' + this.paper.f_address
210
+ }
211
+ })
212
+ },
213
+ amrCallBack(fileName) {
214
+ HostApp.__this__.$set('paper.f_recording1_path', fileName)
215
+ HostApp.__callback__ = null
216
+ HostApp.__this__ = null
217
+ },
218
+ record() {
219
+ if (this.$parent.$parent.role != 'inspect') {
220
+ if (this.paper.f_recording1_path != '') {
221
+ window.location = this.paper.f_recording1_path
222
+ }
223
+ } else {
224
+ HostApp.__callback__ = this.amrCallBack
225
+ HostApp.__this__ = this
226
+ let fileName
227
+ if (!this.paper.f_recording1_path) {
228
+ fileName = Util.guid() + '.amr'
229
+ } else {
230
+ fileName = Util.getFileName(this.paper.f_recording1_path)
231
+ }
232
+ HostApp._open_a_page({
233
+ type: 'boomerang',
234
+ page: 'com.aofeng.hybrid.android.peripheral.AudioClipActivity',
235
+ param: {file: fileName, requestCode: 111, callback: 'javascript:HostApp.__callback__("%s");'}
236
+ })
237
+ }
238
+ },
239
+ // 签名回调
240
+ signCallback(prop, fileName) {
241
+ // HostApp.alert('绑定属性:' + prop + ' 文件全路径如file:///storage/sdcard0/safecheck/abc.jpg:' + fullFileName)
242
+ HostApp.__this__.$set('paper.f_sign_path', fileName)
243
+ HostApp.__callback__ = null
244
+ HostApp.__this__ = null
245
+ },
246
+ // 用户签名
247
+ sign() {
248
+ if (!this.paper.f_read_instructions) {
249
+ this.$showMessage('请先阅读并勾选用户须知内容后进行签名!')
250
+ return
251
+ }
252
+ this.delAudioFile('f_sign_path', this.paper.f_sign_path)
253
+ let prop = 'f_sign_path'
254
+ let idx = 'aofeng'
255
+ let fileName
256
+ if (!this.paper.f_sign_path) {
257
+ fileName = Util.guid() + '-valve-' + idx + '-' + prop + '.jpg'
258
+ } else {
259
+ fileName = Util.getFileName(this.paper.f_sign_path)
260
+ }
261
+ HostApp.__callback__ = this.signCallback
262
+ HostApp.__this__ = this
263
+ HostApp.getSignature({
264
+ file: fileName,
265
+ requestCode: 111,
266
+ callback: 'javascript:HostApp.__callback__("' + prop + '", "%s");'
267
+ })
268
+ },
269
+ delfile(prop, fileName, index) {
270
+ if (fileName == Vue.nopic)
271
+ return
272
+ else {
273
+ if (prop == 'f_overall_path') {
274
+ this.paper.f_overall_imgs.splice(index, 1)
275
+ HostApp.delfile(fileName)
276
+ } else {
277
+ HostApp.delfile(fileName)
278
+ this.paper[prop] = Vue.nopic
279
+ }
280
+ }
281
+ },
282
+ delAudioFile(prop, fileName) {
283
+ if (!fileName)
284
+ return
285
+ else {
286
+ HostApp.delfile(fileName)
287
+ this.paper[prop] = null
288
+ }
289
+ },
290
+ //获取打印用户信息
291
+ getUser() {
292
+ if (this.paper.f_user_name == undefined)
293
+ this.paper.f_user_name = ''
294
+ this.printContent.push({
295
+ type: 3,
296
+ text: '用户名称:' + this.paper.f_user_name,
297
+ fontsize: 2,
298
+ isbold: false,
299
+ align: 'left'
300
+ })
301
+ if (this.paper.f_userinfo_code == undefined)
302
+ this.paper.f_userinfo_code = ''
303
+ this.printContent.push({
304
+ type: 3,
305
+ text: '用户编号:' + this.paper.f_userinfo_code,
306
+ fontsize: 2,
307
+ isbold: false,
308
+ align: 'left'
309
+ })
310
+ if (this.paper.f_address == undefined)
311
+ this.paper.f_address = ''
312
+ this.printContent.push({type: 3, text: '地址:' + this.paper.f_address, fontsize: 2, isbold: false, align: 'left'})
313
+ if (this.paper.f_user_phone == undefined)
314
+ this.paper.f_user_phone = ''
315
+ this.printContent.push({
316
+ type: 3,
317
+ text: '电话:' + this.paper.f_user_phone,
318
+ fontsize: 2,
319
+ isbold: false,
320
+ align: 'left'
321
+ })
322
+ },
323
+ verify() {
324
+ let hasError = this.$parent.$parent.verifyUser()
325
+ if (hasError)
326
+ return hasError
327
+ hasError = this.$parent.$parent.verifyDevices()
328
+ if (hasError)
329
+ return hasError
330
+ },
331
+
332
+
333
+
334
+ //获取当前时间
335
+ getNowFormatDate() {
336
+ var date = new Date();
337
+ var seperator1 = "-";
338
+ var seperator2 = ":";
339
+ var month = date.getMonth() + 1;
340
+ var strDate = date.getDate();
341
+ if (month >= 1 && month <= 9) {
342
+ month = "0" + month;
343
+ }
344
+ if (strDate >= 0 && strDate <= 9) {
345
+ strDate = "0" + strDate;
346
+ }
347
+ var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate
348
+ + " " + date.getHours() + seperator2 + date.getMinutes()
349
+ + seperator2 + date.getSeconds();
350
+ return currentdate;
351
+ },
352
+ readRepair() {
353
+ let url = this.$androidUtil.getProxyUrl()
354
+ let gen = getRepairs(this, url)
355
+ return co(gen)
356
+ },
357
+ showToRepair() {
358
+ let res = this.hasDefect()
359
+ //tag
360
+ //tag
361
+ if (res == '正常') {
362
+ this.showrepair = false
363
+ } else {
364
+ this.showrepair = true
365
+ this.assignObj()
366
+ }
367
+ this.showCheckToRepair = !this.showCheckToRepair
368
+ },
369
+ // 选中部门
370
+ reres(val) {
371
+ if (val.res == undefined) {
372
+ return
373
+ }
374
+ this.$parent.$parent.model.serviceacitivity[0].f_meetunit = val.res
375
+ this.$parent.$parent.model.f_meetunit = val.res
376
+ this.$parent.$parent.model.f_orgstr = val.resids
377
+ var arr = val.res.split('.')
378
+ this.$parent.$parent.model.f_outlets = arr[arr.length - 1]
379
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.resids
380
+ },
381
+ assignObj() {
382
+ this.$parent.$parent.model.f_contact_phone = this.paper.f_user_phone
383
+ this.$parent.$parent.model.f_user_name = this.paper.f_user_name
384
+ this.$parent.$parent.model.f_address = this.paper.f_address
385
+ this.$parent.$parent.model.f_user_type = this.paper.f_check_type
386
+ this.$parent.$parent.model.f_street = this.paper.f_street
387
+ this.$parent.$parent.model.f_residential_area = this.paper.f_residential_area
388
+ this.$parent.$parent.model.f_building = this.paper.f_building
389
+ this.$parent.$parent.model.f_unit = this.paper.f_unit
390
+ this.$parent.$parent.model.f_floor = this.paper.f_floor
391
+ this.$parent.$parent.model.f_room = this.paper.f_room
392
+ this.$parent.$parent.model.f_floor = this.paper.f_floor
393
+ this.$parent.$parent.model.f_userinfo_id = this.paper.f_userinfoid
394
+ this.$parent.$parent.model.f_userinfo_code = this.paper.f_userinfo_code
395
+ },
396
+ hasDefect() {
397
+ let checkResult = '正常'
398
+ let codata = JSON.parse(JSON.stringify(this.paper))
399
+ for (let device in this.paper) {
400
+ if (device.startsWith("device")) {
401
+ for (let item in this.paper[device]) {
402
+ for (let i in this.paper[device][item].f_items) {
403
+ let items = this.paper[device][item].f_items[i]
404
+ //tag
405
+ if (items.f_is_defect == true || items.f_is_defect == 'true') {
406
+ checkResult = '有隐患'
407
+ }
408
+ }
409
+ }
410
+ }
411
+ }
412
+ return checkResult
413
+ },
414
+ uploadPaper() {
415
+ if (this.showrepair) {
416
+ //tag
417
+ //tag
418
+ //tag
419
+ //tag
420
+
421
+ if (this.meading == '转维修员' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
422
+ this.$showMessage("请选择维修员!")
423
+ return
424
+ }
425
+ if (this.$parent.$parent.meading == '转站点' && (this.$parent.$parent.model.serviceacitivity[0].f_reciever == '' || this.$parent.$parent.model.serviceacitivity[0].f_reciever == undefined)) {
426
+ this.$showMessage("请选择站点!")
427
+ return
428
+ }
429
+ if (this.$parent.$parent.model.f_repairtype == '') {
430
+ this.$showMessage("请选择报修类型!")
431
+ return
432
+ }
433
+ this.$parent.$parent.isToRepair = true
434
+ this.$parent.$parent.uploadCheckPaper()
435
+ // this.$parent.$parent.savePaper(false).then((res) => {
436
+ // //tag
437
+ // if(res != true){
438
+ // //tag
439
+ // return
440
+ // }else{
441
+ // this.$parent.$parent.todo()
442
+ // }
443
+ // })
444
+ } else {
445
+ this.$parent.$parent.undo()
446
+ }
447
+
448
+ },
449
+ //确认安检转维修
450
+
451
+ undo() {
452
+ this.showCheckToRepair = !this.showCheckToRepair
453
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = ''
454
+ this.$parent.$parent.model.serviceacitivity[0].f_meetunit = ''
455
+ this.$parent.$parent.model.f_repairtype = ''
456
+ this.meading = '转站点'
457
+ },
458
+ //取消拉黑
459
+ async deletebacklist() {
460
+ if (!this.deletecause) {
461
+ this.$showMessage("请填写取消拉黑原因!")
462
+ return
463
+ }
464
+ this.paper.f_blocking_cause = this.deletecause
465
+ //tag)
466
+ let http = new HttpResetClass()
467
+ //tag
468
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
469
+ data: {
470
+ items: "version",
471
+ tablename: "t_userinfo",
472
+ condition: "f_userinfo_id=" + this.paper.f_userinfoid,
473
+ orderitem: "f_userinfo_id"
474
+ }
475
+ }, {resolveMsg: null, rejectMsg: null})
476
+ //tag)
477
+ //tag
478
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
479
+ data: {
480
+ "f_operat_type": "取消拉黑",
481
+ "f_state": "有效",
482
+ "f_user_name": this.paper.f_user_name,
483
+ "f_comments": this.paper.f_delete_cause,
484
+ "f_operator": Vue.user.name,
485
+ "f_operatorid": Vue.user.id,
486
+ "f_orgid": Vue.user.orgid,
487
+ "f_orgname": Vue.user.orgs,
488
+ "f_depid": Vue.user.depids,
489
+ "f_depname": Vue.user.deps,
490
+ "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行取消拉黑`,
491
+ "f_userinfo_id": {
492
+ "f_userinfo_id": this.paper.f_userinfoid,
493
+ "f_user_state": "正常",
494
+ "version": res1.data[0].version
495
+ },
496
+ "f_limit_times":"",
497
+ "f_limit_value":""
498
+ }
499
+ }, {resolveMsg: null, rejectMsg: null})
500
+
501
+ //tag)
502
+ if (res2.data.code == 200) {
503
+ this.showmodelthree = false
504
+ this.deleteenabled = true
505
+ this.paper.f_blacklist = "否"
506
+ this.$showMessage("取消该用户限制购气成功!")
507
+ } else {
508
+ this.$showMessage("网络异常,请稍后再试!")
509
+ }
510
+ },
511
+ async backlist() {
512
+ if (!this.cause) {
513
+ this.$showMessage("请填写拉黑原因!")
514
+ return
515
+ }
516
+ this.paper.f_blocking_cause = this.cause
517
+ //tag)
518
+ let http = new HttpResetClass()
519
+ //tag
520
+ let res1 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
521
+ data: {
522
+ items: "version",
523
+ tablename: "t_userinfo",
524
+ condition: "f_userinfo_id=" + this.paper.f_userinfoid,
525
+ orderitem: "f_userinfo_id"
526
+ }
527
+ }, {resolveMsg: null, rejectMsg: null})
528
+ //tag)
529
+ //tag
530
+ let res2 = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/backlistOperate`, {
531
+ data: {
532
+ "f_operat_type": "拉黑",
533
+ "f_state": "有效",
534
+ "f_user_name": this.paper.f_user_name,
535
+ "f_comments": this.paper.f_blocking_cause,
536
+ "f_operator": Vue.user.name,
537
+ "f_operatorid": Vue.user.id,
538
+ "f_orgid": Vue.user.orgid,
539
+ "f_orgname": Vue.user.orgs,
540
+ "f_depid": Vue.user.depids,
541
+ "f_depname": Vue.user.deps,
542
+ "f_describe": `${Vue.user.name}对用户${this.paper.f_user_name}进行拉黑`,
543
+ "f_userinfo_id": {
544
+ "f_userinfo_id": this.paper.f_userinfoid,
545
+ "f_user_state": "正常",
546
+ "version": res1.data[0].version
547
+ },
548
+ "f_limit_times":"1",
549
+ "f_limit_value":"3"
550
+ }
551
+ }, {resolveMsg: null, rejectMsg: null})
552
+
553
+ //tag)
554
+ if (res2.data.code == 200) {
555
+ this.showmodel = false
556
+ this.enabled = true
557
+ this.paper.f_blacklist = "是"
558
+ this.$showMessage("将该用户限制购气成功!")
559
+ } else if (res2.data.msg == '数据增加重复') {
560
+ this.showmodel = false
561
+ this.enabled = true
562
+ this.$showMessage("该用户已被限制购气,请勿重复提交!")
563
+ } else {
564
+ this.$showMessage("网络异常,请稍后再试!")
565
+ }
566
+ },
567
+ cancel() {
568
+ this.backlistisselect = false
569
+ this.showmodel = false
570
+ },
571
+ deletecancel() {
572
+ this.deletebacklistisselect = false
573
+ this.showmodelthree = false
574
+ },
575
+ repiarmancg(val) {
576
+ if (val) {
577
+ //tag
578
+ this.$parent.$parent.model.serviceacitivity[0].f_reciever = val.name
579
+ let http1 = new HttpResetClass()
580
+ http1.load('POST', `${this.Url}/api/af-safecheck/sql/safe_singleTable_OrderBy`, {
581
+ data: {
582
+ items: 'f_user_telephone',
583
+ tablename: 't_user',
584
+ condition: `name = '${val}'`,
585
+ orderitem: 'id'
586
+ }
587
+ }, {resolveMsg: null, rejectMsg: null}).then((ress) => {
588
+ this.$parent.$parent.model.f_repairman_phone = ress.data[0].f_user_telephone
589
+ })
590
+ }
591
+ },
592
+ },
593
+ async ready() {
594
+ // await this.isoverDate()
595
+ //tag
596
+ //tag
597
+ //tag)
598
+ if (this.$parent.$parent.role == 'repair') {
599
+ this.$set('style__', 'divmask')
600
+ this.$set('style_view_', '')
601
+ } else if (this.$parent.$parent.role == 'view' || this.$parent.$parent.item.f_upload_state == '已传') {
602
+ this.$set('style__', 'divmask')
603
+ this.$set('style_view_', 'divmask')
604
+ //tag
605
+ } else {
606
+ this.$set('style__', '')
607
+ this.$set('style_view_', '')
608
+ }
609
+
610
+ for (let item of this.radios) {
611
+ if (this.paper.f_client_evaluation == item.label) {
612
+ item.isChecked = true;
613
+ }
614
+ }
615
+ if (!this.paper.f_notified_path)
616
+ this.$set('paper.f_notified_path', Vue.nopic)
617
+ if (!this.paper.f_sign_path)
618
+ this.$set('paper.f_sign_path', Vue.nopic)
619
+ //tag
620
+ if (!this.paper.f_overall_imgs) {
621
+ let imgs = []
622
+ // imgs.push({f_overall_path:Vue.nopic})
623
+ this.$set('paper.f_overall_imgs', imgs)
624
+ //tag
625
+ }
626
+ if (!this.paper.f_overall2_path)
627
+ this.$set('paper.f_overall2_path', Vue.nopic)
628
+
629
+ this.userid = this.role == 'view' ? this.$login.f.id : Vue.user.id
630
+ if (Vue.config.safecheck != undefined) {
631
+ if (Vue.config.safecheck.ApproveConfig != undefined) {
632
+ if (Vue.config.safecheck.ApproveConfig.safeCheckToRepair != undefined) {
633
+ this.safeCheckToRepair = Vue.config.safecheck.ApproveConfig.safeCheckToRepair
634
+ }
635
+ }
636
+ }
637
+ //tag
638
+ //tag
639
+ //tag
640
+ //tag
641
+ //tag
642
+ //tag
643
+ //tag
644
+ }
645
+ }
646
+ </script>
647
+ <style scoped>
648
+ .panel-self{
649
+ border-radius: 5px;
650
+ border:1px solid #c5e1f7;
651
+ background-color: #F2F6FA;
652
+ }
653
+ .text-left{
654
+ text-align:left;
655
+ }
656
+ .font{
657
+ font: 15px PingFang-SC-Medium;
658
+ color: #333333;
659
+ }
660
+ .showIi{
661
+ font: 14px PingFang-SC-Medium;
662
+ color: #666666;
663
+ }
664
+ .info{
665
+ margin-top: 15px;
666
+ border-radius: 5px;
667
+ background-color: #f3faff;
668
+ }
669
+ .btn-photo{
670
+ border: 0;
671
+ border-radius: 7px;
672
+ background-color: #7dc1f4;
673
+ font: 15px PingFang-SC-Bold;
674
+ height: 20%;
675
+ }
676
+ .div-photo{
677
+ width: auto;
678
+ height: auto;
679
+ /* margin-top: 10px; */
680
+ position: absolute;
681
+ bottom: 10px;
682
+ right: 10px;
683
+ }
684
+ .btn-voice{
685
+ border-radius: 7px;
686
+ border: 1px solid #dedede;
687
+ background-color: #f5fbff;
688
+ font: 15px PingFang-SC-Bold;
689
+ color: #499edf;
690
+ }
691
+ .save-btn{
692
+ width: 25%;
693
+ background-color:#499edf;
694
+ border-radius: 6px;
695
+ color: #FFFFFF;
696
+ font: 15px PingFang-SC-Bold;
697
+ }
698
+ .upload-btn{
699
+ width: 25%;
700
+ background-color:#ffffff;
701
+ border: 1px solid #499edf;
702
+ border-radius: 6px;
703
+ color: #499edf;
704
+ font: 15px PingFang-SC-Bold;
705
+ }
706
+ .repair-btn{
707
+ width: 25%;
708
+ border: 1px solid #499edf;
709
+ border-radius: 6px;
710
+ font: 15px PingFang-SC-Bold;
711
+ }
712
+ #el_ca_tx{
713
+ width: 100%;
714
+ margin: 5px;
715
+ }
716
+ #el_ca_txt{
717
+ width: 100%;
718
+ margin: 5px;
719
+ }
720
+ </style>