kz-ui-base 1.0.47 → 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/components/eam/Editor/index.vue +200 -0
- package/components/eam/Process/BpmData.js +68 -0
- package/components/eam/Process/PropertyPanel.vue +169 -0
- package/components/eam/Process/common/customTranslate.js +20 -0
- package/components/eam/Process/common/mixinExecutionListener.js +24 -0
- package/components/eam/Process/common/mixinPanel.js +70 -0
- package/components/eam/Process/common/mixinXcrud.js +22 -0
- package/components/eam/Process/common/parseElement.js +53 -0
- package/components/eam/Process/components/custom/customContextPad.vue +24 -0
- package/components/eam/Process/components/nodePanel/gateway.vue +81 -0
- package/components/eam/Process/components/nodePanel/process.vue +113 -0
- package/components/eam/Process/components/nodePanel/property/executionListener.vue +194 -0
- package/components/eam/Process/components/nodePanel/property/listenerParam.vue +96 -0
- package/components/eam/Process/components/nodePanel/property/multiInstance.vue +117 -0
- package/components/eam/Process/components/nodePanel/property/signal.vue +124 -0
- package/components/eam/Process/components/nodePanel/property/taskListener.vue +196 -0
- package/components/eam/Process/components/nodePanel/sequenceFlow.vue +92 -0
- package/components/eam/Process/components/nodePanel/startEnd.vue +94 -0
- package/components/eam/Process/components/nodePanel/task.vue +426 -0
- package/components/eam/Process/flowable/flowable.json +1194 -0
- package/components/eam/Process/flowable/init.js +24 -0
- package/components/eam/Process/flowable/showConfig.js +55 -0
- package/components/eam/Process/index.js +5 -0
- package/components/eam/Process/index.vue +463 -0
- package/components/eam/Process/lang/zh.js +227 -0
- package/components/eam/changeValuePopover/index.vue +54 -0
- package/components/eam/customBpmn/index.js +12 -0
- package/components/eam/eam-capi/EamAsideListPanel.vue +85 -0
- package/components/eam/eam-capi/EamAsideListPanelTemp.vue +8 -0
- package/components/eam/eam-capi/EamCommonQueryTerm.vue +267 -0
- package/components/eam/eam-capi/EamFlowRecord.vue +92 -0
- package/components/eam/eam-capi/EamGraphQueryTerm.vue +302 -0
- package/components/eam/eam-capi/EamListPanel.vue +91 -0
- package/components/eam/eam-capi/EamListPanelTemp.vue +14 -0
- package/components/eam/eam-capi/EamPopoverConfirm.vue +95 -0
- package/components/eam/eam-capi/EamUploadImgDialog.vue +258 -0
- package/components/eam/eam-capi/icon/IconAdd.vue +44 -0
- package/components/eam/eam-capi/icon/IconAgree.vue +35 -0
- package/components/eam/eam-capi/icon/IconCanceled.vue +38 -0
- package/components/eam/eam-capi/icon/IconDate.vue +34 -0
- package/components/eam/eam-capi/icon/IconDateWhite.vue +33 -0
- package/components/eam/eam-capi/icon/IconDelete.vue +64 -0
- package/components/eam/eam-capi/icon/IconDetail.vue +55 -0
- package/components/eam/eam-capi/icon/IconDiscard.vue +17 -0
- package/components/eam/eam-capi/icon/IconDispatch.vue +38 -0
- package/components/eam/eam-capi/icon/IconDispatchWork.vue +29 -0
- package/components/eam/eam-capi/icon/IconEdit.vue +48 -0
- package/components/eam/eam-capi/icon/IconFolderDownload.vue +20 -0
- package/components/eam/eam-capi/icon/IconFolderUpload.vue +17 -0
- package/components/eam/eam-capi/icon/IconHistory.vue +35 -0
- package/components/eam/eam-capi/icon/IconImage.vue +39 -0
- package/components/eam/eam-capi/icon/IconList.vue +33 -0
- package/components/eam/eam-capi/icon/IconListWhite.vue +31 -0
- package/components/eam/eam-capi/icon/IconParts.vue +35 -0
- package/components/eam/eam-capi/icon/IconPrint.vue +56 -0
- package/components/eam/eam-capi/icon/IconReject.vue +35 -0
- package/components/eam/eam-capi/icon/IconSave.vue +17 -0
- package/components/eam/eam-capi/icon/IconSaveFill.vue +17 -0
- package/components/eam/eam-capi/icon/IconSub.vue +35 -0
- package/{views/eam/sparePartMain/sparePartBasic/SparePartBasicMain.vue → components/eam/eam-capi/table-column/EamTableColumnIndex.vue} +6 -8
- package/{views/eam/sparePartMain/SparePartMain.vue → components/eam/eam-capi/table-column/EamTableColumnSelection.vue} +6 -8
- package/components/eam/eam-capi/table-column/EamTableColumnUser.vue +66 -0
- package/components/eam/ins-capi/InsFormItemUpload.vue +292 -0
- package/components/eam/ins-capi/InsLogin.vue +444 -0
- package/components/eam/ins-capi/InsTopDialog.vue +134 -0
- package/components/eam/parser/Parser.vue +197 -0
- package/components/eam/parser/README.md +17 -0
- package/components/eam/parser/example/Index.vue +324 -0
- package/components/eam/parser/index.js +3 -0
- package/components/eam/parser/package.json +25 -0
- package/components/eam/render/package.json +19 -0
- package/components/eam/render/render.js +122 -0
- package/components/eam/render/slots/el-button.js +5 -0
- package/components/eam/render/slots/el-checkbox-group.js +13 -0
- package/components/eam/render/slots/el-input.js +8 -0
- package/components/eam/render/slots/el-radio-group.js +13 -0
- package/components/eam/render/slots/el-select.js +9 -0
- package/components/eam/render/slots/el-upload.js +17 -0
- package/components/eam/taskIntervalEditor/index.vue +259 -0
- 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/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
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="editor" ref="editor" :style="styles"></div>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import Quill from "quill";
|
|
7
|
+
import "quill/dist/quill.core.css";
|
|
8
|
+
import "quill/dist/quill.snow.css";
|
|
9
|
+
import "quill/dist/quill.bubble.css";
|
|
10
|
+
|
|
11
|
+
export default {
|
|
12
|
+
name: "Editor",
|
|
13
|
+
props: {
|
|
14
|
+
/* 编辑器的内容 */
|
|
15
|
+
value: {
|
|
16
|
+
type: String,
|
|
17
|
+
default: "",
|
|
18
|
+
},
|
|
19
|
+
/* 高度 */
|
|
20
|
+
height: {
|
|
21
|
+
type: Number,
|
|
22
|
+
default: null,
|
|
23
|
+
},
|
|
24
|
+
/* 最小高度 */
|
|
25
|
+
minHeight: {
|
|
26
|
+
type: Number,
|
|
27
|
+
default: null,
|
|
28
|
+
},
|
|
29
|
+
/* 只读 */
|
|
30
|
+
readOnly: {
|
|
31
|
+
type: Boolean,
|
|
32
|
+
default: false,
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
data() {
|
|
36
|
+
return {
|
|
37
|
+
Quill: null,
|
|
38
|
+
currentValue: "",
|
|
39
|
+
options: {
|
|
40
|
+
theme: "snow",
|
|
41
|
+
bounds: document.body,
|
|
42
|
+
debug: "warn",
|
|
43
|
+
modules: {
|
|
44
|
+
// 工具栏配置
|
|
45
|
+
toolbar: [
|
|
46
|
+
["bold", "italic", "underline", "strike"], // 加粗 斜体 下划线 删除线
|
|
47
|
+
["blockquote", "code-block"], // 引用 代码块
|
|
48
|
+
[{ list: "ordered" }, { list: "bullet" }], // 有序、无序列表
|
|
49
|
+
[{ indent: "-1" }, { indent: "+1" }], // 缩进
|
|
50
|
+
[{ size: ["small", false, "large", "huge"] }], // 字体大小
|
|
51
|
+
[{ header: [1, 2, 3, 4, 5, 6, false] }], // 标题
|
|
52
|
+
[{ color: [] }, { background: [] }], // 字体颜色、字体背景颜色
|
|
53
|
+
[{ align: [] }], // 对齐方式
|
|
54
|
+
["clean"], // 清除文本格式
|
|
55
|
+
["link", "image", "video"] // 链接、图片、视频
|
|
56
|
+
],
|
|
57
|
+
},
|
|
58
|
+
placeholder: "请输入内容",
|
|
59
|
+
readOnly: this.readOnly,
|
|
60
|
+
},
|
|
61
|
+
};
|
|
62
|
+
},
|
|
63
|
+
computed: {
|
|
64
|
+
styles() {
|
|
65
|
+
let style = {};
|
|
66
|
+
if (this.minHeight) {
|
|
67
|
+
style.minHeight = `${this.minHeight}px`;
|
|
68
|
+
}
|
|
69
|
+
if (this.height) {
|
|
70
|
+
style.height = `${this.height}px`;
|
|
71
|
+
}
|
|
72
|
+
return style;
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
watch: {
|
|
76
|
+
value: {
|
|
77
|
+
handler(val) {
|
|
78
|
+
if (val !== this.currentValue) {
|
|
79
|
+
this.currentValue = val === null ? "" : val;
|
|
80
|
+
if (this.Quill) {
|
|
81
|
+
this.Quill.pasteHTML(this.currentValue);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
immediate: true,
|
|
86
|
+
},
|
|
87
|
+
},
|
|
88
|
+
mounted() {
|
|
89
|
+
this.init();
|
|
90
|
+
},
|
|
91
|
+
beforeDestroy() {
|
|
92
|
+
this.Quill = null;
|
|
93
|
+
},
|
|
94
|
+
methods: {
|
|
95
|
+
init() {
|
|
96
|
+
const editor = this.$refs.editor;
|
|
97
|
+
this.Quill = new Quill(editor, this.options);
|
|
98
|
+
this.Quill.pasteHTML(this.currentValue);
|
|
99
|
+
this.Quill.on("text-change", (delta, oldDelta, source) => {
|
|
100
|
+
const html = this.$refs.editor.children[0].innerHTML;
|
|
101
|
+
const text = this.Quill.getText();
|
|
102
|
+
const quill = this.Quill;
|
|
103
|
+
this.currentValue = html;
|
|
104
|
+
this.$emit("input", html);
|
|
105
|
+
this.$emit("on-change", { html, text, quill });
|
|
106
|
+
});
|
|
107
|
+
this.Quill.on("text-change", (delta, oldDelta, source) => {
|
|
108
|
+
this.$emit("on-text-change", delta, oldDelta, source);
|
|
109
|
+
});
|
|
110
|
+
this.Quill.on("selection-change", (range, oldRange, source) => {
|
|
111
|
+
this.$emit("on-selection-change", range, oldRange, source);
|
|
112
|
+
});
|
|
113
|
+
this.Quill.on("editor-change", (eventName, ...args) => {
|
|
114
|
+
this.$emit("on-editor-change", eventName, ...args);
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
};
|
|
119
|
+
</script>
|
|
120
|
+
|
|
121
|
+
<style>
|
|
122
|
+
.editor, .ql-toolbar {
|
|
123
|
+
white-space: pre-wrap!important;
|
|
124
|
+
line-height: normal !important;
|
|
125
|
+
}
|
|
126
|
+
.quill-img {
|
|
127
|
+
display: none;
|
|
128
|
+
}
|
|
129
|
+
.ql-snow .ql-tooltip[data-mode="link"]::before {
|
|
130
|
+
content: "请输入链接地址:";
|
|
131
|
+
}
|
|
132
|
+
.ql-snow .ql-tooltip.ql-editing a.ql-action::after {
|
|
133
|
+
border-right: 0px;
|
|
134
|
+
content: "保存";
|
|
135
|
+
padding-right: 0px;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.ql-snow .ql-tooltip[data-mode="video"]::before {
|
|
139
|
+
content: "请输入视频地址:";
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.ql-snow .ql-picker.ql-size .ql-picker-label::before,
|
|
143
|
+
.ql-snow .ql-picker.ql-size .ql-picker-item::before {
|
|
144
|
+
content: "14px";
|
|
145
|
+
}
|
|
146
|
+
.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="small"]::before,
|
|
147
|
+
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="small"]::before {
|
|
148
|
+
content: "10px";
|
|
149
|
+
}
|
|
150
|
+
.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="large"]::before,
|
|
151
|
+
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="large"]::before {
|
|
152
|
+
content: "18px";
|
|
153
|
+
}
|
|
154
|
+
.ql-snow .ql-picker.ql-size .ql-picker-label[data-value="huge"]::before,
|
|
155
|
+
.ql-snow .ql-picker.ql-size .ql-picker-item[data-value="huge"]::before {
|
|
156
|
+
content: "32px";
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label::before,
|
|
160
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item::before {
|
|
161
|
+
content: "文本";
|
|
162
|
+
}
|
|
163
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="1"]::before,
|
|
164
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="1"]::before {
|
|
165
|
+
content: "标题1";
|
|
166
|
+
}
|
|
167
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="2"]::before,
|
|
168
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="2"]::before {
|
|
169
|
+
content: "标题2";
|
|
170
|
+
}
|
|
171
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="3"]::before,
|
|
172
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="3"]::before {
|
|
173
|
+
content: "标题3";
|
|
174
|
+
}
|
|
175
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="4"]::before,
|
|
176
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="4"]::before {
|
|
177
|
+
content: "标题4";
|
|
178
|
+
}
|
|
179
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="5"]::before,
|
|
180
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="5"]::before {
|
|
181
|
+
content: "标题5";
|
|
182
|
+
}
|
|
183
|
+
.ql-snow .ql-picker.ql-header .ql-picker-label[data-value="6"]::before,
|
|
184
|
+
.ql-snow .ql-picker.ql-header .ql-picker-item[data-value="6"]::before {
|
|
185
|
+
content: "标题6";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.ql-snow .ql-picker.ql-font .ql-picker-label::before,
|
|
189
|
+
.ql-snow .ql-picker.ql-font .ql-picker-item::before {
|
|
190
|
+
content: "标准字体";
|
|
191
|
+
}
|
|
192
|
+
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="serif"]::before,
|
|
193
|
+
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="serif"]::before {
|
|
194
|
+
content: "衬线字体";
|
|
195
|
+
}
|
|
196
|
+
.ql-snow .ql-picker.ql-font .ql-picker-label[data-value="monospace"]::before,
|
|
197
|
+
.ql-snow .ql-picker.ql-font .ql-picker-item[data-value="monospace"]::before {
|
|
198
|
+
content: "等宽字体";
|
|
199
|
+
}
|
|
200
|
+
</style>
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 存储流程设计相关参数
|
|
3
|
+
*/
|
|
4
|
+
export default class BpmData {
|
|
5
|
+
constructor() {
|
|
6
|
+
this.controls = [] // 设计器控件
|
|
7
|
+
this.init()
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
init() {
|
|
11
|
+
this.controls = [
|
|
12
|
+
{
|
|
13
|
+
action: 'create.start-event',
|
|
14
|
+
title: '开始'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
action: 'create.intermediate-event',
|
|
18
|
+
title: '中间'
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
action: 'create.end-event',
|
|
22
|
+
title: '结束'
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
action: 'create.exclusive-gateway',
|
|
26
|
+
title: '网关'
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
action: 'create.task',
|
|
30
|
+
title: '任务'
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
action: 'create.user-task',
|
|
34
|
+
title: '用户任务'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
action: 'create.user-sign-task',
|
|
38
|
+
title: '会签任务'
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
action: 'create.subprocess-expanded',
|
|
42
|
+
title: '子流程'
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
action: 'create.data-object',
|
|
46
|
+
title: '数据对象'
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
action: 'create.data-store',
|
|
50
|
+
title: '数据存储'
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
action: 'create.participant-expanded',
|
|
54
|
+
title: '扩展流程'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
action: 'create.group',
|
|
58
|
+
title: '分组'
|
|
59
|
+
}
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
// 获取控件配置信息
|
|
64
|
+
getControl(action) {
|
|
65
|
+
const result = this.controls.filter(item => item.action === action)
|
|
66
|
+
return result[0] || {}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div ref="propertyPanel" class="property-panel">
|
|
3
|
+
<div v-if="nodeName" class="node-name">{{ nodeName }}</div>
|
|
4
|
+
<component
|
|
5
|
+
:is="getComponent"
|
|
6
|
+
v-if="element"
|
|
7
|
+
:element="element"
|
|
8
|
+
:modeler="modeler"
|
|
9
|
+
:users="users"
|
|
10
|
+
:groups="groups"
|
|
11
|
+
:categorys="categorys"
|
|
12
|
+
@dataType="dataType"
|
|
13
|
+
/>
|
|
14
|
+
</div>
|
|
15
|
+
</template>
|
|
16
|
+
|
|
17
|
+
<script>
|
|
18
|
+
import taskPanel from './components/nodePanel/task'
|
|
19
|
+
import startEndPanel from './components/nodePanel/startEnd'
|
|
20
|
+
import processPanel from './components/nodePanel/process'
|
|
21
|
+
import sequenceFlowPanel from './components/nodePanel/sequenceFlow'
|
|
22
|
+
import gatewayPanel from './components/nodePanel/gateway'
|
|
23
|
+
import { NodeName } from './lang/zh'
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
name: 'PropertyPanel',
|
|
27
|
+
components: { processPanel, taskPanel, startEndPanel, sequenceFlowPanel, gatewayPanel },
|
|
28
|
+
props: {
|
|
29
|
+
users: {
|
|
30
|
+
type: Array,
|
|
31
|
+
required: true
|
|
32
|
+
},
|
|
33
|
+
groups: {
|
|
34
|
+
type: Array,
|
|
35
|
+
required: true
|
|
36
|
+
},
|
|
37
|
+
categorys: {
|
|
38
|
+
type: Array,
|
|
39
|
+
required: true
|
|
40
|
+
},
|
|
41
|
+
modeler: {
|
|
42
|
+
type: Object,
|
|
43
|
+
required: true
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
data() {
|
|
47
|
+
return {
|
|
48
|
+
element: null,
|
|
49
|
+
form: {
|
|
50
|
+
id: '',
|
|
51
|
+
name: '',
|
|
52
|
+
color: null
|
|
53
|
+
},
|
|
54
|
+
roles: [
|
|
55
|
+
{ value: 'manager', label: '经理' },
|
|
56
|
+
{ value: 'personnel', label: '人事' },
|
|
57
|
+
{ value: 'charge', label: '主管' }
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
computed: {
|
|
62
|
+
getComponent() {
|
|
63
|
+
const type = this.element?.type
|
|
64
|
+
if (['bpmn:IntermediateThrowEvent', 'bpmn:StartEvent', 'bpmn:EndEvent'].includes(type)) {
|
|
65
|
+
return 'startEndPanel'
|
|
66
|
+
}
|
|
67
|
+
if ([
|
|
68
|
+
'bpmn:UserTask',
|
|
69
|
+
'bpmn:Task',
|
|
70
|
+
'bpmn:SendTask',
|
|
71
|
+
'bpmn:ReceiveTask',
|
|
72
|
+
'bpmn:ManualTask',
|
|
73
|
+
'bpmn:BusinessRuleTask',
|
|
74
|
+
'bpmn:ServiceTask',
|
|
75
|
+
'bpmn:ScriptTask'
|
|
76
|
+
// 'bpmn:CallActivity',
|
|
77
|
+
// 'bpmn:SubProcess'
|
|
78
|
+
].includes(type)) {
|
|
79
|
+
return 'taskPanel'
|
|
80
|
+
}
|
|
81
|
+
if (type === 'bpmn:SequenceFlow') {
|
|
82
|
+
return 'sequenceFlowPanel'
|
|
83
|
+
}
|
|
84
|
+
if ([
|
|
85
|
+
'bpmn:InclusiveGateway',
|
|
86
|
+
'bpmn:ExclusiveGateway',
|
|
87
|
+
'bpmn:ParallelGateway',
|
|
88
|
+
'bpmn:EventBasedGateway'
|
|
89
|
+
].includes(type)) {
|
|
90
|
+
return 'gatewayPanel'
|
|
91
|
+
}
|
|
92
|
+
if (type === 'bpmn:Process') {
|
|
93
|
+
return 'processPanel'
|
|
94
|
+
}
|
|
95
|
+
return null
|
|
96
|
+
},
|
|
97
|
+
nodeName() {
|
|
98
|
+
if (this.element) {
|
|
99
|
+
const bizObj = this.element.businessObject
|
|
100
|
+
const type = bizObj?.eventDefinitions
|
|
101
|
+
? bizObj.eventDefinitions[0].$type
|
|
102
|
+
: bizObj.$type
|
|
103
|
+
return NodeName[type] || type
|
|
104
|
+
}
|
|
105
|
+
return ''
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
mounted() {
|
|
109
|
+
this.handleModeler()
|
|
110
|
+
},
|
|
111
|
+
methods: {
|
|
112
|
+
handleModeler() {
|
|
113
|
+
this.modeler.on('root.added', e => {
|
|
114
|
+
if (e.element.type === 'bpmn:Process') {
|
|
115
|
+
this.element = null
|
|
116
|
+
this.$nextTick().then(() => {
|
|
117
|
+
this.element = e.element
|
|
118
|
+
})
|
|
119
|
+
}
|
|
120
|
+
})
|
|
121
|
+
this.modeler.on('element.click', e => {
|
|
122
|
+
const { element } = e
|
|
123
|
+
console.log(element)
|
|
124
|
+
if (element.type === 'bpmn:Process') {
|
|
125
|
+
this.element = element
|
|
126
|
+
}
|
|
127
|
+
})
|
|
128
|
+
this.modeler.on('selection.changed', e => {
|
|
129
|
+
// hack 同类型面板不刷新
|
|
130
|
+
this.element = null
|
|
131
|
+
const element = e.newSelection[0]
|
|
132
|
+
if (element) {
|
|
133
|
+
this.$nextTick().then(() => {
|
|
134
|
+
this.element = element
|
|
135
|
+
})
|
|
136
|
+
}
|
|
137
|
+
})
|
|
138
|
+
},
|
|
139
|
+
/** 获取数据类型 */
|
|
140
|
+
dataType(data){
|
|
141
|
+
this.$emit('dataType', data)
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
</script>
|
|
146
|
+
|
|
147
|
+
<style lang="scss">
|
|
148
|
+
.property-panel {
|
|
149
|
+
padding: 20px 20px;
|
|
150
|
+
// reset element css
|
|
151
|
+
.el-form--label-top .el-form-item__label {
|
|
152
|
+
padding: 0;
|
|
153
|
+
}
|
|
154
|
+
.el-form-item {
|
|
155
|
+
margin-bottom: 6px;
|
|
156
|
+
}
|
|
157
|
+
.tab-table .el-form-item {
|
|
158
|
+
margin-bottom: 16px;
|
|
159
|
+
}
|
|
160
|
+
.node-name{
|
|
161
|
+
border-bottom: 1px solid #ccc;
|
|
162
|
+
padding: 0 0 10px 20px;
|
|
163
|
+
margin-bottom: 10px;
|
|
164
|
+
font-size: 16px;
|
|
165
|
+
font-weight: bold;
|
|
166
|
+
color: #444;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
</style>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import translations from '../lang/zh'
|
|
2
|
+
|
|
3
|
+
export default function customTranslate(template, replacements) {
|
|
4
|
+
replacements = replacements || {}
|
|
5
|
+
|
|
6
|
+
// Translate
|
|
7
|
+
template = translations[template] || template
|
|
8
|
+
|
|
9
|
+
// Replace
|
|
10
|
+
return template.replace(/{([^}]+)}/g, function(_, key) {
|
|
11
|
+
var str = replacements[key]
|
|
12
|
+
if (
|
|
13
|
+
translations[replacements[key]] !== null &&
|
|
14
|
+
translations[replacements[key]] !== 'undefined'
|
|
15
|
+
) {
|
|
16
|
+
str = translations[replacements[key]]
|
|
17
|
+
}
|
|
18
|
+
return str || '{' + key + '}'
|
|
19
|
+
})
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
|
|
2
|
+
import executionListenerDialog from '../components/nodePanel/property/executionListener'
|
|
3
|
+
export default {
|
|
4
|
+
components: {
|
|
5
|
+
executionListenerDialog
|
|
6
|
+
},
|
|
7
|
+
data() {
|
|
8
|
+
return {
|
|
9
|
+
executionListenerLength: 0,
|
|
10
|
+
dialogName: null
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
methods: {
|
|
14
|
+
computedExecutionListenerLength() {
|
|
15
|
+
this.executionListenerLength = this.element.businessObject.extensionElements?.values?.length ?? 0
|
|
16
|
+
},
|
|
17
|
+
finishExecutionListener() {
|
|
18
|
+
if (this.dialogName === 'executionListenerDialog') {
|
|
19
|
+
this.computedExecutionListenerLength()
|
|
20
|
+
}
|
|
21
|
+
this.dialogName = ''
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import xcrud from 'xcrud'
|
|
2
|
+
import golbalConfig from 'xcrud/package/common/config'
|
|
3
|
+
import showConfig from '../flowable/showConfig'
|
|
4
|
+
golbalConfig.set({
|
|
5
|
+
input: {
|
|
6
|
+
// size: 'mini'
|
|
7
|
+
},
|
|
8
|
+
select: {
|
|
9
|
+
// size: 'mini'
|
|
10
|
+
},
|
|
11
|
+
colorPicker: {
|
|
12
|
+
showAlpha: true
|
|
13
|
+
},
|
|
14
|
+
xform: {
|
|
15
|
+
form: {
|
|
16
|
+
labelWidth: 'auto'
|
|
17
|
+
// size: 'mini'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
})
|
|
21
|
+
export default {
|
|
22
|
+
components: { xForm: xcrud.xForm },
|
|
23
|
+
props: {
|
|
24
|
+
modeler: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: true
|
|
27
|
+
},
|
|
28
|
+
element: {
|
|
29
|
+
type: Object,
|
|
30
|
+
required: true
|
|
31
|
+
},
|
|
32
|
+
categorys: {
|
|
33
|
+
type: Array,
|
|
34
|
+
default: () => []
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
watch: {
|
|
38
|
+
'formData.id': function(val) {
|
|
39
|
+
this.updateProperties({ id: val })
|
|
40
|
+
},
|
|
41
|
+
'formData.name': function(val) {
|
|
42
|
+
this.updateProperties({ name: val })
|
|
43
|
+
},
|
|
44
|
+
'formData.documentation': function(val) {
|
|
45
|
+
if (!val) {
|
|
46
|
+
this.updateProperties({ documentation: [] })
|
|
47
|
+
return
|
|
48
|
+
}
|
|
49
|
+
const documentationElement = this.modeler.get('moddle').create('bpmn:Documentation', { text: val })
|
|
50
|
+
this.updateProperties({ documentation: [documentationElement] })
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
methods: {
|
|
54
|
+
updateProperties(properties) {
|
|
55
|
+
const modeling = this.modeler.get('modeling')
|
|
56
|
+
modeling.updateProperties(this.element, properties)
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
computed: {
|
|
60
|
+
elementType() {
|
|
61
|
+
const bizObj = this.element.businessObject
|
|
62
|
+
return bizObj.eventDefinitions
|
|
63
|
+
? bizObj.eventDefinitions[0].$type
|
|
64
|
+
: bizObj.$type
|
|
65
|
+
},
|
|
66
|
+
showConfig() {
|
|
67
|
+
return showConfig[this.elementType] || {}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import xcrud from 'xcrud'
|
|
2
|
+
import golbalConfig from 'xcrud/package/common/config'
|
|
3
|
+
golbalConfig.set({
|
|
4
|
+
input: {
|
|
5
|
+
// size: 'mini'
|
|
6
|
+
},
|
|
7
|
+
select: {
|
|
8
|
+
// size: 'mini'
|
|
9
|
+
},
|
|
10
|
+
colorPicker: {
|
|
11
|
+
showAlpha: true
|
|
12
|
+
},
|
|
13
|
+
xform: {
|
|
14
|
+
form: {
|
|
15
|
+
labelWidth: 'auto'
|
|
16
|
+
// size: 'mini'
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
})
|
|
20
|
+
export default {
|
|
21
|
+
components: { xForm: xcrud.xForm }
|
|
22
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
export function commonParse(element) {
|
|
2
|
+
const result = {
|
|
3
|
+
...element.businessObject,
|
|
4
|
+
...element.businessObject.$attrs
|
|
5
|
+
}
|
|
6
|
+
return formatJsonKeyValue(result)
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export function formatJsonKeyValue(result) {
|
|
10
|
+
// 移除flowable前缀,格式化数组
|
|
11
|
+
for (const key in result) {
|
|
12
|
+
if (key.indexOf('flowable:') === 0) {
|
|
13
|
+
const newKey = key.replace('flowable:', '')
|
|
14
|
+
result[newKey] = result[key]
|
|
15
|
+
delete result[key]
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
result = documentationParse(result)
|
|
19
|
+
return result
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export function documentationParse(obj) {
|
|
23
|
+
if ('documentation' in obj) {
|
|
24
|
+
let str = ''
|
|
25
|
+
obj.documentation.forEach(item => {
|
|
26
|
+
str += item.text
|
|
27
|
+
})
|
|
28
|
+
obj.documentation = str
|
|
29
|
+
}
|
|
30
|
+
return obj
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function conditionExpressionParse(obj) {
|
|
34
|
+
if ('conditionExpression' in obj) {
|
|
35
|
+
obj.conditionExpression = obj.conditionExpression.body
|
|
36
|
+
}
|
|
37
|
+
return obj
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export function userTaskParse(obj) {
|
|
41
|
+
for (const key in obj) {
|
|
42
|
+
if (key === 'candidateUsers') {
|
|
43
|
+
obj.userType = 'candidateUsers'
|
|
44
|
+
obj[key] = obj[key]?.split(',') || []
|
|
45
|
+
} else if (key === 'candidateGroups') {
|
|
46
|
+
obj.userType = 'candidateGroups'
|
|
47
|
+
obj[key] = obj[key]?.split(',') || []
|
|
48
|
+
} else if (key === 'assignee') {
|
|
49
|
+
obj.userType = 'assignee'
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
return obj
|
|
53
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default class CustomContextPad {
|
|
2
|
+
constructor(config, contextPad, create, elementFactory, injector, translate) {
|
|
3
|
+
this.create = create;
|
|
4
|
+
this.elementFactory = elementFactory;
|
|
5
|
+
this.translate = translate;
|
|
6
|
+
|
|
7
|
+
if (config.autoPlace !== false) {
|
|
8
|
+
this.autoPlace = injector.get('autoPlace', false);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
contextPad.registerProvider(this); // 定义这是一个contextPad
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
getContextPadEntries(element) {}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
CustomContextPad.$inject = [
|
|
18
|
+
'config',
|
|
19
|
+
'contextPad',
|
|
20
|
+
'create',
|
|
21
|
+
'elementFactory',
|
|
22
|
+
'injector',
|
|
23
|
+
'translate'
|
|
24
|
+
];
|