kz-ui-base 1.0.48 → 1.0.49

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 (485) hide show
  1. package/list-base-page/listBasePageTs.vue +1 -1
  2. package/package.json +1 -1
  3. package/views/basicdata/employeeSkill/index.vue +157 -0
  4. package/views/pd/prodstructTemplate/components/DocModifyDialog.vue +237 -0
  5. package/views/pd/prodstructTemplate/components/ProddesignDocDialog.vue +224 -0
  6. package/views/pd/prodstructTemplate/components/TemplateEditDialog.vue +407 -0
  7. package/views/system/common/modal/UserModal.vue +440 -0
  8. package/api/DPS/BomMaterial.js +0 -34
  9. package/api/DPS/WorkOrder.js +0 -44
  10. package/api/DPS/WorkOrderLed.js +0 -19
  11. package/api/DPS/XgateControl.js +0 -10
  12. package/api/DPS/factory.js +0 -36
  13. package/api/DPS/produce.js +0 -52
  14. package/api/PPMS/collection.js +0 -111
  15. package/api/PPMS/facility.js +0 -10
  16. package/api/ScrewDeviceDA/tighteningDataDetail.js +0 -10
  17. package/api/lowcode/fieldDefinition.js +0 -4
  18. package/api/lowcode/interfaceSetting.js +0 -12
  19. package/api/monitor/job.js +0 -71
  20. package/api/monitor/jobLog.js +0 -26
  21. package/api/monitor/online.js +0 -18
  22. package/api/pdds/pdds.js +0 -182
  23. package/api/sample/audio.js +0 -46
  24. package/api/sample/document.js +0 -55
  25. package/api/sample/screen.js +0 -46
  26. package/api/tool/gen.js +0 -83
  27. package/views/bd/attribute/index.vue +0 -559
  28. package/views/bd/collectionAgreement/add.vue +0 -270
  29. package/views/bd/collectionAgreement/index.vue +0 -176
  30. package/views/bd/costCenter/components/costCenterModal.vue +0 -141
  31. package/views/bd/costCenter/index.vue +0 -304
  32. package/views/bd/currency/index.vue +0 -180
  33. package/views/bd/customer/components/customer-info-tab/AddressInfoTab.vue +0 -91
  34. package/views/bd/customer/components/customer-info-tab/BankInfoTab.vue +0 -94
  35. package/views/bd/customer/components/customer-info-tab/BaseInfoTab.vue +0 -153
  36. package/views/bd/customer/components/customer-info-tab/BusinessInfoTab.vue +0 -140
  37. package/views/bd/customer/components/customer-info-tab/ContactInfoTab.vue +0 -103
  38. package/views/bd/customer/components/customer-info-tab/SalesmanInfoTab.vue +0 -87
  39. package/views/bd/customer/index.vue +0 -150
  40. package/views/bd/customerArea/index.vue +0 -392
  41. package/views/bd/customerIndustry/index.vue +0 -392
  42. package/views/bd/customeraddress/index.vue +0 -76
  43. package/views/bd/customerbank/index.vue +0 -77
  44. package/views/bd/customercontacts/index.vue +0 -79
  45. package/views/bd/customersalesman/index.vue +0 -47
  46. package/views/bd/employee/index.vue +0 -219
  47. package/views/bd/exchangeRate/index.vue +0 -232
  48. package/views/bd/item/index.vue +0 -535
  49. package/views/bd/itemCategory/index.vue +0 -397
  50. package/views/bd/itemClass/index.vue +0 -445
  51. package/views/bd/itemList/index.vue +0 -445
  52. package/views/bd/itemcategorysoattribute/index.vue +0 -56
  53. package/views/bd/numberingrule/index.vue +0 -191
  54. package/views/bd/productLine/index.vue +0 -387
  55. package/views/bd/productusage/index.vue +0 -579
  56. package/views/bd/productusage/productUsageEditModal.vue +0 -96
  57. package/views/bd/project/index.vue +0 -145
  58. package/views/bd/settlementMethod/index.vue +0 -210
  59. package/views/bd/uom/UomEditDialog.vue +0 -157
  60. package/views/bd/uom/index.vue +0 -256
  61. package/views/bd/vendor/components/VendorEditDialog.vue +0 -203
  62. package/views/bd/vendor/components/vendor-info-tab/ContactInfoTab.vue +0 -74
  63. package/views/bd/vendor/index.vue +0 -140
  64. package/views/bd/workGroup/index.vue +0 -651
  65. package/views/eam/annualTesting/LubWaitPartsApplyDialog.vue +0 -767
  66. package/views/eam/annualTesting/SpareDialog.vue +0 -476
  67. package/views/eam/annualTesting/annualList/LubWaitPartsApplyDialog.vue +0 -938
  68. package/views/eam/annualTesting/annualList/index.vue +0 -1019
  69. package/views/eam/annualTesting/index.vue +0 -698
  70. package/views/eam/annualTesting/indexAdd.vue +0 -1195
  71. package/views/eam/annualTesting/indexList.vue +0 -1026
  72. package/views/eam/annualTesting/indexMaintenance.vue +0 -1340
  73. package/views/eam/annualTesting/issued.vue +0 -709
  74. package/views/eam/asset/assetAttachment/assetBomAttachment.vue +0 -253
  75. package/views/eam/asset/assetAttachment/fileUpload.vue +0 -238
  76. package/views/eam/asset/assetAttachment/index.vue +0 -360
  77. package/views/eam/asset/assetAttachment2/AssetAttachmentDialog.vue +0 -199
  78. package/views/eam/asset/assetAttachment2/assetBomAttachment.vue +0 -253
  79. package/views/eam/asset/assetAttachment2/fileUpload.vue +0 -296
  80. package/views/eam/asset/assetAttachment2/index.vue +0 -477
  81. package/views/eam/asset/assetAttachment2/index2.vue +0 -152
  82. package/views/eam/asset/assetBaseInfo/components/applyComment.vue +0 -265
  83. package/views/eam/asset/assetBaseInfo/convert.vue +0 -1297
  84. package/views/eam/asset/assetBaseInfo/idle.vue +0 -612
  85. package/views/eam/asset/assetBaseInfo/index.vue +0 -1486
  86. package/views/eam/asset/assetBaseInfo/lent.vue +0 -662
  87. package/views/eam/asset/assetBaseInfo/newPurchase.vue +0 -1379
  88. package/views/eam/asset/assetBaseInfo/permanent.vue +0 -624
  89. package/views/eam/asset/assetBaseInfo/safeAttchment.vue +0 -368
  90. package/views/eam/asset/assetBaseInfo/special.vue +0 -645
  91. package/views/eam/asset/assetBaseInfo/usage.vue +0 -1062
  92. package/views/eam/asset/assetBaseInfo/usageInternal.vue +0 -1080
  93. package/views/eam/asset/assetBaseInfo/value.vue +0 -615
  94. package/views/eam/asset/assetDetail/index.vue +0 -198
  95. package/views/eam/asset/assetDetail/safeAttachment.vue +0 -41
  96. package/views/eam/asset/assetInfo/attachment.vue +0 -178
  97. package/views/eam/asset/assetInfo/bom.vue +0 -1170
  98. package/views/eam/asset/assetInfo/components/PlanDetailsDialog.vue +0 -236
  99. package/views/eam/asset/assetInfo/components/SpareBomDialog.vue +0 -448
  100. package/views/eam/asset/assetInfo/components/SpareDialog.vue +0 -450
  101. package/views/eam/asset/assetInfo/components/TaskDetailsDialog.vue +0 -529
  102. package/views/eam/asset/assetInfo/components/common.js +0 -30
  103. package/views/eam/asset/assetInfo/components/infoDialog.vue +0 -179
  104. package/views/eam/asset/assetInfo/dailyPoint.vue +0 -1487
  105. package/views/eam/asset/assetInfo/index.vue +0 -1845
  106. package/views/eam/asset/assetInfo/info.vue +0 -1798
  107. package/views/eam/asset/assetInfo/lubrication.vue +0 -2259
  108. package/views/eam/asset/assetInfo/maintain.vue +0 -1958
  109. package/views/eam/asset/assetInfo/point.vue +0 -1844
  110. package/views/eam/asset/assetInfo/polling.vue +0 -1853
  111. package/views/eam/asset/assetInfo/printDetail.vue +0 -115
  112. package/views/eam/asset/assetInfo/printDetailcopy.vue +0 -132
  113. package/views/eam/asset/assetInfo/resume.vue +0 -421
  114. package/views/eam/asset/assetInfo/testingStandards.vue +0 -2155
  115. package/views/eam/asset/assetList/convert.vue +0 -921
  116. package/views/eam/asset/assetList/idle.vue +0 -787
  117. package/views/eam/asset/assetList/index.vue +0 -1018
  118. package/views/eam/asset/assetList/lent.vue +0 -778
  119. package/views/eam/asset/assetList/newPurchase.vue +0 -952
  120. package/views/eam/asset/assetList/permanent.vue +0 -790
  121. package/views/eam/asset/assetList/printDetail.vue +0 -193
  122. package/views/eam/asset/assetList/safeAttachment.vue +0 -552
  123. package/views/eam/asset/assetList/special.vue +0 -794
  124. package/views/eam/asset/assetList/usage.vue +0 -875
  125. package/views/eam/asset/assetList/usageInternal.vue +0 -785
  126. package/views/eam/asset/assetList/value.vue +0 -767
  127. package/views/eam/asset/assetListInfo/index.vue +0 -252
  128. package/views/eam/asset/assetListLog/convert.vue +0 -324
  129. package/views/eam/asset/assetListLog/idle.vue +0 -323
  130. package/views/eam/asset/assetListLog/index.vue +0 -345
  131. package/views/eam/asset/assetListLog/lent.vue +0 -328
  132. package/views/eam/asset/assetListLog/newPurchase.vue +0 -324
  133. package/views/eam/asset/assetListLog/permanent.vue +0 -346
  134. package/views/eam/asset/assetListLog/special.vue +0 -325
  135. package/views/eam/asset/assetListLog/usage.vue +0 -327
  136. package/views/eam/asset/assetListLog/value.vue +0 -324
  137. package/views/eam/asset/assetStandardList/index.vue +0 -876
  138. package/views/eam/asset/bom/assetBom.vue +0 -2061
  139. package/views/eam/asset/bom/assetBomReadOnly.vue +0 -2054
  140. package/views/eam/asset/category/index.vue +0 -821
  141. package/views/eam/asset/category/readOnly.vue +0 -823
  142. package/views/eam/asset/construction/index.vue +0 -710
  143. package/views/eam/asset/deviceCategory/index.vue +0 -583
  144. package/views/eam/asset/emAssetPrintItems/index.vue +0 -395
  145. package/views/eam/asset/generalAssetUpload/index.vue +0 -1049
  146. package/views/eam/asset/location/index.vue +0 -500
  147. package/views/eam/asset/newPurchaseAssetUpload/index.vue +0 -916
  148. package/views/eam/asset/part/partSelect.vue +0 -126
  149. package/views/eam/asset/testDIa.vue +0 -133
  150. package/views/eam/asset/userOwnership/index.vue +0 -761
  151. package/views/eam/assetListReport/DeviceInfoPanel.vue +0 -146
  152. package/views/eam/assetListReport/index.vue +0 -311
  153. package/views/eam/assetReport/DeviceInfoPanel.vue +0 -144
  154. package/views/eam/assetReport/DeviceOperateStatus.vue +0 -44
  155. package/views/eam/assetReport/components/AssetPicAndStatus.vue +0 -41
  156. package/views/eam/assetReport/components/AvailabilityAndProficiency.vue +0 -112
  157. package/views/eam/assetReport/components/BootTimeAndPayloadWeight.vue +0 -51
  158. package/views/eam/assetReport/components/MaintenanceStatus.vue +0 -185
  159. package/views/eam/assetReport/components/RealTimeTemperature.vue +0 -45
  160. package/views/eam/assetReport/index.vue +0 -268
  161. package/views/eam/assetattribute/index.vue +0 -67
  162. package/views/eam/assetcategoryattribute/index.vue +0 -58
  163. package/views/eam/equipmentInspection/inspectionPlan/components/SpecialSendDialogCreated.vue +0 -890
  164. package/views/eam/equipmentInspection/inspectionPlan/components/index.vue +0 -1542
  165. package/views/eam/equipmentInspection/inspectionPlan/index.vue +0 -656
  166. package/views/eam/equipmentInspection/lims/components/LimsDetailDialog.vue +0 -323
  167. package/views/eam/equipmentInspection/lims/index.vue +0 -267
  168. package/views/eam/equipmentInspection/special/components/SpecialCancelDialog.vue +0 -137
  169. package/views/eam/equipmentInspection/special/components/SpecialSendDialog.vue +0 -380
  170. package/views/eam/equipmentInspection/special/index.vue +0 -276
  171. package/views/eam/equipmentInspection/specialNew/components/EquipmentLocation.vue +0 -312
  172. package/views/eam/equipmentInspection/specialNew/components/InspectionReport.vue +0 -977
  173. package/views/eam/equipmentInspection/specialNew/components/SpecialCancelDialog.vue +0 -137
  174. package/views/eam/equipmentInspection/specialNew/components/SpecialSendDialog.vue +0 -456
  175. package/views/eam/equipmentInspection/specialNew/components/SpecialSendDialogRegister.vue +0 -439
  176. package/views/eam/equipmentInspection/specialNew/index.vue +0 -575
  177. package/views/eam/flowable/definition/index.vue +0 -584
  178. package/views/eam/flowable/definition/model.vue +0 -145
  179. package/views/eam/flowable/finished/index.vue +0 -352
  180. package/views/eam/flowable/form/index.vue +0 -308
  181. package/views/eam/flowable/process/index.vue +0 -490
  182. package/views/eam/flowable/record/components/Tip.vue +0 -235
  183. package/views/eam/flowable/record/components/dialog/ExceptionDetailsDialog.vue +0 -308
  184. package/views/eam/flowable/record/components/lubrication.vue +0 -2115
  185. package/views/eam/flowable/record/components/maintain.vue +0 -2014
  186. package/views/eam/flowable/record/components/point.vue +0 -1677
  187. package/views/eam/flowable/record/components/polling.vue +0 -1735
  188. package/views/eam/flowable/record/components/regularPlanAudit.vue +0 -639
  189. package/views/eam/flowable/record/components/sparePartsDemandList.vue +0 -259
  190. package/views/eam/flowable/record/components/taskAudit.vue +0 -555
  191. package/views/eam/flowable/record/flow.vue +0 -28
  192. package/views/eam/flowable/record/flowview.vue +0 -243
  193. package/views/eam/flowable/record/index.vue +0 -959
  194. package/views/eam/flowable/todo/index.vue +0 -297
  195. package/views/eam/front/index.vue +0 -17
  196. package/views/eam/idle/idleApply/components/idleApplyAddDialog.vue +0 -237
  197. package/views/eam/idle/idleApply/components/idleApplyCancelDialog.vue +0 -6
  198. package/views/eam/idle/idleApply/index.vue +0 -0
  199. package/views/eam/indexPage/assetCurrentStatus/index.vue +0 -123
  200. package/views/eam/indexPage/assetRunningStatus/index.vue +0 -145
  201. package/views/eam/indexPage/index.vue +0 -78
  202. package/views/eam/indexPage/maintenanceStatistic/index.vue +0 -139
  203. package/views/eam/indexPage/messages/index.vue +0 -106
  204. package/views/eam/indexPage/monthFaultRanking/index.vue +0 -168
  205. package/views/eam/indexPage/monthMaintenanceCalendar/index.vue +0 -182
  206. package/views/eam/indexPage/monthRepairRequest/index.vue +0 -323
  207. package/views/eam/indexPage/monthStopRanking/index.vue +0 -192
  208. package/views/eam/indexPage/monthlyAssetAvailability/index.vue +0 -203
  209. package/views/eam/indexPage/panelContainer.vue +0 -87
  210. package/views/eam/indexPage/todayAlarm/index.vue +0 -165
  211. package/views/eam/inventory/assetInventory/index.vue +0 -381
  212. package/views/eam/inventory/assetInventoryDetail/detailAdd.vue +0 -709
  213. package/views/eam/inventory/assetInventoryDetail/index.vue +0 -625
  214. package/views/eam/lubrication/lubWaitDispatch/LubWaitCancelBatchDialog.vue +0 -200
  215. package/views/eam/lubrication/lubWaitDispatch/LubWaitCancelDialog.vue +0 -146
  216. package/views/eam/lubrication/lubWaitDispatch/LubWaitDispatchBatchDialog.vue +0 -293
  217. package/views/eam/lubrication/lubWaitDispatch/LubWaitDispatchDialog.vue +0 -558
  218. package/views/eam/lubrication/lubWaitDispatch/LubWaitPartsApplyDialog.vue +0 -508
  219. package/views/eam/lubrication/lubWaitDispatch/index.vue +0 -598
  220. package/views/eam/lubrication/lubWaitHandle/LubWaitHandleCancelBatchDialog.vue +0 -198
  221. package/views/eam/lubrication/lubWaitHandle/LubWaitHandleCancelDialog.vue +0 -139
  222. package/views/eam/lubrication/lubWaitHandle/LubWaitHandleReportDialog.vue +0 -600
  223. package/views/eam/lubrication/lubWaitHandle/index.vue +0 -486
  224. package/views/eam/lubrication/lubricationMoon/LubricationMoonCancelPlanDialog.vue +0 -122
  225. package/views/eam/lubrication/lubricationMoon/LubricationMoonDetailDialog.vue +0 -82
  226. package/views/eam/lubrication/lubricationMoon/LubricationMoonSubmitDialog.vue +0 -149
  227. package/views/eam/lubrication/lubricationMoon/index.vue +0 -592
  228. package/views/eam/lubrication/lubricationSummar/index.vue +0 -482
  229. package/views/eam/lubrication/lubricationTemporary/index.vue +0 -381
  230. package/views/eam/lubrication/lubricationYear/LubricationCancelDialog.vue +0 -166
  231. package/views/eam/lubrication/lubricationYear/LubricationDetailDialog.vue +0 -250
  232. package/views/eam/lubrication/lubricationYear/LubricationYearExportDialog.vue +0 -151
  233. package/views/eam/lubrication/lubricationYear/index.vue +0 -542
  234. package/views/eam/mst/emMstAttachAuthority/index.vue +0 -244
  235. package/views/eam/mst/emMstFactory/index.vue +0 -379
  236. package/views/eam/mst/emMstLine/index.vue +0 -395
  237. package/views/eam/mst/emMstLocation/index copy 2.vue +0 -460
  238. package/views/eam/mst/emMstLocation/index copy.vue +0 -461
  239. package/views/eam/mst/emMstLocation/index.vue +0 -591
  240. package/views/eam/mst/emSysParameter/index.vue +0 -259
  241. package/views/eam/mst/emSysParameter/modal/modalEditEamSysParameter.vue +0 -363
  242. package/views/eam/repair/repairApply/components/RepairApplyAddDialog.vue +0 -765
  243. package/views/eam/repair/repairApply/components/RepairApplyCancelDialog.vue +0 -139
  244. package/views/eam/repair/repairApply/index copy.vue +0 -1574
  245. package/views/eam/repair/repairApply/index.vue +0 -601
  246. package/views/eam/repair/repairCalendar/RepairCalendarReportDialog.vue +0 -989
  247. package/views/eam/repair/repairCalendar/index.vue +0 -875
  248. package/views/eam/repair/repairDispatch/components/RepairApplyPartsDialog.vue +0 -474
  249. package/views/eam/repair/repairDispatch/components/RepairDispatchCancelDialog.vue +0 -140
  250. package/views/eam/repair/repairDispatch/components/RepairSelectPartsDialog.vue +0 -332
  251. package/views/eam/repair/repairDispatch/components/RepariApplyPartsDialog.vue +0 -474
  252. package/views/eam/repair/repairDispatch/index.vue +0 -1820
  253. package/views/eam/repair/repairDispatch/index_old.vue +0 -2005
  254. package/views/eam/repair/repairPlan/components/PlanBottomEdit.vue +0 -291
  255. package/views/eam/repair/repairPlan/components/PlanSubmitDialog.vue +0 -126
  256. package/views/eam/repair/repairPlan/components/PlanTableCalendar.vue +0 -172
  257. package/views/eam/repair/repairPlan/components/PlanTableList.vue +0 -143
  258. package/views/eam/repair/repairPlan/components/RepairPlanDetailDialog.vue +0 -72
  259. package/views/eam/repair/repairPlan/index.vue +0 -308
  260. package/views/eam/repair/repairScrap/index.vue +0 -557
  261. package/views/eam/reportCenter/assetStatusAnalysis/index.vue +0 -476
  262. package/views/eam/reportCenter/costing/components/deviceCosting.vue +0 -914
  263. package/views/eam/reportCenter/costing/index.vue +0 -807
  264. package/views/eam/reportCenter/equipFailure/index.vue +0 -615
  265. package/views/eam/reportCenter/faultAnalysis/index.vue +0 -1231
  266. package/views/eam/reportCenter/kpiFailure/index.vue +0 -583
  267. package/views/eam/reportCenter/sparePartsRate/index.vue +0 -715
  268. package/views/eam/reportCenter/workOrderAnalysis/index.vue +0 -696
  269. package/views/eam/scrap/scrapApply/component/ScrapApplyCancelDialog.vue +0 -141
  270. package/views/eam/scrap/scrapApply/component/ScrapApplyEditDialog.vue +0 -530
  271. package/views/eam/scrap/scrapApply/index copy.vue +0 -556
  272. package/views/eam/scrap/scrapApply/index.vue +0 -386
  273. package/views/eam/sparePartMain/SparePartMain.vue +0 -58
  274. package/views/eam/sparePartMain/sparePartBasic/SparePartBasicMain.vue +0 -58
  275. package/views/eam/spareParts/sparePartsBasic/index.vue +0 -676
  276. package/views/eam/spareParts/sparePartsDemand/index.vue +0 -658
  277. package/views/eam/spareParts/sparePartsInventory/index.vue +0 -425
  278. package/views/eam/spareParts/sparePartsLibrary/index.vue +0 -426
  279. package/views/eam/spareParts/sparePartsRecord/index.vue +0 -476
  280. package/views/eam/spareParts/sparePartsType/index.vue +0 -654
  281. package/views/eam/spareParts/sparePartsUse/index.vue +0 -550
  282. package/views/eam/spotCheck/components/InspectionCancelDialog.vue +0 -162
  283. package/views/eam/spotCheck/inspectionStatus/DetailDialog.vue +0 -364
  284. package/views/eam/spotCheck/inspectionStatus/UnassignedWorkersDialog.vue +0 -256
  285. package/views/eam/spotCheck/inspectionStatus/index.vue +0 -989
  286. package/views/eam/spotCheck/planAction/index.vue +0 -1193
  287. package/views/eam/spotCheck/specialEquipmentInspect/index.vue +0 -928
  288. package/views/eam/spotCheck/spotCheckMoon/index.vue +0 -1235
  289. package/views/eam/spotCheck/spotCheckUnusual/index.vue +0 -1131
  290. package/views/eam/spotCheck/spotCheckYear/index.vue +0 -1123
  291. package/views/eam/spotCheck/waitDispatch/index.vue +0 -1554
  292. package/views/eam/spotCheck/waitHandle/index.vue +0 -2058
  293. package/views/eam/tallyModule/dailyWaitHandle/index.vue +0 -1816
  294. package/views/eam/tallyModule/planAction/components/planActionAddDialog.vue +0 -414
  295. package/views/eam/tallyModule/planAction/index.vue +0 -832
  296. package/views/eam/tallyModule/spotCheckUnusual/AbnormalInfoDialog.vue +0 -165
  297. package/views/eam/tallyModule/spotCheckUnusual/index.vue +0 -971
  298. package/views/eam/tallyModule/statusSummary/index.vue +0 -1189
  299. package/views/eam/tallyModule/taskProcessed/index.vue +0 -1891
  300. package/views/eam/tallyModule/waitHandle/index.vue +0 -1984
  301. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchApplyPartsDialog.vue +0 -523
  302. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchBottomEdit.vue +0 -501
  303. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchCancelDialog.vue +0 -138
  304. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchSelectPartsDialog.vue +0 -389
  305. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchSubmitDialog.vue +0 -146
  306. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchTableCalendar.vue +0 -205
  307. package/views/eam/techInnovation/techInnovationDispatch/components/DispatchTableList.vue +0 -174
  308. package/views/eam/techInnovation/techInnovationDispatch/index.vue +0 -296
  309. package/views/eam/techInnovation/techInnovationPlan/components/PlanBottomEdit.vue +0 -469
  310. package/views/eam/techInnovation/techInnovationPlan/components/PlanDetailDialog.vue +0 -77
  311. package/views/eam/techInnovation/techInnovationPlan/components/PlanSelectPartsDialog.vue +0 -336
  312. package/views/eam/techInnovation/techInnovationPlan/components/PlanSubmitDialog.vue +0 -149
  313. package/views/eam/techInnovation/techInnovationPlan/components/PlanTableCalendar.vue +0 -171
  314. package/views/eam/techInnovation/techInnovationPlan/components/PlanTableList.vue +0 -144
  315. package/views/eam/techInnovation/techInnovationPlan/index.vue +0 -271
  316. package/views/eam/techInnovation/techInnovationReport/components/ReportApplyPartsDialog.vue +0 -523
  317. package/views/eam/techInnovation/techInnovationReport/components/ReportBottomEdit.vue +0 -615
  318. package/views/eam/techInnovation/techInnovationReport/components/ReportDetailDialog.vue +0 -76
  319. package/views/eam/techInnovation/techInnovationReport/components/ReportSelectPartsDialog.vue +0 -389
  320. package/views/eam/techInnovation/techInnovationReport/components/ReportSubmitDialog.vue +0 -146
  321. package/views/eam/techInnovation/techInnovationReport/components/ReportTableCalendar.vue +0 -145
  322. package/views/eam/techInnovation/techInnovationReport/components/ReportTableList.vue +0 -143
  323. package/views/eam/techInnovation/techInnovationReport/index.vue +0 -256
  324. package/views/eam/technicalRenovation/TRPlan/index.vue +0 -941
  325. package/views/eam/technicalRenovation/TRTaskReport/index.vue +0 -1056
  326. package/views/eam/technicalRenovation/TRTaskWaitDispatch/index.vue +0 -945
  327. package/views/sm/asm/AsmComplaintHandling/add.vue +0 -669
  328. package/views/sm/asm/AsmComplaintHandling/index.vue +0 -1103
  329. package/views/sm/asm/AsmDemand/add.vue +0 -602
  330. package/views/sm/asm/AsmDemand/index.vue +0 -1074
  331. package/views/sm/asm/AsmDemandPlan/add.vue +0 -481
  332. package/views/sm/asm/AsmDemandPlan/index.vue +0 -570
  333. package/views/sm/asm/AsmEvaluation/add.vue +0 -539
  334. package/views/sm/asm/AsmEvaluation/index.vue +0 -509
  335. package/views/sm/asm/AsmEvaluationItems/index.vue +0 -204
  336. package/views/sm/asm/AsmQualityComplaintFeedback/add.vue +0 -763
  337. package/views/sm/asm/AsmQualityComplaintFeedback/index.vue +0 -686
  338. package/views/sm/asm/AsmQualityComplaintFeedback/orderDetails.vue +0 -738
  339. package/views/sm/bd/customerCreditRating/index.vue +0 -291
  340. package/views/sm/bd/documentType/index.vue +0 -181
  341. package/views/sm/bd/exchangeRate/index.vue +0 -283
  342. package/views/sm/bd/groupingManagement/addItemDialog.vue +0 -559
  343. package/views/sm/bd/groupingManagement/index.vue +0 -317
  344. package/views/sm/bd/groupingManagement/selectItemDialog.vue +0 -424
  345. package/views/sm/bd/priceGroup/dialog/treeEdit.vue +0 -135
  346. package/views/sm/bd/priceGroup/index.vue +0 -207
  347. package/views/sm/bd/salesTeam/add.vue +0 -542
  348. package/views/sm/bd/salesTeam/index.vue +0 -225
  349. package/views/sm/bd/shipreturnbillType/index.vue +0 -248
  350. package/views/sm/bd/smInterface/index.vue +0 -246
  351. package/views/sm/bd/smSysSetting/index.vue +0 -146
  352. package/views/sm/bd/user/index.vue +0 -787
  353. package/views/sm/bd/websiteAccountManagement/index.vue +0 -174
  354. package/views/sm/bm/bidding/add.vue +0 -864
  355. package/views/sm/bm/bidding/index.vue +0 -778
  356. package/views/sm/bm/biddingApproval/add.vue +0 -711
  357. package/views/sm/bm/biddingApproval/index.vue +0 -1336
  358. package/views/sm/bm/biddingFeedback/add.vue +0 -377
  359. package/views/sm/bm/biddingFeedback/index.vue +0 -435
  360. package/views/sm/cm/alterationResume/add.vue +0 -2341
  361. package/views/sm/cm/alterationResume/addAlteration.vue +0 -3201
  362. package/views/sm/cm/alterationResume/dialog/stockInquiryDialog.vue +0 -824
  363. package/views/sm/cm/alterationResume/index.vue +0 -1154
  364. package/views/sm/cm/contractType/add.vue +0 -218
  365. package/views/sm/cm/contractType/index.vue +0 -289
  366. package/views/sm/cm/salesContract/add.vue +0 -1746
  367. package/views/sm/cm/salesContract/index.vue +0 -1214
  368. package/views/sm/cm/salesContractList/index.vue +0 -405
  369. package/views/sm/cm/salesOrder/add.vue +0 -2487
  370. package/views/sm/cm/salesOrder/addAlteration.vue +0 -2685
  371. package/views/sm/cm/salesOrder/dialog/stockInquiryDialog.vue +0 -824
  372. package/views/sm/cm/salesOrder/index.vue +0 -1270
  373. package/views/sm/cm/salesOrderList/index.vue +0 -667
  374. package/views/sm/cm/salesOrderResume/add.vue +0 -2329
  375. package/views/sm/cm/salesOrderResume/index.vue +0 -1144
  376. package/views/sm/dm/DelProductionAppointment/dialog/add.vue +0 -974
  377. package/views/sm/dm/DelProductionAppointment/dialog/forceRecord.vue +0 -267
  378. package/views/sm/dm/DelProductionAppointment/index.vue +0 -855
  379. package/views/sm/dm/DelProductionAppointmentForceRecord/index.vue +0 -521
  380. package/views/sm/dm/DelSalesDeliveryOrder/add.vue +0 -1895
  381. package/views/sm/dm/DelSalesDeliveryOrder/batchDialog.vue +0 -519
  382. package/views/sm/dm/DelSalesDeliveryOrder/index.vue +0 -1257
  383. package/views/sm/dm/DelSalesDeliveryOrder/signerDialog.vue +0 -132
  384. package/views/sm/dm/DelSalesReturn/add.vue +0 -582
  385. package/views/sm/dm/DelSalesReturn/dialog/add.vue +0 -922
  386. package/views/sm/dm/DelSalesReturn/dialog/saleOrderDialog.vue +0 -740
  387. package/views/sm/dm/DelSalesReturn/index.vue +0 -1225
  388. package/views/sm/dm/DelSalesReturn/orderDetails.vue +0 -694
  389. package/views/sm/dm/branchFactory/index.vue +0 -272
  390. package/views/sm/dm/branchFactory/saleOrderDialogSelect.vue +0 -532
  391. package/views/sm/dm/deldeliverynotice/dialog/add.vue +0 -1173
  392. package/views/sm/dm/deldeliverynotice/dialog/saleOrderDialog.vue +0 -958
  393. package/views/sm/dm/deldeliverynotice/dialog/saleOrderDialogSelect.vue +0 -520
  394. package/views/sm/dm/deldeliverynotice/index.vue +0 -888
  395. package/views/sm/dm/smDelInventoryReservation/add.vue +0 -899
  396. package/views/sm/dm/smDelInventoryReservation/index.vue +0 -1101
  397. package/views/sm/dm/smdelproductsign/editDialog.vue +0 -359
  398. package/views/sm/dm/smdelproductsign/index.vue +0 -209
  399. package/views/sm/em/EmExportReturn/add.vue +0 -515
  400. package/views/sm/em/EmExportReturn/dialog/add.vue +0 -584
  401. package/views/sm/em/EmExportReturn/dialog/orderDetails.vue +0 -653
  402. package/views/sm/em/EmExportReturn/exportShipmentModal.vue +0 -97
  403. package/views/sm/em/EmExportReturn/index.vue +0 -905
  404. package/views/sm/em/EmExportReversalOrder/add.vue +0 -1746
  405. package/views/sm/em/EmExportReversalOrder/index.vue +0 -697
  406. package/views/sm/em/EmExportReversalOrder/receiptadd.vue +0 -714
  407. package/views/sm/em/EmExportReversalOrder/saleslnvoicingadd.vue +0 -961
  408. package/views/sm/em/EmExportShipmentOrder/dialog/add.vue +0 -1554
  409. package/views/sm/em/EmExportShipmentOrder/dialog/customsDialog.vue +0 -256
  410. package/views/sm/em/EmExportShipmentOrder/dialog/customsDialogData.vue +0 -207
  411. package/views/sm/em/EmExportShipmentOrder/dialog/saleOrderDialog.vue +0 -891
  412. package/views/sm/em/EmExportShipmentOrder/index.vue +0 -874
  413. package/views/sm/em/ExportDeliveryOrder/add.vue +0 -1845
  414. package/views/sm/em/ExportDeliveryOrder/batchDialog.vue +0 -519
  415. package/views/sm/em/ExportDeliveryOrder/index.vue +0 -1191
  416. package/views/sm/em/ExportDeliveryOrder/signerDialog.vue +0 -132
  417. package/views/sm/em/SmEmInvoice/dialog/addDialog.vue +0 -537
  418. package/views/sm/em/SmEmInvoice/dialog/updateDialog.vue +0 -533
  419. package/views/sm/em/SmEmInvoice/index.vue +0 -512
  420. package/views/sm/em/components/modal/ShipmentOrderModal.vue +0 -119
  421. package/views/sm/fm/components/model/SalesContractModel.vue +0 -342
  422. package/views/sm/fm/components/model/SalesDeliveryOrderModel.vue +0 -408
  423. package/views/sm/fm/components/model/SalesOrderModel.vue +0 -322
  424. package/views/sm/fm/components/model/SettlementModel.vue +0 -226
  425. package/views/sm/fm/receipt/add.vue +0 -824
  426. package/views/sm/fm/receipt/index.vue +0 -763
  427. package/views/sm/fm/reversalOrder/add.vue +0 -1746
  428. package/views/sm/fm/reversalOrder/index.vue +0 -694
  429. package/views/sm/fm/reversalOrder/receiptadd.vue +0 -714
  430. package/views/sm/fm/reversalOrder/saleslnvoicingadd.vue +0 -961
  431. package/views/sm/fm/salesInvoicing/add.vue +0 -670
  432. package/views/sm/fm/salesInvoicing/index.vue +0 -689
  433. package/views/sm/fm/smFmSettlement/add.vue +0 -680
  434. package/views/sm/fm/smFmSettlement/edit.vue +0 -821
  435. package/views/sm/fm/smFmSettlement/index.vue +0 -990
  436. package/views/sm/pm/planCustomerVisit/add.vue +0 -802
  437. package/views/sm/pm/planCustomerVisit/index.vue +0 -527
  438. package/views/sm/pm/planCustomerVisitDetail/index.vue +0 -82
  439. package/views/sm/pm/planCustomerVisitFeedback/add.vue +0 -944
  440. package/views/sm/pm/planCustomerVisitFeedback/index.vue +0 -469
  441. package/views/sm/pm/planMarketVisit/add.vue +0 -1151
  442. package/views/sm/pm/planMarketVisit/index.vue +0 -595
  443. package/views/sm/pm/planMarketVisitDetail/index.vue +0 -82
  444. package/views/sm/pm/planMarketVisitFeedback/add.vue +0 -1214
  445. package/views/sm/pm/planMarketVisitFeedback/index.vue +0 -525
  446. package/views/sm/pm/salesPlan/addBut.vue +0 -766
  447. package/views/sm/pm/salesPlan/index.vue +0 -612
  448. package/views/sm/pm/salesPlanAdjust/addBut.vue +0 -902
  449. package/views/sm/pm/salesPlanAdjust/index.vue +0 -467
  450. package/views/sm/pm/salesTask/addBut.vue +0 -1247
  451. package/views/sm/pm/salesTask/index.vue +0 -586
  452. package/views/sm/pm/salesTaskAdjust/addBut.vue +0 -1613
  453. package/views/sm/pm/salesTaskAdjust/index.vue +0 -460
  454. package/views/sm/prm/contractDeclare/add.vue +0 -834
  455. package/views/sm/prm/contractDeclare/index.vue +0 -786
  456. package/views/sm/prm/poostPrice/add.vue +0 -318
  457. package/views/sm/prm/poostPrice/index.vue +0 -192
  458. package/views/sm/prm/productTrial/add.vue +0 -989
  459. package/views/sm/prm/productTrial/detail.vue +0 -777
  460. package/views/sm/prm/productTrial/index.vue +0 -623
  461. package/views/sm/prm/productTrialDetails/index.vue +0 -149
  462. package/views/sm/prm/specialContract/add.vue +0 -1039
  463. package/views/sm/prm/specialContract/index.vue +0 -805
  464. package/views/sm/qm/historicalPrice/index.vue +0 -210
  465. package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/addDialog.vue +0 -696
  466. package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/editPriceadJustmentSheetDialog.vue +0 -1080
  467. package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/queryDialog.vue +0 -872
  468. package/views/sm/qm/priceadJustmentSheetOverWrite/index.vue +0 -566
  469. package/views/sm/qm/productPriceOverWrite/Dialog/add.vue +0 -1242
  470. package/views/sm/qm/productPriceOverWrite/Dialog/areaModal.vue +0 -101
  471. package/views/sm/qm/productPriceOverWrite/Dialog/itemGroupingModal.vue +0 -367
  472. package/views/sm/qm/productPriceOverWrite/Dialog/priceAdjustment.vue +0 -1580
  473. package/views/sm/qm/productPriceOverWrite/index.vue +0 -692
  474. package/views/sm/qm/quotation/add.vue +0 -1397
  475. package/views/sm/qm/quotation/index.vue +0 -866
  476. package/views/sm/re/salesPlanStatistics/addBut.vue +0 -614
  477. package/views/sm/re/salesPlanStatistics/index.vue +0 -589
  478. package/views/sm/re/salesTaskStatistics/addBut.vue +0 -614
  479. package/views/sm/re/salesTaskStatistics/index.vue +0 -590
  480. package/views/sm/tm/smTmLogisticsTracking/add.vue +0 -396
  481. package/views/sm/tm/smTmLogisticsTracking/index.vue +0 -673
  482. package/views/sm/tm/smTmProductHandover/add.vue +0 -1193
  483. package/views/sm/tm/smTmProductHandover/addDialog.vue +0 -1119
  484. package/views/sm/tm/smTmProductHandover/index.vue +0 -1206
  485. package/views/sm/tm/smTmProductHandover/stocktransferDialog.vue +0 -192
