safecheck-client 3.0.30-61-t2 → 3.0.30-61-t3

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 (288) hide show
  1. package/package.json +1 -1
  2. package/src/components/CheckerCount/CheckCountUserList.vue +2 -2
  3. package/src/components/CheckerCount/ZhouKouCheckCount.vue +3 -3
  4. package/src/components/DefectDealMain/DefectListNew.vue +2 -2
  5. package/src/components/DefectDealMain/DefectPaperNew.vue +5 -5
  6. package/src/components/ExportExcel.vue +342 -340
  7. package/src/components/NewDefectList/DefectListNew.vue +2 -2
  8. package/src/components/NewDefectList/DefectPaperNew.vue +4 -4
  9. package/src/components/android/ClockIn.vue +1 -1
  10. package/src/components/android/DoorService.vue +1 -1
  11. package/src/components/callincheck/CallInPlan.vue +148 -148
  12. package/src/components/checkplan/CheckDetail.vue +4 -4
  13. package/src/components/checkplan/SelectCheckPlan.vue +2 -2
  14. package/src/components/createcheckplan/CreatePlan.vue +4 -4
  15. package/src/components/createcheckplan/CreatePlanWuan.vue +5 -5
  16. package/src/components/createcheckplan/DelPlanRepeat.vue +4 -4
  17. package/src/components/createcheckplan/PlanList.vue +2 -2
  18. package/src/components/createcheckplan/PlanUersList.vue +2 -2
  19. package/src/components/defect/DefectList.vue +1 -1
  20. package/src/components/defect/DefectListWeixiu.vue +1 -1
  21. package/src/components/defect/DefectPaper.vue +4 -4
  22. package/src/components/defect/DefectPaperWeiXiu.vue +4 -4
  23. package/src/components/defects/AddDefectModal.vue +120 -120
  24. package/src/components/defects/AddDevice.vue +95 -95
  25. package/src/components/defects/CheckPaperSearch.vue +349 -349
  26. package/src/components/defects/DefectSeting.vue +1 -1
  27. package/src/components/defects/DevicesSeting.vue +106 -106
  28. package/src/components/equipment/CheckRate.vue +4 -4
  29. package/src/components/equipment/CheckerRate.vue +4 -4
  30. package/src/components/equipment/MonthCheckRate.vue +4 -4
  31. package/src/components/filialCircle/AddCircleFiliale.vue +114 -114
  32. package/src/components/inspections/InspectionList.vue +2 -2
  33. package/src/components/inspections/InspectionLists.vue +2 -2
  34. package/src/components/inspections/InspectionListss.vue +2 -2
  35. package/src/components/issueplan/IssuePlanAction.vue +1 -1
  36. package/src/components/levelplan/AdjustPlan.vue +1 -1
  37. package/src/components/levelplan/CheckerLeft.vue +1 -1
  38. package/src/components/levelplan/CheckerPlanAdjust.vue +2 -2
  39. package/src/components/levelplan/CheckerRight.vue +1 -1
  40. package/src/components/map/AMapTrailShowZk.vue +185 -185
  41. package/src/components/map/FootPrintList.vue +1 -1
  42. package/src/components/map/PersonTrack.vue +1 -1
  43. package/src/components/metterfiles/AddUserfiles.vue +246 -246
  44. package/src/components/metterfiles/MetterFiles.vue +1 -1
  45. package/src/components/metterfiles/MetterfilesChange.vue +162 -162
  46. package/src/components/metterfiles/UserFiles.vue +1 -1
  47. package/src/components/metterfiles/Userfileschange.vue +2 -2
  48. package/src/components/noplan/NoPlanSearchUser.vue +4 -4
  49. package/src/components/olddata/OldPaperList.vue +2 -2
  50. package/src/components/paper/PaperList.vue +2 -2
  51. package/src/components/paper/RepairVerifyForm.vue +76 -76
  52. package/src/components/paper/VerifyForm.vue +107 -107
  53. package/src/components/paper/filialeCheckInfo.vue +2 -2
  54. package/src/components/pc/AddToCheckBook.vue +2 -2
  55. package/src/components/pc/CheckBook.vue +1 -1
  56. package/src/components/pc/CheckBookDetails.vue +194 -194
  57. package/src/components/pc/CheckBookList.vue +3 -3
  58. package/src/components/pc/CheckBookSearchArea.vue +4 -4
  59. package/src/components/pc/CheckBookSearchUser.vue +4 -4
  60. package/src/components/pc/CheckBookSearchUserList.vue +1 -1
  61. package/src/components/pc/CheckNoDetail.vue +2 -2
  62. package/src/components/pc/DefectDeal.vue +2 -2
  63. package/src/components/pc/Edit.vue +126 -126
  64. package/src/components/pc/NewCheckpaper.vue +4 -4
  65. package/src/components/pc/PaperChazhiMain.vue +2 -2
  66. package/src/components/pc/PaperDefectMain.vue +2 -2
  67. package/src/components/pc/PaperEdit.vue +2 -2
  68. package/src/components/pc/PaperVisitMain.vue +2 -2
  69. package/src/components/pc/SafeVisitHistory.vue +2 -2
  70. package/src/components/pc/SafecheckDeviceList.vue +2 -2
  71. package/src/components/pc/SelectCheckNoPlan.vue +3 -3
  72. package/src/components/pc/SelectCheckPlanAndNoPLan.vue +2 -2
  73. package/src/components/planmanage/checkPlanList.vue +2 -2
  74. package/src/components/planmanage/checkUserList.vue +3 -3
  75. package/src/components/querycheckpaper/CheckSearchUser.vue +5 -5
  76. package/src/components/querycheckpaper/CheckSearchUserNew.vue +5 -5
  77. package/src/components/querycheckpaper/ShebeiSearchUser.vue +4 -4
  78. package/src/components/report/CheckPlanAreaList.vue +2 -2
  79. package/src/components/report/CheckPlanUserList.vue +2 -2
  80. package/src/components/report/NoCheckplanSafecheck.vue +2 -2
  81. package/src/components/rongcheng/CheckSearchArea.vue +2 -2
  82. package/src/components/rongcheng/CheckSearchUser.vue +2 -2
  83. package/src/components/rongcheng/CheckSearchUserNo.vue +2 -2
  84. package/src/components/rongcheng/CheckUserList.vue +2 -2
  85. package/src/components/rongcheng/DefectList.vue +1 -1
  86. package/src/components/rongcheng/DefectPaper.vue +4 -4
  87. package/src/components/rongcheng/PaperListAJ.vue +2 -2
  88. package/src/components/rongcheng/PaperListNPAJ.vue +2 -2
  89. package/src/components/rongcheng/PaperListNPSQ.vue +2 -2
  90. package/src/components/rongcheng/PaperListSQ.vue +2 -2
  91. package/src/components/rongcheng/checkerplan/SelectCheckPlan.vue +2 -2
  92. package/src/components/rongcheng/report/CheckPlanUserList.vue +4 -4
  93. package/src/components/shaoguan/CheckPlanUserList.vue +2 -2
  94. package/src/components/shaoguan/DefectList.vue +1 -1
  95. package/src/components/shaoguan/DefectPaper.vue +2 -2
  96. package/src/components/shaoguan/PaperList.vue +3 -3
  97. package/src/components/userfile/UserFile.vue +1 -1
  98. package/src/components/userfile/UserInfoAudit.vue +2 -2
  99. package/src/components/userfile/UserfileChange.vue +1 -1
  100. package/src/components/userfileaudit/UserfileChangeaudit.vue +1 -1
  101. package/src/filiale/ALshan/pc/CheckSearchUser.vue +4 -4
  102. package/src/filiale/ALshan/pc/DefectListWeixiu.vue +1 -1
  103. package/src/filiale/ALshan/pc/checkUserList.vue +3 -3
  104. package/src/filiale/ancheng/pc/PaperList.vue +3 -3
  105. package/src/filiale/ankangyihua/pc/CheckPlanAreaList.vue +2 -2
  106. package/src/filiale/ankangyihua/pc/CheckSearchUser.vue +5 -5
  107. package/src/filiale/ankangyihua/pc/DefectListWeixiu.vue +1 -1
  108. package/src/filiale/ankangyihua/pc/DefectPaperWeiXiu.vue +4 -4
  109. package/src/filiale/ankangyihua/pc/NewCheckpaper.vue +1 -1
  110. package/src/filiale/ankangyihua/pc/PaperDefectMain.vue +2 -2
  111. package/src/filiale/ankangyihua/pc/PaperList.vue +3 -3
  112. package/src/filiale/ankangyihua/pc/checkUserList.vue +3 -3
  113. package/src/filiale/bayan/pc/PaperList.vue +3 -3
  114. package/src/filiale/fugou/pc/PaperList.vue +2 -2
  115. package/src/filiale/fugu/pc/CheckSearchUser.vue +5 -5
  116. package/src/filiale/fugu/pc/SelectCheckPlan.vue +2 -2
  117. package/src/filiale/fugu/pc/planmanage/checkUserList.vue +3 -3
  118. package/src/filiale/ganquan/pc/DefectPaperNew.vue +3 -3
  119. package/src/filiale/ganquan/pc/PaperList.vue +3 -3
  120. package/src/filiale/ganquan/pc/PaperVisitMain.vue +2 -2
  121. package/src/filiale/ganquan/pc/SelectCheckPlan.vue +2 -2
  122. package/src/filiale/ganquan/pc/checkUserList.vue +3 -3
  123. package/src/filiale/gehua/pc/PaperList.vue +2 -2
  124. package/src/filiale/gehua/pc/checkUserList.vue +3 -3
  125. package/src/filiale/guangxi/pc/CheckPlanAreaList.vue +2 -2
  126. package/src/filiale/guangxi/pc/DefectListNew.vue +2 -2
  127. package/src/filiale/guangxi/pc/DefectPaperNew.vue +4 -4
  128. package/src/filiale/hanzhong/pc/CheckSearchUser.vue +5 -5
  129. package/src/filiale/hanzhong/pc/CheckUserList.vue +3 -3
  130. package/src/filiale/hanzhong/pc/PaperList.vue +3 -3
  131. package/src/filiale/huatong/android/SafecheckOrderV.vue +1 -1
  132. package/src/filiale/huatong/pc/PaperDefectMain.vue +2 -2
  133. package/src/filiale/huatong/pc/PaperList.vue +3 -3
  134. package/src/filiale/huayin/pc/PaperList.vue +3 -3
  135. package/src/filiale/jiaocheng/pc/CheckSearchUser.vue +5 -5
  136. package/src/filiale/jiaocheng/pc/DefectListNew.vue +2 -2
  137. package/src/filiale/jinbin/pc/CheckPlanAreaList.vue +2 -2
  138. package/src/filiale/jinbin/pc/DefectListWeixiu.vue +1 -1
  139. package/src/filiale/jingyang/pc/CheckSearchUser.vue +5 -5
  140. package/src/filiale/jingyang/pc/PaperList.vue +3 -3
  141. package/src/filiale/kelai/pc/CheckPlanAreaList.vue +2 -2
  142. package/src/filiale/kelai/pc/CheckSearchUser.vue +5 -5
  143. package/src/filiale/kelai/pc/DefectListNew.vue +2 -2
  144. package/src/filiale/kelai/pc/DefectPaperNew.vue +4 -4
  145. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasList.vue +2 -2
  146. package/src/filiale/kelai/pc/FaultLimitGas/FaultLimitGasPaper.vue +3 -3
  147. package/src/filiale/kelai/pc/PaperList.vue +3 -3
  148. package/src/filiale/kelai/pc/checkUserList.vue +3 -3
  149. package/src/filiale/liaoyuan/pc/CheckSearchUser.vue +2 -2
  150. package/src/filiale/liaoyuan/pc/DefectListWeixiu.vue +1 -1
  151. package/src/filiale/liaoyuan/pc/DefectPaperWeiXiu.vue +3 -3
  152. package/src/filiale/liaoyuan/pc/PaperList.vue +1 -1
  153. package/src/filiale/lixian/pc/CheckPlanAreaList.vue +2 -2
  154. package/src/filiale/lixian/pc/CheckSearchUser.vue +4 -4
  155. package/src/filiale/lixian/pc/PaperChazhiMain.vue +2 -2
  156. package/src/filiale/lixian/pc/PaperDefectMain.vue +2 -2
  157. package/src/filiale/lixian/pc/PaperList.vue +3 -3
  158. package/src/filiale/lixian/pc/checkPlanList.vue +2 -2
  159. package/src/filiale/lixian/pc/checkUserList.vue +3 -3
  160. package/src/filiale/minsheng/pc/CheckSearchUser.vue +5 -5
  161. package/src/filiale/minsheng/pc/DefectListNew.vue +2 -2
  162. package/src/filiale/minsheng/pc/checkUserList.vue +3 -3
  163. package/src/filiale/pingxiang/pc/DefectListNew.vue +2 -2
  164. package/src/filiale/pingxiang/pc/DefectPaperNew.vue +4 -4
  165. package/src/filiale/pingxiang/pc/PaperList.vue +3 -3
  166. package/src/filiale/qianneng/pc/DefectListNew.vue +2 -2
  167. package/src/filiale/qianneng/pc/DefectPaperNew.vue +4 -4
  168. package/src/filiale/qianneng/pc/NoCheckplanSafecheck.vue +2 -2
  169. package/src/filiale/qianneng/pc/PaperList.vue +3 -3
  170. package/src/filiale/qianneng/pc/checkPlanList.vue +4 -4
  171. package/src/filiale/qianneng/pc/checkUserList.vue +5 -5
  172. package/src/filiale/qingjian/pc/PaperDefectMain.vue +2 -2
  173. package/src/filiale/qingtongxia/pc/DefectListNew.vue +2 -2
  174. package/src/filiale/qingtongxia/pc/PaperDefectMain.vue +2 -2
  175. package/src/filiale/rizhao/pc/DefectList.vue +1 -1
  176. package/src/filiale/rizhao/pc/PaperList.vue +3 -3
  177. package/src/filiale/rongchuang/pc/checkUserList.vue +3 -3
  178. package/src/filiale/shanxian/pc/CheckDetail.vue +4 -4
  179. package/src/filiale/shanxian/pc/CheckSearchUser.vue +5 -5
  180. package/src/filiale/shanxian/pc/DefectPaperNew.vue +5 -5
  181. package/src/filiale/shanxian/pc/SelectCheckPlan.vue +2 -2
  182. package/src/filiale/shanxian/pc/checkUserList.vue +3 -3
  183. package/src/filiale/shaoguan/pc/PaperList.vue +2 -2
  184. package/src/filiale/shexian/pc/DefectListNew.vue +2 -2
  185. package/src/filiale/shexian/pc/DefectPaperNew.vue +4 -4
  186. package/src/filiale/shexian/pc/PaperDefectMain.vue +2 -2
  187. package/src/filiale/shimen/pc/CheckPlanAreaList.vue +2 -2
  188. package/src/filiale/shimen/pc/CheckSearchUser.vue +4 -4
  189. package/src/filiale/shimen/pc/DefectList.vue +1 -1
  190. package/src/filiale/shimen/pc/PaperDefectMain.vue +2 -2
  191. package/src/filiale/shimen/pc/PaperList.vue +2 -2
  192. package/src/filiale/shiquan/pc/checkUserList.vue +3 -3
  193. package/src/filiale/tianke/pc/DefectListNew.vue +2 -2
  194. package/src/filiale/tianke/pc/PaperDefectMain.vue +2 -2
  195. package/src/filiale/tongchuan/pc/CheckBookDetails.vue +1 -1
  196. package/src/filiale/tongchuan/pc/CheckBookList.vue +3 -3
  197. package/src/filiale/tongchuan/pc/CheckDetail.vue +4 -4
  198. package/src/filiale/tongchuan/pc/CheckPlanAreaList.vue +2 -2
  199. package/src/filiale/tongchuan/pc/CheckPlanUserList.vue +2 -2
  200. package/src/filiale/tongchuan/pc/CheckSearchUser.vue +4 -4
  201. package/src/filiale/tongchuan/pc/DefectListWeixiu.vue +1 -1
  202. package/src/filiale/tongchuan/pc/DefectPaper.vue +2 -2
  203. package/src/filiale/tongchuan/pc/DefectPaperWeiXiu.vue +4 -4
  204. package/src/filiale/tongchuan/pc/NoCheckplanSafecheck.vue +2 -2
  205. package/src/filiale/tongchuan/pc/PaperDefectMain.vue +2 -2
  206. package/src/filiale/tongchuan/pc/PaperList.vue +2 -2
  207. package/src/filiale/tongchuan/pc/SelectCheckPlan.vue +2 -2
  208. package/src/filiale/tongchuan/pc/checkUserList.vue +3 -3
  209. package/src/filiale/weinan/pc/CheckBook.vue +1 -1
  210. package/src/filiale/weinan/pc/CheckBookDetails.vue +194 -194
  211. package/src/filiale/weinan/pc/CheckBookList.vue +3 -3
  212. package/src/filiale/weinan/pc/CheckBookSearchUser.vue +4 -4
  213. package/src/filiale/weinan/pc/CheckBookSearchUserList.vue +1 -1
  214. package/src/filiale/weinan/pc/CheckDetail.vue +4 -4
  215. package/src/filiale/weinan/pc/CheckDetailOutHelp.vue +4 -4
  216. package/src/filiale/weinan/pc/CheckNoDetail.vue +4 -4
  217. package/src/filiale/weinan/pc/CheckPlanUserList.vue +2 -2
  218. package/src/filiale/weinan/pc/DefectPaperNew.vue +3 -3
  219. package/src/filiale/weinan/pc/HiddenSituation.vue +167 -167
  220. package/src/filiale/weinan/pc/PaperDefectMain.vue +3 -3
  221. package/src/filiale/weinan/pc/PaperList.vue +3 -3
  222. package/src/filiale/weinan/pc/PersonTrack.vue +1 -1
  223. package/src/filiale/weinan/pc/SelectCheckNoPlan.vue +3 -3
  224. package/src/filiale/weinan/pc/SelectCheckPlan.vue +3 -3
  225. package/src/filiale/weinan/pc/SelectCheckPlanOutHelp.vue +3 -3
  226. package/src/filiale/weinan/pc/checkPlanList.vue +2 -2
  227. package/src/filiale/weinan/pc/checkUserList.vue +3 -3
  228. package/src/filiale/weinanct/pc/PaperList.vue +3 -3
  229. package/src/filiale/wensu/pc/CheckDetail.vue +4 -4
  230. package/src/filiale/wensu/pc/CheckSearchUser.vue +6 -6
  231. package/src/filiale/wensu/pc/DefectListNew.vue +2 -2
  232. package/src/filiale/wensu/pc/DefectPaperNew.vue +4 -4
  233. package/src/filiale/wensu/pc/SelectCheckPlan.vue +2 -2
  234. package/src/filiale/wensu/pc/checkUserList.vue +3 -3
  235. package/src/filiale/wenxi/pc/CheckPlanAreaList.vue +2 -2
  236. package/src/filiale/wenxi/pc/CheckPlanUserList.vue +2 -2
  237. package/src/filiale/wenxi/pc/CheckSearchUser.vue +5 -5
  238. package/src/filiale/wenxi/pc/DefectList.vue +1 -1
  239. package/src/filiale/wenxi/pc/DefectPaper.vue +4 -4
  240. package/src/filiale/wenxi/pc/PaperDefectMain.vue +2 -2
  241. package/src/filiale/wenxi/pc/PaperList.vue +4 -4
  242. package/src/filiale/wenxi/pc/checkPlanList.vue +4 -4
  243. package/src/filiale/wenxi/pc/checkUserList.vue +3 -3
  244. package/src/filiale/wuan/pc/DefectListWeixiu.vue +1 -1
  245. package/src/filiale/wuan/pc/DefectPaperWeiXiu.vue +4 -4
  246. package/src/filiale/wuan/pc/PaperList.vue +2 -2
  247. package/src/filiale/wuhai/pc/CheckSearchUser.vue +4 -4
  248. package/src/filiale/wuhai/pc/checkUserList.vue +3 -3
  249. package/src/filiale/xinkang/pc/CheckPlanAreaList.vue +2 -2
  250. package/src/filiale/xinkang/pc/CheckPlanUserList.vue +2 -2
  251. package/src/filiale/xinkang/pc/CheckSearchUser.vue +4 -4
  252. package/src/filiale/xinkang/pc/DefectListWeixiu.vue +1 -1
  253. package/src/filiale/xinkang/pc/DefectPaperWeiXiu.vue +4 -4
  254. package/src/filiale/xinkang/pc/PaperDefectMain.vue +2 -2
  255. package/src/filiale/xinkang/pc/PaperList.vue +3 -3
  256. package/src/filiale/xinkang/pc/checkUserList.vue +3 -3
  257. package/src/filiale/yangchunboneng/pc/AddToCheckBook.vue +3 -3
  258. package/src/filiale/yangchunboneng/pc/CheckBook.vue +1 -1
  259. package/src/filiale/yangchunboneng/pc/CheckBookDetails.vue +213 -213
  260. package/src/filiale/yangchunboneng/pc/CheckBookList.vue +3 -3
  261. package/src/filiale/yangchunboneng/pc/CheckBookSearchUser.vue +4 -4
  262. package/src/filiale/yangchunboneng/pc/CheckBookUser.vue +2 -2
  263. package/src/filiale/yangchunboneng/pc/CheckPlanAreaList.vue +2 -2
  264. package/src/filiale/yangchunboneng/pc/CheckSearchUser.vue +5 -5
  265. package/src/filiale/yangchunboneng/pc/DefectListNew.vue +2 -2
  266. package/src/filiale/yangchunboneng/pc/DefectPaperNew.vue +4 -4
  267. package/src/filiale/yangchunboneng/pc/PaperDefectMain.vue +2 -2
  268. package/src/filiale/yangchunboneng/pc/PaperList.vue +3 -3
  269. package/src/filiale/yongzhou/pc/NoCheckplanSafecheck.vue +2 -2
  270. package/src/filiale/yongzhou/pc/PaperList.vue +2 -2
  271. package/src/filiale/yongzhou/pc/checkUserList.vue +3 -3
  272. package/src/filiale/yongzhou/pc/communityDetail.vue +2 -2
  273. package/src/filiale/yongzhou/pc/communityTypeDetailG.vue +2 -2
  274. package/src/filiale/yongzhou/pc/communityTypeDetailM.vue +2 -2
  275. package/src/filiale/yongzhou/pc/safeDetail.vue +2 -2
  276. package/src/filiale/yongzhou/pc/safeStatisticsDay.vue +2 -2
  277. package/src/filiale/yongzhou/pc/safeStatisticsMonth.vue +2 -2
  278. package/src/filiale/yuansheng/pc/DefectListNew.vue +2 -2
  279. package/src/filiale/yuansheng/pc/PaperList.vue +3 -3
  280. package/src/filiale/yunchengminsheng/pc/checkUserList.vue +3 -3
  281. package/src/filiale/zhongsheng/pc/CheckPlanAreaList.vue +2 -2
  282. package/src/filiale/zhongsheng/pc/DefectListWeixiu.vue +1 -1
  283. package/src/filiale/zhongsheng/pc/DefectPaperWeiXiu.vue +4 -4
  284. package/src/filiale/zhongsheng/pc/PaperList.vue +3 -3
  285. package/src/filiale/zhongyi/pc/DefectListNew.vue +2 -2
  286. package/src/filiale/zhoukou/pc/CheckSearchUser.vue +4 -4
  287. package/src/filiale/zhoukou/pc/PaperDefectMain.vue +2 -2
  288. package/src/plugins/LoadCheckParams.js +59 -59
