| | |
| | | params: API.APIgetEnterpriseInsuranceProductSelectParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.SelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption[]>( |
| | | return request<API.SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption[]>( |
| | | '/api/flexjob/enterpriseInsuranceProduct/getEnterpriseInsuranceProductSelect', |
| | | { |
| | | method: 'GET', |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: SelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionGuidGetEnterpriseWalletAccessSelectQueryOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | | /** 状态码 */ |
| | | code?: number; |
| | | /** 错误码 */ |
| | | errorCode?: string; |
| | | /** 数据 */ |
| | | data?: SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption[]; |
| | | /** 执行成功 */ |
| | | success?: boolean; |
| | | /** 错误信息 */ |
| | | msg?: any; |
| | | /** 附加数据 */ |
| | | extras?: any; |
| | | /** 时间戳 */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListSelectOptionStringGetDictionaryDataSelectQueryResultOption { |
| | | /** 跟踪Id */ |
| | | traceId?: string; |
| | |
| | | code?: string; |
| | | /** 任务名称 */ |
| | | taskName?: string; |
| | | /** 任务单号 */ |
| | | taskCode?: string; |
| | | /** 企业名称 */ |
| | | enterpriseName?: string; |
| | | /** 结算日期 */ |
| | |
| | | /** 供应商Id */ |
| | | supplierEnterpriseId?: string; |
| | | supplierEnterprise?: GetSupplierEnterpriseSelectQueryOptionEnterprise; |
| | | /** 是否已配置保险 */ |
| | | isConfiguredInsurance?: boolean; |
| | | } |
| | | |
| | | interface GetSupplierEnterpriseSelectQueryOptionEnterprise { |
| | |
| | | timeoutServiceFee?: number; |
| | | /** 总件数 */ |
| | | totalPieceQuantity?: number; |
| | | /** 保险产品Id */ |
| | | insuranceProductId?: string; |
| | | /** 保险产品名称 */ |
| | | insuranceProductName?: string; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** 结算日期 */ |
| | | settlementDate?: number; |
| | |
| | | data?: GetEnterpriseContractTemplateSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionGuidGetEnterpriseInsuranceProductSelectQueryOption { |
| | | /** 值 */ |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | data?: GetEnterpriseInsuranceProductSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionGuidGetEnterpriseWalletAccessSelectQueryOption { |
| | | /** 值 */ |
| | | value?: string; |
| | |
| | | data?: GetTaskSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionNullableGuidGetEnterpriseInsuranceProductSelectQueryOption { |
| | | /** 值 */ |
| | | value?: string; |
| | | /** 标签 */ |
| | | label?: string; |
| | | data?: GetEnterpriseInsuranceProductSelectQueryOption; |
| | | } |
| | | |
| | | interface SelectOptionStringGetDictionaryDataSelectQueryResultOption { |
| | | /** 值 */ |
| | | value?: string; |
| | |
| | | let params: API.SaveMenuCommand = { |
| | | userType: state.userType, |
| | | clientType: state.clientType, |
| | | enterpriseType: state.enterpriseType, |
| | | // enterpriseType: state.enterpriseType, |
| | | code: editForm.enCode, |
| | | name: editForm.name, |
| | | type: editForm.isMenu ? EnumMenuType.Menu : EnumMenuType.Page, |
| | |
| | | isDisabled: !editForm.enabledMark, |
| | | sort: editForm.sortCode, |
| | | }; |
| | | if (state.userType === EnumUserType.Enterprise) { |
| | | params.enterpriseType = state.enterpriseType; |
| | | } |
| | | if (editForm.showCacheSelect) { |
| | | params.isCache = editForm.isCache; |
| | | } |
| | |
| | | group.fields = columnModuleList.map((c) => ({ |
| | | code: c.enCode, |
| | | name: c.name, |
| | | width: c.width.toString(), |
| | | width: c.width ? c.width.toString() : '', |
| | | sort: c.sortCode, |
| | | id: c.id, |
| | | })); |
| | | } |
| | | return group; |
| | |
| | | fields: columnModuleList.map((c) => ({ |
| | | code: c.enCode, |
| | | name: c.name, |
| | | width: c.width.toString(), |
| | | width: c.width ? c.width.toString() : '', |
| | | sort: c.sortCode, |
| | | id: c.id, |
| | | })), |
| | | }; |
| | | groups.push(group); |
| | |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <template v-if="form.billingMethod === EnumBillingMethod.Hour"> |
| | | <template v-if="form.billingMethod === EnumBillingMethod.Day"> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="12"> |
| | | <ProFormItemV2 label="核定工时:" prop="verifyWorkHours"> |