@@ -1015,7 +1015,7 @@ import {
1015
1015
  import { filePriview, getFilePriviewUrl, getFileNickName } from "@utils/file";
1016
1016
  import * as Utils from "@utils/utils";
1017
1017
 
1018
- import WfDialog from "@srcComponents/base/dialog/wfDialog.vue";
1018
+ import WfDialog from "@/components/base/dialog/wfDialog.vue";
1019
1019
 
1020
1020
  import { getToken } from "@utils/auth";
1021
1021
  import _ from "lodash";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kz-ui-base",
3
- "version": "1.0.48",
3
+ "version": "1.0.49",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,157 @@
1
+
2
+ <script>
3
+ import { Component } from "vue-property-decorator";
4
+ import {ListBasePage} from "kz-ui-base";
5
+ // import SampleEditDialog from "@views/sample/dialog/sampleEditDialog";
6
+
7
+ import {
8
+ listEntity,
9
+ getEntity,
10
+ addEntity,
11
+ updateEntity,
12
+ getUrl,
13
+ } from "@api/common/common";
14
+
15
+ @Component
16
+ export default class EmployeeSkillList extends ListBasePage {
17
+ //微服务模块名称
18
+ moduleName = "basic";
19
+ //实体名称-服务名称
20
+ serviceName = "employeeSkill";
21
+ pkField = "id";
22
+ // 列表设置
23
+ listSetting = {
24
+ //是否显示操作栏
25
+ isShowOpColumn: false,
26
+ };
27
+ // 列表列信息
28
+ listColumns = [
29
+ // { key: 0, label: "序号", visible: true },
30
+ // {text: "人员Id", property: "employeeId", setting: { dictType: "${column.dictType}" } },
31
+ {
32
+ text: "人员编号",
33
+ property: "employeeCode",
34
+ setting: { dictType: "${column.dictType}" },
35
+ },
36
+ {
37
+ text: "人员姓名",
38
+ property: "employeeName",
39
+ setting: { dictType: "${column.dictType}" },
40
+ },
41
+ {
42
+ text: "技能编号",
43
+ property: "skillCode",
44
+ setting: { dictType: "${column.dictType}" },
45
+ },
46
+ {
47
+ text: "技能名称",
48
+ property: "skillName",
49
+ setting: { dictType: "${column.dictType}" },
50
+ },
51
+ {
52
+ text: "备注",
53
+ property: "remark",
54
+ setting: { dictType: "${column.dictType}" },
55
+ },
56
+ ];
57
+ // 查询条件
58
+ searchRules = [
59
+ {
60
+ width: 24,
61
+ text: "人员编号",
62
+ property: "employeeCode",
63
+ displayType: "DropDownList",
64
+ setting: {
65
+ url: "/system/user/list",
66
+ displayField: "userName",
67
+ formatKeyValue: true,
68
+ valueField: "userCode",
69
+ },
70
+ },
71
+ {
72
+ op: "LI",
73
+ text: "人员姓名",
74
+ property: "employeeName",
75
+ displayType: "TextBox",
76
+ },
77
+ { op: "LI", text: "技能编号", property: "skillCode", displayType: "TextBox" },
78
+ { op: "LI", text: "技能名称", property: "skillName", displayType: "TextBox" },
79
+ ];
80
+ // 列信息
81
+ editColumns = [
82
+ {
83
+ width: 24,
84
+ text: "人员编号",
85
+ property: "employeeId",
86
+ displayType: "DropDownList",
87
+ setting: {
88
+ url: "/system/user/list",
89
+ displayField: "userName",
90
+ // formatKeyValue: true,
91
+ valueField: "userId",
92
+ },
93
+ },
94
+ /* {
95
+ width: 24,
96
+ text: "人员ID",
97
+ property: "employeeId",
98
+ displayType: "TextBox",
99
+ // disabled: true,
100
+ },
101
+ {
102
+ width: 24,
103
+ text: "人员姓名",
104
+ property: "employeeName",
105
+ displayType: "TextBox",
106
+ disabled: true,
107
+ }, */
108
+ {
109
+ width: 24,
110
+ text: "技能",
111
+ property: "skillCode",
112
+ displayType: "DropDownList",
113
+ setting: {
114
+ url: "/basic/skill/list",
115
+ displayField: "skillName",
116
+ formatKeyValue: true,
117
+ valueField: "skillCode",
118
+ // assignment: ["skillName"],
119
+ },
120
+ },
121
+ /* {
122
+ width: 24,
123
+ text: "技能名称",
124
+ property: "skillName",
125
+ displayType: "TextBox",
126
+ disabled: true,
127
+ }, */
128
+ {
129
+ width: 24,
130
+ text: "备注",
131
+ property: "remark",
132
+ displayType: "TextArea",
133
+ setting: { height: 4 },
134
+ },
135
+ ];
136
+
137
+ // 表单校验
138
+ editRules = {};
139
+ created () {
140
+ this.editSetting.width = "30%";
141
+ this.updateOpMenu({ visable: false }, [
142
+ "import",
143
+ "print",
144
+ "copy",
145
+ "detail",
146
+ "custom1",
147
+ "search",
148
+ "export",
149
+ ]);
150
+ }
151
+ /* onChangeEvent (args) {
152
+ if (args.property == "employeeCode") {
153
+ this.$set(this.currentEntity, "employeeName", args.text);
154
+ }
155
+ } */
156
+ }
157
+ </script>
@@ -0,0 +1,237 @@
1
+ <template>
2
+ <div class="dialog-body-wrapper">
3
+ <el-form ref="docForm" :model="fileInfo" :rules="docModifyRules">
4
+ <el-row :gutter="10">
5
+ <el-col :span="12">
6
+ <el-form-item label="文档类型" label-width="80px" prop="designdocTypeCode">
7
+ <el-select v-model="fileInfo.designdocTypeCode" placeholder="文档类型" clearable size="small">
8
+ <el-option
9
+ v-for="dict in designdocTypeCodeOptions"
10
+ :key="dict.dictValue"
11
+ :label="dict.dictLabel"
12
+ :value="dict.dictValue"
13
+ />
14
+ </el-select>
15
+ </el-form-item>
16
+ </el-col>
17
+ <el-col :span="12">
18
+ <el-upload
19
+ class="upload"
20
+ :action="uploadFileUrl"
21
+ @change="onFileChangeEvent"
22
+ :data="{ folderId: '0' }"
23
+ :limit="limit"
24
+ :on-error="handleUploadError"
25
+ :on-exceed="handleExceed"
26
+ :on-success="handleUploadSuccess"
27
+ :headers="headers"
28
+ :on-progress='handleProgress'
29
+ ref="upload"
30
+ :on-remove="handleRemove"
31
+ :multiple="false"
32
+ :file-list="fileList">
33
+ <el-button size="small" type="primary">点击上传</el-button>
34
+ </el-upload>
35
+ </el-col>
36
+ <el-col :span="24">
37
+ <el-form-item label="文档名称" label-width="80px" prop="designdocName">
38
+ <el-input v-model="fileInfo.designdocName"></el-input>
39
+ </el-form-item>
40
+ </el-col>
41
+ <el-col :span="24">
42
+ <el-form-item label="文档路径" label-width="80px" prop="designdocUrl">
43
+ <el-input :disabled="true" v-model="fileInfo.designdocUrl"></el-input>
44
+ </el-form-item>
45
+ </el-col>
46
+ <el-col :span="24">
47
+ <el-form-item label="备注" prop="remark">
48
+ <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="fileInfo.remark"></el-input>
49
+ </el-form-item>
50
+ </el-col>
51
+ </el-row>
52
+ </el-form>
53
+ <div class="dialog-footer">
54
+ <el-button type="primary" @click="submitForm">确 定</el-button>
55
+ <el-button @click="cancel">取 消</el-button>
56
+ </div>
57
+
58
+ </div>
59
+ </template>
60
+
61
+ <script>
62
+ import KZ_Upload from "@srcComponents/customForm/upload";
63
+ import {getToken} from "kz-ui-base/common/src/utils/auth";
64
+
65
+ export default {
66
+ name: "DocModifyDialog",
67
+ components: {KZ_Upload},
68
+ props: {
69
+ value: Object,
70
+ setting: {
71
+ type: Object,
72
+ }
73
+ },
74
+
75
+ data() {
76
+ return {
77
+ fileInfo: {
78
+ designdocTypeCode: null,
79
+ designdocName: '',
80
+ designdocUrl: '',
81
+ designdocUrlTmp: '',
82
+ remark: '',
83
+ },
84
+ dictMap: null,
85
+ selectedFile: undefined,
86
+ designdocTypeCodeOptions: [],
87
+ uploadFileUrl: process.env.VUE_APP_BASE_API + "/system/material/upload",
88
+ limit: 1,
89
+ fileArr: [],
90
+ fileList: [],
91
+ headers: {
92
+ Authorization: "Bearer " + getToken(),
93
+ },
94
+ docModifyRules:{
95
+ designdocTypeCode: [
96
+ { required: true, message: "文档类型不能为空", trigger: "blur" },
97
+ ],
98
+ designdocName: [
99
+ { required: true, message: "文档名称不能为空", trigger: "blur" },
100
+ ],
101
+ designdocUrl:[
102
+ {required: true, message: "文件不能为空"}
103
+ ]
104
+ }
105
+
106
+
107
+ };
108
+ },
109
+
110
+ methods: {
111
+ onFileChangeEvent(value) {
112
+ },
113
+
114
+ handleUploadError(err) {
115
+
116
+ this.$message.error("上传失败, 请重试");
117
+
118
+ },
119
+ handleExceed() {
120
+ this.$message.error(`上传文件数量不能超过 ${this.limit} 个!`);
121
+ },
122
+
123
+ onFileRowClick(row) {
124
+ this.selectedFile = row;
125
+ },
126
+
127
+ handleUploadSuccess(res, file, fileList) {
128
+ this.$set(this, 'fileArr', fileList)
129
+ this.fileArr.forEach((item, index) => {
130
+ if (item.status == 'success') {
131
+ if (item.response.code != 200) {
132
+ this.$message.error(item.response.msg)
133
+ this.$set(item, 'successFlag', false)
134
+ } else {
135
+ this.$set(item, 'progressPercent', 100)
136
+ this.$set(item, 'successFlag', true)
137
+
138
+ }
139
+ } else {
140
+ this.$set(item, 'successFlag', false)
141
+ this.$set(item, 'progressFlag', false)
142
+ }
143
+ })
144
+ if (res.code != 200) {
145
+ let uploadFiles = this.$refs['upload'].uploadFiles
146
+ let index = uploadFiles.indexOf(file);
147
+ if (uploadFiles[index].response != 200) {
148
+ uploadFiles.splice(index, 1);
149
+ }
150
+ return
151
+ }
152
+ this.$message.success("上传成功")
153
+ this.fileList.push({
154
+ name: file.name,
155
+ url: res.data.materialUrl,
156
+ });
157
+ this.fileInfo.designdocName = this.fileInfo.designdocName? this.fileInfo.designdocName : res.data.materialNick;
158
+ this.fileInfo.designdocUrl = res.data.materialUrl;
159
+ },
160
+
161
+ handleRemove(file, fileList) {
162
+ let uploadFiles = this.$refs['upload'].uploadFiles;
163
+ let index = uploadFiles.indexOf(file);
164
+ uploadFiles.splice(index, 1);
165
+ this.fileList.splice(index, 1);
166
+ this.fileInfo = Object.assign({},this.value.entity);
167
+ },
168
+
169
+ handleProgress(event, file, fileList) {
170
+ this.fileArr = fileList
171
+ this.fileArr.forEach(item => {
172
+ if (!item.percentage == 100) {
173
+ item.progressFlag = true
174
+ item.progressPercent = Math.abs(item.percentage.toFixed(0));
175
+ }
176
+ })
177
+ },
178
+
179
+ submitForm() {
180
+ this.$refs.docForm.validate((valid) => {
181
+ if (valid) {
182
+ this.copyProp(this.fileInfo, this.value.entity);
183
+ this.$emit("confirm", this.value.entity);
184
+ }
185
+ })
186
+
187
+ },
188
+ copyProp(from, to) {
189
+ for (let key of Object.keys(from)) {
190
+ this.$set(to, key, from[key]);
191
+ if (key === "siteId" && from[key] && this.getSite(from[key])) {
192
+ this.$set(to, "siteName", this.getSite(from[key])["componentName"]);
193
+ }
194
+ if (key.startsWith("is")) {
195
+ this.$set(to, key, from[key] === "0" ? "否" : "是");
196
+ }
197
+ }
198
+ return to;
199
+ },
200
+
201
+ cancel() {
202
+ this.$emit("close");
203
+ }
204
+ },
205
+
206
+ created() {
207
+ this.fileInfo = Object.assign({},this.value.entity);
208
+ this.getDicts("designdoc_type_code").then(res=>{
209
+ this.designdocTypeCodeOptions = res.data;
210
+ })
211
+ },
212
+ }
213
+ </script>
214
+ <style scoped>
215
+ .el-upload {
216
+ width: 100px;
217
+ height: 0;
218
+ line-height: 36px;
219
+ }
220
+
221
+ .dialog-body-wrapper {
222
+ height: 100%;
223
+ margin-top: -20px;
224
+ border-top: 1px solid #e7e8ed;
225
+ width: calc(100% + 40px);
226
+ transform: translate(-20px, 0px);
227
+ padding: 12px 24px 0 24px;
228
+ }
229
+
230
+ .dialog-footer {
231
+ padding-top: 12px;
232
+ border-top: 1px solid #e7e8ed;
233
+ width: calc(100% + 48px);
234
+ transform: translate(-24px, 17px);
235
+ text-align: center;
236
+ }
237
+ </style>
@@ -0,0 +1,224 @@
1
+ <template>
2
+ <div class="dialog-body-wrapper">
3
+ <el-form :model="dtlInfo">
4
+ <el-row :gutter="10">
5
+ <el-col v-for="item of formItems" :span="6">
6
+ <el-form-item :label="item.text" label-width="80px">
7
+ <el-input :disabled="true" :value="resolveFormValue(item, dtlInfo)"></el-input>
8
+ </el-form-item>
9
+ </el-col>
10
+ </el-row>
11
+ </el-form>
12
+
13
+ <div class="dialog_body">
14
+ <el-row :gutter="10" class="mb8">
15
+ <el-col :span="1.5">
16
+ <el-button type="primary" size="mini" @click="handleAdd">新增</el-button>
17
+ </el-col>
18
+ <el-col :span="1.5">
19
+ <el-button :disabled="selectedFile== undefined" type="warning" size="mini" @click="handleEdit">修改</el-button>
20
+ </el-col>
21
+ <el-col :span="1.5">
22
+ <el-button :disabled="selectedFile==undefined" type="danger" size="mini" @click="handleRemove">删除</el-button>
23
+ </el-col>
24
+ </el-row>
25
+
26
+ <el-table :data="dtlInfo.fileList"
27
+ @row-click="onFileRowClick"
28
+ highlight-current-row
29
+ >
30
+ <el-table-column
31
+ type="index"
32
+ label="序号"
33
+ width="50"
34
+ align="center"
35
+ >
36
+ <template scope="scope">
37
+ <span>{{
38
+ scope.$index +
39
+ 1
40
+ }}</span>
41
+ </template>
42
+ </el-table-column>
43
+ <el-table-column label="文档类型" prop="designdocTypeCode">
44
+ </el-table-column>
45
+ <el-table-column label="文件名称" prop="designdocName">
46
+ </el-table-column>
47
+ <el-table-column label="文件路径" prop="designdocUrl"></el-table-column>
48
+ <el-table-column label="备注" prop="remark"></el-table-column>
49
+ </el-table>
50
+ </div>
51
+
52
+ <slot name="footer">
53
+ <div class="dialog-footer" >
54
+ <el-button type="primary" @click="submitForm">确 定</el-button>
55
+ <el-button @click="cancel">取 消</el-button>
56
+ </div>
57
+ </slot>
58
+ </div>
59
+ </template>
60
+
61
+ <script>
62
+ import KZ_DropDownList from "@srcComponents/customForm/dropDownList";
63
+ import {listDesignDoc} from "@srcApi/pd/prodstructTemplate";
64
+ import DocModifyDialog from "@srcViews/pd/prodstructTemplate/components/DocModifyDialog";
65
+
66
+ export default{
67
+ name: "ProddesignDocDialog",
68
+ components: {KZ_DropDownList},
69
+ props: {
70
+ value: Object,
71
+ setting: {
72
+ type: Object,
73
+ }
74
+ },
75
+
76
+ data() {
77
+ return {
78
+ dtlInfo:{},
79
+ formItems: [
80
+ {text: "层", property: "layer"},
81
+ {text: "结构描述", property: "prodstructItemDesc"},
82
+ {text: "物料种类", property: "itemCategoryId", useDict: true},
83
+ {text: "构成位置", property: "locationCode", useDict: true},
84
+ {text: "构成根数", property: "pieceCount"},
85
+ {text: "工艺要求", property: "technologicalRequireCode", useDict: true},
86
+ {text: "备注", property: "remark"}
87
+ ],
88
+ dictMap: null,
89
+ selectedFile: undefined
90
+
91
+ };
92
+ },
93
+
94
+ methods:{
95
+
96
+ onFileRowClick(row){
97
+ this.selectedFile = row;
98
+ },
99
+
100
+ resolveFormValue(col, dtlInfo){
101
+ if(col.useDict){
102
+ let options = this.dictMap[col.property].filter(x=>x.dictValue === dtlInfo[col.property]);
103
+ return options.length > 0? options[0].dictLabel : "";
104
+ }
105
+ return dtlInfo[col.property];
106
+ },
107
+
108
+ getList() {
109
+ if(!this.dtlInfo.hasOwnProperty('fileList') ){
110
+ if(this.dtlInfo.id != null){
111
+ listDesignDoc(this.dtlInfo.id).then((res) => {
112
+ this.$set(this.dtlInfo, "fileList", res.data);
113
+ })
114
+ }else{
115
+ this.$set(this.dtlInfo, "fileList", []);
116
+ }
117
+ }
118
+ },
119
+
120
+ handleAdd(){
121
+ let newFileRow = {
122
+ prodstructTemplateDtlId: this.dtlInfo.id,
123
+ designdocTypeCode: null,
124
+ designdocName: '',
125
+ designdocUrl: '',
126
+ remark: '',
127
+ }
128
+ let self = this;
129
+
130
+ this.Dialog.open({
131
+ component: DocModifyDialog,
132
+ setting: {
133
+ isShow: true,
134
+ title: "新增文档",
135
+ size: "small", //可选项tiny/small/large/full
136
+ width: "800px", //表格宽度 不传默认为800px
137
+ labelWidth: "100px", //input标题宽度 不传默认为100px
138
+ data: { entity: newFileRow },
139
+ },
140
+ confirm:(result) => {
141
+ self.dtlInfo.fileList.push(result);
142
+ },
143
+ });
144
+ },
145
+ handleEdit(){
146
+ this.Dialog.open({
147
+ component: DocModifyDialog,
148
+ setting: {
149
+ isShow: true,
150
+ title: "新增文档",
151
+ size: "small", //可选项tiny/small/large/full
152
+ width: "800px", //表格宽度 不传默认为800px
153
+ labelWidth: "100px", //input标题宽度 不传默认为100px
154
+ data: { entity: this.selectedFile },
155
+ },
156
+ confirm:(result) => {
157
+
158
+ },
159
+ });
160
+ },
161
+ handleRemove(){
162
+ let self = this;
163
+ self.$modal.confirm('确定要删除这条数据吗').then(() => {
164
+ for(let i = 0; i < self.dtlInfo.fileList.length; i++){
165
+ if(self.selectedFile === self.dtlInfo.fileList[i]){
166
+ if(!self.dtlInfo.deleteList){
167
+ self.dtlInfo.deleteList =[];
168
+ }
169
+ self.dtlInfo.deleteList.push(self.dtlInfo.fileList.splice(i,1)[0]);
170
+ return;
171
+ }
172
+ }
173
+ })
174
+ },
175
+
176
+ submitForm() {
177
+ this.copyProp(this.dtlInfo, this.value)
178
+ this.$emit("confirm", this.dtlInfo);
179
+ },
180
+
181
+ cancel() {
182
+ this.$emit("close");
183
+ },
184
+
185
+ copyProp(from, to) {
186
+ for (let key of Object.keys(from)) {
187
+ this.$set(to, key, from[key]);
188
+ if (key === "siteId" && from[key] && this.getSite(from[key])) {
189
+ this.$set(to, "siteName", this.getSite(from[key])["componentName"]);
190
+ }
191
+ if (key.startsWith("is")) {
192
+ this.$set(to, key, from[key] === "0" ? "否" : "是");
193
+ }
194
+ }
195
+ return to;
196
+ },
197
+
198
+ },
199
+
200
+ created() {
201
+ this.dtlInfo = _.cloneDeep(this.value);
202
+ this.dictMap = this.setting.dictMap;
203
+ this.getList();
204
+ },
205
+ }
206
+ </script>
207
+ <style scoped>
208
+ .dialog-body-wrapper {
209
+ height: 100%;
210
+ margin-top: -20px;
211
+ border-top: 1px solid #e7e8ed;
212
+ width: calc(100% + 40px);
213
+ transform: translate(-20px, 0px);
214
+ padding: 12px 24px 0 24px;
215
+ }
216
+
217
+ .dialog-footer {
218
+ padding-top: 12px;
219
+ border-top: 1px solid #e7e8ed;
220
+ width: calc(100% + 48px);
221
+ transform: translate(-24px, 17px);
222
+ text-align: center;
223
+ }
224
+ </style>