apply-clients 3.2.34 → 3.2.48

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 (286) hide show
  1. package/dist-android/static/15.js +2 -2
  2. package/dist-android/static/23.js +2 -2
  3. package/index.html +1 -1
  4. package/package.json +5 -5
  5. package/src/AndroidApp.vue +10 -9
  6. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.eot +0 -0
  7. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.svg +288 -0
  8. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.ttf +0 -0
  9. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff +0 -0
  10. package/src/android-bootstrap/fonts/glyphicons-halflings-regular.woff2 +0 -0
  11. package/src/android-bootstrap/less/.csscomb.json +304 -0
  12. package/src/android-bootstrap/less/.csslintrc +19 -0
  13. package/src/android-bootstrap/less/alerts.less +73 -0
  14. package/src/android-bootstrap/less/badges.less +66 -0
  15. package/src/android-bootstrap/less/bootstrap.less +56 -0
  16. package/src/android-bootstrap/less/breadcrumbs.less +26 -0
  17. package/src/android-bootstrap/less/button-groups.less +247 -0
  18. package/src/android-bootstrap/less/buttons.less +173 -0
  19. package/src/android-bootstrap/less/carousel.less +269 -0
  20. package/src/android-bootstrap/less/close.less +34 -0
  21. package/src/android-bootstrap/less/code.less +69 -0
  22. package/src/android-bootstrap/less/component-animations.less +33 -0
  23. package/src/android-bootstrap/less/dropdowns.less +216 -0
  24. package/src/android-bootstrap/less/forms.less +626 -0
  25. package/src/android-bootstrap/less/glyphicons.less +305 -0
  26. package/src/android-bootstrap/less/grid.less +84 -0
  27. package/src/android-bootstrap/less/input-groups.less +167 -0
  28. package/src/android-bootstrap/less/jumbotron.less +52 -0
  29. package/src/android-bootstrap/less/labels.less +64 -0
  30. package/src/android-bootstrap/less/list-group.less +141 -0
  31. package/src/android-bootstrap/less/media.less +66 -0
  32. package/src/android-bootstrap/less/mixins/alerts.less +14 -0
  33. package/src/android-bootstrap/less/mixins/background-variant.less +9 -0
  34. package/src/android-bootstrap/less/mixins/border-radius.less +18 -0
  35. package/src/android-bootstrap/less/mixins/buttons.less +69 -0
  36. package/src/android-bootstrap/less/mixins/center-block.less +7 -0
  37. package/src/android-bootstrap/less/mixins/clearfix.less +22 -0
  38. package/src/android-bootstrap/less/mixins/forms.less +90 -0
  39. package/src/android-bootstrap/less/mixins/gradients.less +59 -0
  40. package/src/android-bootstrap/less/mixins/grid-framework.less +92 -0
  41. package/src/android-bootstrap/less/mixins/grid.less +122 -0
  42. package/src/android-bootstrap/less/mixins/hide-text.less +21 -0
  43. package/src/android-bootstrap/less/mixins/image.less +33 -0
  44. package/src/android-bootstrap/less/mixins/labels.less +12 -0
  45. package/src/android-bootstrap/less/mixins/list-group.less +30 -0
  46. package/src/android-bootstrap/less/mixins/nav-divider.less +10 -0
  47. package/src/android-bootstrap/less/mixins/nav-vertical-align.less +9 -0
  48. package/src/android-bootstrap/less/mixins/opacity.less +8 -0
  49. package/src/android-bootstrap/less/mixins/pagination.less +24 -0
  50. package/src/android-bootstrap/less/mixins/panels.less +24 -0
  51. package/src/android-bootstrap/less/mixins/progress-bar.less +10 -0
  52. package/src/android-bootstrap/less/mixins/reset-filter.less +8 -0
  53. package/src/android-bootstrap/less/mixins/reset-text.less +18 -0
  54. package/src/android-bootstrap/less/mixins/resize.less +6 -0
  55. package/src/android-bootstrap/less/mixins/responsive-visibility.less +15 -0
  56. package/src/android-bootstrap/less/mixins/size.less +10 -0
  57. package/src/android-bootstrap/less/mixins/tab-focus.less +9 -0
  58. package/src/android-bootstrap/less/mixins/table-row.less +44 -0
  59. package/src/android-bootstrap/less/mixins/text-emphasis.less +9 -0
  60. package/src/android-bootstrap/less/mixins/text-overflow.less +8 -0
  61. package/src/android-bootstrap/less/mixins/vendor-prefixes.less +227 -0
  62. package/src/android-bootstrap/less/mixins.less +40 -0
  63. package/src/android-bootstrap/less/modals.less +151 -0
  64. package/src/android-bootstrap/less/navbar.less +660 -0
  65. package/src/android-bootstrap/less/navs.less +302 -0
  66. package/src/android-bootstrap/less/normalize.less +424 -0
  67. package/src/android-bootstrap/less/pager.less +76 -0
  68. package/src/android-bootstrap/less/pagination.less +89 -0
  69. package/src/android-bootstrap/less/panels.less +274 -0
  70. package/src/android-bootstrap/less/popovers.less +131 -0
  71. package/src/android-bootstrap/less/print.less +101 -0
  72. package/src/android-bootstrap/less/progress-bars.less +87 -0
  73. package/src/android-bootstrap/less/responsive-embed.less +35 -0
  74. package/src/android-bootstrap/less/responsive-utilities.less +194 -0
  75. package/src/android-bootstrap/less/scaffolding.less +161 -0
  76. package/src/android-bootstrap/less/tables.less +262 -0
  77. package/src/android-bootstrap/less/theme.less +291 -0
  78. package/src/android-bootstrap/less/thumbnails.less +36 -0
  79. package/src/android-bootstrap/less/tooltip.less +102 -0
  80. package/src/android-bootstrap/less/type.less +303 -0
  81. package/src/android-bootstrap/less/utilities.less +55 -0
  82. package/src/android-bootstrap/less/variables.less +896 -0
  83. package/src/android-bootstrap/less/wells.less +29 -0
  84. package/src/apply.js +143 -25
  85. package/src/applyAndroid.js +5 -3
  86. package/src/components/Util.js +5 -5
  87. package/src/components/app_apply/AppServiceView.vue +2 -2
  88. package/src/components/app_apply/Process/AppExplorationUser.vue +200 -310
  89. package/src/components/app_apply/Process/AppProgressReport.vue +84 -0
  90. package/src/components/app_apply/Process/AppServiceControl.vue +215 -4
  91. package/src/components/app_apply/ProgressReport/ProgressReportDetail.vue +64 -0
  92. package/src/components/app_apply/ProgressReport/ProgressReportList.vue +209 -0
  93. package/src/components/app_apply/Supervisory/AppProcessSupervisory.vue +12 -129
  94. package/src/components/image/tubiao.png +0 -0
  95. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeList.vue +4 -8
  96. package/src/components/product/{ApplyCharge → Apply/ApplyCharge}/ApplyChargeSearch.vue +2 -4
  97. package/src/components/product/{Function → Apply/Function}/InstallFunction.vue +4 -4
  98. package/src/components/product/{Function → Apply/Function}/InstallInfoSelect.vue +12 -16
  99. package/src/components/product/{Function → Apply/Function}/Service/FunctionServiceControl.vue +0 -1
  100. package/src/components/product/{Function → Apply/Function}/StopApplyCrrdList.vue +0 -0
  101. package/src/components/product/{Function → Apply/Function}/functions/ApplyRecordCancel.vue +1 -1
  102. package/src/components/product/{Function → Apply/Function}/functions/StopInstall.vue +11 -25
  103. package/src/components/product/{Process → Apply/Process}/ExplorationSelect.vue +5 -8
  104. package/src/components/product/{Process → Apply/Process}/ExplorationUser.vue +3 -4
  105. package/src/components/product/Apply/Process/Processes/InstallationDetails.vue +478 -0
  106. package/src/components/product/{Process → Apply/Process}/Processes/addressAndUserinfoManagement.vue +3 -8
  107. package/src/components/product/{Process → Apply/Process}/Processes/chargeManagement.vue +11 -51
  108. package/src/components/product/{Process → Apply/Process}/Processes/supplementalAgreement.vue +1 -1
  109. package/src/components/product/{Process → Apply/Process}/Service/ServiceControl.vue +11 -75
  110. package/src/components/product/{Process → Apply/Process}/ShowBackReason.vue +0 -0
  111. package/src/components/product/{Supervisory → Apply/Supervisory}/Service/SupervisoryServiceControl.vue +0 -5
  112. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryControl.vue +43 -22
  113. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryList.vue +15 -13
  114. package/src/components/product/{Supervisory → Apply/Supervisory}/SupervisoryhCart.vue +1 -1
  115. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContract.vue +156 -0
  116. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractInformation.vue +429 -0
  117. package/src/components/product/Ledger/ContractManagement/OtherContract/OtherContractList.vue +267 -0
  118. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContract.vue +138 -0
  119. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractInformation.vue +715 -0
  120. package/src/components/product/Ledger/ContractManagement/PurchaseContract/PurchaseContractList.vue +304 -0
  121. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContract.vue +119 -0
  122. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractInformation.vue +286 -0
  123. package/src/components/product/Ledger/ContractManagement/RepairContract/RepairContractList.vue +258 -0
  124. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecord.vue +24 -0
  125. package/src/components/product/Ledger/FacilityManagement/EmployRecord/EmployRecordList.vue +218 -0
  126. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityEmployRecord.vue +124 -0
  127. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventory.vue +307 -0
  128. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryInformation.vue +583 -0
  129. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityInventoryList.vue +285 -0
  130. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/FacilityServiceRecord.vue +113 -0
  131. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addFacilityInformation.vue +406 -0
  132. package/src/components/product/Ledger/FacilityManagement/FacilityInventory/addoldFacilityInformation.vue +326 -0
  133. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecord.vue +24 -0
  134. package/src/components/product/Ledger/FacilityManagement/ScrapRecord/ScrapRecordList.vue +157 -0
  135. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecord.vue +24 -0
  136. package/src/components/product/Ledger/FacilityManagement/ServiceRecord/ServiceRecordList.vue +168 -0
  137. package/src/components/product/Ledger/FileDownload/FileDownload.vue +42 -0
  138. package/src/components/product/Ledger/Function/InstallFunction.vue +118 -0
  139. package/src/components/product/Ledger/Function/InstallInfoSelect.vue +299 -0
  140. package/src/components/product/Ledger/Function/Service/FunctionServiceControl.vue +220 -0
  141. package/src/components/product/Ledger/Function/functions/PauseInstall.vue +92 -0
  142. package/src/components/product/Ledger/ImportApply/ImportApply.vue +68 -0
  143. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecord.vue +24 -0
  144. package/src/components/product/Ledger/MaterialManagement/DeliveryRecord/DeliveryRecordList.vue +281 -0
  145. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformation.vue +313 -0
  146. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/InventoryInformationList.vue +250 -0
  147. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialDeliveryRecord.vue +110 -0
  148. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialEarlyWarning.vue +194 -0
  149. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialInformation.vue +186 -0
  150. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutStock.vue +438 -0
  151. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialOutboundOrder.vue +457 -0
  152. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/MaterialWarehousingRecord.vue +110 -0
  153. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseMaterial.vue +425 -0
  154. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/PurchaseOrder.vue +481 -0
  155. package/src/components/product/Ledger/MaterialManagement/InventoryInformation/ReturnMaterial.vue +321 -0
  156. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrder.vue +86 -0
  157. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderInformation.vue +327 -0
  158. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/OutboundOrderList.vue +304 -0
  159. package/src/components/product/Ledger/MaterialManagement/OutboundOrder/PrintMaterialBill.vue +139 -0
  160. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PrintPurchaseOrder.vue +157 -0
  161. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecords.vue +73 -0
  162. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsInformation.vue +268 -0
  163. package/src/components/product/Ledger/MaterialManagement/PurchaseRecords/PurchaseRecordsList.vue +261 -0
  164. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecord.vue +24 -0
  165. package/src/components/product/Ledger/MaterialManagement/WarehousingRecord/WarehousingRecordList.vue +275 -0
  166. package/src/components/product/Ledger/Process/ProcessBusiness.vue +155 -0
  167. package/src/components/product/Ledger/Process/ProcessSelect.vue +340 -0
  168. package/src/components/product/Ledger/Process/Processes/ExhibitionPicture.vue +27 -0
  169. package/src/components/product/Ledger/Process/Processes/ProgressReport.vue +236 -0
  170. package/src/components/product/Ledger/Process/Processes/ProjectMaterialList.vue +77 -0
  171. package/src/components/product/Ledger/Process/Processes/QinhuaMaterialList.vue +72 -0
  172. package/src/components/product/Ledger/Process/Service/ServiceControl.vue +639 -0
  173. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingInformation.vue +316 -0
  174. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecord.vue +67 -0
  175. package/src/components/product/Ledger/QinhuaMaterial/PickingRecord/PickingRecordList.vue +194 -0
  176. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningInformation.vue +385 -0
  177. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecord.vue +70 -0
  178. package/src/components/product/Ledger/QinhuaMaterial/SeasoningRecord/SeasoningRecordList.vue +208 -0
  179. package/src/components/product/Ledger/Stop/StopApply.vue +103 -0
  180. package/src/components/product/Ledger/Stop/StopApplyList.vue +241 -0
  181. package/src/components/product/Ledger/Supervisory/ProcessSupervisory.vue +163 -0
  182. package/src/components/product/Ledger/Supervisory/Service/RenWuDan.vue +78 -0
  183. package/src/components/product/Ledger/Supervisory/Service/SupervisoryServiceControl.vue +606 -0
  184. package/src/components/product/Ledger/Supervisory/SupervisoryCart.vue +102 -0
  185. package/src/components/product/Ledger/Supervisory/SupervisoryList.vue +387 -0
  186. package/src/components/product/ServiceView.vue +376 -374
  187. package/src/components/product/VueUtils/ApplyUpload.vue +1 -3
  188. package/src/expandcssAndroid.less +534 -0
  189. package/src/main.js +2 -0
  190. package/static/Functions.js +91 -0
  191. package/static/Jsons.js +784 -0
  192. package/static/ManageHomePic//346/244/255/345/234/2064.png +0 -0
  193. package/static/ManagementControl/echarts10.png +0 -0
  194. package/static/ManagementControl/echarts11.png +0 -0
  195. package/static/ManagementControl/echarts12.png +0 -0
  196. package/static/ManagementControl/echarts13.png +0 -0
  197. package/static/ManagementControl/echarts14.png +0 -0
  198. package/static/ManagementControl/echarts15.png +0 -0
  199. package/static/ManagementControl/echarts16.png +0 -0
  200. package/static/ManagementControl/echarts17.png +0 -0
  201. package/static/ManagementControl/echarts18.png +0 -0
  202. package/static/ManagementControl/echarts4.png +0 -0
  203. package/static/ManagementControl/echarts5.png +0 -0
  204. package/static/ManagementControl/echarts51.png +0 -0
  205. package/static/ManagementControl/echarts6.png +0 -0
  206. package/static/ManagementControl/echarts7.png +0 -0
  207. package/static/ManagementControl/echarts71.png +0 -0
  208. package/static/ManagementControl/echarts8.png +0 -0
  209. package/static/ManagementControl//345/233/276/345/261/20211/346/213/267/350/264/235.png +0 -0
  210. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2353.png +0 -0
  211. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2355.png +0 -0
  212. package/static/ManagementControl//347/237/251/345/275/2425/346/213/267/350/264/2356.png +0 -0
  213. package/static/class.js +97 -0
  214. package/static/images/lefticon//346/226/207/344/273/266/346/250/241/345/235/227.png +0 -0
  215. package/static/init.js +135 -0
  216. package/static/jcwx.jpg +0 -0
  217. package/static/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
  218. package/static/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
  219. package/static/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
  220. package/static/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
  221. package/static/lefticon//345/233/276/345/261/202577.png +0 -0
  222. package/static/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
  223. package/static/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
  224. package/static/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
  225. package/static/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
  226. package/static/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
  227. package/static/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
  228. package/static/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
  229. package/static/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
  230. package/static/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
  231. package/static/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
  232. package/static/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
  233. package/static/lefticon//347/237/251/345/275/2421183.png +0 -0
  234. package/static/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
  235. package/static/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
  236. package/static/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
  237. package/static/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
  238. package/static/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
  239. package/static/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
  240. package/static/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
  241. package/static/loginbg1.jpg +0 -0
  242. package/static/loginbg_jincheng.jpg +0 -0
  243. package/static/loginbgmain.jpg +0 -0
  244. package/static/mainicon/adddevice.png +0 -0
  245. package/static/mainicon/addmeter.png +0 -0
  246. package/static/mainicon/bank.png +0 -0
  247. package/static/mainicon/biaopan.png +0 -0
  248. package/static/mainicon/cad.jpg +0 -0
  249. package/static/mainicon/chaobiaoyuan.png +0 -0
  250. package/static/mainicon/danganguanli.png +0 -0
  251. package/static/mainicon/deletedevice.png +0 -0
  252. package/static/mainicon/excel.jpg +0 -0
  253. package/static/mainicon/huizong.png +0 -0
  254. package/static/mainicon/jibiaoguanli.png +0 -0
  255. package/static/mainicon/jibiaoguanli2.png +0 -0
  256. package/static/mainicon/jiezhang.png +0 -0
  257. package/static/mainicon/loginbg.jpg +0 -0
  258. package/static/mainicon/shouqishoufei.png +0 -0
  259. package/static/mainicon/treeopen.png +0 -0
  260. package/static/mainicon/treeout.png +0 -0
  261. package/static/mainicon/treeset.png +0 -0
  262. package/static/mainicon/word.jpg +0 -0
  263. package/static/mainicon/wulianwang.png +0 -0
  264. package/static/mainicon/yingyechaxun.png +0 -0
  265. package/static/mainicon/zongheyewu.png +0 -0
  266. package/static/newStyle/loginbg-liaoyuan.gif +0 -0
  267. package/static/newStyle/loginbg.gif +0 -0
  268. package/static/newStyle/loginbg1366.gif +0 -0
  269. package/static/newStyle/loginbg_1.gif +0 -0
  270. package/static/newStyle/searchin.png +0 -0
  271. package/static/newStyle/searchout.png +0 -0
  272. package/static/newStyle//350/261/252/344/275/263/347/207/203/346/260/224.png +0 -0
  273. package/static/newStyle.7z +0 -0
  274. package/static/newStyle.zip +0 -0
  275. package/static/refresh.png +0 -0
  276. package/static/static.zip +0 -0
  277. package/static/tools.js +246 -0
  278. package/static/treeclose.png +0 -0
  279. package/static/wasm_exec.js +591 -0
  280. package/src/components/app_apply/Process/Processes/AppInstallationDetails.vue +0 -456
  281. package/src/components/product/ApplyCharge/ApplyChargeReport.vue +0 -107
  282. package/src/components/product/Process/Processes/InstallationDetails.vue +0 -515
  283. package/src/components/product/Process/Processes/printCharge.vue +0 -133
  284. package/src/components/product/Test.vue +0 -36
  285. package/src/components/product/VueUtils/ToolsPage.vue +0 -51
  286. package/src/components/product/VueUtils/Tree.vue +0 -330
