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,588 +1,588 @@
|
|
|
1
|
-
// eslint-disable-next-line vue/max-attributes-per-line
|
|
2
|
-
import api from "@/api/apiCheckingIn.js";
|
|
3
|
-
import apiNotice from "@/api/Notice"
|
|
4
|
-
import store from "@/store/index";
|
|
5
|
-
import { getApplyCompanyList } from "@/api/apiCoping";
|
|
6
|
-
import { req } from "@/api/apiTeam/apiUtils";
|
|
7
|
-
import { getSealList } from "@/api/apiSealRecord";
|
|
8
|
-
import apiSystem from "@/api/apiSystem";
|
|
9
|
-
import apiment from "@/api/apiRankManagement";
|
|
10
|
-
import apiTender from "@/api/apiTender";
|
|
11
|
-
import { log } from "fullcalendar";
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
// 获取缓存中的用户数据
|
|
16
|
-
const userInfo = JSON.parse(localStorage.getItem("userInfo")) || {}
|
|
17
|
-
|
|
18
|
-
// 请假申请
|
|
19
|
-
export const leave = async() => {
|
|
20
|
-
const leaveApply = [
|
|
21
|
-
{ name: "请假类型", variable: "type", ele: "checkbox", data: [] },
|
|
22
|
-
{ name: "时长(天)", variable: "duration", ele: "input" }
|
|
23
|
-
]
|
|
24
|
-
// const res = await api.leaveType(store.state.user.no);
|
|
25
|
-
const res = await api.getVacationList({ member: userInfo.no });
|
|
26
|
-
if (res.data.code == "200") {
|
|
27
|
-
// if (res.data.data.length === 0) {
|
|
28
|
-
// this.$message.warning(
|
|
29
|
-
// "您还没有可选择的假期类型,请联系管理员去“人事管理-考勤管理-请假规则”页面设置假期规则。"
|
|
30
|
-
// );
|
|
31
|
-
// }
|
|
32
|
-
// this.options = res.data.data;
|
|
33
|
-
leaveApply[0].data = res.data.data.map(item => ({ no: item.no, name: item.holidayName }))
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
return leaveApply
|
|
37
|
-
}
|
|
38
|
-
// 资产领用
|
|
39
|
-
export const assetCollect = async() => { // ok
|
|
40
|
-
const assetCollectApply = [
|
|
41
|
-
{ name: "资产分类", variable: "assetTypeJp", ele: "checkbox", data: [] }
|
|
42
|
-
// { name: "耗材分类", variable: "matericalTypeName", ele: "checkbox", data: [] }
|
|
43
|
-
]
|
|
44
|
-
const res = await api.getAssetCategoryList()
|
|
45
|
-
if (res.data.code === 200) {
|
|
46
|
-
// console.log(res.data.data[0].subList.subList);
|
|
47
|
-
// const SxyList = []
|
|
48
|
-
// res.data.data[0].subList.forEach((item, i) => {
|
|
49
|
-
// console.log(item);
|
|
50
|
-
// if (item.subList && item.subList.length != 0) {
|
|
51
|
-
// console.log(item.subList);
|
|
52
|
-
// SxyList.push(...item.subList)
|
|
53
|
-
// } else {
|
|
54
|
-
// SxyList.push(item)
|
|
55
|
-
// }
|
|
56
|
-
// })
|
|
57
|
-
// console.log(SxyList);
|
|
58
|
-
// assetCollectApply[0].data = SxyList;
|
|
59
|
-
assetCollectApply[0].data = res.data.data[0].subList;
|
|
60
|
-
|
|
61
|
-
// assetCollectApply[1].data = res.data.data[1].subList;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
return assetCollectApply
|
|
65
|
-
}
|
|
66
|
-
// 资产领用
|
|
67
|
-
export const consumableMaterialCollect = async() => { // ok
|
|
68
|
-
const assetCollectApply = [
|
|
69
|
-
// { name: "资产分类", variable: "assetTypeId", ele: "checkbox", data: [] },
|
|
70
|
-
{ name: "耗材分类", variable: "matericalTypeJp", ele: "checkbox", data: [] }
|
|
71
|
-
]
|
|
72
|
-
const res = await api.getAssetCategoryList()
|
|
73
|
-
if (res.data.code === 200) {
|
|
74
|
-
console.log(res.data.data[0].subList.subList);
|
|
75
|
-
const SxyList = []
|
|
76
|
-
// res.data.data[1].subList.forEach((item, i) => {
|
|
77
|
-
// // console.log(item);
|
|
78
|
-
// if (item.subList && item.subList.length != 0) {
|
|
79
|
-
// console.log(item.subList);
|
|
80
|
-
// SxyList.push(...item.subList)
|
|
81
|
-
// } else {
|
|
82
|
-
// SxyList.push(item)
|
|
83
|
-
// }
|
|
84
|
-
// })
|
|
85
|
-
// console.log(SxyList);
|
|
86
|
-
// assetCollectApply[0].data = SxyList;
|
|
87
|
-
assetCollectApply[0].data = res.data.data[1].subList;
|
|
88
|
-
|
|
89
|
-
// assetCollectApply[1].data = res.data.data[1].subList;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
return assetCollectApply
|
|
94
|
-
}
|
|
95
|
-
// 加班申请
|
|
96
|
-
export const overTimeApply = async() => { // ok
|
|
97
|
-
const overTime = [
|
|
98
|
-
{ name: "时长(天)", variable: "timeLength", ele: "input" }
|
|
99
|
-
]
|
|
100
|
-
return overTime
|
|
101
|
-
}
|
|
102
|
-
// 出差申请
|
|
103
|
-
export const trip = async() => { // ok
|
|
104
|
-
const tripapp = [
|
|
105
|
-
{ name: "时长(天)", variable: "duration", ele: "input" }
|
|
106
|
-
]
|
|
107
|
-
return tripapp
|
|
108
|
-
}
|
|
109
|
-
// 项目立项
|
|
110
|
-
export const projectApproval = async() => {
|
|
111
|
-
const projectAddApply = [
|
|
112
|
-
{ name: "申请单位", variable: "applyCompany", ele: "checkbox", data: [] },
|
|
113
|
-
{ name: "工程类型", variable: "engineeringType", ele: "checkbox", data: engineeringTypes },
|
|
114
|
-
// { name: "资金来源", variable: "fundSource", ele: "checkbox", data: capitalSourceList },
|
|
115
|
-
{ name: "项目造价", variable: "projectPrice", ele: "input" },
|
|
116
|
-
{
|
|
117
|
-
name: "经营类型", variable: "businessType", ele: "checkbox", data: [
|
|
118
|
-
{ name: "合作管理", no: "合作管理" },
|
|
119
|
-
{ name: "组织经营", no: "组织经营" }
|
|
120
|
-
]
|
|
121
|
-
}
|
|
122
|
-
]
|
|
123
|
-
// 申请单位
|
|
124
|
-
const res = await getApplyCompanyList();
|
|
125
|
-
projectAddApply[0].data = [...res.data.data];
|
|
126
|
-
// 工程类型
|
|
127
|
-
// const { data } = await req.get("/sysTeamCategory/findCategoryListTree");
|
|
128
|
-
// projectAddApply[1].data = data.data;
|
|
129
|
-
return projectAddApply
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
const engineeringTypes = [
|
|
133
|
-
{ name: "房建工程", no: "房建工程" },
|
|
134
|
-
{ name: "水利工程", no: "水利工程" },
|
|
135
|
-
{ name: "市政工程", no: "市政工程" },
|
|
136
|
-
{ name: "冶炼工程", no: "冶炼工程" },
|
|
137
|
-
{ name: "矿山工程", no: "矿山工程" },
|
|
138
|
-
{ name: "化工石油工程", no: "化工石油工程" },
|
|
139
|
-
{ name: "电力工程", no: "电力工程" },
|
|
140
|
-
{ name: "农林工程", no: "农林工程" },
|
|
141
|
-
{ name: "铁路工程", no: "铁路工程" },
|
|
142
|
-
{ name: "公路工程", no: "公路工程" },
|
|
143
|
-
{ name: "港口与航道工程", no: "港口与航道工程" },
|
|
144
|
-
{ name: "航天航空工程", no: "航天航空工程" },
|
|
145
|
-
{ name: "通信工程", no: "通信工程" },
|
|
146
|
-
{ name: "机电安装工程", no: "机电安装工程" }
|
|
147
|
-
]
|
|
148
|
-
const capitalSourceList = [
|
|
149
|
-
{
|
|
150
|
-
name: "国拨资金",
|
|
151
|
-
no: "国拨资金"
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
name: "业主自筹资金",
|
|
155
|
-
no: "业主自筹资金"
|
|
156
|
-
},
|
|
157
|
-
{
|
|
158
|
-
name: "国拨和自筹资金",
|
|
159
|
-
no: "国拨和自筹资金"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
name: "专项资金",
|
|
163
|
-
no: "专项资金"
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
name: "市场回款",
|
|
167
|
-
no: "市场回款"
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
name: "银行融资",
|
|
171
|
-
no: "银行融资"
|
|
172
|
-
},
|
|
173
|
-
{
|
|
174
|
-
name: "援疆资金",
|
|
175
|
-
no: "援疆资金"
|
|
176
|
-
},
|
|
177
|
-
{
|
|
178
|
-
name: "全额中央预算内资金",
|
|
179
|
-
no: "全额中央预算内资金"
|
|
180
|
-
},
|
|
181
|
-
{
|
|
182
|
-
name: "扶贫资金",
|
|
183
|
-
no: "扶贫资金"
|
|
184
|
-
},
|
|
185
|
-
{
|
|
186
|
-
name: "政府发债资金",
|
|
187
|
-
no: "政府发债资金"
|
|
188
|
-
},
|
|
189
|
-
{
|
|
190
|
-
name: "财政资金",
|
|
191
|
-
no: "财政资金"
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
name: "中央内资金",
|
|
195
|
-
no: "中央内资金"
|
|
196
|
-
},
|
|
197
|
-
{
|
|
198
|
-
name: "其他",
|
|
199
|
-
no: "其他"
|
|
200
|
-
}
|
|
201
|
-
]
|
|
202
|
-
// 印章申请
|
|
203
|
-
export const sealApproval = async() => { // ok
|
|
204
|
-
const changeFuc = async function(val, _this) {
|
|
205
|
-
const arr = []
|
|
206
|
-
if (val.length > 0) {
|
|
207
|
-
val.forEach(async i => {
|
|
208
|
-
const res = await apiSystem.deplist(i);
|
|
209
|
-
if (res.data.code == 200) {
|
|
210
|
-
const dep = formatData(res.data.data, "name", "id")
|
|
211
|
-
arr.push(...dep);
|
|
212
|
-
}
|
|
213
|
-
})
|
|
214
|
-
}
|
|
215
|
-
seal[1].data = arr
|
|
216
|
-
if (_this) {
|
|
217
|
-
_this.form.departmentNo.value = _this.form.departmentNo.value.filter(item => {
|
|
218
|
-
const node = arr.filter(i => { i.no == item })
|
|
219
|
-
return node.length > 0
|
|
220
|
-
})
|
|
221
|
-
}
|
|
222
|
-
}
|
|
223
|
-
// changeFuc: changeFuc
|
|
224
|
-
const seal = [
|
|
225
|
-
{ name: "申请人", variable: "proposer", ele: "spoSxy" }
|
|
226
|
-
|
|
227
|
-
]
|
|
228
|
-
// const {
|
|
229
|
-
// data: { data }
|
|
230
|
-
// } = await getSealList();
|
|
231
|
-
// seal[1].data = data;
|
|
232
|
-
|
|
233
|
-
// const res = await apiSystem.companylist(data);
|
|
234
|
-
// console.log(res);
|
|
235
|
-
// res.data.data = res.data.data.map(item => {
|
|
236
|
-
// return { name: item.name, no: item.id }
|
|
237
|
-
// })
|
|
238
|
-
// seal[0].data = res.data.data;
|
|
239
|
-
|
|
240
|
-
// let departmentCompanyNo = that.form.departmentCompanyNo ? that.form.departmentCompanyNo.value : []
|
|
241
|
-
// if(departmentCompanyNo.length && departmentCompanyNo.length > 0){
|
|
242
|
-
// changeFuc(departmentCompanyNo)
|
|
243
|
-
// }
|
|
244
|
-
return seal
|
|
245
|
-
}
|
|
246
|
-
function formatData(data, name, no) {
|
|
247
|
-
const arr = []
|
|
248
|
-
data.forEach(item => {
|
|
249
|
-
arr.push({ name: item[name], no: item[no] })
|
|
250
|
-
if (item.children) {
|
|
251
|
-
const cotact = formatData(item.children, name, no)
|
|
252
|
-
arr.push(...cotact)
|
|
253
|
-
}
|
|
254
|
-
})
|
|
255
|
-
console.log(arr)
|
|
256
|
-
return arr
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
// 用车申请
|
|
260
|
-
export const carApproval = async() => {
|
|
261
|
-
return [{ name: "申请人", variable: "proposer", ele: "spoSxy" }]
|
|
262
|
-
}
|
|
263
|
-
// 转正
|
|
264
|
-
export const employeeRegularization = async() => {
|
|
265
|
-
const pageSxy = {
|
|
266
|
-
pageNum: 1,
|
|
267
|
-
pageSize: 20
|
|
268
|
-
}
|
|
269
|
-
const empzation = [
|
|
270
|
-
// { name: "转正申请人", variable: "userId1", ele: "spoSxy" },
|
|
271
|
-
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }] // ok
|
|
272
|
-
// console.log(empzatsd);
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
const res = await apiment.getPosition(pageSxy)
|
|
276
|
-
if (res.data.code == "200") {
|
|
277
|
-
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
278
|
-
}
|
|
279
|
-
return empzation
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
// 调岗
|
|
283
|
-
export const employeeChangestation = async() => { // ok
|
|
284
|
-
// return [{ name: "调岗申请人", variable: "userId1", ele: "spoSxy" }]
|
|
285
|
-
|
|
286
|
-
const pageSxy = {
|
|
287
|
-
pageNum: 1,
|
|
288
|
-
pageSize: 20
|
|
289
|
-
}
|
|
290
|
-
const empzation = [
|
|
291
|
-
// { name: "调岗申请人", variable: "userId1", ele: "spoSxy" },
|
|
292
|
-
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] },
|
|
293
|
-
{
|
|
294
|
-
name: "是否调薪", variable: "isAdjustedSalary", ele: "radio", data: [{ value: "1", name: "是" },
|
|
295
|
-
{ value: "0", name: "否" }]
|
|
296
|
-
}
|
|
297
|
-
]
|
|
298
|
-
const res = await apiment.getPosition(pageSxy)
|
|
299
|
-
if (res.data.code == "200") {
|
|
300
|
-
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
301
|
-
}
|
|
302
|
-
return empzation
|
|
303
|
-
}
|
|
304
|
-
|
|
305
|
-
// 公告管理
|
|
306
|
-
export const notice = async() => {
|
|
307
|
-
const noticeObject = [
|
|
308
|
-
{
|
|
309
|
-
name: "公告类型",
|
|
310
|
-
variable: "noticeType",
|
|
311
|
-
ele: "checkbox",
|
|
312
|
-
data: []
|
|
313
|
-
}
|
|
314
|
-
]
|
|
315
|
-
|
|
316
|
-
const res = await apiNotice.GetNoticeType()
|
|
317
|
-
|
|
318
|
-
if (res.data.code == 200) {
|
|
319
|
-
noticeObject[0].data = res.data.data.map(item => ({ no: item.key, name: item.value }))
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
return noticeObject
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
// 公文管理
|
|
326
|
-
export const officialDocument = async() => {
|
|
327
|
-
debugger
|
|
328
|
-
const documentObject = [
|
|
329
|
-
{
|
|
330
|
-
name: "公文类型",
|
|
331
|
-
variable: "documentType",
|
|
332
|
-
ele: "checkbox",
|
|
333
|
-
data: []
|
|
334
|
-
}
|
|
335
|
-
]
|
|
336
|
-
|
|
337
|
-
const res = await apiNotice.GetDocumentType()
|
|
338
|
-
if (res.data.code == 200) {
|
|
339
|
-
|
|
340
|
-
documentObject[0].data = res.data.data.map(item => ({ no: item.key, name: item.value }))
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
return documentObject
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
// 调薪
|
|
348
|
-
export const employeeChangesalary = async() => {
|
|
349
|
-
// return [{ name: "调薪申请人", variable: "userId1", ele: "spoSxy" }]
|
|
350
|
-
|
|
351
|
-
const pageSxy = {
|
|
352
|
-
pageNum: 1,
|
|
353
|
-
pageSize: 20
|
|
354
|
-
}
|
|
355
|
-
const empzation = [
|
|
356
|
-
// { name: "调薪申请人", variable: "userId1", ele: "spoSxy" },
|
|
357
|
-
{ name: "调入职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
358
|
-
const res = await apiment.getPosition(pageSxy)
|
|
359
|
-
if (res.data.code == "200") {
|
|
360
|
-
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
361
|
-
}
|
|
362
|
-
return empzation
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
}
|
|
366
|
-
// 员工荣誉
|
|
367
|
-
export const employeeHonor = async() => {
|
|
368
|
-
// return [{ name: "荣誉获奖人", variable: "userId1", ele: "spoSxy" }]
|
|
369
|
-
}
|
|
370
|
-
// 离职
|
|
371
|
-
export const employeeTurnover = async() => {
|
|
372
|
-
// return [{ name: "离职申请人", variable: "userId1", ele: "spoSxy" }]
|
|
373
|
-
const pageSxy = {
|
|
374
|
-
pageNum: 1,
|
|
375
|
-
pageSize: 20
|
|
376
|
-
}
|
|
377
|
-
const empzation = [
|
|
378
|
-
// { name: "离职申请人", variable: "handler", ele: "spoSxy" },
|
|
379
|
-
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
const res = await apiment.getPosition(pageSxy)
|
|
384
|
-
if (res.data.code == "200") {
|
|
385
|
-
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
386
|
-
}
|
|
387
|
-
return empzation
|
|
388
|
-
}
|
|
389
|
-
// 离职交接
|
|
390
|
-
export const employeeturnoverhandover = async() => {
|
|
391
|
-
// return [{ name: "交接人", variable: "userId1", ele: "spoSxy" }]
|
|
392
|
-
const pageSxy = {
|
|
393
|
-
pageNum: 1,
|
|
394
|
-
pageSize: 20
|
|
395
|
-
}
|
|
396
|
-
const empzation = [
|
|
397
|
-
// { name: "交接人", variable: "userId1", ele: "spoSxy" },
|
|
398
|
-
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
const res = await apiment.getPosition(pageSxy)
|
|
403
|
-
if (res.data.code == "200") {
|
|
404
|
-
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
405
|
-
}
|
|
406
|
-
return empzation
|
|
407
|
-
}
|
|
408
|
-
// 借款
|
|
409
|
-
export const lan = async() => {
|
|
410
|
-
return [
|
|
411
|
-
{ name: "借款金额", variable: "loanAmount", ele: "input" }
|
|
412
|
-
]
|
|
413
|
-
}
|
|
414
|
-
// 外出申请
|
|
415
|
-
export const out = async() => {
|
|
416
|
-
return []
|
|
417
|
-
}
|
|
418
|
-
// 出差申请
|
|
419
|
-
export const evection = async() => {
|
|
420
|
-
return []
|
|
421
|
-
}
|
|
422
|
-
// 补卡申请
|
|
423
|
-
export const reissueCard = async() => {
|
|
424
|
-
return []
|
|
425
|
-
}
|
|
426
|
-
// 借款申请
|
|
427
|
-
export const loan = async() => {
|
|
428
|
-
return []
|
|
429
|
-
}
|
|
430
|
-
// 任务申请
|
|
431
|
-
export const task = async() => {
|
|
432
|
-
return []
|
|
433
|
-
}
|
|
434
|
-
// 预算编制
|
|
435
|
-
export const budgeting = async() => {
|
|
436
|
-
return []
|
|
437
|
-
}
|
|
438
|
-
// 费用预算
|
|
439
|
-
export const costBudget = async() => {
|
|
440
|
-
return []
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
// 邀请报价
|
|
444
|
-
export const InvitationToOffer = async() => {
|
|
445
|
-
return []
|
|
446
|
-
}
|
|
447
|
-
// 经营设计
|
|
448
|
-
export const businessDesign = async() => {
|
|
449
|
-
return []
|
|
450
|
-
}
|
|
451
|
-
// 采购申请
|
|
452
|
-
export const purchaseApplication = async() => {
|
|
453
|
-
return []
|
|
454
|
-
}
|
|
455
|
-
// 分包
|
|
456
|
-
export const subcontract = async() => {
|
|
457
|
-
return []
|
|
458
|
-
}
|
|
459
|
-
// 租赁申请
|
|
460
|
-
export const lease = async() => {
|
|
461
|
-
return []
|
|
462
|
-
}
|
|
463
|
-
// 工区划分
|
|
464
|
-
export const workarea = async() => {
|
|
465
|
-
return []
|
|
466
|
-
}
|
|
467
|
-
// 材料验收
|
|
468
|
-
export const acceptMaterial = async() => {
|
|
469
|
-
return []
|
|
470
|
-
}
|
|
471
|
-
// 租赁验收
|
|
472
|
-
export const rentAccept = async() => {
|
|
473
|
-
return []
|
|
474
|
-
}
|
|
475
|
-
// 分包量验收
|
|
476
|
-
export const quantityAccpet = async() => {
|
|
477
|
-
return []
|
|
478
|
-
}
|
|
479
|
-
// 采购验收
|
|
480
|
-
export const purchaseAccept = async() => {
|
|
481
|
-
return []
|
|
482
|
-
}
|
|
483
|
-
// 应付挂账
|
|
484
|
-
export const payable = async() => {
|
|
485
|
-
return []
|
|
486
|
-
}
|
|
487
|
-
// 招标发布
|
|
488
|
-
export const issueTender = async() => {
|
|
489
|
-
const issueTenderApply = [
|
|
490
|
-
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
491
|
-
{ name: "招标方式", variable: "biddingMethod", ele: "checkbox", data: [] },
|
|
492
|
-
{ name: "报名方式", variable: "verticalTypeValue", ele: "checkbox", data: [] },
|
|
493
|
-
{ name: "招标规则", variable: "tenderingRuleType", ele: "checkbox", data: [] },
|
|
494
|
-
{ name: "概算金额", variable: "money", ele: "input" }
|
|
495
|
-
]
|
|
496
|
-
const res = await apiTender.findTenderType();
|
|
497
|
-
issueTenderApply[0].data = res.data.result;
|
|
498
|
-
const res1 = await apiTender.getTenderMethod()
|
|
499
|
-
issueTenderApply[1].data = res1.data.result;
|
|
500
|
-
const res2 = await apiTender.getVerticalWay()
|
|
501
|
-
issueTenderApply[2].data = res2.data.result;
|
|
502
|
-
const res3 = await apiTender.getRuleSetUp()
|
|
503
|
-
issueTenderApply[3].data = res3.data.result;
|
|
504
|
-
return issueTenderApply
|
|
505
|
-
}
|
|
506
|
-
// 招标定标
|
|
507
|
-
export const tenderBid = async() => {
|
|
508
|
-
const tenderBidApply = [
|
|
509
|
-
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
510
|
-
{
|
|
511
|
-
name: "中标单位是否为第一名", variable: "isFirst", ele: "radio", data: [{ value: "1", name: "是" }, { value: "0", name: "否" }]
|
|
512
|
-
},
|
|
513
|
-
{ name: "中标总价", variable: "money", ele: "input" },
|
|
514
|
-
{ name: "投标家数", variable: "bidNum", ele: "input" }
|
|
515
|
-
]
|
|
516
|
-
const res = await apiTender.findTenderType();
|
|
517
|
-
tenderBidApply[0].data = res.data.result;
|
|
518
|
-
return tenderBidApply
|
|
519
|
-
}
|
|
520
|
-
// 招标废标
|
|
521
|
-
export const abandonedBid = async() => {
|
|
522
|
-
const abandonedBidApply = [
|
|
523
|
-
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
524
|
-
{ name: "招标状态", variable: "state", ele: "checkbox", data: [] }
|
|
525
|
-
]
|
|
526
|
-
const res = await apiTender.findTenderType();
|
|
527
|
-
abandonedBidApply[0].data = res.data.result;
|
|
528
|
-
const res1 = await apiTender.getTenderStatus();
|
|
529
|
-
abandonedBidApply[1].data = res1.data.result;
|
|
530
|
-
return abandonedBidApply
|
|
531
|
-
}
|
|
532
|
-
// 招标补遗
|
|
533
|
-
export const addendum = async() => {
|
|
534
|
-
const addendumApply = [
|
|
535
|
-
{ name: "招标类型", variable: "tenderingType", ele: "checkbox", data: [] },
|
|
536
|
-
{ name: "招标状态", variable: "tenderingState", ele: "checkbox" }
|
|
537
|
-
]
|
|
538
|
-
const res = await apiTender.findTenderType();
|
|
539
|
-
addendumApply[0].data = res.data.result;
|
|
540
|
-
const res1 = await apiTender.getTenderStatus();
|
|
541
|
-
addendumApply[1].data = res1.data.result;
|
|
542
|
-
return addendumApply
|
|
543
|
-
}
|
|
544
|
-
// 竞价发布
|
|
545
|
-
export const issueBiding = async() => {
|
|
546
|
-
const issueBidingApply = [
|
|
547
|
-
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] },
|
|
548
|
-
{ name: "竞价规则", variable: "ruleSetUp", ele: "checkbox", data: [] },
|
|
549
|
-
{ name: "概算金额", variable: "budgetPrice", ele: "input" }
|
|
550
|
-
]
|
|
551
|
-
const res = await apiTender.getBidTypeNo();
|
|
552
|
-
issueBidingApply[0].data = res.data.result;
|
|
553
|
-
const res1 = await apiTender.getBidRuleSetUp();
|
|
554
|
-
issueBidingApply[1].data = res1.data.result;
|
|
555
|
-
return issueBidingApply
|
|
556
|
-
}
|
|
557
|
-
// 竞价定标
|
|
558
|
-
export const zcBidDetermine = async() => {
|
|
559
|
-
const zcBidDetermineApply = [
|
|
560
|
-
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] },
|
|
561
|
-
{
|
|
562
|
-
name: "中标单位是否为第一名", variable: "isFirst", ele: "radio", data: [{ value: "1", name: "是" }, { value: "0", name: "否" }]
|
|
563
|
-
},
|
|
564
|
-
{ name: "中标总价", variable: "money", ele: "input" },
|
|
565
|
-
{ name: "竞价家数", variable: "bidNum", ele: "input" }
|
|
566
|
-
]
|
|
567
|
-
const res = await apiTender.getBidTypeNo();
|
|
568
|
-
zcBidDetermineApply[0].data = res.data.result;
|
|
569
|
-
return zcBidDetermineApply
|
|
570
|
-
}
|
|
571
|
-
// 竞价废标
|
|
572
|
-
export const zcBidCancel = async() => {
|
|
573
|
-
const zcBidCancelApply = [
|
|
574
|
-
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] }
|
|
575
|
-
]
|
|
576
|
-
const res = await apiTender.getBidTypeNo();
|
|
577
|
-
zcBidCancelApply[0].data = res.data.result;
|
|
578
|
-
return zcBidCancelApply
|
|
579
|
-
}
|
|
580
|
-
// 竞价补遗
|
|
581
|
-
export const zcBidAddendum = async() => {
|
|
582
|
-
const zcBidAddendumApply = [
|
|
583
|
-
{ name: "竞价类型", variable: "bidType", ele: "checkbox", data: [] }
|
|
584
|
-
]
|
|
585
|
-
const res = await apiTender.getBidTypeNo();
|
|
586
|
-
zcBidAddendumApply[0].data = res.data.result;
|
|
587
|
-
return zcBidAddendumApply
|
|
588
|
-
}
|
|
1
|
+
// eslint-disable-next-line vue/max-attributes-per-line
|
|
2
|
+
import api from "@/api/apiCheckingIn.js";
|
|
3
|
+
import apiNotice from "@/api/Notice"
|
|
4
|
+
import store from "@/store/index";
|
|
5
|
+
import { getApplyCompanyList } from "@/api/apiCoping";
|
|
6
|
+
import { req } from "@/api/apiTeam/apiUtils";
|
|
7
|
+
import { getSealList } from "@/api/apiSealRecord";
|
|
8
|
+
import apiSystem from "@/api/apiSystem";
|
|
9
|
+
import apiment from "@/api/apiRankManagement";
|
|
10
|
+
import apiTender from "@/api/apiTender";
|
|
11
|
+
import { log } from "fullcalendar";
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// 获取缓存中的用户数据
|
|
16
|
+
const userInfo = JSON.parse(localStorage.getItem("userInfo")) || {}
|
|
17
|
+
|
|
18
|
+
// 请假申请
|
|
19
|
+
export const leave = async() => {
|
|
20
|
+
const leaveApply = [
|
|
21
|
+
{ name: "请假类型", variable: "type", ele: "checkbox", data: [] },
|
|
22
|
+
{ name: "时长(天)", variable: "duration", ele: "input" }
|
|
23
|
+
]
|
|
24
|
+
// const res = await api.leaveType(store.state.user.no);
|
|
25
|
+
const res = await api.getVacationList({ member: userInfo.no });
|
|
26
|
+
if (res.data.code == "200") {
|
|
27
|
+
// if (res.data.data.length === 0) {
|
|
28
|
+
// this.$message.warning(
|
|
29
|
+
// "您还没有可选择的假期类型,请联系管理员去“人事管理-考勤管理-请假规则”页面设置假期规则。"
|
|
30
|
+
// );
|
|
31
|
+
// }
|
|
32
|
+
// this.options = res.data.data;
|
|
33
|
+
leaveApply[0].data = res.data.data.map(item => ({ no: item.no, name: item.holidayName }))
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return leaveApply
|
|
37
|
+
}
|
|
38
|
+
// 资产领用
|
|
39
|
+
export const assetCollect = async() => { // ok
|
|
40
|
+
const assetCollectApply = [
|
|
41
|
+
{ name: "资产分类", variable: "assetTypeJp", ele: "checkbox", data: [] }
|
|
42
|
+
// { name: "耗材分类", variable: "matericalTypeName", ele: "checkbox", data: [] }
|
|
43
|
+
]
|
|
44
|
+
const res = await api.getAssetCategoryList()
|
|
45
|
+
if (res.data.code === 200) {
|
|
46
|
+
// console.log(res.data.data[0].subList.subList);
|
|
47
|
+
// const SxyList = []
|
|
48
|
+
// res.data.data[0].subList.forEach((item, i) => {
|
|
49
|
+
// console.log(item);
|
|
50
|
+
// if (item.subList && item.subList.length != 0) {
|
|
51
|
+
// console.log(item.subList);
|
|
52
|
+
// SxyList.push(...item.subList)
|
|
53
|
+
// } else {
|
|
54
|
+
// SxyList.push(item)
|
|
55
|
+
// }
|
|
56
|
+
// })
|
|
57
|
+
// console.log(SxyList);
|
|
58
|
+
// assetCollectApply[0].data = SxyList;
|
|
59
|
+
assetCollectApply[0].data = res.data.data[0].subList;
|
|
60
|
+
|
|
61
|
+
// assetCollectApply[1].data = res.data.data[1].subList;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
return assetCollectApply
|
|
65
|
+
}
|
|
66
|
+
// 资产领用
|
|
67
|
+
export const consumableMaterialCollect = async() => { // ok
|
|
68
|
+
const assetCollectApply = [
|
|
69
|
+
// { name: "资产分类", variable: "assetTypeId", ele: "checkbox", data: [] },
|
|
70
|
+
{ name: "耗材分类", variable: "matericalTypeJp", ele: "checkbox", data: [] }
|
|
71
|
+
]
|
|
72
|
+
const res = await api.getAssetCategoryList()
|
|
73
|
+
if (res.data.code === 200) {
|
|
74
|
+
console.log(res.data.data[0].subList.subList);
|
|
75
|
+
const SxyList = []
|
|
76
|
+
// res.data.data[1].subList.forEach((item, i) => {
|
|
77
|
+
// // console.log(item);
|
|
78
|
+
// if (item.subList && item.subList.length != 0) {
|
|
79
|
+
// console.log(item.subList);
|
|
80
|
+
// SxyList.push(...item.subList)
|
|
81
|
+
// } else {
|
|
82
|
+
// SxyList.push(item)
|
|
83
|
+
// }
|
|
84
|
+
// })
|
|
85
|
+
// console.log(SxyList);
|
|
86
|
+
// assetCollectApply[0].data = SxyList;
|
|
87
|
+
assetCollectApply[0].data = res.data.data[1].subList;
|
|
88
|
+
|
|
89
|
+
// assetCollectApply[1].data = res.data.data[1].subList;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
return assetCollectApply
|
|
94
|
+
}
|
|
95
|
+
// 加班申请
|
|
96
|
+
export const overTimeApply = async() => { // ok
|
|
97
|
+
const overTime = [
|
|
98
|
+
{ name: "时长(天)", variable: "timeLength", ele: "input" }
|
|
99
|
+
]
|
|
100
|
+
return overTime
|
|
101
|
+
}
|
|
102
|
+
// 出差申请
|
|
103
|
+
export const trip = async() => { // ok
|
|
104
|
+
const tripapp = [
|
|
105
|
+
{ name: "时长(天)", variable: "duration", ele: "input" }
|
|
106
|
+
]
|
|
107
|
+
return tripapp
|
|
108
|
+
}
|
|
109
|
+
// 项目立项
|
|
110
|
+
export const projectApproval = async() => {
|
|
111
|
+
const projectAddApply = [
|
|
112
|
+
{ name: "申请单位", variable: "applyCompany", ele: "checkbox", data: [] },
|
|
113
|
+
{ name: "工程类型", variable: "engineeringType", ele: "checkbox", data: engineeringTypes },
|
|
114
|
+
// { name: "资金来源", variable: "fundSource", ele: "checkbox", data: capitalSourceList },
|
|
115
|
+
{ name: "项目造价", variable: "projectPrice", ele: "input" },
|
|
116
|
+
{
|
|
117
|
+
name: "经营类型", variable: "businessType", ele: "checkbox", data: [
|
|
118
|
+
{ name: "合作管理", no: "合作管理" },
|
|
119
|
+
{ name: "组织经营", no: "组织经营" }
|
|
120
|
+
]
|
|
121
|
+
}
|
|
122
|
+
]
|
|
123
|
+
// 申请单位
|
|
124
|
+
const res = await getApplyCompanyList();
|
|
125
|
+
projectAddApply[0].data = [...res.data.data];
|
|
126
|
+
// 工程类型
|
|
127
|
+
// const { data } = await req.get("/sysTeamCategory/findCategoryListTree");
|
|
128
|
+
// projectAddApply[1].data = data.data;
|
|
129
|
+
return projectAddApply
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
const engineeringTypes = [
|
|
133
|
+
{ name: "房建工程", no: "房建工程" },
|
|
134
|
+
{ name: "水利工程", no: "水利工程" },
|
|
135
|
+
{ name: "市政工程", no: "市政工程" },
|
|
136
|
+
{ name: "冶炼工程", no: "冶炼工程" },
|
|
137
|
+
{ name: "矿山工程", no: "矿山工程" },
|
|
138
|
+
{ name: "化工石油工程", no: "化工石油工程" },
|
|
139
|
+
{ name: "电力工程", no: "电力工程" },
|
|
140
|
+
{ name: "农林工程", no: "农林工程" },
|
|
141
|
+
{ name: "铁路工程", no: "铁路工程" },
|
|
142
|
+
{ name: "公路工程", no: "公路工程" },
|
|
143
|
+
{ name: "港口与航道工程", no: "港口与航道工程" },
|
|
144
|
+
{ name: "航天航空工程", no: "航天航空工程" },
|
|
145
|
+
{ name: "通信工程", no: "通信工程" },
|
|
146
|
+
{ name: "机电安装工程", no: "机电安装工程" }
|
|
147
|
+
]
|
|
148
|
+
const capitalSourceList = [
|
|
149
|
+
{
|
|
150
|
+
name: "国拨资金",
|
|
151
|
+
no: "国拨资金"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
name: "业主自筹资金",
|
|
155
|
+
no: "业主自筹资金"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
name: "国拨和自筹资金",
|
|
159
|
+
no: "国拨和自筹资金"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
name: "专项资金",
|
|
163
|
+
no: "专项资金"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: "市场回款",
|
|
167
|
+
no: "市场回款"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
name: "银行融资",
|
|
171
|
+
no: "银行融资"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
name: "援疆资金",
|
|
175
|
+
no: "援疆资金"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
name: "全额中央预算内资金",
|
|
179
|
+
no: "全额中央预算内资金"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
name: "扶贫资金",
|
|
183
|
+
no: "扶贫资金"
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
name: "政府发债资金",
|
|
187
|
+
no: "政府发债资金"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
name: "财政资金",
|
|
191
|
+
no: "财政资金"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
name: "中央内资金",
|
|
195
|
+
no: "中央内资金"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "其他",
|
|
199
|
+
no: "其他"
|
|
200
|
+
}
|
|
201
|
+
]
|
|
202
|
+
// 印章申请
|
|
203
|
+
export const sealApproval = async() => { // ok
|
|
204
|
+
const changeFuc = async function(val, _this) {
|
|
205
|
+
const arr = []
|
|
206
|
+
if (val.length > 0) {
|
|
207
|
+
val.forEach(async i => {
|
|
208
|
+
const res = await apiSystem.deplist(i);
|
|
209
|
+
if (res.data.code == 200) {
|
|
210
|
+
const dep = formatData(res.data.data, "name", "id")
|
|
211
|
+
arr.push(...dep);
|
|
212
|
+
}
|
|
213
|
+
})
|
|
214
|
+
}
|
|
215
|
+
seal[1].data = arr
|
|
216
|
+
if (_this) {
|
|
217
|
+
_this.form.departmentNo.value = _this.form.departmentNo.value.filter(item => {
|
|
218
|
+
const node = arr.filter(i => { i.no == item })
|
|
219
|
+
return node.length > 0
|
|
220
|
+
})
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
// changeFuc: changeFuc
|
|
224
|
+
const seal = [
|
|
225
|
+
{ name: "申请人", variable: "proposer", ele: "spoSxy" }
|
|
226
|
+
|
|
227
|
+
]
|
|
228
|
+
// const {
|
|
229
|
+
// data: { data }
|
|
230
|
+
// } = await getSealList();
|
|
231
|
+
// seal[1].data = data;
|
|
232
|
+
|
|
233
|
+
// const res = await apiSystem.companylist(data);
|
|
234
|
+
// console.log(res);
|
|
235
|
+
// res.data.data = res.data.data.map(item => {
|
|
236
|
+
// return { name: item.name, no: item.id }
|
|
237
|
+
// })
|
|
238
|
+
// seal[0].data = res.data.data;
|
|
239
|
+
|
|
240
|
+
// let departmentCompanyNo = that.form.departmentCompanyNo ? that.form.departmentCompanyNo.value : []
|
|
241
|
+
// if(departmentCompanyNo.length && departmentCompanyNo.length > 0){
|
|
242
|
+
// changeFuc(departmentCompanyNo)
|
|
243
|
+
// }
|
|
244
|
+
return seal
|
|
245
|
+
}
|
|
246
|
+
function formatData(data, name, no) {
|
|
247
|
+
const arr = []
|
|
248
|
+
data.forEach(item => {
|
|
249
|
+
arr.push({ name: item[name], no: item[no] })
|
|
250
|
+
if (item.children) {
|
|
251
|
+
const cotact = formatData(item.children, name, no)
|
|
252
|
+
arr.push(...cotact)
|
|
253
|
+
}
|
|
254
|
+
})
|
|
255
|
+
console.log(arr)
|
|
256
|
+
return arr
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
// 用车申请
|
|
260
|
+
export const carApproval = async() => {
|
|
261
|
+
return [{ name: "申请人", variable: "proposer", ele: "spoSxy" }]
|
|
262
|
+
}
|
|
263
|
+
// 转正
|
|
264
|
+
export const employeeRegularization = async() => {
|
|
265
|
+
const pageSxy = {
|
|
266
|
+
pageNum: 1,
|
|
267
|
+
pageSize: 20
|
|
268
|
+
}
|
|
269
|
+
const empzation = [
|
|
270
|
+
// { name: "转正申请人", variable: "userId1", ele: "spoSxy" },
|
|
271
|
+
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }] // ok
|
|
272
|
+
// console.log(empzatsd);
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
const res = await apiment.getPosition(pageSxy)
|
|
276
|
+
if (res.data.code == "200") {
|
|
277
|
+
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
278
|
+
}
|
|
279
|
+
return empzation
|
|
280
|
+
|
|
281
|
+
}
|
|
282
|
+
// 调岗
|
|
283
|
+
export const employeeChangestation = async() => { // ok
|
|
284
|
+
// return [{ name: "调岗申请人", variable: "userId1", ele: "spoSxy" }]
|
|
285
|
+
|
|
286
|
+
const pageSxy = {
|
|
287
|
+
pageNum: 1,
|
|
288
|
+
pageSize: 20
|
|
289
|
+
}
|
|
290
|
+
const empzation = [
|
|
291
|
+
// { name: "调岗申请人", variable: "userId1", ele: "spoSxy" },
|
|
292
|
+
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] },
|
|
293
|
+
{
|
|
294
|
+
name: "是否调薪", variable: "isAdjustedSalary", ele: "radio", data: [{ value: "1", name: "是" },
|
|
295
|
+
{ value: "0", name: "否" }]
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
const res = await apiment.getPosition(pageSxy)
|
|
299
|
+
if (res.data.code == "200") {
|
|
300
|
+
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
301
|
+
}
|
|
302
|
+
return empzation
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
// 公告管理
|
|
306
|
+
export const notice = async() => {
|
|
307
|
+
const noticeObject = [
|
|
308
|
+
{
|
|
309
|
+
name: "公告类型",
|
|
310
|
+
variable: "noticeType",
|
|
311
|
+
ele: "checkbox",
|
|
312
|
+
data: []
|
|
313
|
+
}
|
|
314
|
+
]
|
|
315
|
+
|
|
316
|
+
const res = await apiNotice.GetNoticeType()
|
|
317
|
+
|
|
318
|
+
if (res.data.code == 200) {
|
|
319
|
+
noticeObject[0].data = res.data.data.map(item => ({ no: item.key, name: item.value }))
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
return noticeObject
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
// 公文管理
|
|
326
|
+
export const officialDocument = async() => {
|
|
327
|
+
debugger
|
|
328
|
+
const documentObject = [
|
|
329
|
+
{
|
|
330
|
+
name: "公文类型",
|
|
331
|
+
variable: "documentType",
|
|
332
|
+
ele: "checkbox",
|
|
333
|
+
data: []
|
|
334
|
+
}
|
|
335
|
+
]
|
|
336
|
+
|
|
337
|
+
const res = await apiNotice.GetDocumentType()
|
|
338
|
+
if (res.data.code == 200) {
|
|
339
|
+
|
|
340
|
+
documentObject[0].data = res.data.data.map(item => ({ no: item.key, name: item.value }))
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
return documentObject
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
// 调薪
|
|
348
|
+
export const employeeChangesalary = async() => {
|
|
349
|
+
// return [{ name: "调薪申请人", variable: "userId1", ele: "spoSxy" }]
|
|
350
|
+
|
|
351
|
+
const pageSxy = {
|
|
352
|
+
pageNum: 1,
|
|
353
|
+
pageSize: 20
|
|
354
|
+
}
|
|
355
|
+
const empzation = [
|
|
356
|
+
// { name: "调薪申请人", variable: "userId1", ele: "spoSxy" },
|
|
357
|
+
{ name: "调入职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
358
|
+
const res = await apiment.getPosition(pageSxy)
|
|
359
|
+
if (res.data.code == "200") {
|
|
360
|
+
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
361
|
+
}
|
|
362
|
+
return empzation
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
}
|
|
366
|
+
// 员工荣誉
|
|
367
|
+
export const employeeHonor = async() => {
|
|
368
|
+
// return [{ name: "荣誉获奖人", variable: "userId1", ele: "spoSxy" }]
|
|
369
|
+
}
|
|
370
|
+
// 离职
|
|
371
|
+
export const employeeTurnover = async() => {
|
|
372
|
+
// return [{ name: "离职申请人", variable: "userId1", ele: "spoSxy" }]
|
|
373
|
+
const pageSxy = {
|
|
374
|
+
pageNum: 1,
|
|
375
|
+
pageSize: 20
|
|
376
|
+
}
|
|
377
|
+
const empzation = [
|
|
378
|
+
// { name: "离职申请人", variable: "handler", ele: "spoSxy" },
|
|
379
|
+
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
|
|
383
|
+
const res = await apiment.getPosition(pageSxy)
|
|
384
|
+
if (res.data.code == "200") {
|
|
385
|
+
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
386
|
+
}
|
|
387
|
+
return empzation
|
|
388
|
+
}
|
|
389
|
+
// 离职交接
|
|
390
|
+
export const employeeturnoverhandover = async() => {
|
|
391
|
+
// return [{ name: "交接人", variable: "userId1", ele: "spoSxy" }]
|
|
392
|
+
const pageSxy = {
|
|
393
|
+
pageNum: 1,
|
|
394
|
+
pageSize: 20
|
|
395
|
+
}
|
|
396
|
+
const empzation = [
|
|
397
|
+
// { name: "交接人", variable: "userId1", ele: "spoSxy" },
|
|
398
|
+
{ name: "职位", variable: "departmentRank", ele: "checkbox", data: [] }]
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
const res = await apiment.getPosition(pageSxy)
|
|
403
|
+
if (res.data.code == "200") {
|
|
404
|
+
empzation[0].data = res.data.data.content.map(item => ({ no: item.id, name: item.rankName }))
|
|
405
|
+
}
|
|
406
|
+
return empzation
|
|
407
|
+
}
|
|
408
|
+
// 借款
|
|
409
|
+
export const lan = async() => {
|
|
410
|
+
return [
|
|
411
|
+
{ name: "借款金额", variable: "loanAmount", ele: "input" }
|
|
412
|
+
]
|
|
413
|
+
}
|
|
414
|
+
// 外出申请
|
|
415
|
+
export const out = async() => {
|
|
416
|
+
return []
|
|
417
|
+
}
|
|
418
|
+
// 出差申请
|
|
419
|
+
export const evection = async() => {
|
|
420
|
+
return []
|
|
421
|
+
}
|
|
422
|
+
// 补卡申请
|
|
423
|
+
export const reissueCard = async() => {
|
|
424
|
+
return []
|
|
425
|
+
}
|
|
426
|
+
// 借款申请
|
|
427
|
+
export const loan = async() => {
|
|
428
|
+
return []
|
|
429
|
+
}
|
|
430
|
+
// 任务申请
|
|
431
|
+
export const task = async() => {
|
|
432
|
+
return []
|
|
433
|
+
}
|
|
434
|
+
// 预算编制
|
|
435
|
+
export const budgeting = async() => {
|
|
436
|
+
return []
|
|
437
|
+
}
|
|
438
|
+
// 费用预算
|
|
439
|
+
export const costBudget = async() => {
|
|
440
|
+
return []
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
// 邀请报价
|
|
444
|
+
export const InvitationToOffer = async() => {
|
|
445
|
+
return []
|
|
446
|
+
}
|
|
447
|
+
// 经营设计
|
|
448
|
+
export const businessDesign = async() => {
|
|
449
|
+
return []
|
|
450
|
+
}
|
|
451
|
+
// 采购申请
|
|
452
|
+
export const purchaseApplication = async() => {
|
|
453
|
+
return []
|
|
454
|
+
}
|
|
455
|
+
// 分包
|
|
456
|
+
export const subcontract = async() => {
|
|
457
|
+
return []
|
|
458
|
+
}
|
|
459
|
+
// 租赁申请
|
|
460
|
+
export const lease = async() => {
|
|
461
|
+
return []
|
|
462
|
+
}
|
|
463
|
+
// 工区划分
|
|
464
|
+
export const workarea = async() => {
|
|
465
|
+
return []
|
|
466
|
+
}
|
|
467
|
+
// 材料验收
|
|
468
|
+
export const acceptMaterial = async() => {
|
|
469
|
+
return []
|
|
470
|
+
}
|
|
471
|
+
// 租赁验收
|
|
472
|
+
export const rentAccept = async() => {
|
|
473
|
+
return []
|
|
474
|
+
}
|
|
475
|
+
// 分包量验收
|
|
476
|
+
export const quantityAccpet = async() => {
|
|
477
|
+
return []
|
|
478
|
+
}
|
|
479
|
+
// 采购验收
|
|
480
|
+
export const purchaseAccept = async() => {
|
|
481
|
+
return []
|
|
482
|
+
}
|
|
483
|
+
// 应付挂账
|
|
484
|
+
export const payable = async() => {
|
|
485
|
+
return []
|
|
486
|
+
}
|
|
487
|
+
// 招标发布
|
|
488
|
+
export const issueTender = async() => {
|
|
489
|
+
const issueTenderApply = [
|
|
490
|
+
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
491
|
+
{ name: "招标方式", variable: "biddingMethod", ele: "checkbox", data: [] },
|
|
492
|
+
{ name: "报名方式", variable: "verticalTypeValue", ele: "checkbox", data: [] },
|
|
493
|
+
{ name: "招标规则", variable: "tenderingRuleType", ele: "checkbox", data: [] },
|
|
494
|
+
{ name: "概算金额", variable: "money", ele: "input" }
|
|
495
|
+
]
|
|
496
|
+
const res = await apiTender.findTenderType();
|
|
497
|
+
issueTenderApply[0].data = res.data.result;
|
|
498
|
+
const res1 = await apiTender.getTenderMethod()
|
|
499
|
+
issueTenderApply[1].data = res1.data.result;
|
|
500
|
+
const res2 = await apiTender.getVerticalWay()
|
|
501
|
+
issueTenderApply[2].data = res2.data.result;
|
|
502
|
+
const res3 = await apiTender.getRuleSetUp()
|
|
503
|
+
issueTenderApply[3].data = res3.data.result;
|
|
504
|
+
return issueTenderApply
|
|
505
|
+
}
|
|
506
|
+
// 招标定标
|
|
507
|
+
export const tenderBid = async() => {
|
|
508
|
+
const tenderBidApply = [
|
|
509
|
+
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
510
|
+
{
|
|
511
|
+
name: "中标单位是否为第一名", variable: "isFirst", ele: "radio", data: [{ value: "1", name: "是" }, { value: "0", name: "否" }]
|
|
512
|
+
},
|
|
513
|
+
{ name: "中标总价", variable: "money", ele: "input" },
|
|
514
|
+
{ name: "投标家数", variable: "bidNum", ele: "input" }
|
|
515
|
+
]
|
|
516
|
+
const res = await apiTender.findTenderType();
|
|
517
|
+
tenderBidApply[0].data = res.data.result;
|
|
518
|
+
return tenderBidApply
|
|
519
|
+
}
|
|
520
|
+
// 招标废标
|
|
521
|
+
export const abandonedBid = async() => {
|
|
522
|
+
const abandonedBidApply = [
|
|
523
|
+
{ name: "招标类型", variable: "type", ele: "checkbox", data: [] },
|
|
524
|
+
{ name: "招标状态", variable: "state", ele: "checkbox", data: [] }
|
|
525
|
+
]
|
|
526
|
+
const res = await apiTender.findTenderType();
|
|
527
|
+
abandonedBidApply[0].data = res.data.result;
|
|
528
|
+
const res1 = await apiTender.getTenderStatus();
|
|
529
|
+
abandonedBidApply[1].data = res1.data.result;
|
|
530
|
+
return abandonedBidApply
|
|
531
|
+
}
|
|
532
|
+
// 招标补遗
|
|
533
|
+
export const addendum = async() => {
|
|
534
|
+
const addendumApply = [
|
|
535
|
+
{ name: "招标类型", variable: "tenderingType", ele: "checkbox", data: [] },
|
|
536
|
+
{ name: "招标状态", variable: "tenderingState", ele: "checkbox" }
|
|
537
|
+
]
|
|
538
|
+
const res = await apiTender.findTenderType();
|
|
539
|
+
addendumApply[0].data = res.data.result;
|
|
540
|
+
const res1 = await apiTender.getTenderStatus();
|
|
541
|
+
addendumApply[1].data = res1.data.result;
|
|
542
|
+
return addendumApply
|
|
543
|
+
}
|
|
544
|
+
// 竞价发布
|
|
545
|
+
export const issueBiding = async() => {
|
|
546
|
+
const issueBidingApply = [
|
|
547
|
+
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] },
|
|
548
|
+
{ name: "竞价规则", variable: "ruleSetUp", ele: "checkbox", data: [] },
|
|
549
|
+
{ name: "概算金额", variable: "budgetPrice", ele: "input" }
|
|
550
|
+
]
|
|
551
|
+
const res = await apiTender.getBidTypeNo();
|
|
552
|
+
issueBidingApply[0].data = res.data.result;
|
|
553
|
+
const res1 = await apiTender.getBidRuleSetUp();
|
|
554
|
+
issueBidingApply[1].data = res1.data.result;
|
|
555
|
+
return issueBidingApply
|
|
556
|
+
}
|
|
557
|
+
// 竞价定标
|
|
558
|
+
export const zcBidDetermine = async() => {
|
|
559
|
+
const zcBidDetermineApply = [
|
|
560
|
+
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] },
|
|
561
|
+
{
|
|
562
|
+
name: "中标单位是否为第一名", variable: "isFirst", ele: "radio", data: [{ value: "1", name: "是" }, { value: "0", name: "否" }]
|
|
563
|
+
},
|
|
564
|
+
{ name: "中标总价", variable: "money", ele: "input" },
|
|
565
|
+
{ name: "竞价家数", variable: "bidNum", ele: "input" }
|
|
566
|
+
]
|
|
567
|
+
const res = await apiTender.getBidTypeNo();
|
|
568
|
+
zcBidDetermineApply[0].data = res.data.result;
|
|
569
|
+
return zcBidDetermineApply
|
|
570
|
+
}
|
|
571
|
+
// 竞价废标
|
|
572
|
+
export const zcBidCancel = async() => {
|
|
573
|
+
const zcBidCancelApply = [
|
|
574
|
+
{ name: "竞价类型", variable: "type", ele: "checkbox", data: [] }
|
|
575
|
+
]
|
|
576
|
+
const res = await apiTender.getBidTypeNo();
|
|
577
|
+
zcBidCancelApply[0].data = res.data.result;
|
|
578
|
+
return zcBidCancelApply
|
|
579
|
+
}
|
|
580
|
+
// 竞价补遗
|
|
581
|
+
export const zcBidAddendum = async() => {
|
|
582
|
+
const zcBidAddendumApply = [
|
|
583
|
+
{ name: "竞价类型", variable: "bidType", ele: "checkbox", data: [] }
|
|
584
|
+
]
|
|
585
|
+
const res = await apiTender.getBidTypeNo();
|
|
586
|
+
zcBidAddendumApply[0].data = res.data.result;
|
|
587
|
+
return zcBidAddendumApply
|
|
588
|
+
}
|