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.
- package/list-base-page/listBasePageTs.vue +1 -1
- package/package.json +1 -1
- package/views/basicdata/employeeSkill/index.vue +157 -0
- package/views/pd/prodstructTemplate/components/DocModifyDialog.vue +237 -0
- package/views/pd/prodstructTemplate/components/ProddesignDocDialog.vue +224 -0
- package/views/pd/prodstructTemplate/components/TemplateEditDialog.vue +407 -0
- package/views/system/common/modal/UserModal.vue +440 -0
- package/api/DPS/BomMaterial.js +0 -34
- package/api/DPS/WorkOrder.js +0 -44
- package/api/DPS/WorkOrderLed.js +0 -19
- package/api/DPS/XgateControl.js +0 -10
- package/api/DPS/factory.js +0 -36
- package/api/DPS/produce.js +0 -52
- package/api/PPMS/collection.js +0 -111
- package/api/PPMS/facility.js +0 -10
- package/api/ScrewDeviceDA/tighteningDataDetail.js +0 -10
- package/api/lowcode/fieldDefinition.js +0 -4
- package/api/lowcode/interfaceSetting.js +0 -12
- package/api/monitor/job.js +0 -71
- package/api/monitor/jobLog.js +0 -26
- package/api/monitor/online.js +0 -18
- package/api/pdds/pdds.js +0 -182
- package/api/sample/audio.js +0 -46
- package/api/sample/document.js +0 -55
- package/api/sample/screen.js +0 -46
- package/api/tool/gen.js +0 -83
- package/views/bd/attribute/index.vue +0 -559
- package/views/bd/collectionAgreement/add.vue +0 -270
- package/views/bd/collectionAgreement/index.vue +0 -176
- package/views/bd/costCenter/components/costCenterModal.vue +0 -141
- package/views/bd/costCenter/index.vue +0 -304
- package/views/bd/currency/index.vue +0 -180
- package/views/bd/customer/components/customer-info-tab/AddressInfoTab.vue +0 -91
- package/views/bd/customer/components/customer-info-tab/BankInfoTab.vue +0 -94
- package/views/bd/customer/components/customer-info-tab/BaseInfoTab.vue +0 -153
- package/views/bd/customer/components/customer-info-tab/BusinessInfoTab.vue +0 -140
- package/views/bd/customer/components/customer-info-tab/ContactInfoTab.vue +0 -103
- package/views/bd/customer/components/customer-info-tab/SalesmanInfoTab.vue +0 -87
- package/views/bd/customer/index.vue +0 -150
- package/views/bd/customerArea/index.vue +0 -392
- package/views/bd/customerIndustry/index.vue +0 -392
- package/views/bd/customeraddress/index.vue +0 -76
- package/views/bd/customerbank/index.vue +0 -77
- package/views/bd/customercontacts/index.vue +0 -79
- package/views/bd/customersalesman/index.vue +0 -47
- package/views/bd/employee/index.vue +0 -219
- package/views/bd/exchangeRate/index.vue +0 -232
- package/views/bd/item/index.vue +0 -535
- package/views/bd/itemCategory/index.vue +0 -397
- package/views/bd/itemClass/index.vue +0 -445
- package/views/bd/itemList/index.vue +0 -445
- package/views/bd/itemcategorysoattribute/index.vue +0 -56
- package/views/bd/numberingrule/index.vue +0 -191
- package/views/bd/productLine/index.vue +0 -387
- package/views/bd/productusage/index.vue +0 -579
- package/views/bd/productusage/productUsageEditModal.vue +0 -96
- package/views/bd/project/index.vue +0 -145
- package/views/bd/settlementMethod/index.vue +0 -210
- package/views/bd/uom/UomEditDialog.vue +0 -157
- package/views/bd/uom/index.vue +0 -256
- package/views/bd/vendor/components/VendorEditDialog.vue +0 -203
- package/views/bd/vendor/components/vendor-info-tab/ContactInfoTab.vue +0 -74
- package/views/bd/vendor/index.vue +0 -140
- package/views/bd/workGroup/index.vue +0 -651
- package/views/eam/annualTesting/LubWaitPartsApplyDialog.vue +0 -767
- package/views/eam/annualTesting/SpareDialog.vue +0 -476
- package/views/eam/annualTesting/annualList/LubWaitPartsApplyDialog.vue +0 -938
- package/views/eam/annualTesting/annualList/index.vue +0 -1019
- package/views/eam/annualTesting/index.vue +0 -698
- package/views/eam/annualTesting/indexAdd.vue +0 -1195
- package/views/eam/annualTesting/indexList.vue +0 -1026
- package/views/eam/annualTesting/indexMaintenance.vue +0 -1340
- package/views/eam/annualTesting/issued.vue +0 -709
- package/views/eam/asset/assetAttachment/assetBomAttachment.vue +0 -253
- package/views/eam/asset/assetAttachment/fileUpload.vue +0 -238
- package/views/eam/asset/assetAttachment/index.vue +0 -360
- package/views/eam/asset/assetAttachment2/AssetAttachmentDialog.vue +0 -199
- package/views/eam/asset/assetAttachment2/assetBomAttachment.vue +0 -253
- package/views/eam/asset/assetAttachment2/fileUpload.vue +0 -296
- package/views/eam/asset/assetAttachment2/index.vue +0 -477
- package/views/eam/asset/assetAttachment2/index2.vue +0 -152
- package/views/eam/asset/assetBaseInfo/components/applyComment.vue +0 -265
- package/views/eam/asset/assetBaseInfo/convert.vue +0 -1297
- package/views/eam/asset/assetBaseInfo/idle.vue +0 -612
- package/views/eam/asset/assetBaseInfo/index.vue +0 -1486
- package/views/eam/asset/assetBaseInfo/lent.vue +0 -662
- package/views/eam/asset/assetBaseInfo/newPurchase.vue +0 -1379
- package/views/eam/asset/assetBaseInfo/permanent.vue +0 -624
- package/views/eam/asset/assetBaseInfo/safeAttchment.vue +0 -368
- package/views/eam/asset/assetBaseInfo/special.vue +0 -645
- package/views/eam/asset/assetBaseInfo/usage.vue +0 -1062
- package/views/eam/asset/assetBaseInfo/usageInternal.vue +0 -1080
- package/views/eam/asset/assetBaseInfo/value.vue +0 -615
- package/views/eam/asset/assetDetail/index.vue +0 -198
- package/views/eam/asset/assetDetail/safeAttachment.vue +0 -41
- package/views/eam/asset/assetInfo/attachment.vue +0 -178
- package/views/eam/asset/assetInfo/bom.vue +0 -1170
- package/views/eam/asset/assetInfo/components/PlanDetailsDialog.vue +0 -236
- package/views/eam/asset/assetInfo/components/SpareBomDialog.vue +0 -448
- package/views/eam/asset/assetInfo/components/SpareDialog.vue +0 -450
- package/views/eam/asset/assetInfo/components/TaskDetailsDialog.vue +0 -529
- package/views/eam/asset/assetInfo/components/common.js +0 -30
- package/views/eam/asset/assetInfo/components/infoDialog.vue +0 -179
- package/views/eam/asset/assetInfo/dailyPoint.vue +0 -1487
- package/views/eam/asset/assetInfo/index.vue +0 -1845
- package/views/eam/asset/assetInfo/info.vue +0 -1798
- package/views/eam/asset/assetInfo/lubrication.vue +0 -2259
- package/views/eam/asset/assetInfo/maintain.vue +0 -1958
- package/views/eam/asset/assetInfo/point.vue +0 -1844
- package/views/eam/asset/assetInfo/polling.vue +0 -1853
- package/views/eam/asset/assetInfo/printDetail.vue +0 -115
- package/views/eam/asset/assetInfo/printDetailcopy.vue +0 -132
- package/views/eam/asset/assetInfo/resume.vue +0 -421
- package/views/eam/asset/assetInfo/testingStandards.vue +0 -2155
- package/views/eam/asset/assetList/convert.vue +0 -921
- package/views/eam/asset/assetList/idle.vue +0 -787
- package/views/eam/asset/assetList/index.vue +0 -1018
- package/views/eam/asset/assetList/lent.vue +0 -778
- package/views/eam/asset/assetList/newPurchase.vue +0 -952
- package/views/eam/asset/assetList/permanent.vue +0 -790
- package/views/eam/asset/assetList/printDetail.vue +0 -193
- package/views/eam/asset/assetList/safeAttachment.vue +0 -552
- package/views/eam/asset/assetList/special.vue +0 -794
- package/views/eam/asset/assetList/usage.vue +0 -875
- package/views/eam/asset/assetList/usageInternal.vue +0 -785
- package/views/eam/asset/assetList/value.vue +0 -767
- package/views/eam/asset/assetListInfo/index.vue +0 -252
- package/views/eam/asset/assetListLog/convert.vue +0 -324
- package/views/eam/asset/assetListLog/idle.vue +0 -323
- package/views/eam/asset/assetListLog/index.vue +0 -345
- package/views/eam/asset/assetListLog/lent.vue +0 -328
- package/views/eam/asset/assetListLog/newPurchase.vue +0 -324
- package/views/eam/asset/assetListLog/permanent.vue +0 -346
- package/views/eam/asset/assetListLog/special.vue +0 -325
- package/views/eam/asset/assetListLog/usage.vue +0 -327
- package/views/eam/asset/assetListLog/value.vue +0 -324
- package/views/eam/asset/assetStandardList/index.vue +0 -876
- package/views/eam/asset/bom/assetBom.vue +0 -2061
- package/views/eam/asset/bom/assetBomReadOnly.vue +0 -2054
- package/views/eam/asset/category/index.vue +0 -821
- package/views/eam/asset/category/readOnly.vue +0 -823
- package/views/eam/asset/construction/index.vue +0 -710
- package/views/eam/asset/deviceCategory/index.vue +0 -583
- package/views/eam/asset/emAssetPrintItems/index.vue +0 -395
- package/views/eam/asset/generalAssetUpload/index.vue +0 -1049
- package/views/eam/asset/location/index.vue +0 -500
- package/views/eam/asset/newPurchaseAssetUpload/index.vue +0 -916
- package/views/eam/asset/part/partSelect.vue +0 -126
- package/views/eam/asset/testDIa.vue +0 -133
- package/views/eam/asset/userOwnership/index.vue +0 -761
- package/views/eam/assetListReport/DeviceInfoPanel.vue +0 -146
- package/views/eam/assetListReport/index.vue +0 -311
- package/views/eam/assetReport/DeviceInfoPanel.vue +0 -144
- package/views/eam/assetReport/DeviceOperateStatus.vue +0 -44
- package/views/eam/assetReport/components/AssetPicAndStatus.vue +0 -41
- package/views/eam/assetReport/components/AvailabilityAndProficiency.vue +0 -112
- package/views/eam/assetReport/components/BootTimeAndPayloadWeight.vue +0 -51
- package/views/eam/assetReport/components/MaintenanceStatus.vue +0 -185
- package/views/eam/assetReport/components/RealTimeTemperature.vue +0 -45
- package/views/eam/assetReport/index.vue +0 -268
- package/views/eam/assetattribute/index.vue +0 -67
- package/views/eam/assetcategoryattribute/index.vue +0 -58
- package/views/eam/equipmentInspection/inspectionPlan/components/SpecialSendDialogCreated.vue +0 -890
- package/views/eam/equipmentInspection/inspectionPlan/components/index.vue +0 -1542
- package/views/eam/equipmentInspection/inspectionPlan/index.vue +0 -656
- package/views/eam/equipmentInspection/lims/components/LimsDetailDialog.vue +0 -323
- package/views/eam/equipmentInspection/lims/index.vue +0 -267
- package/views/eam/equipmentInspection/special/components/SpecialCancelDialog.vue +0 -137
- package/views/eam/equipmentInspection/special/components/SpecialSendDialog.vue +0 -380
- package/views/eam/equipmentInspection/special/index.vue +0 -276
- package/views/eam/equipmentInspection/specialNew/components/EquipmentLocation.vue +0 -312
- package/views/eam/equipmentInspection/specialNew/components/InspectionReport.vue +0 -977
- package/views/eam/equipmentInspection/specialNew/components/SpecialCancelDialog.vue +0 -137
- package/views/eam/equipmentInspection/specialNew/components/SpecialSendDialog.vue +0 -456
- package/views/eam/equipmentInspection/specialNew/components/SpecialSendDialogRegister.vue +0 -439
- package/views/eam/equipmentInspection/specialNew/index.vue +0 -575
- package/views/eam/flowable/definition/index.vue +0 -584
- package/views/eam/flowable/definition/model.vue +0 -145
- package/views/eam/flowable/finished/index.vue +0 -352
- package/views/eam/flowable/form/index.vue +0 -308
- package/views/eam/flowable/process/index.vue +0 -490
- package/views/eam/flowable/record/components/Tip.vue +0 -235
- package/views/eam/flowable/record/components/dialog/ExceptionDetailsDialog.vue +0 -308
- package/views/eam/flowable/record/components/lubrication.vue +0 -2115
- package/views/eam/flowable/record/components/maintain.vue +0 -2014
- package/views/eam/flowable/record/components/point.vue +0 -1677
- package/views/eam/flowable/record/components/polling.vue +0 -1735
- package/views/eam/flowable/record/components/regularPlanAudit.vue +0 -639
- package/views/eam/flowable/record/components/sparePartsDemandList.vue +0 -259
- package/views/eam/flowable/record/components/taskAudit.vue +0 -555
- package/views/eam/flowable/record/flow.vue +0 -28
- package/views/eam/flowable/record/flowview.vue +0 -243
- package/views/eam/flowable/record/index.vue +0 -959
- package/views/eam/flowable/todo/index.vue +0 -297
- package/views/eam/front/index.vue +0 -17
- package/views/eam/idle/idleApply/components/idleApplyAddDialog.vue +0 -237
- package/views/eam/idle/idleApply/components/idleApplyCancelDialog.vue +0 -6
- package/views/eam/idle/idleApply/index.vue +0 -0
- package/views/eam/indexPage/assetCurrentStatus/index.vue +0 -123
- package/views/eam/indexPage/assetRunningStatus/index.vue +0 -145
- package/views/eam/indexPage/index.vue +0 -78
- package/views/eam/indexPage/maintenanceStatistic/index.vue +0 -139
- package/views/eam/indexPage/messages/index.vue +0 -106
- package/views/eam/indexPage/monthFaultRanking/index.vue +0 -168
- package/views/eam/indexPage/monthMaintenanceCalendar/index.vue +0 -182
- package/views/eam/indexPage/monthRepairRequest/index.vue +0 -323
- package/views/eam/indexPage/monthStopRanking/index.vue +0 -192
- package/views/eam/indexPage/monthlyAssetAvailability/index.vue +0 -203
- package/views/eam/indexPage/panelContainer.vue +0 -87
- package/views/eam/indexPage/todayAlarm/index.vue +0 -165
- package/views/eam/inventory/assetInventory/index.vue +0 -381
- package/views/eam/inventory/assetInventoryDetail/detailAdd.vue +0 -709
- package/views/eam/inventory/assetInventoryDetail/index.vue +0 -625
- package/views/eam/lubrication/lubWaitDispatch/LubWaitCancelBatchDialog.vue +0 -200
- package/views/eam/lubrication/lubWaitDispatch/LubWaitCancelDialog.vue +0 -146
- package/views/eam/lubrication/lubWaitDispatch/LubWaitDispatchBatchDialog.vue +0 -293
- package/views/eam/lubrication/lubWaitDispatch/LubWaitDispatchDialog.vue +0 -558
- package/views/eam/lubrication/lubWaitDispatch/LubWaitPartsApplyDialog.vue +0 -508
- package/views/eam/lubrication/lubWaitDispatch/index.vue +0 -598
- package/views/eam/lubrication/lubWaitHandle/LubWaitHandleCancelBatchDialog.vue +0 -198
- package/views/eam/lubrication/lubWaitHandle/LubWaitHandleCancelDialog.vue +0 -139
- package/views/eam/lubrication/lubWaitHandle/LubWaitHandleReportDialog.vue +0 -600
- package/views/eam/lubrication/lubWaitHandle/index.vue +0 -486
- package/views/eam/lubrication/lubricationMoon/LubricationMoonCancelPlanDialog.vue +0 -122
- package/views/eam/lubrication/lubricationMoon/LubricationMoonDetailDialog.vue +0 -82
- package/views/eam/lubrication/lubricationMoon/LubricationMoonSubmitDialog.vue +0 -149
- package/views/eam/lubrication/lubricationMoon/index.vue +0 -592
- package/views/eam/lubrication/lubricationSummar/index.vue +0 -482
- package/views/eam/lubrication/lubricationTemporary/index.vue +0 -381
- package/views/eam/lubrication/lubricationYear/LubricationCancelDialog.vue +0 -166
- package/views/eam/lubrication/lubricationYear/LubricationDetailDialog.vue +0 -250
- package/views/eam/lubrication/lubricationYear/LubricationYearExportDialog.vue +0 -151
- package/views/eam/lubrication/lubricationYear/index.vue +0 -542
- package/views/eam/mst/emMstAttachAuthority/index.vue +0 -244
- package/views/eam/mst/emMstFactory/index.vue +0 -379
- package/views/eam/mst/emMstLine/index.vue +0 -395
- package/views/eam/mst/emMstLocation/index copy 2.vue +0 -460
- package/views/eam/mst/emMstLocation/index copy.vue +0 -461
- package/views/eam/mst/emMstLocation/index.vue +0 -591
- package/views/eam/mst/emSysParameter/index.vue +0 -259
- package/views/eam/mst/emSysParameter/modal/modalEditEamSysParameter.vue +0 -363
- package/views/eam/repair/repairApply/components/RepairApplyAddDialog.vue +0 -765
- package/views/eam/repair/repairApply/components/RepairApplyCancelDialog.vue +0 -139
- package/views/eam/repair/repairApply/index copy.vue +0 -1574
- package/views/eam/repair/repairApply/index.vue +0 -601
- package/views/eam/repair/repairCalendar/RepairCalendarReportDialog.vue +0 -989
- package/views/eam/repair/repairCalendar/index.vue +0 -875
- package/views/eam/repair/repairDispatch/components/RepairApplyPartsDialog.vue +0 -474
- package/views/eam/repair/repairDispatch/components/RepairDispatchCancelDialog.vue +0 -140
- package/views/eam/repair/repairDispatch/components/RepairSelectPartsDialog.vue +0 -332
- package/views/eam/repair/repairDispatch/components/RepariApplyPartsDialog.vue +0 -474
- package/views/eam/repair/repairDispatch/index.vue +0 -1820
- package/views/eam/repair/repairDispatch/index_old.vue +0 -2005
- package/views/eam/repair/repairPlan/components/PlanBottomEdit.vue +0 -291
- package/views/eam/repair/repairPlan/components/PlanSubmitDialog.vue +0 -126
- package/views/eam/repair/repairPlan/components/PlanTableCalendar.vue +0 -172
- package/views/eam/repair/repairPlan/components/PlanTableList.vue +0 -143
- package/views/eam/repair/repairPlan/components/RepairPlanDetailDialog.vue +0 -72
- package/views/eam/repair/repairPlan/index.vue +0 -308
- package/views/eam/repair/repairScrap/index.vue +0 -557
- package/views/eam/reportCenter/assetStatusAnalysis/index.vue +0 -476
- package/views/eam/reportCenter/costing/components/deviceCosting.vue +0 -914
- package/views/eam/reportCenter/costing/index.vue +0 -807
- package/views/eam/reportCenter/equipFailure/index.vue +0 -615
- package/views/eam/reportCenter/faultAnalysis/index.vue +0 -1231
- package/views/eam/reportCenter/kpiFailure/index.vue +0 -583
- package/views/eam/reportCenter/sparePartsRate/index.vue +0 -715
- package/views/eam/reportCenter/workOrderAnalysis/index.vue +0 -696
- package/views/eam/scrap/scrapApply/component/ScrapApplyCancelDialog.vue +0 -141
- package/views/eam/scrap/scrapApply/component/ScrapApplyEditDialog.vue +0 -530
- package/views/eam/scrap/scrapApply/index copy.vue +0 -556
- package/views/eam/scrap/scrapApply/index.vue +0 -386
- package/views/eam/sparePartMain/SparePartMain.vue +0 -58
- package/views/eam/sparePartMain/sparePartBasic/SparePartBasicMain.vue +0 -58
- package/views/eam/spareParts/sparePartsBasic/index.vue +0 -676
- package/views/eam/spareParts/sparePartsDemand/index.vue +0 -658
- package/views/eam/spareParts/sparePartsInventory/index.vue +0 -425
- package/views/eam/spareParts/sparePartsLibrary/index.vue +0 -426
- package/views/eam/spareParts/sparePartsRecord/index.vue +0 -476
- package/views/eam/spareParts/sparePartsType/index.vue +0 -654
- package/views/eam/spareParts/sparePartsUse/index.vue +0 -550
- package/views/eam/spotCheck/components/InspectionCancelDialog.vue +0 -162
- package/views/eam/spotCheck/inspectionStatus/DetailDialog.vue +0 -364
- package/views/eam/spotCheck/inspectionStatus/UnassignedWorkersDialog.vue +0 -256
- package/views/eam/spotCheck/inspectionStatus/index.vue +0 -989
- package/views/eam/spotCheck/planAction/index.vue +0 -1193
- package/views/eam/spotCheck/specialEquipmentInspect/index.vue +0 -928
- package/views/eam/spotCheck/spotCheckMoon/index.vue +0 -1235
- package/views/eam/spotCheck/spotCheckUnusual/index.vue +0 -1131
- package/views/eam/spotCheck/spotCheckYear/index.vue +0 -1123
- package/views/eam/spotCheck/waitDispatch/index.vue +0 -1554
- package/views/eam/spotCheck/waitHandle/index.vue +0 -2058
- package/views/eam/tallyModule/dailyWaitHandle/index.vue +0 -1816
- package/views/eam/tallyModule/planAction/components/planActionAddDialog.vue +0 -414
- package/views/eam/tallyModule/planAction/index.vue +0 -832
- package/views/eam/tallyModule/spotCheckUnusual/AbnormalInfoDialog.vue +0 -165
- package/views/eam/tallyModule/spotCheckUnusual/index.vue +0 -971
- package/views/eam/tallyModule/statusSummary/index.vue +0 -1189
- package/views/eam/tallyModule/taskProcessed/index.vue +0 -1891
- package/views/eam/tallyModule/waitHandle/index.vue +0 -1984
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchApplyPartsDialog.vue +0 -523
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchBottomEdit.vue +0 -501
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchCancelDialog.vue +0 -138
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchSelectPartsDialog.vue +0 -389
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchSubmitDialog.vue +0 -146
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchTableCalendar.vue +0 -205
- package/views/eam/techInnovation/techInnovationDispatch/components/DispatchTableList.vue +0 -174
- package/views/eam/techInnovation/techInnovationDispatch/index.vue +0 -296
- package/views/eam/techInnovation/techInnovationPlan/components/PlanBottomEdit.vue +0 -469
- package/views/eam/techInnovation/techInnovationPlan/components/PlanDetailDialog.vue +0 -77
- package/views/eam/techInnovation/techInnovationPlan/components/PlanSelectPartsDialog.vue +0 -336
- package/views/eam/techInnovation/techInnovationPlan/components/PlanSubmitDialog.vue +0 -149
- package/views/eam/techInnovation/techInnovationPlan/components/PlanTableCalendar.vue +0 -171
- package/views/eam/techInnovation/techInnovationPlan/components/PlanTableList.vue +0 -144
- package/views/eam/techInnovation/techInnovationPlan/index.vue +0 -271
- package/views/eam/techInnovation/techInnovationReport/components/ReportApplyPartsDialog.vue +0 -523
- package/views/eam/techInnovation/techInnovationReport/components/ReportBottomEdit.vue +0 -615
- package/views/eam/techInnovation/techInnovationReport/components/ReportDetailDialog.vue +0 -76
- package/views/eam/techInnovation/techInnovationReport/components/ReportSelectPartsDialog.vue +0 -389
- package/views/eam/techInnovation/techInnovationReport/components/ReportSubmitDialog.vue +0 -146
- package/views/eam/techInnovation/techInnovationReport/components/ReportTableCalendar.vue +0 -145
- package/views/eam/techInnovation/techInnovationReport/components/ReportTableList.vue +0 -143
- package/views/eam/techInnovation/techInnovationReport/index.vue +0 -256
- package/views/eam/technicalRenovation/TRPlan/index.vue +0 -941
- package/views/eam/technicalRenovation/TRTaskReport/index.vue +0 -1056
- package/views/eam/technicalRenovation/TRTaskWaitDispatch/index.vue +0 -945
- package/views/sm/asm/AsmComplaintHandling/add.vue +0 -669
- package/views/sm/asm/AsmComplaintHandling/index.vue +0 -1103
- package/views/sm/asm/AsmDemand/add.vue +0 -602
- package/views/sm/asm/AsmDemand/index.vue +0 -1074
- package/views/sm/asm/AsmDemandPlan/add.vue +0 -481
- package/views/sm/asm/AsmDemandPlan/index.vue +0 -570
- package/views/sm/asm/AsmEvaluation/add.vue +0 -539
- package/views/sm/asm/AsmEvaluation/index.vue +0 -509
- package/views/sm/asm/AsmEvaluationItems/index.vue +0 -204
- package/views/sm/asm/AsmQualityComplaintFeedback/add.vue +0 -763
- package/views/sm/asm/AsmQualityComplaintFeedback/index.vue +0 -686
- package/views/sm/asm/AsmQualityComplaintFeedback/orderDetails.vue +0 -738
- package/views/sm/bd/customerCreditRating/index.vue +0 -291
- package/views/sm/bd/documentType/index.vue +0 -181
- package/views/sm/bd/exchangeRate/index.vue +0 -283
- package/views/sm/bd/groupingManagement/addItemDialog.vue +0 -559
- package/views/sm/bd/groupingManagement/index.vue +0 -317
- package/views/sm/bd/groupingManagement/selectItemDialog.vue +0 -424
- package/views/sm/bd/priceGroup/dialog/treeEdit.vue +0 -135
- package/views/sm/bd/priceGroup/index.vue +0 -207
- package/views/sm/bd/salesTeam/add.vue +0 -542
- package/views/sm/bd/salesTeam/index.vue +0 -225
- package/views/sm/bd/shipreturnbillType/index.vue +0 -248
- package/views/sm/bd/smInterface/index.vue +0 -246
- package/views/sm/bd/smSysSetting/index.vue +0 -146
- package/views/sm/bd/user/index.vue +0 -787
- package/views/sm/bd/websiteAccountManagement/index.vue +0 -174
- package/views/sm/bm/bidding/add.vue +0 -864
- package/views/sm/bm/bidding/index.vue +0 -778
- package/views/sm/bm/biddingApproval/add.vue +0 -711
- package/views/sm/bm/biddingApproval/index.vue +0 -1336
- package/views/sm/bm/biddingFeedback/add.vue +0 -377
- package/views/sm/bm/biddingFeedback/index.vue +0 -435
- package/views/sm/cm/alterationResume/add.vue +0 -2341
- package/views/sm/cm/alterationResume/addAlteration.vue +0 -3201
- package/views/sm/cm/alterationResume/dialog/stockInquiryDialog.vue +0 -824
- package/views/sm/cm/alterationResume/index.vue +0 -1154
- package/views/sm/cm/contractType/add.vue +0 -218
- package/views/sm/cm/contractType/index.vue +0 -289
- package/views/sm/cm/salesContract/add.vue +0 -1746
- package/views/sm/cm/salesContract/index.vue +0 -1214
- package/views/sm/cm/salesContractList/index.vue +0 -405
- package/views/sm/cm/salesOrder/add.vue +0 -2487
- package/views/sm/cm/salesOrder/addAlteration.vue +0 -2685
- package/views/sm/cm/salesOrder/dialog/stockInquiryDialog.vue +0 -824
- package/views/sm/cm/salesOrder/index.vue +0 -1270
- package/views/sm/cm/salesOrderList/index.vue +0 -667
- package/views/sm/cm/salesOrderResume/add.vue +0 -2329
- package/views/sm/cm/salesOrderResume/index.vue +0 -1144
- package/views/sm/dm/DelProductionAppointment/dialog/add.vue +0 -974
- package/views/sm/dm/DelProductionAppointment/dialog/forceRecord.vue +0 -267
- package/views/sm/dm/DelProductionAppointment/index.vue +0 -855
- package/views/sm/dm/DelProductionAppointmentForceRecord/index.vue +0 -521
- package/views/sm/dm/DelSalesDeliveryOrder/add.vue +0 -1895
- package/views/sm/dm/DelSalesDeliveryOrder/batchDialog.vue +0 -519
- package/views/sm/dm/DelSalesDeliveryOrder/index.vue +0 -1257
- package/views/sm/dm/DelSalesDeliveryOrder/signerDialog.vue +0 -132
- package/views/sm/dm/DelSalesReturn/add.vue +0 -582
- package/views/sm/dm/DelSalesReturn/dialog/add.vue +0 -922
- package/views/sm/dm/DelSalesReturn/dialog/saleOrderDialog.vue +0 -740
- package/views/sm/dm/DelSalesReturn/index.vue +0 -1225
- package/views/sm/dm/DelSalesReturn/orderDetails.vue +0 -694
- package/views/sm/dm/branchFactory/index.vue +0 -272
- package/views/sm/dm/branchFactory/saleOrderDialogSelect.vue +0 -532
- package/views/sm/dm/deldeliverynotice/dialog/add.vue +0 -1173
- package/views/sm/dm/deldeliverynotice/dialog/saleOrderDialog.vue +0 -958
- package/views/sm/dm/deldeliverynotice/dialog/saleOrderDialogSelect.vue +0 -520
- package/views/sm/dm/deldeliverynotice/index.vue +0 -888
- package/views/sm/dm/smDelInventoryReservation/add.vue +0 -899
- package/views/sm/dm/smDelInventoryReservation/index.vue +0 -1101
- package/views/sm/dm/smdelproductsign/editDialog.vue +0 -359
- package/views/sm/dm/smdelproductsign/index.vue +0 -209
- package/views/sm/em/EmExportReturn/add.vue +0 -515
- package/views/sm/em/EmExportReturn/dialog/add.vue +0 -584
- package/views/sm/em/EmExportReturn/dialog/orderDetails.vue +0 -653
- package/views/sm/em/EmExportReturn/exportShipmentModal.vue +0 -97
- package/views/sm/em/EmExportReturn/index.vue +0 -905
- package/views/sm/em/EmExportReversalOrder/add.vue +0 -1746
- package/views/sm/em/EmExportReversalOrder/index.vue +0 -697
- package/views/sm/em/EmExportReversalOrder/receiptadd.vue +0 -714
- package/views/sm/em/EmExportReversalOrder/saleslnvoicingadd.vue +0 -961
- package/views/sm/em/EmExportShipmentOrder/dialog/add.vue +0 -1554
- package/views/sm/em/EmExportShipmentOrder/dialog/customsDialog.vue +0 -256
- package/views/sm/em/EmExportShipmentOrder/dialog/customsDialogData.vue +0 -207
- package/views/sm/em/EmExportShipmentOrder/dialog/saleOrderDialog.vue +0 -891
- package/views/sm/em/EmExportShipmentOrder/index.vue +0 -874
- package/views/sm/em/ExportDeliveryOrder/add.vue +0 -1845
- package/views/sm/em/ExportDeliveryOrder/batchDialog.vue +0 -519
- package/views/sm/em/ExportDeliveryOrder/index.vue +0 -1191
- package/views/sm/em/ExportDeliveryOrder/signerDialog.vue +0 -132
- package/views/sm/em/SmEmInvoice/dialog/addDialog.vue +0 -537
- package/views/sm/em/SmEmInvoice/dialog/updateDialog.vue +0 -533
- package/views/sm/em/SmEmInvoice/index.vue +0 -512
- package/views/sm/em/components/modal/ShipmentOrderModal.vue +0 -119
- package/views/sm/fm/components/model/SalesContractModel.vue +0 -342
- package/views/sm/fm/components/model/SalesDeliveryOrderModel.vue +0 -408
- package/views/sm/fm/components/model/SalesOrderModel.vue +0 -322
- package/views/sm/fm/components/model/SettlementModel.vue +0 -226
- package/views/sm/fm/receipt/add.vue +0 -824
- package/views/sm/fm/receipt/index.vue +0 -763
- package/views/sm/fm/reversalOrder/add.vue +0 -1746
- package/views/sm/fm/reversalOrder/index.vue +0 -694
- package/views/sm/fm/reversalOrder/receiptadd.vue +0 -714
- package/views/sm/fm/reversalOrder/saleslnvoicingadd.vue +0 -961
- package/views/sm/fm/salesInvoicing/add.vue +0 -670
- package/views/sm/fm/salesInvoicing/index.vue +0 -689
- package/views/sm/fm/smFmSettlement/add.vue +0 -680
- package/views/sm/fm/smFmSettlement/edit.vue +0 -821
- package/views/sm/fm/smFmSettlement/index.vue +0 -990
- package/views/sm/pm/planCustomerVisit/add.vue +0 -802
- package/views/sm/pm/planCustomerVisit/index.vue +0 -527
- package/views/sm/pm/planCustomerVisitDetail/index.vue +0 -82
- package/views/sm/pm/planCustomerVisitFeedback/add.vue +0 -944
- package/views/sm/pm/planCustomerVisitFeedback/index.vue +0 -469
- package/views/sm/pm/planMarketVisit/add.vue +0 -1151
- package/views/sm/pm/planMarketVisit/index.vue +0 -595
- package/views/sm/pm/planMarketVisitDetail/index.vue +0 -82
- package/views/sm/pm/planMarketVisitFeedback/add.vue +0 -1214
- package/views/sm/pm/planMarketVisitFeedback/index.vue +0 -525
- package/views/sm/pm/salesPlan/addBut.vue +0 -766
- package/views/sm/pm/salesPlan/index.vue +0 -612
- package/views/sm/pm/salesPlanAdjust/addBut.vue +0 -902
- package/views/sm/pm/salesPlanAdjust/index.vue +0 -467
- package/views/sm/pm/salesTask/addBut.vue +0 -1247
- package/views/sm/pm/salesTask/index.vue +0 -586
- package/views/sm/pm/salesTaskAdjust/addBut.vue +0 -1613
- package/views/sm/pm/salesTaskAdjust/index.vue +0 -460
- package/views/sm/prm/contractDeclare/add.vue +0 -834
- package/views/sm/prm/contractDeclare/index.vue +0 -786
- package/views/sm/prm/poostPrice/add.vue +0 -318
- package/views/sm/prm/poostPrice/index.vue +0 -192
- package/views/sm/prm/productTrial/add.vue +0 -989
- package/views/sm/prm/productTrial/detail.vue +0 -777
- package/views/sm/prm/productTrial/index.vue +0 -623
- package/views/sm/prm/productTrialDetails/index.vue +0 -149
- package/views/sm/prm/specialContract/add.vue +0 -1039
- package/views/sm/prm/specialContract/index.vue +0 -805
- package/views/sm/qm/historicalPrice/index.vue +0 -210
- package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/addDialog.vue +0 -696
- package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/editPriceadJustmentSheetDialog.vue +0 -1080
- package/views/sm/qm/priceadJustmentSheetOverWrite/Dialog/queryDialog.vue +0 -872
- package/views/sm/qm/priceadJustmentSheetOverWrite/index.vue +0 -566
- package/views/sm/qm/productPriceOverWrite/Dialog/add.vue +0 -1242
- package/views/sm/qm/productPriceOverWrite/Dialog/areaModal.vue +0 -101
- package/views/sm/qm/productPriceOverWrite/Dialog/itemGroupingModal.vue +0 -367
- package/views/sm/qm/productPriceOverWrite/Dialog/priceAdjustment.vue +0 -1580
- package/views/sm/qm/productPriceOverWrite/index.vue +0 -692
- package/views/sm/qm/quotation/add.vue +0 -1397
- package/views/sm/qm/quotation/index.vue +0 -866
- package/views/sm/re/salesPlanStatistics/addBut.vue +0 -614
- package/views/sm/re/salesPlanStatistics/index.vue +0 -589
- package/views/sm/re/salesTaskStatistics/addBut.vue +0 -614
- package/views/sm/re/salesTaskStatistics/index.vue +0 -590
- package/views/sm/tm/smTmLogisticsTracking/add.vue +0 -396
- package/views/sm/tm/smTmLogisticsTracking/index.vue +0 -673
- package/views/sm/tm/smTmProductHandover/add.vue +0 -1193
- package/views/sm/tm/smTmProductHandover/addDialog.vue +0 -1119
- package/views/sm/tm/smTmProductHandover/index.vue +0 -1206
- 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 "
|
|
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
|
@@ -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>
|