@@ -0,0 +1,583 @@
1
+ <template>
2
+ <div class="select-overspread" style="background-color: #ffffff;padding: 20px;overflow: scroll">
3
+ <form class="form-horizontal">
4
+ <div class="form-group">
5
+ <!-- 添加设备 -->
6
+ <validator name="v1">
7
+ <div class="col-sm-4 form-group item">
8
+ <label class="control-label-justify control-label col-sm-6">合同编号</label>
9
+ <div class="col-sm-6">
10
+ <input class="form-control input_view" type="text" readonly
11
+ v-model="contract.f_contract_number"
12
+ :value.sync="contract.f_contract_number"/>
13
+ </div>
14
+ </div>
15
+ <div class="col-sm-4 form-group item">
16
+ <label class="control-label-justify control-label col-sm-6">购买厂家</label>
17
+ <div class="col-sm-6">
18
+ <input class="form-control input_view" type="text" readonly
19
+ v-model="contract.f_supplier"
20
+ :value.sync="contract.f_supplier"/>
21
+ </div>
22
+ </div>
23
+ <div class="col-sm-4 form-group item">
24
+ <label class="control-label-justify control-label col-sm-6">设备编码</label>
25
+ <div class="col-sm-6">
26
+ <input class="form-control input_view" type="text" readonly
27
+ v-model="facility.f_facility_number"
28
+ :value="facility.f_facility_number"/>
29
+ </div>
30
+ </div>
31
+ <div class="col-sm-4 form-group item">
32
+ <label class="control-label-justify control-label col-sm-6">设备名称</label>
33
+ <div class="col-sm-6">
34
+ <input class="form-control input_view" type="text" readonly
35
+ v-model="facility.f_facility_name"
36
+ :value="facility.f_facility_name"/>
37
+ </div>
38
+ </div>
39
+ <div class="col-sm-4 form-group item">
40
+ <label class="control-label-justify control-label col-sm-6">设备型号</label>
41
+ <div class="col-sm-6">
42
+ <input class="form-control input_view" type="text" readonly
43
+ v-model="facility.f_facility_model"
44
+ :value="facility.f_facility_model"/>
45
+ </div>
46
+ </div>
47
+ <div class="col-sm-4 form-group item">
48
+ <label class="control-label-justify control-label col-sm-6">设备规格</label>
49
+ <div class="col-sm-6">
50
+ <input class="form-control input_view" type="text" readonly
51
+ v-model="facility.f_facility_norm"
52
+ :value="facility.f_facility_norm"/>
53
+ </div>
54
+ </div>
55
+ <div class="col-sm-4 form-group item">
56
+ <label class="control-label-justify control-label col-sm-6">设备金额</label>
57
+ <div class="col-sm-6">
58
+ <input class="form-control input_view" type="number" readonly
59
+ v-model="facility.f_facility_money"
60
+ :value="facility.f_facility_money"/>
61
+ </div>
62
+ </div>
63
+ <div class="col-sm-4 form-group item">
64
+ <label class="control-label-justify control-label col-sm-6">购买日期</label>
65
+ <div class="col-sm-6">
66
+ <datepicker
67
+ format="yyyy-MM-dd" disabled
68
+ :value.sync="facility.f_purchase_date"
69
+ v-model="facility.f_purchase_date">
70
+ </datepicker>
71
+ </div>
72
+ </div>
73
+ <div class="col-sm-4 form-group item">
74
+ <label class="control-label-justify control-label col-sm-6">质保期(年)</label>
75
+ <div class="col-sm-6">
76
+ <input class="form-control input_view" type="number" readonly
77
+ v-model="facility.f_warranty"
78
+ :value="facility.f_warranty"/>
79
+ </div>
80
+ </div>
81
+ <div class="col-sm-12 form-group item">
82
+ <label class="control-label-justify control-label col-sm-3">备注</label>
83
+ <div class="col-sm-10">
84
+ <textarea
85
+ class="form-control input_view"
86
+ style="width: 100%;height: 100%"
87
+ rows="2" readonly
88
+ v-model="facility.f_remarks"
89
+ :value="facility.f_remarks"
90
+ ></textarea>
91
+ </div>
92
+ </div>
93
+ </validator>
94
+
95
+ <!-- 借出设备 -->
96
+ <validator name="v2">
97
+ <div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_cea_number.required ? 'has-error' : '']">
98
+ <label class="control-label-justify control-label col-sm-6">CEA号</label>
99
+ <div class="col-sm-6">
100
+ <input-select
101
+ class="select select_list"
102
+ v-show="type === 'lend'"
103
+ :value.sync="cea"
104
+ v-model="cea"
105
+ :options="ceaList"
106
+ :valueSingle="true"></input-select>
107
+ <input class="form-control input_view" type="text"
108
+ readonly
109
+ v-show="type === 'return'" v-validate:f_cea_number = "['required']"
110
+ v-model="facility.lend.f_cea_number"
111
+ :value.sync="cea.f_cea_number"/>
112
+ </div>
113
+ </div>
114
+ <div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_use_site.required ? 'has-error' : '']">
115
+ <label class="control-label-justify control-label col-sm-6">工地名称</label>
116
+ <div class="col-sm-6">
117
+ <input class="form-control input_view" type="text"
118
+ v-validate:f_use_site = "['required']"
119
+ :readonly="type === 'return'"
120
+ v-model="facility.lend.f_use_site"
121
+ :value.sync="cea.f_entry_name"/>
122
+ </div>
123
+ </div>
124
+ <div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_use_department.required ? 'has-error' : '']">
125
+ <label class="control-label-justify control-label col-sm-6">使用部门</label>
126
+ <div class="col-sm-6">
127
+ <input class="form-control input_view" type="text"
128
+ v-validate:f_use_department = "['required']"
129
+ :readonly="type === 'return'"
130
+ v-model="facility.lend.f_use_department"
131
+ :value.sync="facility.lend.f_use_department"/>
132
+ </div>
133
+ </div>
134
+ <div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_use_people.required ? 'has-error' : '']">
135
+ <label class="control-label-justify control-label col-sm-6">使用人</label>
136
+ <div class="col-sm-6">
137
+ <input class="form-control input_view" type="text"
138
+ v-validate:f_use_people = "['required']"
139
+ :readonly="type === 'return'"
140
+ v-model="facility.lend.f_use_people"
141
+ :value.sync="facility.lend.f_use_people"/>
142
+ </div>
143
+ </div>
144
+ <div class="col-sm-4 form-group item" v-if="type === 'lend' || type === 'return'" :class="[$v2.f_lend_time.required ? 'has-error' : '']">
145
+ <label class="control-label-justify control-label col-sm-6">借出时间</label>
146
+ <div class="col-sm-6">
147
+ <input type="text" v-show="false" v-model="facility.lend.f_lend_time" v-validate:f_lend_time = "['required']">
148
+ <datepicker
149
+ format="yyyy-MM-dd"
150
+ :disabled="type === 'return'"
151
+ :value.sync="facility.lend.f_lend_time"
152
+ v-model="facility.lend.f_lend_time">
153
+ </datepicker>
154
+ </div>
155
+ </div>
156
+ <div class="col-sm-12 form-group item" v-if="type === 'lend' || type === 'return'">
157
+ <label class="control-label-justify control-label col-sm-3">借出备注</label>
158
+ <div class="col-sm-10">
159
+ <textarea
160
+ class="form-control input_view"
161
+ style="width: 100%;height: 100%"
162
+ rows="2"
163
+ :readonly="type === 'return'"
164
+ v-model="facility.lend.f_lend_remarks"
165
+ :value.sync="facility.lend.f_lend_remarks"
166
+ ></textarea>
167
+ </div>
168
+ </div>
169
+
170
+ <div class="col-sm-12 form-group" v-if="type === 'lend'" style="text-align: center">
171
+ <button class="btn btn-primary" :disabled='!$v2.valid' @click.prevent="lendFacility()">借出</button>
172
+ </div>
173
+ </validator>
174
+ <!-- 还入设备 -->
175
+ <validator name="v3">
176
+ <div class="col-sm-4 form-group item" v-if="type === 'return'" :class="[$v3.f_return_time.required ? 'has-error' : '']">
177
+ <label class="control-label-justify control-label col-sm-6">还入时间</label>
178
+ <div class="col-sm-6">
179
+ <input type="text" v-show="false" v-model="facility.lend.f_return_time" v-validate:f_return_time = "['required']">
180
+ <datepicker
181
+ format="yyyy-MM-dd"
182
+ :value.sync="facility.lend.f_return_time"
183
+ v-model="facility.lend.f_return_time">
184
+ </datepicker>
185
+ </div>
186
+ </div>
187
+ <div class="col-sm-12 form-group item" v-if="type === 'return'">
188
+ <label class="control-label-justify control-label col-sm-3">还入备注</label>
189
+ <div class="col-sm-10">
190
+ <textarea
191
+ class="form-control input_view"
192
+ style="width: 100%;height: 100%"
193
+ rows="2"
194
+ v-model="facility.lend.f_return_remarks"
195
+ :value.sync="facility.lend.f_return_remarks"
196
+ ></textarea>
197
+ </div>
198
+ </div>
199
+ <div class="col-sm-12 form-group" v-if="type === 'return'" style="text-align: center">
200
+ <button class="btn btn-primary" :disabled='!$v3.valid' @click.prevent="returnFacility()">还入</button>
201
+ </div>
202
+ </validator>
203
+
204
+ <!-- 送修 -->
205
+ <validator name="v4">
206
+ <div class="col-sm-4 form-group item"
207
+ v-if="type === 'sendForRepair' || type === 'service'"
208
+ :class="[$v4.f_contract_number.required ? 'has-error' : '']">
209
+ <label class="control-label-justify control-label col-sm-6">维修合同编号</label>
210
+ <div class="col-sm-6">
211
+ <input class="form-control input_view" type="text"
212
+ v-show="false"
213
+ readonly v-validate:f_contract_number = "['required']"
214
+ v-model="facility.service.f_contract_number"
215
+ :value.sync="facility.service.f_contract_number"/>
216
+ <input-select
217
+ class="select select_list"
218
+ :disable="type === 'service'"
219
+ :value.sync="facility.service.f_contract_number"
220
+ v-model="facility.service.f_contract_number"
221
+ :options="repairContractList"
222
+ :valueSingle="true"></input-select>
223
+ </div>
224
+ </div>
225
+ <div class="col-sm-4 form-group item"
226
+ v-if="type === 'sendForRepair' || type === 'service'"
227
+ :class="[$v4.f_service_time.required ? 'has-error' : '']">
228
+ <label class="control-label-justify control-label col-sm-6">送修时间</label>
229
+ <div class="col-sm-6">
230
+ <input type="text" v-show="false" v-model="facility.service.f_service_time" v-validate:f_service_time = "['required']">
231
+ <datepicker
232
+ format="yyyy-MM-dd"
233
+ :disabled="type === 'service'"
234
+ :value.sync="facility.service.f_service_time"
235
+ v-model="facility.service.f_service_time">
236
+ </datepicker>
237
+ </div>
238
+ </div>
239
+ <div class="col-sm-4 form-group item"
240
+ v-if="type === 'sendForRepair' || type === 'service'"
241
+ :class="[$v4.f_repairman.required ? 'has-error' : '']">
242
+ <label class="control-label-justify control-label col-sm-6">送修人</label>
243
+ <div class="col-sm-6">
244
+ <input class="form-control input_view" style=""
245
+ type="text"
246
+ :readonly="type === 'service'"
247
+ v-validate:f_repairman = "['required']"
248
+ v-model="facility.service.f_repairman"
249
+ :value="facility.service.f_repairman"/>
250
+ </div>
251
+ </div>
252
+ <div class="col-sm-12 form-group item"
253
+ v-if="type === 'sendForRepair' || type === 'service'"
254
+ :class="[$v4.f_matter.required ? 'has-error' : '']">
255
+ <label class="control-label-justify control-label col-sm-3">维修事项</label>
256
+ <div class="col-sm-10">
257
+ <textarea
258
+ class="form-control input_view"
259
+ style="width: 100%;height: 100%"
260
+ rows="2"
261
+ :readonly="type === 'service'"
262
+ v-validate:f_matter = "['required']"
263
+ v-model="facility.service.f_matter"
264
+ :value="facility.service.f_matter"
265
+ ></textarea>
266
+ </div>
267
+ </div>
268
+ <div class="col-sm-12 form-group item"
269
+ v-if="type === 'sendForRepair' || type === 'service'"
270
+ :class="[$v4.f_detail.required ? 'has-error' : '']">
271
+ <label class="control-label-justify control-label col-sm-3">维修详情</label>
272
+ <div class="col-sm-10">
273
+ <textarea
274
+ class="form-control input_view"
275
+ style="width: 100%;height: 100%"
276
+ rows="2"
277
+ :readonly="type === 'service'"
278
+ v-validate:f_detail = "['required']"
279
+ v-model="facility.service.f_detail"
280
+ :value="facility.service.f_detail"
281
+ ></textarea>
282
+ </div>
283
+ </div>
284
+ <div class="col-sm-12 form-group item"
285
+ v-if="type === 'sendForRepair' || type === 'service'">
286
+ <label class="control-label-justify control-label col-sm-3">维修备注</label>
287
+ <div class="col-sm-10">
288
+ <textarea
289
+ class="form-control input_view"
290
+ style="width: 100%;height: 100%"
291
+ rows="2"
292
+ :readonly="type === 'service'"
293
+ v-model="facility.service.f_remarks"
294
+ :value="facility.service.f_remarks"
295
+ ></textarea>
296
+ </div>
297
+ </div>
298
+ <div class="col-sm-12 form-group" v-if="type === 'sendForRepair'" style="text-align: center">
299
+ <button class="btn btn-primary" :disabled='!$v4.valid' @click.prevent="sendForRepairFacility()">送修</button>
300
+ </div>
301
+ </validator>
302
+
303
+ <!-- 维修反馈 -->
304
+ <validator name="v5">
305
+ <div class="col-sm-4 form-group item"
306
+ v-if="type === 'service'"
307
+ :class="[$v5.f_unit_price.required ? 'has-error' : '']">
308
+ <label class="control-label-justify control-label col-sm-6">维修单价</label>
309
+ <div class="col-sm-6">
310
+ <input class="form-control input_view" type="number"
311
+ v-validate:f_unit_price = "['required']"
312
+ v-model="facility.service.f_unit_price"
313
+ :value="facility.service.f_unit_price"/>
314
+ </div>
315
+ </div>
316
+ <div class="col-sm-4 form-group item"
317
+ v-if="type === 'service'"
318
+ :class="[$v5.f_complete_time.required ? 'has-error' : '']">
319
+ <label class="control-label-justify control-label col-sm-6">维修完成时间</label>
320
+ <div class="col-sm-6">
321
+ <input type="text" v-show="false" v-model="facility.service.f_complete_time" v-validate:f_complete_time = "['required']">
322
+ <datepicker
323
+ format="yyyy-MM-dd"
324
+ :value.sync="facility.service.f_complete_time"
325
+ v-model="facility.service.f_complete_time">
326
+ </datepicker>
327
+ </div>
328
+ </div>
329
+ <div class="col-sm-12 form-group item" v-if="type === 'service'">
330
+ <label class="control-label-justify control-label col-sm-3">维修反馈信息</label>
331
+ <div class="col-sm-10">
332
+ <textarea
333
+ class="form-control input_view"
334
+ style="width: 100%;height: 100%"
335
+ rows="2"
336
+ v-model="facility.service.f_feedback"
337
+ :value="facility.service.f_feedback"
338
+ ></textarea>
339
+ </div>
340
+ </div>
341
+ <div class="col-sm-12 form-group" v-if="type === 'service'" style="text-align: center">
342
+ <button class="btn btn-primary" v-if="type === 'service'" @click.prevent="repairFeedback()">维修反馈</button>
343
+ </div>
344
+ </validator>
345
+ <!-- 报废 -->
346
+ <validator name="v6">
347
+ <div class="col-sm-4 form-group item"
348
+ v-if="facility.f_status === '报废' || type === 'scrapped'"
349
+ :class="[$v6.f_scrap_time.required ? 'has-error' : '']">
350
+ <label class="control-label-justify control-label col-sm-6">报废时间</label>
351
+ <div class="col-sm-6">
352
+ <input type="text" v-show="false" v-model="facility.f_scrap_time" v-validate:f_scrap_time = "['required']">
353
+ <datepicker
354
+ :disabled="type !== 'scrapped'"
355
+ format="yyyy-MM-dd"
356
+ :value.sync="facility.f_scrap_time"
357
+ v-model="facility.f_scrap_time">
358
+ </datepicker>
359
+ </div>
360
+ </div>
361
+ <div class="col-sm-12 form-group item"
362
+ v-if="facility.f_status === '报废' || type === 'scrapped'"
363
+ :class="[$v6.f_scrap_reason.required ? 'has-error' : '']">
364
+ <label class="control-label-justify control-label col-sm-3">报废原因</label>
365
+ <div class="col-sm-10">
366
+ <textarea
367
+ class="form-control input_view"
368
+ style="width: 100%;height: 100%"
369
+ rows="2"
370
+ v-validate:f_scrap_reason = "['required']"
371
+ :readonly="type !== 'scrapped'"
372
+ v-model="facility.f_scrap_reason"
373
+ :value="facility.f_scrap_reason"
374
+ ></textarea>
375
+ </div>
376
+ </div>
377
+ <div class="col-sm-12 form-group" v-if="type === 'scrapped'" style="text-align: center">
378
+ <button class="btn btn-primary" :disabled='!$v6.valid' @click.prevent="scrappedFacility()">报废</button>
379
+ </div>
380
+ </validator>
381
+ </div>
382
+ </form>
383
+ </div>
384
+ </template>
385
+
386
+ <script>
387
+ import {HttpResetClass} from 'vue-client'
388
+ export default {
389
+ props: ['facility', 'type'],
390
+ title: '设备信息',
391
+ data () {
392
+ return {
393
+ contract: {},
394
+ ceaList: [],
395
+ cea: {},
396
+ repairContractList: []
397
+ }
398
+ },
399
+ ready () {
400
+ if (this.type === 'lend') {
401
+ this.getCEAList()
402
+ }
403
+ if (this.type === 'sendForRepair') {
404
+ this.getRepairContractList()
405
+ }
406
+ this.getContract()
407
+ },
408
+ methods: {
409
+ // 报废
410
+ scrappedFacility () {
411
+ this.$dispatch('scrappedFacility', this.facility)
412
+ },
413
+ // 维修反馈
414
+ repairFeedback () {
415
+ this.$dispatch('repairFeedback', this.facility)
416
+ },
417
+ // 送修
418
+ sendForRepairFacility () {
419
+ this.$dispatch('sendForRepairFacility', this.facility)
420
+ },
421
+ // 获取采购合同
422
+ async getRepairContractList () {
423
+ let http = new HttpResetClass()
424
+
425
+ let data = {
426
+ tablename: 't_contract',
427
+ condition: `f_contract_type = '维修合同' and '${new Date().Format('yyyy-MM-dd')}' <= f_contract_expiration_date and f_estimate_money > f_contract_money`
428
+ }
429
+
430
+ let res = await http.load(
431
+ 'POST',
432
+ `rs/sql/singleTable`,
433
+ {data: data},
434
+ {resolveMsg: null, rejectMsg: '合同编号查询失败!!!'}
435
+ )
436
+
437
+ if (res.data.length <= 0) {
438
+ this.$showAlert('暂无维修合同!!!', 'warning', 3000)
439
+ return
440
+ }
441
+
442
+ res.data.forEach(item => {
443
+ this.repairContractList.push({
444
+ 'label': item.f_contract_number,
445
+ 'value': item.f_contract_number
446
+ })
447
+ })
448
+ },
449
+ // 还入
450
+ returnFacility () {
451
+ this.$dispatch('returnFacility', this.facility)
452
+ },
453
+ // 借出
454
+ lendFacility () {
455
+ this.$dispatch('lendFacility', this.facility)
456
+ },
457
+ // 获取CEA
458
+ async getCEAList () {
459
+ let http = new HttpResetClass()
460
+
461
+ let data = {
462
+ data: {
463
+ orgid: this.$login.f.orgid
464
+ },
465
+ condition: `1=1`
466
+ // condition: `act.defname = '完工'`
467
+ }
468
+
469
+ let res = await http.load(
470
+ 'POST',
471
+ `rs/sql/supervisory`,
472
+ {data: data},
473
+ {resolveMsg: null, rejectMsg: 'CEA号查询失败!!!'}
474
+ )
475
+
476
+ if (res.data.length <= 0) {
477
+ this.$showAlert('暂无工程!!!', 'warning', 3000)
478
+ return
479
+ }
480
+
481
+ res.data.forEach(item => {
482
+ this.ceaList.push({
483
+ 'label': item.f_cea_number,
484
+ 'value': {
485
+ id: item.id,
486
+ f_cea_number: item.f_cea_number,
487
+ f_entry_name: item.f_entry_name
488
+ }
489
+ })
490
+ })
491
+
492
+ },
493
+ // 获取合同
494
+ async getContract () {
495
+ let http = new HttpResetClass()
496
+
497
+ let data = {
498
+ tablename: 't_contract',
499
+ condition: `id = ${this.facility.f_contract_id}`
500
+ }
501
+
502
+ let res = await http.load(
503
+ 'POST',
504
+ `rs/sql/singleTable`,
505
+ {data: data},
506
+ {resolveMsg: null, rejectMsg: '合同查询失败!!!'}
507
+ )
508
+
509
+ this.contract = res.data[0]
510
+ }
511
+ },
512
+ events: {
513
+ }
514
+ }
515
+ </script>
516
+
517
+ <style scoped>
518
+ .item{
519
+ height: 40px;
520
+ margin-bottom: 20px;
521
+ }
522
+
523
+ th{
524
+ font-size: 15px !important;
525
+ text-align: center !important;
526
+ background-color: #dfedfb!important;
527
+ color: #666666 !important;
528
+ font-family: PINGFANG-BOLD !important;
529
+ font-weight: normal!important;
530
+ }
531
+ /*清除model中的浮动*/
532
+ .clearfix:after,.clearfix:before{
533
+ display: table;
534
+ }
535
+ .clearfix:after{
536
+ clear: both;
537
+ }
538
+
539
+ .input_view{
540
+ padding: 8px;
541
+ background-color: #ffffff;
542
+ border-radius: 2px;
543
+ border: solid 1px #c7c7c7!important;
544
+ color: #333333!important;
545
+ font-size: 15px!important;
546
+ }
547
+
548
+ .input_view[readonly]{
549
+ border: 1px solid #DDD!important;
550
+ /*background-color: #F5F5F5;*/
551
+ color:#ACA899!important;
552
+ }
553
+ .input_view:disabled{
554
+ border: 1px solid #DDD!important;
555
+ /*background-color: #F5F5F5;*/
556
+ color:#ACA899!important;
557
+ }
558
+
559
+ .control-label-justify {
560
+ display: inline-block;
561
+ vertical-align: top;
562
+ width: 110px;
563
+ text-align: justify;
564
+ font-family: PingFang-SC-Bold;
565
+ }
566
+
567
+ .control-label-justify::after {
568
+ content: "";
569
+ display: inline-block;
570
+ width: 70px;
571
+ overflow: hidden;
572
+ height: 0;
573
+ }
574
+
575
+ input::-webkit-outer-spin-button,
576
+ input::-webkit-inner-spin-button {
577
+ -webkit-appearance: none;
578
+ }
579
+
580
+ input[type="number"] {
581
+ -moz-appearance: textfield;
582
+ }
583
+ </style>