qgb-process 0.2.3 → 0.2.7
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/.env +2 -2
- package/.env.development +70 -70
- package/.env.pre +60 -60
- package/.env.production +48 -48
- package/.env.test +48 -48
- package/.eslintignore +4 -4
- package/.eslintrc.js +302 -302
- package/README.md +66 -66
- package/babel.config.js +5 -5
- package/commitlint.config.js +30 -30
- package/config/dev.env.js +7 -7
- package/config/index.js +82 -82
- package/config/prod.env.js +4 -4
- package/debug.log +4 -4
- package/index.js +6 -6
- package/jsconfig.json +9 -9
- package/lib/qgb-process.common.js +7666 -5069
- package/lib/qgb-process.umd.js +7666 -5069
- package/lib/qgb-process.umd.min.js +108 -108
- package/package.json +148 -148
- package/packages/index.js +26 -26
- package/public/index.html +47 -47
- package/public/js/qykf.js +21 -21
- package/src/App.vue +37 -37
- package/src/api/ApiExAndapp.js +24 -24
- package/src/api/EnterpriseAssociation.js +8 -8
- package/src/api/Notice.js +31 -31
- package/src/api/apiAcceptance/apiAcceptance.js +37 -37
- package/src/api/apiAddress.js +9 -9
- package/src/api/apiApprovalConfig.js +13 -13
- package/src/api/apiApprove.js +18 -18
- package/src/api/apiArrears/apiArrears.js +41 -41
- package/src/api/apiArrears/apiProjectArrears.js +16 -16
- package/src/api/apiArrears/index.js +15 -15
- package/src/api/apiAssets.js +19 -19
- package/src/api/apiAssociate.js +42 -42
- package/src/api/apiAudit/apiAudit.js +32 -32
- package/src/api/apiAuth.js +25 -25
- package/src/api/apiAuthentication.js +35 -35
- package/src/api/apiBankAccount/index.js +12 -12
- package/src/api/apiBudget/apiBudget.js +30 -30
- package/src/api/apiBudget/apiBudgets.js +105 -105
- package/src/api/apiCarRecord.js +48 -48
- package/src/api/apiCart.js +202 -202
- package/src/api/apiChangeTel.js +13 -13
- package/src/api/apiCheckingIn.js +95 -95
- package/src/api/apiCollection/index.js +13 -13
- package/src/api/apiContract/apiContract.js +21 -21
- package/src/api/apiContract/index.js +3 -3
- package/src/api/apiContract/quill-config.js +122 -122
- package/src/api/apiContractManage/apiContractManage.js +57 -57
- package/src/api/apiContractManage/index.js +2 -2
- package/src/api/apiContractManage/quill-config.js +121 -121
- package/src/api/apiCoping.js +22 -22
- package/src/api/apiCost/index.js +31 -31
- package/src/api/apiCreditManagement.js +16 -16
- package/src/api/apiCustomer/apiCustomer.js +12 -12
- package/src/api/apiDivisional.js +9 -9
- package/src/api/apiDivisionalManagementList.js +17 -17
- package/src/api/apiEmployeeRegularization.js +73 -73
- package/src/api/apiEquipmentRental.js +50 -50
- package/src/api/apiFormBuilder/menu.js +65 -65
- package/src/api/apiFormBuilder/reissueRule.js +15 -15
- package/src/api/apiFund/index.js +16 -16
- package/src/api/apiHelp.js +43 -43
- package/src/api/apiHome.js +24 -24
- package/src/api/apiIminfo.js +39 -39
- package/src/api/apiInventory.js +52 -52
- package/src/api/apiInventorySetting.js +9 -9
- package/src/api/apiInvoice.js +29 -29
- package/src/api/apiJobManage.js +15 -15
- package/src/api/apiLease/apiLease.js +12 -12
- package/src/api/apiLogisticsTransportation/apiLogisticsTransportation.js +34 -34
- package/src/api/apiLostPassword.js +9 -9
- package/src/api/apiMachine/api.js +3 -3
- package/src/api/apiMachine/apiCategory.js +18 -18
- package/src/api/apiMachine/apiHire.js +19 -19
- package/src/api/apiMachine/apiLease.js +27 -27
- package/src/api/apiMachine/apiLocation.js +4 -4
- package/src/api/apiMachine/apiRentInfo.js +107 -107
- package/src/api/apiMachine/apiRentPublish.js +14 -14
- package/src/api/apiMachine/apiStore.js +15 -15
- package/src/api/apiMachine/index.js +3 -3
- package/src/api/apiManagementStore/api.js +3 -3
- package/src/api/apiManagementStore/apiManagementStore.js +25 -25
- package/src/api/apiMaterCheckAndAccept/apiMaterCheckAndAccept.js +47 -47
- package/src/api/apiMaterCheckAndAccept/apiMechanicalSourcing.js +16 -16
- package/src/api/apiMaterCheckAndAccept/index.js +3 -3
- package/src/api/apiMaterials/aaaaaaaaaaaaaa.js +9 -9
- package/src/api/apiMaterials/api.js +3 -3
- package/src/api/apiMaterials/apiAddress.js +116 -116
- package/src/api/apiMaterials/apiBalanceData.js +188 -188
- package/src/api/apiMaterials/apiCommercialConcrete.js +36 -36
- package/src/api/apiMaterials/apiCommodity.js +70 -70
- package/src/api/apiMaterials/apiDownload.js +26 -26
- package/src/api/apiMaterials/apiHome.js +44 -44
- package/src/api/apiMaterials/apiItemBrand.js +9 -9
- package/src/api/apiMaterials/apiLogistics.js +72 -72
- package/src/api/apiMaterials/apiLogisticsReceipt.js +94 -94
- package/src/api/apiMaterials/apiMaterials.js +8 -8
- package/src/api/apiMaterials/apiMySalesOrder.js +21 -21
- package/src/api/apiMaterials/apiOfflineOrder.js +18 -18
- package/src/api/apiMaterials/apiOrder.js +183 -183
- package/src/api/apiMaterials/apiReceipt.js +45 -45
- package/src/api/apiMaterials/quill-config.js +122 -122
- package/src/api/apiMemberSelection.js +39 -39
- package/src/api/apiMessage.js +10 -10
- package/src/api/apiMock/mockOrder.js +98 -98
- package/src/api/apiMonthPlan/apiMonthPlan.js +47 -47
- package/src/api/apiMyBidding.js +8 -8
- package/src/api/apiMyMember/apiComInfo.js +17 -17
- package/src/api/apiMyMember/apiInviteJoin.js +24 -24
- package/src/api/apiMyMember/apiMember.js +24 -24
- package/src/api/apiMyMember/apiMemberApply.js +36 -36
- package/src/api/apiMyMember/apiMemberChance.js +40 -40
- package/src/api/apiOffer.js +40 -40
- package/src/api/apiOffice.js +19 -19
- package/src/api/apiPact.js +26 -26
- package/src/api/apiPassword.js +7 -7
- package/src/api/apiPay/apiPay.js +25 -25
- package/src/api/apiPaying.js +21 -21
- package/src/api/apiPayment/apiPayment.js +13 -13
- package/src/api/apiPayment/apiProjectPayment.js +13 -13
- package/src/api/apiPrint.js +23 -0
- package/src/api/apiProcess.js +65 -65
- package/src/api/apiProject/apiBaseList.js +29 -29
- package/src/api/apiProject/apiGoodsOffer.js +11 -11
- package/src/api/apiProject/apiInventory.js +116 -116
- package/src/api/apiProject/apiOfferOrder.js +12 -12
- package/src/api/apiProject/apiOfferQuery.js +18 -18
- package/src/api/apiProject/apiPlan.js +21 -21
- package/src/api/apiProject/apiProject.js +158 -158
- package/src/api/apiProjectProcurement/apiProjectProcurement.js +88 -88
- package/src/api/apiPurchase/apiPurchase.js +67 -67
- package/src/api/apiPurchaseApply.js +15 -15
- package/src/api/apiPurchasePay.js +16 -16
- package/src/api/apiRankManagement.js +24 -24
- package/src/api/apiRecruit.js +37 -37
- package/src/api/apiReimbursement/apiReimbursement.js +15 -15
- package/src/api/apiRisk/index.js +11 -11
- package/src/api/apiRoleManagement.js +15 -15
- package/src/api/apiRules/apiRules.js +11 -11
- package/src/api/apiSchedule/apiSchedule.js +17 -17
- package/src/api/apiSealRecord.js +52 -52
- package/src/api/apiSign.js +8 -8
- package/src/api/apiSolution/apiSolution.js +9 -9
- package/src/api/apiSubcontract.js +35 -35
- package/src/api/apiSystem/index.js +40 -40
- package/src/api/apiTask.js +76 -76
- package/src/api/apiTeam/api.js +3 -3
- package/src/api/apiTeam/apiUtils.js +11 -11
- package/src/api/apiTender.js +127 -127
- package/src/api/apiUser.js +24 -24
- package/src/api/apiUserEnterprise/api.js +3 -3
- package/src/api/apiUserEnterprise/apiUserEn.js +15 -15
- package/src/api/apiVolunteerTeam.js +11 -11
- package/src/api/apiWorkarea.js +33 -33
- package/src/api/apiXzqh.js +8 -8
- package/src/api/common/api.js +3 -3
- package/src/api/common/apiUtils.js +9 -9
- package/src/api/customer.js +21 -21
- package/src/api/evection.js +19 -19
- package/src/api/guide.js +9 -9
- package/src/api/sociaManageApi.js +30 -30
- package/src/assets/Area.json +1773 -1773
- package/src/assets/css/quill.bubble.css +952 -952
- package/src/assets/css/quill.core.css +397 -397
- package/src/assets/css/quill.snow.css +945 -945
- package/src/assets/data.js +284 -284
- package/src/assets/fonts/Read Me.txt +7 -7
- package/src/assets/fonts/demo-files/demo.css +155 -155
- package/src/assets/fonts/demo-files/demo.js +30 -30
- package/src/assets/fonts/demo.html +951 -951
- package/src/assets/fonts/fonts/icomoon.svg +130 -130
- package/src/assets/fonts/style.css +563 -563
- package/src/assets/icons/checkbox.svg +12 -12
- package/src/assets/icons/columns-3.svg +12 -12
- package/src/assets/icons/columns.svg +12 -12
- package/src/assets/icons/custom-table.svg +12 -12
- package/src/assets/icons/date.svg +19 -19
- package/src/assets/icons/daterange.svg +12 -12
- package/src/assets/icons/fuzhi.svg +11 -11
- package/src/assets/icons/fuzhi_03.svg +5 -5
- package/src/assets/icons/gaojizujian.svg +12 -12
- package/src/assets/icons/groupSummary.svg +12 -12
- package/src/assets/icons/groupTitle.svg +12 -12
- package/src/assets/icons/image-uploader.svg +12 -12
- package/src/assets/icons/input-number.svg +12 -12
- package/src/assets/icons/input.svg +12 -12
- package/src/assets/icons/quill-editor.svg +12 -12
- package/src/assets/icons/radio.svg +12 -12
- package/src/assets/icons/select.svg +12 -12
- package/src/assets/icons/switch.svg +12 -12
- package/src/assets/icons/textarea.svg +12 -12
- package/src/assets/icons/upload-file.svg +12 -12
- package/src/assets/marketplace.js +289 -289
- package/src/components/ComAduitNew.vue +477 -477
- package/src/components/CommonAduit.vue +512 -512
- package/src/components/CommonAduitNew.vue +906 -906
- package/src/components/CommonAduitNews.vue +753 -753
- package/src/components/CommonUEditer.vue +63 -63
- package/src/components/PersonCenter/Mess.vue +59 -59
- package/src/components/PersonCenter/Title.vue +80 -80
- package/src/components/SvgIcon.vue +57 -57
- package/src/components/XmCommonAduit.vue +761 -761
- package/src/components/feiyCommon.vue +713 -713
- package/src/components/form/card.js +5 -5
- package/src/components/form/chinese.js +6 -6
- package/src/components/form/chinessstring.js +5 -5
- package/src/components/form/hunhe.js +8 -8
- package/src/components/form/hunhecq.js +8 -8
- package/src/components/form/hunheh.js +8 -8
- package/src/components/form/num.js +12 -12
- package/src/components/form/numstring.js +5 -5
- package/src/components/form/user.js +7 -7
- package/src/components/form/validate.js +42 -42
- package/src/components/form/validcredit.js +5 -5
- package/src/components/fundCommonAduit.vue +661 -661
- package/src/components/public/BaseCustomTable.vue +71 -71
- package/src/components/public/BaseDialog.vue +144 -144
- package/src/components/public/BaseEmptyData.vue +73 -73
- package/src/components/public/BaseFormTitle.vue +39 -39
- package/src/components/public/BasePagination.vue +55 -55
- package/src/components/public/BaseRouter.vue +14 -14
- package/src/components/public/BaseUpload.vue +185 -185
- package/src/components/public/Bottom.vue +62 -62
- package/src/components/public/Footer.vue +412 -412
- package/src/components/public/Header.vue +30 -30
- package/src/components/public/LeftMenu.vue +170 -170
- package/src/components/public/MemberSelection coby.vue +444 -444
- package/src/components/public/MemberSelection.vue +487 -487
- package/src/components/public/NewLeftMenu.vue +418 -418
- package/src/components/public/PicturesPreview.vue +62 -62
- package/src/components/public/Popout.vue +147 -147
- package/src/components/public/TagLine.vue +353 -353
- package/src/components/public/components/BaseImageUploadDrag.vue +320 -320
- package/src/components/public/components/HeadBar.vue +315 -315
- package/src/components/public/components/MenuList.vue +110 -110
- package/src/components/public/components/NewHeadBar.vue +936 -936
- package/src/components/public/components/QuickGoods.vue +273 -273
- package/src/components/public/components/Search.vue +164 -164
- package/src/components/public/components/Userinfo.vue +383 -383
- package/src/components/utils/pdf.js +254 -254
- package/src/components/xmfyCommonAduit.vue +752 -752
- package/src/filters/index.js +619 -619
- package/src/fnc/arr.js +102 -102
- package/src/fnc/quill-config.js +121 -121
- package/src/fnc/unit.js +102 -102
- package/src/fnc/verify.js +187 -187
- package/src/fnc/verifyStatus.js +24 -24
- package/src/formBuilder/apiBusiness.js +67 -67
- package/src/formBuilder/business.js +1039 -1039
- package/src/formBuilder/component/components/data.js +719 -719
- package/src/formBuilder/component/components/purchaseIndex.vue +1109 -1109
- package/src/formBuilder/component/purchase.vue +35 -35
- package/src/formBuilder/components/app-main/components/components/GroupSummary.vue +33 -33
- package/src/formBuilder/components/app-main/components/components/GroupTitle.vue +33 -33
- package/src/formBuilder/components/app-main/components/components/bank.vue +226 -226
- package/src/formBuilder/components/app-main/components/components/bankFormHeard.vue +298 -298
- package/src/formBuilder/components/app-main/components/components/builder.vue +718 -718
- package/src/formBuilder/components/app-main/components/components/columns.vue +393 -393
- package/src/formBuilder/components/app-main/components/components/customTable.vue +1758 -1758
- package/src/formBuilder/components/app-main/components/components/formDep.vue +105 -105
- package/src/formBuilder/components/app-main/components/components/handleCode.vue +39 -39
- package/src/formBuilder/components/app-main/components/components/itemOption.vue +116 -116
- package/src/formBuilder/components/app-main/components/components/linkForm.vue +116 -116
- package/src/formBuilder/components/app-main/components/components/listDesign.vue +772 -772
- package/src/formBuilder/components/app-main/components/components/optionSolt.js +78 -78
- package/src/formBuilder/components/app-main/components/components/person.vue +104 -104
- package/src/formBuilder/components/app-main/components/components/postman.vue +40 -40
- package/src/formBuilder/components/app-main/components/components/previewDialog.vue +391 -391
- package/src/formBuilder/components/app-main/components/components/tableIndex.vue +51 -51
- package/src/formBuilder/components/app-main/components/components/tableList.vue +561 -561
- package/src/formBuilder/components/app-main/components/components/twoColumns.vue +52 -52
- package/src/formBuilder/components/app-main/components/main-center.vue +187 -187
- package/src/formBuilder/components/app-main/components/main-header.vue +351 -351
- package/src/formBuilder/components/app-main/components/main-left.vue +179 -179
- package/src/formBuilder/components/app-main/components/main-right/components/components/calculateDialog.vue +914 -914
- package/src/formBuilder/components/app-main/components/main-right/components/components/curTextArea.vue +338 -338
- package/src/formBuilder/components/app-main/components/main-right/components/components/form-item-rules.vue +190 -190
- package/src/formBuilder/components/app-main/components/main-right/components/components/linkageDialog.vue +25 -25
- package/src/formBuilder/components/app-main/components/main-right/components/components/searchMixin.js +26 -26
- package/src/formBuilder/components/app-main/components/main-right/components/form-config.vue +284 -284
- package/src/formBuilder/components/app-main/components/main-right/components/form-item-attrs.vue +407 -407
- package/src/formBuilder/components/app-main/components/main-right/components/form-item-config.vue +478 -478
- package/src/formBuilder/components/app-main/components/main-right/index.vue +203 -203
- package/src/formBuilder/components/app-main/index.vue +329 -329
- package/src/formBuilder/comps.js +283 -283
- package/src/formBuilder/config/button.js +63 -63
- package/src/formBuilder/config/cascader-panel.js +224 -224
- package/src/formBuilder/config/cascader.js +306 -306
- package/src/formBuilder/config/checkbox.js +67 -67
- package/src/formBuilder/config/color.js +42 -42
- package/src/formBuilder/config/columns.js +30 -30
- package/src/formBuilder/config/custom-table.js +49 -49
- package/src/formBuilder/config/date.js +107 -107
- package/src/formBuilder/config/daterange.js +47 -47
- package/src/formBuilder/config/datetime.js +78 -78
- package/src/formBuilder/config/datetimerange.js +111 -111
- package/src/formBuilder/config/formDep.js +37 -37
- package/src/formBuilder/config/groupSummary.js +23 -23
- package/src/formBuilder/config/groupTitle.js +23 -23
- package/src/formBuilder/config/handleCode.js +23 -23
- package/src/formBuilder/config/image-uploader.js +113 -113
- package/src/formBuilder/config/input.js +162 -162
- package/src/formBuilder/config/json-editor.js +31 -31
- package/src/formBuilder/config/linkForm.js +69 -69
- package/src/formBuilder/config/number.js +49 -49
- package/src/formBuilder/config/password.js +82 -82
- package/src/formBuilder/config/person.js +37 -37
- package/src/formBuilder/config/postman.js +23 -23
- package/src/formBuilder/config/purchase.js +19 -19
- package/src/formBuilder/config/quill-editor.js +66 -66
- package/src/formBuilder/config/radio-button.js +44 -44
- package/src/formBuilder/config/radio.js +69 -69
- package/src/formBuilder/config/rate.js +93 -93
- package/src/formBuilder/config/select.js +105 -105
- package/src/formBuilder/config/slider.js +92 -92
- package/src/formBuilder/config/switch.js +35 -35
- package/src/formBuilder/config/tag.js +79 -79
- package/src/formBuilder/config/text.js +18 -18
- package/src/formBuilder/config/textarea.js +129 -129
- package/src/formBuilder/config/time.js +60 -60
- package/src/formBuilder/config/timerange.js +94 -94
- package/src/formBuilder/config/tree-select.js +100 -100
- package/src/formBuilder/config/upload-file.js +100 -100
- package/src/formBuilder/config/yesno.js +39 -39
- package/src/formBuilder/config.js +16 -16
- package/src/formBuilder/extend/index.js +20 -20
- package/src/formBuilder/index.js +39 -39
- package/src/formBuilder/menuConfig.js +36 -36
- package/src/formBuilder/mixins/index.js +215 -215
- package/src/formBuilder/tool.js +101 -101
- package/src/function/base.js +13 -13
- package/src/function/findCompanyTree.js +94 -94
- package/src/function/formulaAnalysis.js +44 -44
- package/src/function/verify.js +23 -23
- package/src/http/index.js +219 -219
- package/src/http/type.js +82 -82
- package/src/library/AddType/Index.js +17 -17
- package/src/library/AddType/Index.vue +201 -201
- package/src/library/AreaChange/regionCascader/regionCascader.vue +155 -155
- package/src/library/BigImg/BigImage1/Index.js +17 -17
- package/src/library/BigImg/BigImage1/Index.vue +125 -125
- package/src/library/Button/Button1/Index.js +17 -17
- package/src/library/Button/Button1/Index.vue +60 -60
- package/src/library/Button/Button2/Index.js +17 -17
- package/src/library/Button/Button2/Index.vue +52 -52
- package/src/library/Button/Button3/Index.js +17 -17
- package/src/library/Button/Button3/Index.vue +56 -56
- package/src/library/Button/Button4/Index.js +17 -17
- package/src/library/Button/Button4/Index.vue +56 -56
- package/src/library/Button/Button5/Index.js +17 -17
- package/src/library/Button/Button5/Index.vue +55 -55
- package/src/library/Button/Button6/Index.js +17 -17
- package/src/library/Button/Button6/Index.vue +74 -74
- package/src/library/Button/Button7/Index.js +17 -17
- package/src/library/Button/Button7/Index.vue +56 -56
- package/src/library/ConfirmPlaugin/ConfirmPlaugin1/Index.js +17 -17
- package/src/library/ConfirmPlaugin/ConfirmPlaugin1/Index.vue +147 -147
- package/src/library/ConfirmPlaugin/ConfirmPlaugin2/Index.js +17 -17
- package/src/library/ConfirmPlaugin/ConfirmPlaugin2/Index.vue +137 -137
- package/src/library/ConfirmPlaugin/ConfirmPlaugin3/Index.vue +142 -142
- package/src/library/ConfirmPlaugin/ConfirmPlaugin4/Index.vue +141 -141
- package/src/library/ConfirmPlaugin/ConfirmPlaugin5/Index.vue +121 -121
- package/src/library/ConfirmPlaugin/ConfirmPlaugin6/Index.vue +142 -142
- package/src/library/Input/Input1/Index.js +17 -17
- package/src/library/Input/Input1/Index.vue +66 -66
- package/src/library/NoMessage/NoMessage0/Index.js +17 -17
- package/src/library/NoMessage/NoMessage0/Index.vue +60 -60
- package/src/library/NoMessage/NoMessage1/Index.js +17 -17
- package/src/library/NoMessage/NoMessage1/Index.vue +66 -66
- package/src/library/NoMessage/NoMessage2/Index.js +17 -17
- package/src/library/NoMessage/NoMessage2/Index.vue +66 -66
- package/src/library/Tab/Tab1/TabBox1/Index.vue +36 -36
- package/src/library/Tab/Tab1/TabInner1/Index.vue +70 -70
- package/src/library/Tab/Tab2/TabBox2/Index.vue +36 -36
- package/src/library/Tab/Tab2/TabInner2/Index.vue +66 -66
- package/src/library/Table/Table1/Td1/Index.js +17 -17
- package/src/library/Table/Table1/Td1/Index.vue +110 -110
- package/src/library/Table/Table1/Tr1/Index.js +17 -17
- package/src/library/Table/Table1/Tr1/Index.vue +53 -53
- package/src/library/Table/Table2/Td2/Index.js +17 -17
- package/src/library/Table/Table2/Td2/Index.vue +90 -90
- package/src/library/Table/Table2/Tr2/Index.js +17 -17
- package/src/library/Table/Table2/Tr2/Index.vue +66 -66
- package/src/library/Table/Table3/Td3/Index.js +17 -17
- package/src/library/Table/Table3/Td3/Index.vue +109 -109
- package/src/library/Table/Table3/Tr3/Index.js +17 -17
- package/src/library/Table/Table3/Tr3/Index.vue +128 -128
- package/src/library/Table/Table4/Td4/Index.js +17 -17
- package/src/library/Table/Table4/Td4/Index.vue +114 -114
- package/src/library/Table/Table4/Tr4/Index.js +17 -17
- package/src/library/Table/Table4/Tr4/Index.vue +53 -53
- package/src/library/Title/Title1/Index.js +17 -17
- package/src/library/Title/Title1/Index.vue +80 -80
- package/src/library/toast/Index.js +17 -17
- package/src/library/toast/Index.vue +86 -86
- package/src/main.js +161 -161
- package/src/mixins/Export2Excel.js +207 -207
- package/src/mixins/chartOption.js +110 -110
- package/src/mixins/companyMixins.js +84 -84
- package/src/mixins/quillOptions.js +15 -15
- package/src/mixins/validate/deviceManage.js +211 -211
- package/src/mixins/validate/systemConfig.js +117 -117
- package/src/mixins/validate/validate.js +25 -25
- package/src/public/apiUser/apiUser.js +10 -10
- package/src/public/areaFunction.js +26 -26
- package/src/public/link.js +91 -91
- package/src/public/stageData.js +495 -495
- package/src/public/topmenu.js +68 -68
- package/src/router/index.js +225 -225
- package/src/router/setting/BaseRoutes.js +1639 -1639
- package/src/router/setting/MenuDevMock.js +1570 -1570
- package/src/router/setting/modules/login.js +45 -45
- package/src/router/setting/noAuthRouter.js +109 -109
- package/src/router/setting/routes.js +55 -55
- package/src/static/css/flex.css +75 -75
- package/src/static/css/switch.scss +31 -31
- package/src/storage/cookies.js +37 -37
- package/src/storage/localStorage.js +36 -36
- package/src/storage/sessionStorage.js +25 -25
- package/src/store/formBuilder/formAttrDefault.js +28 -28
- package/src/store/formBuilder/index.js +40 -40
- package/src/store/index.js +553 -553
- package/src/styles/color.scss +24 -24
- package/src/styles/offer.scss +39 -39
- package/src/styles/s-reset.scss +52 -52
- package/src/styles/static-style.scss +797 -797
- package/src/styles/talent.scss +26 -26
- package/src/styles/variable.scss +69 -69
- package/src/styles/workflow/workflow.css +1308 -1308
- package/src/utils/TableFormTypeList.js +26 -26
- package/src/utils/allRouter.js +5579 -5579
- package/src/utils/auditUtil.js +535 -535
- package/src/utils/commonComponents.js +34 -34
- package/src/utils/commonFunc.js +213 -213
- package/src/utils/deepCopyArray.js +9 -9
- package/src/utils/dict.js +49 -49
- package/src/utils/directive.js +26 -26
- package/src/utils/emoji.js +16 -16
- package/src/utils/flator.js +18 -18
- package/src/utils/imMeeting.js +1180 -1180
- package/src/utils/index.js +105 -105
- package/src/utils/initRouter.js +94 -94
- package/src/utils/map.js +23 -23
- package/src/utils/passwordStrength.js +177 -177
- package/src/utils/style.js +30 -30
- package/src/utils/validate.js +30 -30
- package/src/views/404.vue +53 -53
- package/src/views/Login/Login.vue +50 -50
- package/src/views/Login/Passfind.vue +347 -347
- package/src/views/Login/Passfindnext.vue +146 -146
- package/src/views/Login/Sign.vue +55 -55
- package/src/views/Login/SignSuccessfully.vue +132 -132
- package/src/views/Login/appDownload.vue +224 -224
- package/src/views/Login/clientDownload.vue +201 -201
- package/src/views/Login/components/Background.vue +153 -153
- package/src/views/Login/components/FormLogin.vue +1001 -1001
- package/src/views/Login/components/FormPassFind.vue +395 -395
- package/src/views/Login/components/FormSign.vue +493 -493
- package/src/views/Login/components/Title.vue +301 -301
- package/src/views/Login/components/agreeMent.vue +111 -111
- package/src/views/Login/components/companysign.vue +1296 -1296
- package/src/views/Login/components/guideLogin.vue +984 -984
- package/src/views/formBuilder/components/addNode.vue +119 -119
- package/src/views/formBuilder/components/approverSelector.vue +493 -493
- package/src/views/formBuilder/components/baseRoute.vue +315 -315
- package/src/views/formBuilder/components/builderHeader.vue +106 -106
- package/src/views/formBuilder/components/conditionConfig.js +588 -588
- package/src/views/formBuilder/components/conditionNode.vue +191 -191
- package/src/views/formBuilder/components/dataDefault.js +147 -147
- package/src/views/formBuilder/components/depFormNode.vue +583 -583
- package/src/views/formBuilder/components/linkForm.vue +566 -566
- package/src/views/formBuilder/components/linkFormList.vue +821 -821
- package/src/views/formBuilder/components/menuConfig.vue +1752 -1752
- package/src/views/formBuilder/components/newNodeForm.vue +426 -426
- package/src/views/formBuilder/components/newsection.vue +424 -424
- package/src/views/formBuilder/components/nodeConditionConfig cody.vue +376 -376
- package/src/views/formBuilder/components/nodeConditionConfig.vue +603 -603
- package/src/views/formBuilder/components/nodeForm.vue +355 -355
- package/src/views/formBuilder/components/nodeMenu.vue +147 -147
- package/src/views/formBuilder/components/personNode.vue +566 -566
- package/src/views/formBuilder/components/planNode.vue +269 -269
- package/src/views/formBuilder/designListPage.vue +457 -457
- package/src/views/formBuilder/formDataDetail.vue +565 -565
- package/src/views/formBuilder/formGeneration.vue +904 -904
- package/src/views/formBuilder/index.vue +242 -242
- package/src/views/formBuilder/process-1.vue +976 -976
- package/src/views/formBuilder/process-2.vue +1323 -1323
- package/src/views/formBuilder/process.vue +662 -431
- package/src/views/formBuilder/processList.vue +877 -877
- package/src/views/formBuilder/service/ProcessBuilder.js +136 -136
- package/src/views/formBuilder/service/RsxzFieldCollection.js +199 -0
- package/src/views/formBuilder/workflow/addNode.vue +95 -95
- package/src/views/formBuilder/workflow/initData.js +205 -205
- package/src/views/formBuilder/workflow/nodeWrap.vue +731 -731
- package/src/views/guide.vue +227 -227
- package/src/views/guideIndex.vue +284 -284
- package/tests/unit/.eslintrc.js +5 -5
- package/tests/unit/example.spec.js +13 -13
- package/vue.config.js +287 -287
|
@@ -1,431 +1,662 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div>
|
|
3
|
-
<!-- 顶部导航栏 -->
|
|
4
|
-
<div class="fd-nav sidePadding">
|
|
5
|
-
<div class="fd-nav-left">
|
|
6
|
-
<div class="fd-nav-title">{{queryInfo.name}}流程</div>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="fd-nav-center"></div>
|
|
9
|
-
<div class="fd-nav-right">
|
|
10
|
-
<!-- <button type="button" class="ant-btn button-preview"><span>预 览</span></button> -->
|
|
11
|
-
<div class="switch fixWidth">
|
|
12
|
-
<span>重复审批人自动通过:</span>
|
|
13
|
-
<el-switch v-model="workFlowDef.automaticPass"> </el-switch>
|
|
14
|
-
<el-tooltip class="item" effect="dark" placement="bottom">
|
|
15
|
-
<div slot="content">开通后,当同一审批人重复出现在多节点时,<br/>若首个节点审批通过,则后续节点中该审批<br/>人自动通过无需多次操作审批</div>
|
|
16
|
-
<el-button icon="el-icon-question" circle class="tooltipContent"/>
|
|
17
|
-
</el-tooltip>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="switch">
|
|
20
|
-
<span>是否开启审批:</span>
|
|
21
|
-
<el-switch v-model="workFlowDef.switchOn"> </el-switch>
|
|
22
|
-
</div>
|
|
23
|
-
<el-button @click="cancel" round size="medium">取消</el-button>
|
|
24
|
-
<el-button @click="saveSet" round type="primary" size="medium" >保存</el-button>
|
|
25
|
-
<el-button v-if="isOldData" @click="showOldModal" round type="warning" size="medium" >老数据参考</el-button>
|
|
26
|
-
</div>
|
|
27
|
-
</div>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
<
|
|
35
|
-
<
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
:
|
|
44
|
-
:
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<div class="end-node-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
</template>
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
//
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
};
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<!-- 顶部导航栏 -->
|
|
4
|
+
<div class="fd-nav sidePadding">
|
|
5
|
+
<div class="fd-nav-left">
|
|
6
|
+
<div class="fd-nav-title">{{queryInfo.name}}流程</div>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="fd-nav-center"></div>
|
|
9
|
+
<div class="fd-nav-right">
|
|
10
|
+
<!-- <button type="button" class="ant-btn button-preview"><span>预 览</span></button> -->
|
|
11
|
+
<div class="switch fixWidth">
|
|
12
|
+
<span>重复审批人自动通过:</span>
|
|
13
|
+
<el-switch v-model="workFlowDef.automaticPass"> </el-switch>
|
|
14
|
+
<el-tooltip class="item" effect="dark" placement="bottom">
|
|
15
|
+
<div slot="content">开通后,当同一审批人重复出现在多节点时,<br/>若首个节点审批通过,则后续节点中该审批<br/>人自动通过无需多次操作审批</div>
|
|
16
|
+
<el-button icon="el-icon-question" circle class="tooltipContent"/>
|
|
17
|
+
</el-tooltip>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="switch">
|
|
20
|
+
<span>是否开启审批:</span>
|
|
21
|
+
<el-switch v-model="workFlowDef.switchOn"> </el-switch>
|
|
22
|
+
</div>
|
|
23
|
+
<el-button @click="cancel" round size="medium">取消</el-button>
|
|
24
|
+
<el-button @click="saveSet" round type="primary" size="medium" >保存</el-button>
|
|
25
|
+
<el-button v-if="isOldData" @click="showOldModal" round type="warning" size="medium" >老数据参考</el-button>
|
|
26
|
+
</div>
|
|
27
|
+
</div>
|
|
28
|
+
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
|
|
29
|
+
<el-tab-pane label="流程设计" name="process">
|
|
30
|
+
<!-- 主体区域 -->
|
|
31
|
+
<div class="fd-nav-content">
|
|
32
|
+
<section class="dingflow-design">
|
|
33
|
+
<div class="zoom">
|
|
34
|
+
<div :class="'zoom-out'+ (nowVal==50?' disabled':'')" @click="zoomSize(1)"></div>
|
|
35
|
+
<span>{{nowVal}}%</span>
|
|
36
|
+
<div :class="'zoom-in'+ (nowVal==300?' disabled':'')" @click="zoomSize(2)"></div>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="box-scale" id="box-scale" :style="'transform: scale('+nowVal/100+'); transform-origin: 50% 0px 0px;'">
|
|
39
|
+
<nodeWrap
|
|
40
|
+
:nodeConfig.sync="nodeConfig"
|
|
41
|
+
:flowPermission.sync="flowPermission"
|
|
42
|
+
:isTried.sync="isTried"
|
|
43
|
+
:directorMaxLevel="directorMaxLevel"
|
|
44
|
+
:tableId="processConfig.processId"
|
|
45
|
+
:queryInfo="queryInfo"
|
|
46
|
+
/>
|
|
47
|
+
<div class="end-node">
|
|
48
|
+
<div class="end-node-circle"></div>
|
|
49
|
+
<div class="end-node-text">流程结束</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</section>
|
|
53
|
+
</div>
|
|
54
|
+
</el-tab-pane>
|
|
55
|
+
<el-tab-pane label="打印设置" name="Print" class="tableClass">
|
|
56
|
+
<div class="divCalss">
|
|
57
|
+
<span style="font-size:14px;margin-bottom: 20px;display: block;">
|
|
58
|
+
打印内容设置:
|
|
59
|
+
<el-table
|
|
60
|
+
:data="JsonListAll"
|
|
61
|
+
border
|
|
62
|
+
:header-cell-style="$TableCell.setHeaderCellStyle"
|
|
63
|
+
:cell-style="$TableCell.setCellStyle"
|
|
64
|
+
style="width: 100%"
|
|
65
|
+
>
|
|
66
|
+
<el-table-column
|
|
67
|
+
prop="name"
|
|
68
|
+
label="字段名称"
|
|
69
|
+
width="300">
|
|
70
|
+
</el-table-column>
|
|
71
|
+
<el-table-column
|
|
72
|
+
width="120">
|
|
73
|
+
<template slot="header">
|
|
74
|
+
<!-- <el-checkbox :checked="checked" @change="handlecheckbox('1')">打印</el-checkbox> -->
|
|
75
|
+
<el-button type="text" @click="handlecheckbox('1')">打印</el-button>
|
|
76
|
+
</template>
|
|
77
|
+
<template slot-scope="scope">
|
|
78
|
+
<el-checkbox v-model="JsonListAll[scope.$index].isPrint" @change="(value)=>handlebutton(scope,value,'1')"></el-checkbox>
|
|
79
|
+
</template>
|
|
80
|
+
</el-table-column>
|
|
81
|
+
<el-table-column
|
|
82
|
+
width="120">
|
|
83
|
+
<template slot="header">
|
|
84
|
+
<!-- <el-checkbox :checked="checkedfalse" @change="handlecheckbox('2')">不打印</el-checkbox> -->
|
|
85
|
+
<el-button type="text" @click="handlecheckbox('2')">不打印</el-button>
|
|
86
|
+
</template>
|
|
87
|
+
<template slot-scope="scope">
|
|
88
|
+
<el-checkbox v-model="JsonListAll[scope.$index].notPrint" @change="(value)=>handlebutton(scope,value,'2')"></el-checkbox>
|
|
89
|
+
</template>
|
|
90
|
+
</el-table-column>
|
|
91
|
+
</el-table>
|
|
92
|
+
</span>
|
|
93
|
+
<div style="display:flex;margin-top:10px;">
|
|
94
|
+
<div style="flex:1">
|
|
95
|
+
<el-checkbox v-model="isPrintChildTable" >打印子表</el-checkbox>
|
|
96
|
+
<el-tooltip v-if="approveRemake.length > 0" class="item" effect="dark" placement="bottom">
|
|
97
|
+
<div slot="content">{{approveRemake}}</div>
|
|
98
|
+
<el-button icon="el-icon-question" circle class="approveRemake"/>
|
|
99
|
+
</el-tooltip>
|
|
100
|
+
</div>
|
|
101
|
+
<el-checkbox v-model="isPrintLog" >打印审批日志</el-checkbox>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
</el-tab-pane>
|
|
105
|
+
</el-tabs>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
<!-- 提交前判断 -->
|
|
109
|
+
<el-dialog title="提示" :visible.sync="tipVisible" class="modalTips" width="445px">
|
|
110
|
+
<div class="ant-confirm-body">
|
|
111
|
+
<i class="anticon anticon-close-circle" style="color: #f00;"></i>
|
|
112
|
+
<span class="ant-confirm-title">当前无法发布</span>
|
|
113
|
+
<div class="ant-confirm-content">
|
|
114
|
+
<div>
|
|
115
|
+
<p class="error-modal-desc">以下内容不完善,需进行修改</p>
|
|
116
|
+
<div class="error-modal-list">
|
|
117
|
+
<div class="error-modal-item" v-for="(item,index) in tipList" :key="index">
|
|
118
|
+
<div class="error-modal-item-label">流程设计</div>
|
|
119
|
+
<div class="error-modal-item-content">{{item.name}} 未选择{{item.type}}</div>
|
|
120
|
+
</div>
|
|
121
|
+
</div>
|
|
122
|
+
</div>
|
|
123
|
+
</div>
|
|
124
|
+
</div>
|
|
125
|
+
<span slot="footer" class="dialog-footer">
|
|
126
|
+
<el-button @click="tipVisible = false">我知道了</el-button>
|
|
127
|
+
<el-button type="primary" @click="tipVisible = false">前往修改</el-button>
|
|
128
|
+
</span>
|
|
129
|
+
</el-dialog>
|
|
130
|
+
|
|
131
|
+
<!-- 老数据展示弹出 -->
|
|
132
|
+
<el-dialog :title="`${queryInfo.name}老数据参考`" :visible.sync="oldModal" width="70%" :before-close="showOldModal">
|
|
133
|
+
<OldProcess :tools="false" :path="path" :userInfo="userInfo" :queryInfo="queryInfo"/>
|
|
134
|
+
<span slot="footer" class="dialog-footer">
|
|
135
|
+
<el-button @click="oldModal = false">取 消</el-button>
|
|
136
|
+
<el-button type="primary" @click="oldModal = false">确 定</el-button>
|
|
137
|
+
</span>
|
|
138
|
+
</el-dialog>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
</div>
|
|
142
|
+
</template>
|
|
143
|
+
<script>
|
|
144
|
+
import initData from "./workflow/initData"
|
|
145
|
+
import * as api from "@/api/apiProcess";
|
|
146
|
+
import * as apiPrint from "@/api/apiPrint";
|
|
147
|
+
import OldProcess from "./process-2"
|
|
148
|
+
import nodeWrap from "./workflow/nodeWrap"
|
|
149
|
+
import RsxzFieldCollection from "./service/RsxzFieldCollection"
|
|
150
|
+
import { formatDate } from "@/filters"
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
export default {
|
|
154
|
+
computed: {
|
|
155
|
+
JsonList() {
|
|
156
|
+
let list = {};
|
|
157
|
+
RsxzFieldCollection.forEach(item => {
|
|
158
|
+
if (item.approvalType == this.$route.query.type) {
|
|
159
|
+
list = item.data
|
|
160
|
+
console.log(RsxzFieldCollection)
|
|
161
|
+
}
|
|
162
|
+
})
|
|
163
|
+
return list
|
|
164
|
+
},
|
|
165
|
+
ChildList() {
|
|
166
|
+
let list = {};
|
|
167
|
+
RsxzFieldCollection.forEach(item => {
|
|
168
|
+
if (item.approvalType == this.$route.query.type) {
|
|
169
|
+
console.log(item)
|
|
170
|
+
list = item.childTable
|
|
171
|
+
}
|
|
172
|
+
})
|
|
173
|
+
return list
|
|
174
|
+
},
|
|
175
|
+
user() {
|
|
176
|
+
return this.$store.state.user;
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
name: "Process",
|
|
180
|
+
components: {
|
|
181
|
+
OldProcess,
|
|
182
|
+
nodeWrap
|
|
183
|
+
},
|
|
184
|
+
props: {
|
|
185
|
+
// 路由地址
|
|
186
|
+
path: {
|
|
187
|
+
type: String,
|
|
188
|
+
default: () => {
|
|
189
|
+
return "/index"
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
// 类型数据
|
|
193
|
+
queryInfo: {
|
|
194
|
+
type: Object,
|
|
195
|
+
default: () => {
|
|
196
|
+
return {
|
|
197
|
+
name: "公告管理",
|
|
198
|
+
type: "notice"
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
// 用户信息
|
|
203
|
+
userInfo: {
|
|
204
|
+
type: Object,
|
|
205
|
+
default: () => {
|
|
206
|
+
return {
|
|
207
|
+
"companyNo": "202008267425615", // 公司no
|
|
208
|
+
"no": "2121212121" // 用户no
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
// formBuilder
|
|
213
|
+
formBuilder: {
|
|
214
|
+
type: Object,
|
|
215
|
+
default: () => {
|
|
216
|
+
return {
|
|
217
|
+
formDesId: ""
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
data() {
|
|
223
|
+
return {
|
|
224
|
+
notPrint: [],
|
|
225
|
+
JsonListAll: this.JsonList,
|
|
226
|
+
printId: "",
|
|
227
|
+
isPrintChildTable: true,
|
|
228
|
+
isPrintLog: true,
|
|
229
|
+
checked: true,
|
|
230
|
+
checkedfalse: false,
|
|
231
|
+
checkList: ["打印子表", "打印审批日志"],
|
|
232
|
+
activeName: "process",
|
|
233
|
+
isTried: false,
|
|
234
|
+
tipList: [],
|
|
235
|
+
tipVisible: false,
|
|
236
|
+
nowVal: 100,
|
|
237
|
+
processConfig: {},
|
|
238
|
+
nodeConfig: {},
|
|
239
|
+
workFlowDef: {},
|
|
240
|
+
flowPermission: [],
|
|
241
|
+
directorMaxLevel: 0,
|
|
242
|
+
dialogVisible: true,
|
|
243
|
+
tableId: "",
|
|
244
|
+
isFlg: true, // 是否开启审批
|
|
245
|
+
isOldData: false, // 是否为老数据
|
|
246
|
+
oldModal: false, // 老数据展示弹窗
|
|
247
|
+
type: null, // 项目类型,注意:暂时仅做提交后路由判断
|
|
248
|
+
processId: null, // 流程ID
|
|
249
|
+
approveRemake: "" // 问号说明
|
|
250
|
+
};
|
|
251
|
+
},
|
|
252
|
+
mounted() {},
|
|
253
|
+
created() {
|
|
254
|
+
// 获取审批流程数据
|
|
255
|
+
this.getProcessSet()
|
|
256
|
+
// 存储用户信息
|
|
257
|
+
localStorage.setItem("userInfo", JSON.stringify(this.userInfo))
|
|
258
|
+
localStorage.setItem("queryInfo", JSON.stringify(this.queryInfo))
|
|
259
|
+
// 设置类型
|
|
260
|
+
this.type = this.path == "/index" ? "customForm_" + this.formBuilder.formDesId : this.queryInfo.type;
|
|
261
|
+
this.getapproveRemake()
|
|
262
|
+
|
|
263
|
+
},
|
|
264
|
+
methods: {
|
|
265
|
+
handlecheckbox(num) {
|
|
266
|
+
if (num == "1") {
|
|
267
|
+
this.JsonListAll.forEach(item => {
|
|
268
|
+
item.isPrint = true;
|
|
269
|
+
item.notPrint = false;
|
|
270
|
+
})
|
|
271
|
+
} else {
|
|
272
|
+
this.JsonListAll.forEach(item => {
|
|
273
|
+
item.isPrint = false;
|
|
274
|
+
item.notPrint = true;
|
|
275
|
+
})
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
handlebutton(scope, value, num) {
|
|
279
|
+
if (num == "1") {
|
|
280
|
+
this.$set(this.JsonListAll[scope.$index], "notPrint", false)
|
|
281
|
+
this.$set(this.JsonListAll[scope.$index], "isPrint", true)
|
|
282
|
+
} else {
|
|
283
|
+
this.$set(this.JsonListAll[scope.$index], "isPrint", false)
|
|
284
|
+
this.$set(this.JsonListAll[scope.$index], "notPrint", true)
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
handleClick(tab, event) {
|
|
288
|
+
console.log(tab, event)
|
|
289
|
+
if (this.activeName == "Print") {
|
|
290
|
+
this.printId = "";
|
|
291
|
+
this.detailPrint()
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
// 初始化数据
|
|
295
|
+
initData(data) {
|
|
296
|
+
this.processConfig = data;
|
|
297
|
+
this.processConfig.processId = this.processId
|
|
298
|
+
this.nodeConfig = this.processConfig.nodeConfig; // 主体的流程
|
|
299
|
+
this.flowPermission = this.processConfig.flowPermission; // 发起人
|
|
300
|
+
this.directorMaxLevel = this.processConfig.directorMaxLevel; // 审批主管最大层级
|
|
301
|
+
// 审批名称
|
|
302
|
+
this.workFlowDef = {
|
|
303
|
+
"switchOn": !!parseInt(this.processConfig.switchOn),
|
|
304
|
+
"automaticPass": !!parseInt(this.processConfig.automaticPass)
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
// 获取审批流程数据
|
|
308
|
+
async getProcessSet() {
|
|
309
|
+
const param = { companyId: this.userInfo.companyNo, type: this.queryInfo.type };
|
|
310
|
+
const result = await api.queryProcessByType(param);
|
|
311
|
+
const { state, data } = result.data
|
|
312
|
+
if (state == "ok" && data) {
|
|
313
|
+
this.processId = data._id
|
|
314
|
+
const { content, rootNode } = data
|
|
315
|
+
// 判断流程是否为老数据
|
|
316
|
+
if (rootNode.isNewVersion) {
|
|
317
|
+
this.initData(JSON.parse(content))
|
|
318
|
+
} else {
|
|
319
|
+
// 处理老数据
|
|
320
|
+
this.isOldData = true // 展示老数据参考按钮
|
|
321
|
+
this.initData(this.handleOldProcess(content))
|
|
322
|
+
}
|
|
323
|
+
} else {
|
|
324
|
+
this.initData(JSON.parse(JSON.stringify(initData.data)))
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
// 处理兼容老数据
|
|
328
|
+
// 备注: 处理兼容的老数据仅仅限于不存在条件分支
|
|
329
|
+
handleOldProcess(content) {
|
|
330
|
+
const { nodeList, companyId, creator, describe, processName, switchOn, type, version } = JSON.parse(content);
|
|
331
|
+
const node = nodeList.filter(value => !["start", "end"].includes(value.item.type));
|
|
332
|
+
// 拼接基础数据
|
|
333
|
+
const param = {
|
|
334
|
+
"companyId": companyId,
|
|
335
|
+
"creator": creator,
|
|
336
|
+
"describe": describe,
|
|
337
|
+
"nodeConfig": {
|
|
338
|
+
"pkId": "sid-start-node",
|
|
339
|
+
"nodeName": "发起人",
|
|
340
|
+
"type": 0,
|
|
341
|
+
"priority": "",
|
|
342
|
+
"setType": "",
|
|
343
|
+
"directorLevel": "",
|
|
344
|
+
"examineMode": "",
|
|
345
|
+
"authType": "",
|
|
346
|
+
"ccSelfSelectFlag": "",
|
|
347
|
+
"conditionList": [],
|
|
348
|
+
"nodeUserList": [],
|
|
349
|
+
"childNode": null,
|
|
350
|
+
"conditionNodes": []
|
|
351
|
+
},
|
|
352
|
+
"processId": this.processId,
|
|
353
|
+
"processName": processName,
|
|
354
|
+
"switchOn": switchOn,
|
|
355
|
+
"automaticPass": 0,
|
|
356
|
+
"type": type,
|
|
357
|
+
"version": version
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
// 判断是否存在条件分支
|
|
361
|
+
const isHasCondition = node.filter(value => value.item.type == "addCondition")
|
|
362
|
+
if (!isHasCondition.length) {
|
|
363
|
+
|
|
364
|
+
// 递归处理数据
|
|
365
|
+
const map = {};
|
|
366
|
+
const val = [];
|
|
367
|
+
|
|
368
|
+
node.map((value, index) => {
|
|
369
|
+
node[index].item = this.createTypeData(value.item)
|
|
370
|
+
delete node[index].lists;
|
|
371
|
+
delete node[index].level;
|
|
372
|
+
});
|
|
373
|
+
|
|
374
|
+
node.forEach(value => {
|
|
375
|
+
map[value.item.id] = value.item;
|
|
376
|
+
});
|
|
377
|
+
|
|
378
|
+
node.forEach(value => {
|
|
379
|
+
const parent = map[parseInt(value.item.from)];
|
|
380
|
+
if (parent) {
|
|
381
|
+
(parent.children || (parent.children = [])).push(value.item);
|
|
382
|
+
} else {
|
|
383
|
+
val.push(value.item);
|
|
384
|
+
}
|
|
385
|
+
});
|
|
386
|
+
|
|
387
|
+
this.flatChildNode(val[0]);
|
|
388
|
+
param.nodeConfig.childNode = val[0] // 赋予数据
|
|
389
|
+
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
return param
|
|
393
|
+
},
|
|
394
|
+
// 老数据处理无用字段
|
|
395
|
+
flatChildNode(item) {
|
|
396
|
+
item.childNode = item.children && item.children[0] ? item.children[0] : null;
|
|
397
|
+
if (item.children && item.children[0]) {
|
|
398
|
+
item.children[0].children ? this.flatChildNode(item.children[0]) : null;
|
|
399
|
+
delete item.id;
|
|
400
|
+
delete item.from;
|
|
401
|
+
delete item.children;
|
|
402
|
+
delete item.childNode.id;
|
|
403
|
+
delete item.childNode.from;
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
// 生成对应数据
|
|
407
|
+
createTypeData(item) {
|
|
408
|
+
let childNode = {};
|
|
409
|
+
if (item.type == "userTask") {
|
|
410
|
+
childNode = {
|
|
411
|
+
"nodeName": "审批人", // 节点名称
|
|
412
|
+
"type": 1, // 0 发起人 1审批 2抄送 3条件 4路由
|
|
413
|
+
"priority": 1, // 条件优先级
|
|
414
|
+
"setType": (item.directorType && item.directorType.type) || 1, // 审批人设置 1指定成员 2主管
|
|
415
|
+
"directorLevel": item.approverType == "3" ? item.approvers[0].directorId : "", // 审批终点 最高层主管数
|
|
416
|
+
"examineMode": item.approverType, // 多人审批时采用的审批方式 3依次审批 1会签 2或签
|
|
417
|
+
"authType": (item.directorType && item.directorType.type) || "1", // 审批人为空时 1自动审批通过/不允许发起 2转交给审核管理员
|
|
418
|
+
"ccSelfSelectFlag": 1,
|
|
419
|
+
"conditionList": [], // 当审批单同时满足以下条件时进入此流程
|
|
420
|
+
"nodeUserList": item.approvers || [], // 操作人
|
|
421
|
+
"childNode": null,
|
|
422
|
+
"conditionNodes": [], // 条件节点
|
|
423
|
+
"error": false, // 错误判断
|
|
424
|
+
// 拼接节点顺序 ====
|
|
425
|
+
"id": item.id,
|
|
426
|
+
"from": item.from
|
|
427
|
+
};
|
|
428
|
+
} else if (item.type == "ccTask") {
|
|
429
|
+
childNode = {
|
|
430
|
+
"ccSelfSelectFlag": 1,
|
|
431
|
+
"error": false,
|
|
432
|
+
"type": 2,
|
|
433
|
+
"nodeName": "抄送人",
|
|
434
|
+
"nodeUserList": item.notifiers,
|
|
435
|
+
// 拼接节点顺序 ====
|
|
436
|
+
"id": item.id,
|
|
437
|
+
"from": item.from
|
|
438
|
+
};
|
|
439
|
+
}
|
|
440
|
+
return childNode;
|
|
441
|
+
},
|
|
442
|
+
// 老数据展示
|
|
443
|
+
// 未复杂流程不能还原的数据数据参考
|
|
444
|
+
showOldModal() {
|
|
445
|
+
this.oldModal = !this.oldModal
|
|
446
|
+
},
|
|
447
|
+
toReturn() {},
|
|
448
|
+
reErr(data) {
|
|
449
|
+
if (data.childNode) {
|
|
450
|
+
if (data.childNode.type == 1) { // 审批人
|
|
451
|
+
if (data.childNode.error) {
|
|
452
|
+
this.tipList.push({ name: data.childNode.nodeName, type: "审批人" })
|
|
453
|
+
}
|
|
454
|
+
this.reErr(data.childNode)
|
|
455
|
+
} else if (data.childNode.type == 2) {
|
|
456
|
+
if (data.childNode.error) {
|
|
457
|
+
this.tipList.push({ name: data.childNode.nodeName, type: "抄送人" })
|
|
458
|
+
}
|
|
459
|
+
this.reErr(data.childNode)
|
|
460
|
+
} else if (data.childNode.type == 3) {
|
|
461
|
+
this.reErr(data.childNode.childNode)
|
|
462
|
+
} else if (data.childNode.type == 4) {
|
|
463
|
+
this.reErr(data.childNode)
|
|
464
|
+
for (var i = 0; i < data.childNode.conditionNodes.length; i++) {
|
|
465
|
+
if (data.childNode.conditionNodes[i].error || !data.childNode.conditionNodes[i].conditionList.length) {
|
|
466
|
+
this.tipList.push({ name: data.childNode.conditionNodes[i].nodeName, type: "条件" })
|
|
467
|
+
}
|
|
468
|
+
this.reErr(data.childNode.conditionNodes[i])
|
|
469
|
+
}
|
|
470
|
+
}
|
|
471
|
+
} else {
|
|
472
|
+
data.childNode = null
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
// 保存审批设置
|
|
476
|
+
async saveSet() {
|
|
477
|
+
console.log(this.activeName)
|
|
478
|
+
if (this.activeName == "process") {
|
|
479
|
+
this.isTried = true;
|
|
480
|
+
this.tipList = [];
|
|
481
|
+
this.reErr(this.nodeConfig);
|
|
482
|
+
if (this.tipList.length != 0) {
|
|
483
|
+
this.tipVisible = true;
|
|
484
|
+
return;
|
|
485
|
+
}
|
|
486
|
+
this.processConfig.flowPermission = this.flowPermission
|
|
487
|
+
|
|
488
|
+
// 根据审批状态重组数据
|
|
489
|
+
this.processConfig = {
|
|
490
|
+
...this.processConfig,
|
|
491
|
+
"switchOn": this.workFlowDef.switchOn ? 1 : 0, // 审批状态
|
|
492
|
+
"automaticPass": this.workFlowDef.automaticPass ? 1 : 0, // 重复审批人问题
|
|
493
|
+
"creator": this.userInfo.no, // 用户no this.$store.state.user.no
|
|
494
|
+
"companyId": this.userInfo.companyNo, // 公司id this.$store.state.user.companyNo
|
|
495
|
+
"type": this.type, // 流程类型 this.$route.query.type 或者表单类型
|
|
496
|
+
"processName": this.queryInfo.name, // 流程名称 ""this.$route.query.name
|
|
497
|
+
"describe": this.queryInfo.name, // 流程描述 this.$route.query.name
|
|
498
|
+
"menuId": this.formBuilder.menuId,
|
|
499
|
+
"menuName": this.formBuilder.name || ""
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
// 保存数据
|
|
504
|
+
let res
|
|
505
|
+
// 判断是否存在流程ID
|
|
506
|
+
if (this.processConfig.processId) {
|
|
507
|
+
res = await api.newUpdateProcess(this.processConfig);
|
|
508
|
+
} else {
|
|
509
|
+
res = await api.newSaveProcess(this.processConfig);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
if (res.data.state == "ok") {
|
|
513
|
+
this.$message.success({ message: this.processConfig.processId ? "编辑成功" : "保存成功", duration: 1500 });
|
|
514
|
+
if (this.type.indexOf("customForm_") == -1) {
|
|
515
|
+
this.$removeTag1(this.$route);
|
|
516
|
+
this.$router.go(-1);
|
|
517
|
+
}
|
|
518
|
+
} else {
|
|
519
|
+
this.isTried = false;
|
|
520
|
+
this.$message.error({ message: res.data.msg ? res.data.msg : "保存失败", duration: 1500 });
|
|
521
|
+
}
|
|
522
|
+
} else {
|
|
523
|
+
if (this.printId == "") {
|
|
524
|
+
const obj = {
|
|
525
|
+
companyNo: this.user.companyNo,
|
|
526
|
+
createUserNo: this.user.no,
|
|
527
|
+
userNo: this.user.no,
|
|
528
|
+
isPrintChildTable: this.isPrintChildTable, // 是否打印子表
|
|
529
|
+
isPrintLog: this.isPrintLog, // 是否打印审批日志
|
|
530
|
+
printChildTableDetail: this.isPrintChildTable ? this.ChildList : [], // 子表详情
|
|
531
|
+
// 打印设置
|
|
532
|
+
printContents: this.JsonList,
|
|
533
|
+
printId: this.printId, // 主键,修改时需要
|
|
534
|
+
type: this.$route.query.type // 类型
|
|
535
|
+
}
|
|
536
|
+
const res = await apiPrint.savePrint(obj);
|
|
537
|
+
console.log(res)
|
|
538
|
+
if (res.data.code == 200) {
|
|
539
|
+
this.$message.success(res.data.msg)
|
|
540
|
+
this.activeName = "process"
|
|
541
|
+
}
|
|
542
|
+
} else {
|
|
543
|
+
const obj = {
|
|
544
|
+
companyNo: this.user.companyNo,
|
|
545
|
+
createUserNo: this.user.no,
|
|
546
|
+
userNo: this.user.no,
|
|
547
|
+
isPrintChildTable: this.isPrintChildTable, // 是否打印子表
|
|
548
|
+
isPrintLog: this.isPrintLog, // 是否打印审批日志
|
|
549
|
+
printChildTableDetail: this.isPrintChildTable ? this.ChildList : [], // 子表详情
|
|
550
|
+
// 打印设置
|
|
551
|
+
printContents: this.JsonListAll,
|
|
552
|
+
printId: this.printId, // 主键,修改时需要
|
|
553
|
+
type: this.$route.query.type // 类型
|
|
554
|
+
}
|
|
555
|
+
const res = await apiPrint.updatePrint(obj);
|
|
556
|
+
if (res.data.code == 200) {
|
|
557
|
+
this.$message.success(res.data.msg)
|
|
558
|
+
this.activeName = "process"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
},
|
|
563
|
+
async detailPrint() {
|
|
564
|
+
const obj = {
|
|
565
|
+
companyNo: this.user.companyNo,
|
|
566
|
+
type: this.$route.query.type
|
|
567
|
+
}
|
|
568
|
+
const res = await apiPrint.detailPrint(obj)
|
|
569
|
+
if (res.data.data) {
|
|
570
|
+
console.log(111)
|
|
571
|
+
this.printId = res.data.data.printId
|
|
572
|
+
this.isPrintChildTable = res.data.data.isPrintChildTable;
|
|
573
|
+
this.isPrintLog = res.data.data.isPrintLog;
|
|
574
|
+
// this.JsonListAll = res.data.data.printContents;
|
|
575
|
+
const printList = res.data.data.printContents
|
|
576
|
+
this.notPrint = printList.filter((item, index) => {
|
|
577
|
+
return !item.isPrint
|
|
578
|
+
})
|
|
579
|
+
this.JsonList.forEach((item, index) => {
|
|
580
|
+
this.notPrint.forEach(val => {
|
|
581
|
+
if (item.key == val.key) {
|
|
582
|
+
this.JsonList[index] = val
|
|
583
|
+
}
|
|
584
|
+
})
|
|
585
|
+
})
|
|
586
|
+
this.JsonListAll = this.JsonList
|
|
587
|
+
} else {
|
|
588
|
+
console.log(222)
|
|
589
|
+
this.JsonListAll = this.JsonList
|
|
590
|
+
console.log(this.JsonListAll)
|
|
591
|
+
}
|
|
592
|
+
},
|
|
593
|
+
// 取消审批设置
|
|
594
|
+
cancel() {
|
|
595
|
+
this.$confirm("有修改的内容未保存,确认离开吗?", "提示", {
|
|
596
|
+
confirmButtonText: "确定",
|
|
597
|
+
cancelButtonText: "取消",
|
|
598
|
+
type: "warning"
|
|
599
|
+
})
|
|
600
|
+
.then(() => {
|
|
601
|
+
this.$removeTag1(this.$route);
|
|
602
|
+
this.$router.go(-1);
|
|
603
|
+
})
|
|
604
|
+
.catch(() => {});
|
|
605
|
+
},
|
|
606
|
+
// 流程图缩放
|
|
607
|
+
zoomSize(type) {
|
|
608
|
+
if (type == 1) {
|
|
609
|
+
if (this.nowVal == 50) {
|
|
610
|
+
return;
|
|
611
|
+
}
|
|
612
|
+
this.nowVal -= 10;
|
|
613
|
+
} else {
|
|
614
|
+
if (this.nowVal == 300) {
|
|
615
|
+
return;
|
|
616
|
+
}
|
|
617
|
+
this.nowVal += 10;
|
|
618
|
+
}
|
|
619
|
+
},
|
|
620
|
+
//
|
|
621
|
+
async getapproveRemake() {
|
|
622
|
+
// let params = {type:this.type}
|
|
623
|
+
if (!this.type) return
|
|
624
|
+
// console.log('params', params)
|
|
625
|
+
try {
|
|
626
|
+
const { data } = await apiPrint.getapproveRemake(this.type)
|
|
627
|
+
this.approveRemake = data.result
|
|
628
|
+
} catch (error) {
|
|
629
|
+
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
};
|
|
634
|
+
</script>
|
|
635
|
+
<style lang="scss" scoped>
|
|
636
|
+
@import "../../styles/workflow/workflow.css";
|
|
637
|
+
.tableClass{
|
|
638
|
+
// margin: auto;
|
|
639
|
+
// width: 37.1%;
|
|
640
|
+
// padding: 20px;
|
|
641
|
+
float: left;
|
|
642
|
+
position: relative;left: 50%;
|
|
643
|
+
padding:0;
|
|
644
|
+
.divCalss{
|
|
645
|
+
float: left;
|
|
646
|
+
position: relative;left:-50%;
|
|
647
|
+
}
|
|
648
|
+
}
|
|
649
|
+
.el-table /deep/.printClass .cell .el-checkbox__inner{
|
|
650
|
+
}
|
|
651
|
+
.el-table /deep/ .printClass .cell::before{
|
|
652
|
+
content: '打印';
|
|
653
|
+
position: absolute;
|
|
654
|
+
right:15px;
|
|
655
|
+
}
|
|
656
|
+
.approveRemake{
|
|
657
|
+
border: none;
|
|
658
|
+
padding: 5px;
|
|
659
|
+
font-size: 16px;
|
|
660
|
+
vertical-align: middle;
|
|
661
|
+
}
|
|
662
|
+
</style>
|