@@ -1,120 +1,120 @@
1
- <template>
2
- <modal :show.sync="$parent.showModal" v-ref:modal>
3
- <div slot="modal-header" class="modal-header">
4
- <h4 class="modal-title">
5
- 添加隐患
6
- </h4>
7
- </div>
8
-
9
- <div slot="modal-body" class="modal-body">
10
- <div class="row auto">
11
- <validator name='v'>
12
-
13
- <div class="form-group">
14
- <label for="f_defect" class=" col-sm-3 control-label">隐患:</label>
15
- <div class="col-sm-3">
16
- <input class="form-control" type="text" v-model="model.f_defect" placeholder='隐患' v-validate:f_defect='{ required: true }'>
17
- </div>
18
-
19
- <label for="f_defect_level" class="col-sm-3 control-label">隐患级别:</label>
20
- <div class="col-sm-3">
21
- <input class="form-control" type="text" v-model="model.f_defect_level" placeholder='例如:A1' v-validate:f_defect_level='{ required: true }'>
22
- </div>
23
-
24
- <div class="form-group">
25
- <label for="f_defect_field" class=" col-sm-3 control-label">隐患字段:</label>
26
- <div class="col-sm-3">
27
- <input class="form-control" type="text" v-model="model.f_defect_field" placeholder='例如:f_defect_field' v-validate:f_defect_field='{ required: true }'>
28
- </div>
29
-
30
- <label for="f_defect_path" class="col-sm-3 control-label">隐患照片路径字段:</label>
31
- <div class="col-sm-3">
32
- <input class="form-control" type="text" v-model="model.f_defect_path" placeholder='例如:f_defect_path' v-validate:f_defect_path='{ required: true }'>
33
- </div>
34
-
35
- </div>
36
- <div class="form-group">
37
- <label class=" col-sm-3 control-label">设备类别:</label>
38
- <div class="col-sm-3">
39
- <v-select id="f_state" :value.sync="model.f_device_type"
40
- :options='devices'
41
- close-on-select clear-button></v-select>
42
- </div>
43
-
44
- <label class="col-sm-3 control-label">设备:</label>
45
- <div class="col-sm-3">
46
- <input class="form-control" type="text" v-model="model.f_device_id" placeholder='设备' >
47
- </div>
48
-
49
- </div>
50
- <div class="form-group">
51
- <label for="f_remark" class=" col-sm-3 control-label">备注:</label>
52
- <div class="col-sm-3">
53
- <input class="form-control" type="text" v-model="model.f_remark" placeholder='备注'>
54
- </div>
55
- </div>
56
- </validator>
57
- </div>
58
- </div>
59
- <div slot="modal-footer" class="modal-footer">
60
- <button type="button" class="btn btn-primary" @click="addDefect" >保存</button>
61
- <button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
62
- </div>
63
- </modal>
64
- </template>
65
-
66
- <script>
67
- import Vue from 'vue'
68
-
69
-
70
- export default {
71
- title: '添加隐患信息',
72
- props:['showModal'],
73
- data() {
74
- return {
75
- model:{},
76
- devices:[]
77
- }
78
- },
79
- methods: {
80
- addDefect() {
81
- let errorring = true
82
- if(this.model.f_defect_field)
83
- if(this.model.f_defect_field.endsWith("_path")){
84
- errorring = false
85
- alert("隐患字段不能以 _path结尾")
86
- }
87
- if(errorring) {
88
- if (this.model.f_defect_path) {
89
- if (!this.model.f_defect_path.endsWith("_path")) {
90
- errorring = false
91
- alert("图片路径字段必须以 _path结尾")
92
- }
93
- }
94
- }
95
- if(errorring) {
96
- this.$resetpost(`rs/logic/添加总隐患信息`,
97
- {data: this.model},
98
- {resolveMsg: null, rejectMsg: null}).then(
99
- (response) => {
100
- window.alert('添加隐患信息成功')
101
- }
102
- ).catch(
103
- (response) => {
104
- window.alert('添加隐患信息失败')
105
- }
106
- )
107
- }
108
- this.$parent.undo()
109
- },
110
- },
111
- ready(){
112
- let that = this
113
- this.$resetpost("rs/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
114
- respanse.data.data.forEach((item)=>{
115
- that.devices.push({label:item.f_device_name,value:item.f_device_name})
116
- })
117
- })
118
- }
119
- }
120
- </script>
1
+ <template>
2
+ <modal :show.sync="$parent.showModal" v-ref:modal>
3
+ <div slot="modal-header" class="modal-header">
4
+ <h4 class="modal-title">
5
+ 添加隐患
6
+ </h4>
7
+ </div>
8
+
9
+ <div slot="modal-body" class="modal-body">
10
+ <div class="row auto">
11
+ <validator name='v'>
12
+
13
+ <div class="form-group">
14
+ <label for="f_defect" class=" col-sm-3 control-label">隐患:</label>
15
+ <div class="col-sm-3">
16
+ <input class="form-control" type="text" v-model="model.f_defect" placeholder='隐患' v-validate:f_defect='{ required: true }'>
17
+ </div>
18
+
19
+ <label for="f_defect_level" class="col-sm-3 control-label">隐患级别:</label>
20
+ <div class="col-sm-3">
21
+ <input class="form-control" type="text" v-model="model.f_defect_level" placeholder='例如:A1' v-validate:f_defect_level='{ required: true }'>
22
+ </div>
23
+
24
+ <div class="form-group">
25
+ <label for="f_defect_field" class=" col-sm-3 control-label">隐患字段:</label>
26
+ <div class="col-sm-3">
27
+ <input class="form-control" type="text" v-model="model.f_defect_field" placeholder='例如:f_defect_field' v-validate:f_defect_field='{ required: true }'>
28
+ </div>
29
+
30
+ <label for="f_defect_path" class="col-sm-3 control-label">隐患照片路径字段:</label>
31
+ <div class="col-sm-3">
32
+ <input class="form-control" type="text" v-model="model.f_defect_path" placeholder='例如:f_defect_path' v-validate:f_defect_path='{ required: true }'>
33
+ </div>
34
+
35
+ </div>
36
+ <div class="form-group">
37
+ <label class=" col-sm-3 control-label">设备类别:</label>
38
+ <div class="col-sm-3">
39
+ <v-select id="f_state" :value.sync="model.f_device_type"
40
+ :options='devices'
41
+ close-on-select clear-button></v-select>
42
+ </div>
43
+
44
+ <label class="col-sm-3 control-label">设备:</label>
45
+ <div class="col-sm-3">
46
+ <input class="form-control" type="text" v-model="model.f_device_id" placeholder='设备' >
47
+ </div>
48
+
49
+ </div>
50
+ <div class="form-group">
51
+ <label for="f_remark" class=" col-sm-3 control-label">备注:</label>
52
+ <div class="col-sm-3">
53
+ <input class="form-control" type="text" v-model="model.f_remark" placeholder='备注'>
54
+ </div>
55
+ </div>
56
+ </validator>
57
+ </div>
58
+ </div>
59
+ <div slot="modal-footer" class="modal-footer">
60
+ <button type="button" class="btn btn-primary" @click="addDefect" >保存</button>
61
+ <button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
62
+ </div>
63
+ </modal>
64
+ </template>
65
+
66
+ <script>
67
+ import Vue from 'vue'
68
+
69
+
70
+ export default {
71
+ title: '添加隐患信息',
72
+ props:['showModal'],
73
+ data() {
74
+ return {
75
+ model:{},
76
+ devices:[]
77
+ }
78
+ },
79
+ methods: {
80
+ addDefect() {
81
+ let errorring = true
82
+ if(this.model.f_defect_field)
83
+ if(this.model.f_defect_field.endsWith("_path")){
84
+ errorring = false
85
+ alert("隐患字段不能以 _path结尾")
86
+ }
87
+ if(errorring) {
88
+ if (this.model.f_defect_path) {
89
+ if (!this.model.f_defect_path.endsWith("_path")) {
90
+ errorring = false
91
+ alert("图片路径字段必须以 _path结尾")
92
+ }
93
+ }
94
+ }
95
+ if(errorring) {
96
+ this.$resetpost(`api/af-safecheck/logic/添加总隐患信息`,
97
+ {data: this.model},
98
+ {resolveMsg: null, rejectMsg: null}).then(
99
+ (response) => {
100
+ window.alert('添加隐患信息成功')
101
+ }
102
+ ).catch(
103
+ (response) => {
104
+ window.alert('添加隐患信息失败')
105
+ }
106
+ )
107
+ }
108
+ this.$parent.undo()
109
+ },
110
+ },
111
+ ready(){
112
+ let that = this
113
+ this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
114
+ respanse.data.data.forEach((item)=>{
115
+ that.devices.push({label:item.f_device_name,value:item.f_device_name})
116
+ })
117
+ })
118
+ }
119
+ }
120
+ </script>
@@ -1,95 +1,95 @@
1
- <template>
2
- <modal :show.sync="$parent.showModal" v-ref:modal>
3
- <div slot="modal-header" class="modal-header">
4
- <h4 class="modal-title">
5
- 添加安检设备
6
- </h4>
7
- </div>
8
- <div slot="modal-body" class="modal-body">
9
- <div class="row auto">
10
- <div class="form-group">
11
- <label class=" col-sm-3 control-label">设备名称:</label>
12
- <div class="col-sm-3">
13
- <input class="form-control" type="text" v-model="model.f_defect" placeholder='设备名称'>
14
- </div>
15
- <label class="col-sm-3 control-label">用户类型:</label>
16
- <div class="col-sm-3">
17
- <v-select id="f_user_type" :value.sync="model.f_user_type"
18
- :options='user_type'
19
- close-on-select clear-button></v-select>
20
- </div>
21
- </div>
22
- <div class="form-group">
23
- <label class=" col-sm-3 control-label">设备保存字段:</label>
24
- <div class="col-sm-3">
25
- <input class="form-control" type="text" v-model="model.f_device_field" placeholder='例如:f_device_field'>
26
- </div>
27
-
28
- <label class="col-sm-3 control-label">是否必检:</label>
29
- <div class="col-sm-3">
30
- <input class="form-control" type="text" v-model="model.f_write_must" placeholder='是否必检'>
31
- </div>
32
- </div>
33
- </div>
34
- </div>
35
- <div slot="modal-footer" class="modal-footer">
36
- <button type="button" class="btn btn-primary" @click="addDevice" >保存</button>
37
- <button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
38
- </div>
39
- </modal>
40
- </template>
41
-
42
- <script>
43
- import Vue from 'vue'
44
-
45
-
46
- export default {
47
- title: '添加设备信息',
48
- data() {
49
- return {
50
- model:{},
51
- devices:[]
52
- }
53
- },
54
- methods: {
55
- addDevice() {
56
- let errorring = true
57
- if(this.model.f_defect_field)
58
- if(this.model.f_defect_field.endsWith("_path")){
59
- errorring = false
60
- alert("隐患字段不能以 _path结尾")
61
- }
62
- if(errorring) {
63
- if (this.model.f_defect_path) {
64
- if (!this.model.f_defect_path.endsWith("_path")) {
65
- errorring = false
66
- alert("图片路径字段必须以 _path结尾")
67
- }
68
- }
69
- }
70
- if(errorring) {
71
- this.$resetpost('rs/entity/t_device_info',
72
- {data: this.model},
73
- {resolveMsg: null, rejectMsg: null}).then(
74
- (response) => {
75
- window.alert('添加隐患信息成功')
76
- }
77
- ).catch(
78
- (response) => {
79
- window.alert('添加隐患信息失败')
80
- }
81
- )
82
- }
83
- this.$parent.undo()
84
- },
85
- },
86
- ready(){
87
- let that = this
88
- this.$resetpost("rs/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
89
- respanse.data.data.forEach((item)=>{
90
- that.devices.push({label:item.f_device_name,value:item.f_device_name})
91
- })
92
- })
93
- }
94
- }
95
- </script>
1
+ <template>
2
+ <modal :show.sync="$parent.showModal" v-ref:modal>
3
+ <div slot="modal-header" class="modal-header">
4
+ <h4 class="modal-title">
5
+ 添加安检设备
6
+ </h4>
7
+ </div>
8
+ <div slot="modal-body" class="modal-body">
9
+ <div class="row auto">
10
+ <div class="form-group">
11
+ <label class=" col-sm-3 control-label">设备名称:</label>
12
+ <div class="col-sm-3">
13
+ <input class="form-control" type="text" v-model="model.f_defect" placeholder='设备名称'>
14
+ </div>
15
+ <label class="col-sm-3 control-label">用户类型:</label>
16
+ <div class="col-sm-3">
17
+ <v-select id="f_user_type" :value.sync="model.f_user_type"
18
+ :options='user_type'
19
+ close-on-select clear-button></v-select>
20
+ </div>
21
+ </div>
22
+ <div class="form-group">
23
+ <label class=" col-sm-3 control-label">设备保存字段:</label>
24
+ <div class="col-sm-3">
25
+ <input class="form-control" type="text" v-model="model.f_device_field" placeholder='例如:f_device_field'>
26
+ </div>
27
+
28
+ <label class="col-sm-3 control-label">是否必检:</label>
29
+ <div class="col-sm-3">
30
+ <input class="form-control" type="text" v-model="model.f_write_must" placeholder='是否必检'>
31
+ </div>
32
+ </div>
33
+ </div>
34
+ </div>
35
+ <div slot="modal-footer" class="modal-footer">
36
+ <button type="button" class="btn btn-primary" @click="addDevice" >保存</button>
37
+ <button type="button" class="btn btn-default" @click="$parent.undo()">取消</button>
38
+ </div>
39
+ </modal>
40
+ </template>
41
+
42
+ <script>
43
+ import Vue from 'vue'
44
+
45
+
46
+ export default {
47
+ title: '添加设备信息',
48
+ data() {
49
+ return {
50
+ model:{},
51
+ devices:[]
52
+ }
53
+ },
54
+ methods: {
55
+ addDevice() {
56
+ let errorring = true
57
+ if(this.model.f_defect_field)
58
+ if(this.model.f_defect_field.endsWith("_path")){
59
+ errorring = false
60
+ alert("隐患字段不能以 _path结尾")
61
+ }
62
+ if(errorring) {
63
+ if (this.model.f_defect_path) {
64
+ if (!this.model.f_defect_path.endsWith("_path")) {
65
+ errorring = false
66
+ alert("图片路径字段必须以 _path结尾")
67
+ }
68
+ }
69
+ }
70
+ if(errorring) {
71
+ this.$resetpost('rs/entity/t_device_info',
72
+ {data: this.model},
73
+ {resolveMsg: null, rejectMsg: null}).then(
74
+ (response) => {
75
+ window.alert('添加隐患信息成功')
76
+ }
77
+ ).catch(
78
+ (response) => {
79
+ window.alert('添加隐患信息失败')
80
+ }
81
+ )
82
+ }
83
+ this.$parent.undo()
84
+ },
85
+ },
86
+ ready(){
87
+ let that = this
88
+ this.$resetpost("api/af-safecheck/logic/获取安检设备",{condition: '1 =1'}).then((respanse) => {
89
+ respanse.data.data.forEach((item)=>{
90
+ that.devices.push({label:item.f_device_name,value:item.f_device_name})
91
+ })
92
+ })
93
+ }
94
+ }
95
+ </script>