| | |
| | | "EnumUserGender": true, |
| | | "EnumUserStatus": true, |
| | | "EnumUserType": true, |
| | | "useAccessAuthentication": true |
| | | "useAccessAuthentication": true, |
| | | "DirectiveBinding": true, |
| | | "MaybeRef": true, |
| | | "MaybeRefOrGetter": true |
| | | } |
| | | } |
| | |
| | | |
| | | |
| | | # [1.1.0](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/bMiniApp/v1.0.2...@12333/bMiniApp/v1.1.0) (2025-09-19) |
| | | |
| | | |
| | | ### Bug Fixes |
| | | |
| | | * bug ([529a0c5](http://120.26.58.240:8888/r/flexJobMiniApp/commits/529a0c5719676ec30845c3b4cb678bd3783894ad)) |
| | | * bug ([3eb66eb](http://120.26.58.240:8888/r/flexJobMiniApp/commits/3eb66eb40eac74b6cd95a6b0837d483c419ce291)) |
| | | * bug ([612ba43](http://120.26.58.240:8888/r/flexJobMiniApp/commits/612ba4346dc682dd1ed37a6df29e838f5c45eeb3)) |
| | | * bug ([4250455](http://120.26.58.240:8888/r/flexJobMiniApp/commits/425045571acc4b02005c790f0dc7dabba593f95a)) |
| | | * bug ([162803b](http://120.26.58.240:8888/r/flexJobMiniApp/commits/162803b10e1f99268533e40814380100c040e274)) |
| | | * bug ([2b4d427](http://120.26.58.240:8888/r/flexJobMiniApp/commits/2b4d427d72810ef7cdca0fc6332fe13027e3b0db)) |
| | | * bug ([1f24f64](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1f24f64bf808b69904070520cb8864a5081846f8)) |
| | | * bug ([09aca51](http://120.26.58.240:8888/r/flexJobMiniApp/commits/09aca511eb72108a76babe2ded3a07c94a5a070a)) |
| | | * bug ([b08e197](http://120.26.58.240:8888/r/flexJobMiniApp/commits/b08e197461cdde89ee3dd1406afa8c5cdc0ecf26)) |
| | | * bug ([40480cf](http://120.26.58.240:8888/r/flexJobMiniApp/commits/40480cf0b88ea69aec616a4a4e678dad320f96d1)) |
| | | * bug ([8987ce5](http://120.26.58.240:8888/r/flexJobMiniApp/commits/8987ce5a9bde6403faa8162de5125aab08232422)) |
| | | * bug ([e3051e2](http://120.26.58.240:8888/r/flexJobMiniApp/commits/e3051e24d0c52ac4e29fbbc7062f97f9ebc5fa0d)) |
| | | * bug ([d69973b](http://120.26.58.240:8888/r/flexJobMiniApp/commits/d69973bf32d63a3638b799866426f817b0193e10)) |
| | | * bug ([f5b5e80](http://120.26.58.240:8888/r/flexJobMiniApp/commits/f5b5e80c6414c947fa62635818d0cbbce392296a)) |
| | | * bug ([1fe1a1c](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1fe1a1c9835b78052fac6f86d335190edb6d7bca)) |
| | | * bug ([4f52b02](http://120.26.58.240:8888/r/flexJobMiniApp/commits/4f52b02ee2db3a9a3b00411b2a1ebfc8eb8c5a7c)) |
| | | * bug ([ce7e3bd](http://120.26.58.240:8888/r/flexJobMiniApp/commits/ce7e3bd6370ee104deef0cb693615d8637e98a35)) |
| | | * nutui-taro radio ([e84fe84](http://120.26.58.240:8888/r/flexJobMiniApp/commits/e84fe84688a2e962c5435296029f96d8d4f69cae)) |
| | | * nutui-taro radio ([f308f68](http://120.26.58.240:8888/r/flexJobMiniApp/commits/f308f6859153b14e2582141d120e178dac85a71e)) |
| | | * s ([1af9193](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1af91934801d9143cecb1fd90a7c1be17ce5bf52)) |
| | | |
| | | |
| | | ### Features |
| | | |
| | | * è´¢å¡ç®¡ç ([7e8d737](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7e8d737c550cbcbe45fe88ccf95e0ef646a2fd73)) |
| | | * æ¥å£å¯¹æ¥ ([21f0c67](http://120.26.58.240:8888/r/flexJobMiniApp/commits/21f0c67e85bfd0e24a944fa52c65331c9599e1ad)) |
| | | * æ¥å£å¯¹æ¥ ([00a3e81](http://120.26.58.240:8888/r/flexJobMiniApp/commits/00a3e8142bf114c77909c36d556808aef2c8dbf4)) |
| | | * æ¥å£å¯¹æ¥ ([9f10304](http://120.26.58.240:8888/r/flexJobMiniApp/commits/9f10304a16a97df2d684e18c619df43981b91026)) |
| | | * æ¥å£å¯¹æ¥ ([a8c0f3a](http://120.26.58.240:8888/r/flexJobMiniApp/commits/a8c0f3a72c24c756bc2c7493144bce717dc13ff4)) |
| | | * é¡µé¢ ([4abed72](http://120.26.58.240:8888/r/flexJobMiniApp/commits/4abed72d97b7953326cf48d45c4d3a53058df599)) |
| | | * é¡µé¢ ([9c8b6d1](http://120.26.58.240:8888/r/flexJobMiniApp/commits/9c8b6d1cf6b43c6652b5183cd0183e8e257001f7)) |
| | | |
| | | ## [1.0.2](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/bMiniApp/v1.0.1...@12333/bMiniApp/v1.0.2) (2025-09-12) |
| | | |
| | | |
| | |
| | | // for type re-export |
| | | declare global { |
| | | // @ts-ignore |
| | | export type { Component, ComponentPublicInstance, ComputedRef, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, VNode, WritableComputedRef } from 'vue' |
| | | export type { Component, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue' |
| | | import('vue') |
| | | // @ts-ignore |
| | | export type { BackType, BackType } from './src/constants/enum' |
| | |
| | | { |
| | | "name": "@12333/bMiniApp", |
| | | "version": "1.0.2", |
| | | "version": "1.1.0", |
| | | "private": true, |
| | | "description": "", |
| | | "templateInfo": { |
| | |
| | | "description": "", |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": false, |
| | | "enhance": false, |
| | | "es6": true, |
| | | "enhance": true, |
| | | "postcss": false, |
| | | "preloadBackgroundData": false, |
| | | "minified": false, |
| | |
| | | <template> |
| | | <ProTabs |
| | | v-model="queryState.userSignContractStatus" |
| | | v-model="queryState.signContractStatus" |
| | | name="home-tab" |
| | | :showPaneContent="false" |
| | | class="home-tabs" |
| | |
| | | title-gutter="12" |
| | | title-scroll |
| | | > |
| | | <ProTabPane :title="`å·²ç¾çº¦`" :pane-key="EnumTaskUserSignContractStatus.Pass"></ProTabPane> |
| | | <ProTabPane :title="`å¾
ç¾çº¦`" :pane-key="EnumTaskUserSignContractStatus.Wait"></ProTabPane> |
| | | <ProTabPane :title="`已解约`" :pane-key="EnumTaskUserSignContractStatus.Stop"></ProTabPane> |
| | | <ProTabPane |
| | | :title="`çµå·¥å¾
ç¾çº¦`" |
| | | :pane-key="EnumGetEnterpriseEmployeesQuerySignContractStatus.UserWait" |
| | | ></ProTabPane> |
| | | <ProTabPane |
| | | :title="`ä¼ä¸å¾
ç¾çº¦`" |
| | | :pane-key="EnumGetEnterpriseEmployeesQuerySignContractStatus.EnterpriseWait" |
| | | ></ProTabPane> |
| | | <ProTabPane |
| | | :title="`å·²ç¾çº¦`" |
| | | :pane-key="EnumGetEnterpriseEmployeesQuerySignContractStatus.Pass" |
| | | ></ProTabPane> |
| | | <!-- <ProTabPane :title="`已解约`" :pane-key="EnumTaskUserSignContractStatus.Stop"></ProTabPane> --> |
| | | </ProTabs> |
| | | <InfiniteLoading |
| | | scrollViewClassName="common-infinite-scroll-list home-list" |
| | | v-bind="infiniteLoadingProps" |
| | | :key="queryState.userSignContractStatus" |
| | | :key="queryState.signContractStatus" |
| | | > |
| | | <template #renderItem="{ item }"> |
| | | <FlexJobCard |
| | |
| | | > |
| | | <template #footerRight> |
| | | <template |
| | | v-if="Number(queryState.userSignContractStatus) === EnumTaskUserSignContractStatus.Pass" |
| | | v-if="item.enterpriseSignContractStatus === EnumTaskUserSignContractStatus.Pass" |
| | | > |
| | | <nut-button |
| | | class="flexJobManage-card-plain-button" |
| | |
| | | <nut-button type="primary" @click.stop="checkContract(item)">æ¥çå约</nut-button> |
| | | </template> |
| | | <nut-button |
| | | v-else-if=" |
| | | Number(queryState.userSignContractStatus) === EnumTaskUserSignContractStatus.Wait || |
| | | Number(queryState.userSignContractStatus) === EnumTaskUserSignContractStatus.Stop |
| | | v-if=" |
| | | item.userSignContractStatus === EnumTaskUserSignContractStatus.Wait || |
| | | !item.userSignContractStatus |
| | | " |
| | | type="primary" |
| | | @click.stop="goFlexJobSign(item)" |
| | | >ç¾çº¦</nut-button |
| | | >é请ç¾çº¦</nut-button |
| | | > |
| | | <nut-button |
| | | v-if="item.enterpriseSignContractStatus === EnumTaskUserSignContractStatus.Wait" |
| | | type="primary" |
| | | @click.stop="goEnterpriseSign(item)" |
| | | >ä¼ä¸ç¾çº¦</nut-button |
| | | > |
| | | </template> |
| | | </FlexJobCard> |
| | |
| | | EnumTaskUserHireStatus, |
| | | EnumTaskUserSignContractStatus, |
| | | EnumPagedListOrder, |
| | | EnumGetEnterpriseEmployeesQuerySignContractStatus, |
| | | } from '@12333/constants'; |
| | | import * as enterpriseEmployeeServices from '@12333/services/apiV2/enterpriseEmployee'; |
| | | import Taro from '@tarojs/taro'; |
| | |
| | | }); |
| | | |
| | | const queryState = reactive({ |
| | | userSignContractStatus: EnumTaskUserSignContractStatus.Pass, |
| | | signContractStatus: EnumGetEnterpriseEmployeesQuerySignContractStatus.UserWait, |
| | | }); |
| | | |
| | | const { infiniteLoadingProps, invalidateQueries } = useInfiniteLoading( |
| | |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | }, |
| | | hireStatus: EnumTaskUserHireStatus.Pass, |
| | | userSignContractStatus: queryState.userSignContractStatus, |
| | | signContractStatus: queryState.signContractStatus, |
| | | }; |
| | | |
| | | return enterpriseEmployeeServices.getEnterpriseEmployees(params, { |
| | | showLoading: false, |
| | | }); |
| | |
| | | url: `${RouterPath.flexJobSign}?enterpriseEmployeeId=${item.id}`, |
| | | }); |
| | | } |
| | | |
| | | async function goEnterpriseSign(item: API.GetEnterpriseEmployeesQueryResultItem) { |
| | | try { |
| | | let res = await enterpriseEmployeeServices.enterpriseUserElectronSign({ id: item.id }); |
| | | if (res) { |
| | | const encodedUrl = encodeURIComponent(res.signContractLongUrl); |
| | | Taro.navigateTo({ url: `${RouterPath.extraPage}?url=${encodedUrl}` }); |
| | | } |
| | | } catch (error) {} |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { useInfiniteLoading } from '@12333/hooks'; |
| | | import { EnumPagedListOrder } from '@12333/constants'; |
| | | import { EnumContractTemplateStatus, EnumPagedListOrder } from '@12333/constants'; |
| | | import * as electronSignServices from '@12333/services/apiV2/electronSign'; |
| | | import * as enterpriseEmployeeServices from '@12333/services/apiV2/enterpriseEmployee'; |
| | | import _ from 'lodash'; |
| | |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | }, |
| | | keywords: queryState.keywords, |
| | | status: EnumContractTemplateStatus.Completed, |
| | | }; |
| | | |
| | | return electronSignServices.getEnterpriseContractTemplates(params, { |
| | |
| | | :addressName="item.addressName" |
| | | :serviceFee="item.serviceFee" |
| | | :userCount="item.userCount" |
| | | :status="item.status" |
| | | :unit="BillingMethodEnumUnit[item.billingMethod]" |
| | | :releaseStatus="item.releaseStatus" |
| | | @edit="goEdit(item)" |
| | |
| | | <template> |
| | | <List> |
| | | <IncomeDetailListItem :item="'æ¶å
¥:ï¿¥600.00'"> |
| | | <IncomeDetailListItem :item="`æ¯åºï¼ï¿¥${toThousand(sumWithdraw)} `"> |
| | | <template #title> |
| | | <div class="mineFinanceManage-detail-time-picker"> |
| | | <div class="income-detail-time-picker"> |
| | | <ChooseInputWithDatePicker |
| | | v-model="form.month" |
| | | v-model="queryState.month" |
| | | type="year-month" |
| | | :max-date="nowDate" |
| | | ></ChooseInputWithDatePicker> |
| | | format="YYYY-MM" |
| | | /> |
| | | <IconFont name="triangle-down" class="income-detail-time-picker-icon"></IconFont> |
| | | </div> |
| | | </template> |
| | | </IncomeDetailListItem> |
| | | <IncomeDetailListItem |
| | | :title="'æ¶å
¥-宿³¢äººåæ å¿§'" |
| | | :item="'2024.12.20 13:30:30'" |
| | | :value="'+300.00'" |
| | | > |
| | | </IncomeDetailListItem> |
| | | </List> |
| | | <InfiniteLoading |
| | | scrollViewClassName="common-infinite-scroll-list home-list" |
| | | v-bind="infiniteLoadingProps" |
| | | :key="queryState.type" |
| | | > |
| | | <template #renderItem="{ item }"> |
| | | <IncomeDetailListItem |
| | | :title="item.title" |
| | | :funds="item.amount" |
| | | :item="dayjs(item.createdTime).format('YYYY-MM-DD HH:mm:ss')" |
| | | :value="`é±å
ä½é¢ï¼${toThousand(item.balance)}`" |
| | | > |
| | | </IncomeDetailListItem> |
| | | </template> |
| | | </InfiniteLoading> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { List, IncomeDetailListItem, ChooseInputWithDatePicker } from '@12333/components'; |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | import Taro from '@tarojs/taro'; |
| | | import dayjs from 'dayjs'; |
| | | import { toThousand } from '@12333/utils'; |
| | | import * as userServices from '@12333/services/apiV2/user'; |
| | | import { useInfiniteLoading } from '@12333/hooks'; |
| | | import { EnumUserWalletTransactionType, EnumPagedListOrder } from '@12333/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'InnerPage', |
| | | }); |
| | | |
| | | const userStore = useUserStore(); |
| | | const nowDate = dayjs().toDate(); |
| | | const form = reactive({ |
| | | month: '2024-12', |
| | | |
| | | const queryState = reactive({ |
| | | month: dayjs().format('YYYY-MM'), |
| | | type: 0 as any as EnumUserWalletTransactionType, |
| | | }); |
| | | |
| | | const sumWithdraw = computed(() => { |
| | | return infiniteLoadingProps.value?.listData?.pages?.[0]?.objectData?.sumWithdraw ?? 0; |
| | | }); |
| | | |
| | | const { infiniteLoadingProps } = useInfiniteLoading( |
| | | ({ pageParam }) => { |
| | | let params: API.GetPersonalUserTransactionsQuery = { |
| | | pageModel: { |
| | | rows: 20, |
| | | page: pageParam, |
| | | orderInput: [{ property: 'id', order: EnumPagedListOrder.Desc }], |
| | | }, |
| | | type: EnumUserWalletTransactionType.Withdraw, |
| | | }; |
| | | // if (Number(queryState.type)) { |
| | | // params.type = queryState.type; |
| | | // } |
| | | if (queryState.month) { |
| | | params.createdTimeStart = dayjs(queryState.month).startOf('month').format('YYYY-MM-DD'); |
| | | params.createdTimeEnd = dayjs(queryState.month).endOf('month').format('YYYY-MM-DD'); |
| | | } |
| | | return userServices.getPersonalUserTransactions(params, { |
| | | showLoading: false, |
| | | }); |
| | | }, |
| | | { |
| | | queryKey: ['userServices/getPersonalUserTransactions', queryState], |
| | | } |
| | | ); |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | | @import '@/styles/common.scss'; |
| | | |
| | | .mineFinanceManage-page-wrapper { |
| | | .mineFinanceManage-detail-time-picker { |
| | | .income-detail-time-picker { |
| | | position: relative; |
| | | |
| | | .nut-input { |
| | | border-bottom: none; |
| | | padding: 0; |
| | | width: 100%; |
| | | |
| | | .input-text { |
| | | font-size: 20px; |
| | |
| | | display: none; |
| | | } |
| | | } |
| | | |
| | | .income-detail-time-picker-icon { |
| | | position: absolute; |
| | | top: 12px; |
| | | left: 220px; |
| | | } |
| | | } |
| | | |
| | | .common-infinite-scroll-list { |
| | | background-color: #ffffff; |
| | | } |
| | | |
| | | .pro-list { |
| | | background: transparent; |
| | | } |
| | | |
| | | .nut-input { |
| | | background: transparent; |
| | | } |
| | | } |
| | | </style> |
| | |
| | | <template> |
| | | <PageLayout class="mineFinanceManage-page-wrapper" :title="'è´¢å¡ç®¡ç'" developing> |
| | | <PageLayout class="mineFinanceManage-page-wrapper" :title="'è´¢å¡ç®¡ç'"> |
| | | <InnerPage></InnerPage> |
| | | </PageLayout> |
| | | </template> |
| | |
| | | class="nut-input-text bole-input-text" |
| | | placeholder="请è¾å
¥æå¡è´¹" |
| | | :min="0" |
| | | :max="999999999999" |
| | | :precision="2" |
| | | type="text" |
| | | /> |
| | | <div class="form-input-unit">{{ BillingMethodEnumUnit[form.billingMethod] }}</div> |
| | | </div> |
| | |
| | | required |
| | | label-width="90px" |
| | | > |
| | | <nut-radio-group v-model="form.settlementCycle" direction="horizontal"> |
| | | <nut-radio-group |
| | | v-model="form.settlementCycle" |
| | | direction="horizontal" |
| | | @change="settleTypeChange" |
| | | > |
| | | <BlRadio :label="Number(key)" v-for="(val, key) in EnumSettlementCycleText" :key="key">{{ |
| | | val |
| | | }}</BlRadio> |
| | | </nut-radio-group> |
| | | </nut-form-item> |
| | | <nut-form-item |
| | | label="ç»ç®æ¥æ:" |
| | | class="bole-form-item" |
| | | prop="settlementDate" |
| | | label-width="90px" |
| | | required |
| | | v-if="form.settlementCycle !== EnumSettlementCycle.Day" |
| | | > |
| | | <ChooseInputWithPicker |
| | | v-model="form.settlementDate" |
| | | placeholder="请设置ç»ç®æ¥æ" |
| | | :value-enum="settlementDateList" |
| | | /> |
| | | </nut-form-item> |
| | | <nut-form-item label="ç¦å©:" class="bole-form-item" prop="benefits" label-width="90px"> |
| | | <ChooseInputWithCheckbox |
| | | v-model="form.benefits" |
| | |
| | | v-model.trim="form.ageMinLimit" |
| | | class="nut-input-text bole-input-text" |
| | | placeholder="è¯·éæ©å¹´é¾èå´" |
| | | :min="1" |
| | | :min="16" |
| | | /> |
| | | <div class="form-input-separator">è³</div> |
| | | <NumberInput |
| | | v-model.trim="form.ageMaxLimit" |
| | | class="nut-input-text bole-input-text" |
| | | placeholder="è¯·éæ©å¹´é¾èå´" |
| | | :min="1" |
| | | :min="16" |
| | | /> |
| | | </div> |
| | | </nut-form-item> |
| | |
| | | placeholder="è¯·éæ©èµæ ¼è¯ä¹¦" |
| | | /> |
| | | </nut-form-item> |
| | | <nut-form-item label="ä»»å¡å°ç¹" class="bole-form-item" prop="weMapInfo" required> |
| | | <ChooseLocationInput placeholder="è¯·éæ©ä»»å¡å°ç¹" v-model="form.weMapInfo" /> |
| | | <!-- <ChooseInputWithAreaPicker |
| | | :columns="areaTreeList" |
| | | v-model="form.areaList" |
| | | placeholder="è¯·éæ©æå¨å°åº" |
| | | ></ChooseInputWithAreaPicker> --> |
| | | <nut-form-item |
| | | label="ä»»å¡å°ç¹" |
| | | label-width="90px" |
| | | class="bole-form-item" |
| | | prop="weMapInfo" |
| | | required |
| | | > |
| | | <ChooseLocationInput |
| | | inputAlign="left" |
| | | placeholder="è¯·éæ©ä»»å¡å°ç¹" |
| | | v-model="form.weMapInfo" |
| | | /> |
| | | </nut-form-item> |
| | | <nut-form-item |
| | | label="详ç»å°å:" |
| | |
| | | EnumSettlementCycleText, |
| | | BillingMethodEnumUnit, |
| | | EnumUserGenderTextOptions, |
| | | EnumSettlementCycleDateWeekArray, |
| | | EnumSettlementCycleDateMonthArray, |
| | | } from '@12333/constants'; |
| | | import { |
| | | ChooseInputWithPicker, |
| | |
| | | const taskId = router.params?.id ?? ''; |
| | | const isEdit = !!taskId; |
| | | const isCopy = router.params?.isCopy === 'true'; |
| | | console.log('isCopy: ', router.params?.isCopy); |
| | | |
| | | const nowDate = dayjs().toDate(); |
| | | |
| | |
| | | categoryCode: CategoryCode.CertificateType, |
| | | }); |
| | | |
| | | const settlementDateList = computed(() => { |
| | | if (form.settlementCycle === EnumSettlementCycle.Month) { |
| | | return EnumSettlementCycleDateMonthArray; |
| | | } |
| | | if (form.settlementCycle === EnumSettlementCycle.Week) { |
| | | return EnumSettlementCycleDateWeekArray; |
| | | } |
| | | return []; |
| | | }); |
| | | |
| | | const form = reactive({ |
| | | name: '', |
| | | billingMethod: EnumBillingMethod.Day, |
| | |
| | | ageMaxLimit: '' as any as number, |
| | | genderLimit: 0 as any as EnumUserGender, |
| | | credentialLimits: [] as string[], |
| | | // address: '', |
| | | beginTime: '', |
| | | endTime: '', |
| | | // areaList: [] as number[], |
| | | settlementDate: null as number, |
| | | |
| | | weMapInfo: {} as WeMapModel, |
| | | addressDetail: '', |
| | |
| | | const rules = reactive<FormRules>({ |
| | | name: [{ required: true, message: '请è¾å
¥ä»»å¡åç§°' }], |
| | | genderLimit: [{ required: true, message: 'è¯·éæ©æ§å«è¦æ±' }], |
| | | settlementCycleDate: [{ required: true, message: '请设置ç»ç®æ¥æ' }], |
| | | addressDetail: [{ required: true, message: '请è¾å
¥è¯¦ç»å°å' }], |
| | | billingMethod: [ |
| | | { |
| | |
| | | weMapInfo: [ |
| | | { required: true, message: '请设置工ä½å°ç¹', validator: FormValidator.validatorWeMap }, |
| | | ], |
| | | // areaList: [ |
| | | // { required: true, message: '请添å å·¥ä½å°ç¹', validator: FormValidator.validatorArray }, |
| | | // ], |
| | | |
| | | ageMinLimit: [ |
| | | { |
| | |
| | | form.billingMethod = data.billingMethod; |
| | | form.serviceFee = data.serviceFee; |
| | | form.settlementCycle = data.settlementCycle; |
| | | form.settlementDate = data.settlementDate; |
| | | form.benefits = (data.benefits ?? []).map((item) => item.benefitCode); |
| | | form.ageMinLimit = data.ageMinLimit; |
| | | form.ageMaxLimit = data.ageMaxLimit; |
| | |
| | | billingMethod: form.billingMethod, |
| | | serviceFee: form.serviceFee, |
| | | settlementCycle: form.settlementCycle, |
| | | settlementDate: form.settlementDate ? form.settlementDate : 0, |
| | | benefits: form.benefits, |
| | | ageMinLimit: form.ageMinLimit, |
| | | ageMaxLimit: form.ageMaxLimit, |
| | |
| | | } catch (error) {} |
| | | } |
| | | |
| | | function settleTypeChange() { |
| | | form.settlementDate = null as number; |
| | | } |
| | | |
| | | function handleCancel() { |
| | | goBack(); |
| | | } |
| | |
| | | :addressName="item.addressName" |
| | | :createdTime="item.createdTime" |
| | | :serviceFee="item.serviceFee" |
| | | :status="item.status" |
| | | :unit="BillingMethodEnumUnit[item.billingMethod]" |
| | | mode="taskManage" |
| | | > |
| | |
| | | |
| | | |
| | | # [1.1.0](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/cMiniApp/v1.0.2...@12333/cMiniApp/v1.1.0) (2025-09-19) |
| | | |
| | | |
| | | ### Bug Fixes |
| | | |
| | | * bug ([529a0c5](http://120.26.58.240:8888/r/flexJobMiniApp/commits/529a0c5719676ec30845c3b4cb678bd3783894ad)) |
| | | * bug ([3eb66eb](http://120.26.58.240:8888/r/flexJobMiniApp/commits/3eb66eb40eac74b6cd95a6b0837d483c419ce291)) |
| | | * bug ([612ba43](http://120.26.58.240:8888/r/flexJobMiniApp/commits/612ba4346dc682dd1ed37a6df29e838f5c45eeb3)) |
| | | * bug ([4250455](http://120.26.58.240:8888/r/flexJobMiniApp/commits/425045571acc4b02005c790f0dc7dabba593f95a)) |
| | | * bug ([162803b](http://120.26.58.240:8888/r/flexJobMiniApp/commits/162803b10e1f99268533e40814380100c040e274)) |
| | | * bug ([2b4d427](http://120.26.58.240:8888/r/flexJobMiniApp/commits/2b4d427d72810ef7cdca0fc6332fe13027e3b0db)) |
| | | * bug ([1f24f64](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1f24f64bf808b69904070520cb8864a5081846f8)) |
| | | * bug ([09aca51](http://120.26.58.240:8888/r/flexJobMiniApp/commits/09aca511eb72108a76babe2ded3a07c94a5a070a)) |
| | | * bug ([b08e197](http://120.26.58.240:8888/r/flexJobMiniApp/commits/b08e197461cdde89ee3dd1406afa8c5cdc0ecf26)) |
| | | * bug ([40480cf](http://120.26.58.240:8888/r/flexJobMiniApp/commits/40480cf0b88ea69aec616a4a4e678dad320f96d1)) |
| | | * bug ([8987ce5](http://120.26.58.240:8888/r/flexJobMiniApp/commits/8987ce5a9bde6403faa8162de5125aab08232422)) |
| | | * bug ([e3051e2](http://120.26.58.240:8888/r/flexJobMiniApp/commits/e3051e24d0c52ac4e29fbbc7062f97f9ebc5fa0d)) |
| | | * bug ([d69973b](http://120.26.58.240:8888/r/flexJobMiniApp/commits/d69973bf32d63a3638b799866426f817b0193e10)) |
| | | * bug ([f5b5e80](http://120.26.58.240:8888/r/flexJobMiniApp/commits/f5b5e80c6414c947fa62635818d0cbbce392296a)) |
| | | * bug ([1fe1a1c](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1fe1a1c9835b78052fac6f86d335190edb6d7bca)) |
| | | * bug ([4f52b02](http://120.26.58.240:8888/r/flexJobMiniApp/commits/4f52b02ee2db3a9a3b00411b2a1ebfc8eb8c5a7c)) |
| | | * bug ([ce7e3bd](http://120.26.58.240:8888/r/flexJobMiniApp/commits/ce7e3bd6370ee104deef0cb693615d8637e98a35)) |
| | | * bug ([09e5b0e](http://120.26.58.240:8888/r/flexJobMiniApp/commits/09e5b0e7072f62e7c7c136b224c29e5a5f3573dd)) |
| | | * bug ([b12d141](http://120.26.58.240:8888/r/flexJobMiniApp/commits/b12d1415745edd95358844121b0da29500b0eca6)) |
| | | * nutui-taro radio ([e84fe84](http://120.26.58.240:8888/r/flexJobMiniApp/commits/e84fe84688a2e962c5435296029f96d8d4f69cae)) |
| | | * nutui-taro radio ([f308f68](http://120.26.58.240:8888/r/flexJobMiniApp/commits/f308f6859153b14e2582141d120e178dac85a71e)) |
| | | * s ([1af9193](http://120.26.58.240:8888/r/flexJobMiniApp/commits/1af91934801d9143cecb1fd90a7c1be17ce5bf52)) |
| | | |
| | | |
| | | ### Features |
| | | |
| | | * è´¢å¡ç®¡ç ([7e8d737](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7e8d737c550cbcbe45fe88ccf95e0ef646a2fd73)) |
| | | * æ¥å£å¯¹æ¥ ([21f0c67](http://120.26.58.240:8888/r/flexJobMiniApp/commits/21f0c67e85bfd0e24a944fa52c65331c9599e1ad)) |
| | | * æ¥å£å¯¹æ¥ ([00a3e81](http://120.26.58.240:8888/r/flexJobMiniApp/commits/00a3e8142bf114c77909c36d556808aef2c8dbf4)) |
| | | * æ¥å£å¯¹æ¥ ([9f10304](http://120.26.58.240:8888/r/flexJobMiniApp/commits/9f10304a16a97df2d684e18c619df43981b91026)) |
| | | * æ¥å£å¯¹æ¥ ([a8c0f3a](http://120.26.58.240:8888/r/flexJobMiniApp/commits/a8c0f3a72c24c756bc2c7493144bce717dc13ff4)) |
| | | * é¡µé¢ ([4abed72](http://120.26.58.240:8888/r/flexJobMiniApp/commits/4abed72d97b7953326cf48d45c4d3a53058df599)) |
| | | * é¡µé¢ ([9c8b6d1](http://120.26.58.240:8888/r/flexJobMiniApp/commits/9c8b6d1cf6b43c6652b5183cd0183e8e257001f7)) |
| | | |
| | | ## [1.0.2](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/cMiniApp/v1.0.1...@12333/cMiniApp/v1.0.2) (2025-09-12) |
| | | |
| | | |
| | |
| | | { |
| | | "name": "@12333/cMiniApp", |
| | | "version": "1.0.2", |
| | | "version": "1.1.0", |
| | | "private": true, |
| | | "description": "", |
| | | "templateInfo": { |
| | |
| | | <div class="user-info-unCertified"> |
| | | <div |
| | | class="user-info-unCertified-text" |
| | | v-if="userDetail.realStatus === EnumPersonalUserRealStatus.UnReal" |
| | | v-if="userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal" |
| | | > |
| | | æªè®¤è¯ |
| | | </div> |
| | | <div class="user-info-unCertified-text" v-else> |
| | | {{ EnumUserRealMethodText[userDetail?.realMethod] |
| | | }}{{ EnumPersonalUserRealStatusText[userDetail.realStatus] }} |
| | | }}{{ EnumPersonalUserRealStatusText[userDetail?.realStatus] }} |
| | | </div> |
| | | <div |
| | | class="user-info-unCertified-btn" |
| | | @click.stop="goAuthentication" |
| | | v-if=" |
| | | userDetail.realStatus === EnumPersonalUserRealStatus.UnReal || |
| | | userDetail.realStatus === EnumPersonalUserRealStatus.Fail |
| | | userDetail?.realStatus === EnumPersonalUserRealStatus.UnReal || |
| | | userDetail?.realStatus === EnumPersonalUserRealStatus.Fail |
| | | " |
| | | > |
| | | ç«å³è®¤è¯ |
| | |
| | | <!-- <div class="user-info-unCertified" v-else> |
| | | <img :src="IconAuth" class="user-info-unCertified-icon" /> |
| | | <div class="user-info-unCertified-text"> |
| | | {{ EnumUserRealMethodText[userDetail?.realMethod] }}{{ EnumPersonalUserRealStatusText[userDetail.realStatus] }} |
| | | {{ EnumUserRealMethodText[userDetail?.realMethod] }}{{ EnumPersonalUserRealStatusText[userDetail?.realStatus] }} |
| | | </div> |
| | | </div> --> |
| | | </div> |
| | |
| | | import { useSystemStore } from '@/stores/modules/system'; |
| | | import PageLayoutWithBg from '@/components/Layout/PageLayoutWithBg.vue'; |
| | | import { toThousand } from '@12333/utils'; |
| | | import { useIntervalFn } from 'senin-mini/hooks'; |
| | | |
| | | const { userDetail, isCertified, updateUserInfo } = useUser(); |
| | | const isLogin = useIsLogin(); |
| | | const systemStore = useSystemStore(); |
| | | |
| | | const { goLoginFn } = useGoLogin(); |
| | | const bgHeight = computed(() => 133 + systemStore.navHeight); |
| | | |
| | | const { stop, start } = useIntervalFn(updateUserInfo, 5000, { |
| | | immediate: false, |
| | | }); |
| | | Taro.useDidShow(({ scene }) => { |
| | | if (isLogin.value) { |
| | | setTimeout(() => { |
| | | updateUserInfo(); |
| | | }, 300); |
| | | updateUserInfo(); |
| | | if (userDetail.value?.realStatus !== EnumPersonalUserRealStatus.Real) { |
| | | start(); |
| | | } |
| | | } |
| | | }); |
| | | |
| | | Taro.useDidHide(() => { |
| | | stop(); |
| | | }); |
| | | |
| | | function goLogin() { |
| | | if (!isLogin.value) { |
| | | goLoginFn(); |
| | |
| | | import { ResponseCode } from '@12333/constants'; |
| | | import * as authServices from '@12333/services/apiV2/auth'; |
| | | import { APP_ENV } from '@/constants'; |
| | | import { useUserStore } from '@/stores/modules/user'; |
| | | |
| | | defineOptions({ |
| | | name: 'registerForm', |
| | | }); |
| | | |
| | | const userStore = useUserStore(); |
| | | |
| | | const { jump } = useLoginedJump(); |
| | | |
| | | const state = reactive({ |
| | | policyChecked: false, |
| | | }); |
| | |
| | | let res = await authServices.registerPersonalUser(params); |
| | | if (res) { |
| | | Message.success('注åæå', { |
| | | onClosed: () => { |
| | | goLogin(); |
| | | onClosed: async () => { |
| | | userStore.loginSuccess(res); |
| | | jump(); |
| | | }, |
| | | }); |
| | | } |
| | |
| | | @click="handleCall" |
| | | ></PageFooterAction> |
| | | <PageFooterBtn |
| | | v-if="from === 'sign'" |
| | | v-if="from === 'sign' && !!detail?.applyButton" |
| | | type="primary" |
| | | :disabled="detail?.applyButton === GetTaskInfoQueryResultApplyButton.WaitHire" |
| | | @click="handleSign" |
| | |
| | | } |
| | | }); |
| | | |
| | | const handleApply = useAccessLogin(async () => { |
| | | try { |
| | | let params: API.ApplyTaskCommand = { |
| | | ids: [id], |
| | | }; |
| | | let res = await taskUserServices.applyTask(params); |
| | | if (res) { |
| | | Message.success('æ¥åæå'); |
| | | refetch({ type: 'inactive' }); |
| | | } |
| | | } catch (error) {} |
| | | }); |
| | | const handleApply = useAccessReal( |
| | | async () => { |
| | | try { |
| | | let params: API.ApplyTaskCommand = { |
| | | ids: [id], |
| | | }; |
| | | let res = await taskUserServices.applyTask(params); |
| | | if (res) { |
| | | Message.success('æ¥åæå'); |
| | | refetch({ type: 'inactive' }); |
| | | } |
| | | } catch (error) {} |
| | | }, |
| | | { message: 'å®åæååæå¯æ¥åï¼è¯·åå¾å®å认è¯' } |
| | | ); |
| | | |
| | | const handleAttention = useAccessLogin(async () => { |
| | | try { |
| | |
| | | const menuList = computed(() => { |
| | | let _menuList = []; |
| | | _menuList.push( |
| | | { |
| | | name: 'ç¼è¾', |
| | | value: ManageActions.Edit, |
| | | }, |
| | | // { |
| | | // name: 'ç¼è¾', |
| | | // value: ManageActions.Edit, |
| | | // }, |
| | | { |
| | | name: 'æ¥ç详æ
', |
| | | value: ManageActions.Detail, |
| | | } |
| | | ); |
| | | if (props.status === EnumTaskStatus.Wait) { |
| | | _menuList.push({ |
| | | name: 'ç¼è¾', |
| | | value: ManageActions.Edit, |
| | | }); |
| | | } |
| | | if (props.releaseStatus === EnumTaskReleaseStatus.Stopped) { |
| | | _menuList.push({ |
| | | name: 'åå¸', |
| | |
| | | <div class="withdraw-money-card"> |
| | | <div class="withdraw-money-card-value"> |
| | | <div class="withdraw-money-card-value-unit">ï¿¥</div> |
| | | <div class="withdraw-money-card-value-num">{{ toThousand(props.money) }}</div> |
| | | <div class="withdraw-money-card-value-num">{{ toThousand(props.money ?? 0) }}</div> |
| | | </div> |
| | | <div class="withdraw-money-card-type">{{ props.title }}</div> |
| | | </div> |
| | |
| | | }; |
| | | |
| | | const props = withDefaults(defineProps<Props>(), {}); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'update:checkedId', value: string): void; |
| | | }>(); |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | |
| | | }>(); |
| | | |
| | | function handleOpen() { |
| | | const _modelValue = [props.modelValue]; |
| | | const _modelValue = dayjs(props.modelValue).toDate(); |
| | | Portal.add((key) => { |
| | | return h( |
| | | Portal.Container, |
| | |
| | | <nut-input |
| | | class="nut-input-text bole-input-text" |
| | | type="text" |
| | | input-align="right" |
| | | :input-align="props.inputAlign" |
| | | readonly |
| | | @click="handleChooseLocation" |
| | | :modelValue="props.modelValue.address" |
| | |
| | | |
| | | type Props = { |
| | | modelValue: WeMapModel; |
| | | inputAlign: 'left' | 'center' | 'right'; |
| | | }; |
| | | |
| | | const props = defineProps<Props>(); |
| | | const props = withDefaults(defineProps<Props>(), { |
| | | inputAlign: 'right', |
| | | }); |
| | | |
| | | const emit = defineEmits<{ |
| | | (e: 'update:modelValue', value: Props['modelValue']): void; |
| | |
| | | Transfer = 20, |
| | | } |
| | | |
| | | /** æ²¡åæ³¨é */ |
| | | export enum EnumGetEnterpriseEmployeesQuerySignContractStatus { |
| | | /**çµå·¥å¾
ç¾çº¦ */ |
| | | UserWait = 10, |
| | | /**ä¼ä¸å¾
ç¾çº¦ */ |
| | | EnterpriseWait = 20, |
| | | /**å·²ç¾çº¦ */ |
| | | Pass = 30, |
| | | } |
| | | |
| | | /** èåç±»å */ |
| | | export enum EnumMenuType { |
| | | /**èå */ |
| | |
| | | InProcess = 20, |
| | | /**å·²ç»ç® */ |
| | | Completed = 30, |
| | | /**é¨åç»ç® */ |
| | | Part = 40, |
| | | /**ç»ç®å¤±è´¥ */ |
| | | Fail = 50, |
| | | } |
| | | |
| | | /** ä»»å¡å®æç¶æ */ |
| | |
| | | /**已宿 */ |
| | | Completed = 20, |
| | | } |
| | | |
| | | /** ç»ç®å°è´¦ç¶æ */ |
| | | export enum SettlementReceiveStatus { |
| | | /**å·²å°è´¦ */ |
| | | Completed = 10, |
| | | /**已鿬¾ */ |
| | | Refunded = 20, |
| | | } |
| | |
| | | [EnumBillingMethod.Piece]: 'å
/ä»¶', |
| | | }; |
| | | |
| | | export const EnumSettlementCycleDateWeekArray = [ |
| | | { label: 'ææä¸', value: 1 }, |
| | | { label: 'ææäº', value: 2 }, |
| | | { label: 'ææä¸', value: 3 }, |
| | | { label: 'ææå', value: 4 }, |
| | | { label: 'ææäº', value: 5 }, |
| | | { label: 'ææå
', value: 6 }, |
| | | { label: 'æææ¥', value: 7 }, |
| | | ]; |
| | | |
| | | export const EnumSettlementCycleDateMonthArray = [ |
| | | { label: '1æ¥', value: 1 }, |
| | | { label: '2æ¥', value: 2 }, |
| | | { label: '3æ¥', value: 3 }, |
| | | { label: '4æ¥', value: 4 }, |
| | | { label: '5æ¥', value: 5 }, |
| | | { label: '6æ¥', value: 6 }, |
| | | { label: '7æ¥', value: 7 }, |
| | | { label: '8æ¥', value: 8 }, |
| | | { label: '9æ¥', value: 9 }, |
| | | { label: '10æ¥', value: 10 }, |
| | | { label: '11æ¥', value: 11 }, |
| | | { label: '12æ¥', value: 12 }, |
| | | { label: '13æ¥', value: 13 }, |
| | | { label: '14æ¥', value: 14 }, |
| | | { label: '15æ¥', value: 15 }, |
| | | { label: '16æ¥', value: 16 }, |
| | | { label: '17æ¥', value: 17 }, |
| | | { label: '18æ¥', value: 18 }, |
| | | { label: '19æ¥', value: 19 }, |
| | | { label: '20æ¥', value: 20 }, |
| | | { label: '21æ¥', value: 21 }, |
| | | { label: '22æ¥', value: 22 }, |
| | | { label: '23æ¥', value: 23 }, |
| | | { label: '24æ¥', value: 24 }, |
| | | { label: '25æ¥', value: 25 }, |
| | | { label: '26æ¥', value: 26 }, |
| | | { label: '27æ¥', value: 27 }, |
| | | { label: '28æ¥', value: 28 }, |
| | | { label: '29æ¥', value: 29 }, |
| | | { label: '30æ¥', value: 30 }, |
| | | { label: '31æ¥', value: 31 }, |
| | | ]; |
| | | |
| | | export const EnumTaskReleaseStatusText = { |
| | | [EnumTaskReleaseStatus.InProcess]: 'åå¸ä¸', |
| | | [EnumTaskReleaseStatus.Stopped]: '已忢', |
| | |
| | | body: API.RegisterPersonalUserCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/auth/registerPersonalUser', { |
| | | return request<API.LoginCommandCallback>('/api/user/auth/registerPersonalUser', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | |
| | | }); |
| | | } |
| | | |
| | | /** ç¼è¾ç»ç®åå POST /api/flexjob/task/editTaskSettlementOrderRoster */ |
| | | export async function editTaskSettlementOrderRoster( |
| | | body: API.EditTaskSettlementOrderRosterCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/editTaskSettlementOrderRoster', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导åºç»ç®åå POST /api/flexjob/task/exportTaskSettlementOrderRosters */ |
| | | export async function exportTaskSettlementOrderRosters( |
| | | body: API.ExportTaskSettlementOrderRostersCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/exportTaskSettlementOrderRosters', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** æ¥è¯¢å¼æ¾ä»»å¡å页å表 POST /api/flexjob/task/getOpenTaskInfos */ |
| | | export async function getOpenTaskInfos( |
| | | body: API.GetOpenTaskInfosQuery, |
| | |
| | | ); |
| | | } |
| | | |
| | | /** æ¥è¯¢ä»»å¡ç»ç®æ¥ GET /api/flexjob/task/getTaskSettlementDates */ |
| | | export async function getTaskSettlementDates( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetTaskSettlementDatesParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string[]>('/api/flexjob/task/getTaskSettlementDates', { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 导å
¥ç»ç®åå POST /api/flexjob/task/importTaskSettlementOrderRosters */ |
| | | export async function importTaskSettlementOrderRosters( |
| | | body: API.ImportTaskSettlementOrderRostersCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ImportTaskSettlementOrderRostersCommandResult>( |
| | | '/api/flexjob/task/importTaskSettlementOrderRosters', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¤åç»ç® POST /api/flexjob/task/revokeTaskSettlementOrder */ |
| | | export async function revokeTaskSettlementOrder( |
| | | body: API.RevokeTaskSettlementOrderCommand, |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 确认ç»ç®å POST /api/flexjob/task/sureTaskSettlementOrder */ |
| | | export async function sureTaskSettlementOrder( |
| | | body: API.SureTaskSettlementOrderCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<string>('/api/flexjob/task/sureTaskSettlementOrder', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | |
| | | interface APIgetEnabledElectronSignSettingsParams { |
| | | /** ä¼ä¸Id */ |
| | | enterpriseId?: string; |
| | | /** æ¯å¦æ¥è¯¢å
¨é¨ */ |
| | | all?: boolean; |
| | | } |
| | | |
| | | interface APIgetEnterpriseContractTemplateSelectParams { |
| | |
| | | } |
| | | |
| | | interface APIgetSettlementTaskUsersParams { |
| | | /** ä»»å¡Id */ |
| | | taskInfoId?: string; |
| | | /** ç»ç®åå°å */ |
| | | settlementOrderUrl?: string; |
| | | /** ç»ç®è®¢åId */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetTaskEnterpriseParams { |
| | |
| | | keywords?: string; |
| | | } |
| | | |
| | | interface APIgetTaskSettlementDatesParams { |
| | | /** ä»»å¡å¼å§æ¶é´ */ |
| | | beginTime?: string; |
| | | /** ä»»å¡ç»ææ¶é´ */ |
| | | endTime?: string; |
| | | /** ç»ç®æ¹å¼ */ |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** ç»ç®æ¥æ */ |
| | | settlementDate?: number; |
| | | } |
| | | |
| | | interface APIgetTaskUserHireStatusParams { |
| | | /** ä»»å¡Id */ |
| | | taskInfoId?: string; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface EditTaskSettlementOrderRosterCommand { |
| | | /** ååId */ |
| | | id?: string; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount: number; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount: number; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount: string; |
| | | /** æå±é¶è¡ */ |
| | | bank: string; |
| | | /** 弿·æ¯è¡åç§° */ |
| | | bankBranch?: string; |
| | | } |
| | | |
| | | interface ElectronSignCallbackCommand { |
| | | /** 客æ·Id */ |
| | | customerId?: string; |
| | |
| | | Transfer = 20, |
| | | } |
| | | |
| | | enum EnumGetEnterpriseEmployeesQuerySignContractStatus { |
| | | /**çµå·¥å¾
ç¾çº¦ */ |
| | | UserWait = 10, |
| | | /**ä¼ä¸å¾
ç¾çº¦ */ |
| | | EnterpriseWait = 20, |
| | | /**å·²ç¾çº¦ */ |
| | | Pass = 30, |
| | | } |
| | | |
| | | enum EnumMenuType { |
| | | /**èå */ |
| | | Menu = 10, |
| | |
| | | InProcess = 20, |
| | | /**å·²ç»ç® */ |
| | | Completed = 30, |
| | | /**é¨åç»ç® */ |
| | | Part = 40, |
| | | /**ç»ç®å¤±è´¥ */ |
| | | Fail = 50, |
| | | } |
| | | |
| | | enum EnumTaskStatus { |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface ExportTaskSettlementOrderRostersCommand { |
| | | /** ç»ç®è®¢åId */ |
| | | id?: string; |
| | | } |
| | | |
| | | interface FriendlyResultBoolean { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetPersonalUserWalletBalancesQueryResult { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | | /** ç¶æç */ |
| | | code?: number; |
| | | /** é误ç */ |
| | | errorCode?: string; |
| | | data?: GetPersonalUserWalletBalancesQueryResult; |
| | | /** æ§è¡æå */ |
| | | success?: boolean; |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | msg?: any; |
| | | /** éå æ°æ® */ |
| | | extras?: any; |
| | | /** æ¶é´æ³ */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultGetResourceLogsQueryResult { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultImportTaskSettlementOrderRostersCommandResult { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | | /** ç¶æç */ |
| | | code?: number; |
| | | /** é误ç */ |
| | | errorCode?: string; |
| | | data?: ImportTaskSettlementOrderRostersCommandResult; |
| | | /** æ§è¡æå */ |
| | | success?: boolean; |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | msg?: any; |
| | | /** éå æ°æ® */ |
| | | extras?: any; |
| | | /** æ¶é´æ³ */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultInt32 { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListDateTime { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | | /** ç¶æç */ |
| | | code?: number; |
| | | /** é误ç */ |
| | | errorCode?: string; |
| | | /** æ°æ® */ |
| | | data?: string[]; |
| | | /** æ§è¡æå */ |
| | | success?: boolean; |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | msg?: any; |
| | | /** éå æ°æ® */ |
| | | extras?: any; |
| | | /** æ¶é´æ³ */ |
| | | timestamp?: number; |
| | | } |
| | | |
| | | interface FriendlyResultListGetAreaSelectQueryResultOption { |
| | | /** è·è¸ªId */ |
| | | traceId?: string; |
| | |
| | | date?: string; |
| | | /** æäº¤æ¶é´ */ |
| | | createdTime?: string; |
| | | checkReceiveStatus?: EnumTaskUserSubmitCheckReceiveStatus; |
| | | /** éªæ¶ç
§ç */ |
| | | files?: string[]; |
| | | } |
| | |
| | | |
| | | interface GetEnabledElectronSignSettingsQueryResultItem { |
| | | access?: EnumElectronSignAccess; |
| | | /** æ¯å¦ç¦ç¨ */ |
| | | isDisabled?: boolean; |
| | | /** å®åè´¹ç¨ */ |
| | | realVerifyCost?: number; |
| | | /** ç¾çº¦è´¹ç¨ */ |
| | |
| | | isReal?: boolean; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | signContractStatus?: EnumGetEnterpriseEmployeesQuerySignContractStatus; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | enterpriseSignContractTime?: string; |
| | | /** çµååå */ |
| | | contractUrl?: string; |
| | | createdTime?: string; |
| | | } |
| | | |
| | | type GetEnterpriseLoginInfoQuery = Record<string, any>; |
| | |
| | | interface GetPersonalUserInfoSignContractsQuery { |
| | | /** ç¨æ·Id */ |
| | | id?: string; |
| | | /** çµå·¥Id */ |
| | | enterpriseEmployeeId?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | settlementAmount?: number; |
| | | /** å®åéé¢/æç°éé¢ */ |
| | | amount?: number; |
| | | /** æ¶æ¬¾äººå§å */ |
| | | receiveName?: string; |
| | | /** 仿¬¾äººè´¦æ· */ |
| | | payerAccount?: string; |
| | | /** 仿¬¾äººåç§° */ |
| | | payerName?: string; |
| | | /** 仿¬¾äººå¼æ·è¡ */ |
| | | payerBank?: string; |
| | | /** 仿¬¾äººæ¯è¡ */ |
| | | payerBankBranch?: string; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount?: string; |
| | | /** æ¶æ¬¾äººåç§° */ |
| | | receiveName?: string; |
| | | /** æ¶æ¬¾äººå¼æ·è¡ */ |
| | | receiveBank?: string; |
| | | /** æ¶æ¬¾äººæ¯è¡ */ |
| | | receiveBankBranch?: string; |
| | | /** å¸ç§ */ |
| | | currency?: string; |
| | | /** ç¨é */ |
| | | purpose?: string; |
| | | /** æå¡è´¹ */ |
| | | serviceFee?: number; |
| | | /** å®é
å°è´¦ */ |
| | |
| | | transDate?: string; |
| | | /** å建æ¶é´ */ |
| | | createdTime?: string; |
| | | transactionStatus?: EnumWalletTransactionStatus; |
| | | /** 失败åå */ |
| | | failReason?: string; |
| | | } |
| | |
| | | /** å建æ¶é´-æªæ¢ */ |
| | | createdTimeEnd?: string; |
| | | type?: EnumUserWalletTransactionType; |
| | | /** ç¨æ·Id */ |
| | | userId?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | interface GetPersonalUserTransactionsQueryResultItem { |
| | | /** æ¶æ¯Id */ |
| | | id?: string; |
| | | type?: EnumUserWalletTransactionType; |
| | | /** æ é¢ */ |
| | | title?: string; |
| | | /** å建æ¶é´ */ |
| | | createdTime?: string; |
| | | /** éé¢ */ |
| | | amount?: number; |
| | | /** ä½é¢ */ |
| | | balance?: number; |
| | | /** ä¼ä¸åç§° */ |
| | | enterpriseName?: string; |
| | | /** ä»»å¡åç§° */ |
| | | taskName?: string; |
| | | /** ç»ç®ååç§° */ |
| | | settlementOrderName?: string; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** ç»ç®æ¶é´ */ |
| | | settlementTime?: string; |
| | | /** 仿¬¾äººè´¦æ· */ |
| | | payerAccount?: string; |
| | | /** 仿¬¾äººåç§° */ |
| | | payerName?: string; |
| | | /** 仿¬¾äººè´¦å· */ |
| | | payerUserName?: string; |
| | | /** 仿¬¾äººè系人 */ |
| | | payerContacts?: string; |
| | | /** 仿¬¾äººèç³»çµè¯ */ |
| | | payerContactPhoneNumber?: string; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount?: string; |
| | | /** æ¶æ¬¾äººåç§° */ |
| | | receiveName?: string; |
| | | /** ç¨é */ |
| | | purpose?: string; |
| | | /** å建æ¶é´ */ |
| | | createdTime?: string; |
| | | /** äº¤ææ¶é´ */ |
| | | transDate?: string; |
| | | } |
| | | |
| | | interface GetPersonalUserTransactionsQueryResultObjectData { |
| | |
| | | sumWithdraw?: number; |
| | | } |
| | | |
| | | interface GetPersonalUserWalletBalancesQuery { |
| | | /** æå°ä½é¢ */ |
| | | balanceMin?: number; |
| | | /** æå¤§ä½é¢ */ |
| | | balanceMax?: number; |
| | | /** å
³é®å */ |
| | | keywords?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | | interface GetPersonalUserWalletBalancesQueryResult { |
| | | pageModel?: PagedListQueryResultPageModel; |
| | | /** æ°æ® */ |
| | | data?: GetPersonalUserWalletBalancesQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetPersonalUserWalletBalancesQueryResultItem { |
| | | /** ç¨æ·Id */ |
| | | id?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** ææºå· */ |
| | | contactPhoneNumber?: string; |
| | | /** 身份è¯å· */ |
| | | identity?: string; |
| | | /** ä½é¢ */ |
| | | balance?: number; |
| | | } |
| | | |
| | | interface GetResourceFieldsQueryResultItem { |
| | | /** ç¼å· */ |
| | | code?: string; |
| | |
| | | keywords?: string; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | /** ç»ç®æ¶é´-èµ·å§ */ |
| | | settlementTimeBegin?: string; |
| | | /** ç»ç®æ¶é´-æªæ¢ */ |
| | | settlementTimeEnd?: string; |
| | | pageModel?: PagedListQueryPageModel; |
| | | } |
| | | |
| | |
| | | interface GetSettlementTasksQueryResultItem { |
| | | /** ä»»å¡Id */ |
| | | id?: string; |
| | | /** æå±ä»»å¡ */ |
| | | name?: string; |
| | | /** ä»»å¡åå· */ |
| | | code?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | /** ç»ç®ååç§° */ |
| | | settlementOrderName?: string; |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | settlementOrderTime?: string; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount?: number; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount?: number; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** å建æ¶é´ */ |
| | | createdTime?: string; |
| | | /** ç»ç®æ¶é´ */ |
| | | settlementTime?: string; |
| | | /** 夿³¨ */ |
| | | settlementRemark?: string; |
| | | /** ç»ç®äººæ° */ |
| | | settlementUserCount?: number; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResult { |
| | | detail?: GetSettlementTaskUsersQueryResultDetail; |
| | | /** ç»ç®åå */ |
| | | data?: GetSettlementTaskUsersQueryResultItem[]; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResultDetail { |
| | | /** ç»ç®è®¢åId */ |
| | | id?: string; |
| | | /** ä»»å¡åç§° */ |
| | | name?: string; |
| | | /** ä»»å¡åå· */ |
| | |
| | | settlementTime?: string; |
| | | /** 夿³¨ */ |
| | | settlementRemark?: string; |
| | | /** ç»ç®äººæ° */ |
| | | settlementUserCount?: number; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResult { |
| | | detail?: GetSettlementTaskQueryResult; |
| | | /** ç»ç®åå */ |
| | | data?: GetSettlementTaskUsersQueryResultItem[]; |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | errors?: GetSettlementTaskUsersQueryResultError[]; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResultError { |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | errorMessage?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** 身份è¯å· */ |
| | | identity?: string; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount?: number; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount?: number; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount?: string; |
| | | /** æå±é¶è¡ */ |
| | | bank?: string; |
| | | /** 弿·æ¯è¡åç§° */ |
| | | bankBranch?: string; |
| | | /** ä»»å¡åç§° */ |
| | | taskName?: string; |
| | | } |
| | | |
| | | interface GetSettlementTaskUsersQueryResultItem { |
| | | /** ä»»å¡ç¨æ·Id */ |
| | | /** ç»ç®ååId */ |
| | | id?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | |
| | | identity?: string; |
| | | /** ææºå· */ |
| | | contactPhoneNumber?: string; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** æå±é¶è¡ */ |
| | | bank?: string; |
| | | /** 弿·æ¯è¡åç§° */ |
| | |
| | | settlementAmount?: number; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount?: number; |
| | | settlementReceiveStatus?: SettlementReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** ç»ç®æ¶é´ */ |
| | | settlementTime?: string; |
| | | } |
| | |
| | | /** æå¡è´¹ */ |
| | | serviceFee?: number; |
| | | settlementCycle?: EnumSettlementCycle; |
| | | /** ç»ç®æ¥æ */ |
| | | settlementDate?: number; |
| | | /** ç¦å© */ |
| | | benefits?: GetTaskInfoQueryResultBenefit[]; |
| | | /** å¹´é¾èå´æå° */ |
| | |
| | | endTime?: string; |
| | | releaseStatus?: EnumTaskReleaseStatus; |
| | | checkReceiveStatus?: EnumTaskCheckReceiveStatus; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | recommendStatus?: EnumTaskRecommendStatus; |
| | | /** æ¨èæ¶é´ */ |
| | | recommendTime?: string; |
| | |
| | | identity?: string; |
| | | } |
| | | |
| | | interface ImportTaskSettlementOrderRostersCommand { |
| | | /** ç»ç®è®¢åId */ |
| | | id?: string; |
| | | /** 导å
¥æä»¶å°å */ |
| | | url: string; |
| | | } |
| | | |
| | | interface ImportTaskSettlementOrderRostersCommandResult { |
| | | /** Id */ |
| | | id?: string; |
| | | /** ä»»å¡åç§° */ |
| | | name?: string; |
| | | /** ä»»å¡åå· */ |
| | | code?: string; |
| | | settlementOrderStatus?: EnumTaskSettlementOrderStatus; |
| | | /** ç»ç®ååç§° */ |
| | | settlementOrderName?: string; |
| | | /** ä¸ä¼ æ¶é´ */ |
| | | settlementOrderTime?: string; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount?: number; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount?: number; |
| | | settlementStatus?: EnumTaskSettlementStatus; |
| | | /** ç»ç®æ¶é´ */ |
| | | settlementTime?: string; |
| | | /** 夿³¨ */ |
| | | settlementRemark?: string; |
| | | errors?: ImportTaskSettlementOrderRostersCommandResultError[]; |
| | | } |
| | | |
| | | interface ImportTaskSettlementOrderRostersCommandResultError { |
| | | /** éè¯¯ä¿¡æ¯ */ |
| | | errorMessage?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** 身份è¯å· */ |
| | | identity?: string; |
| | | /** ææºå· */ |
| | | contactPhoneNumber?: string; |
| | | /** æå±é¶è¡ */ |
| | | bank?: string; |
| | | /** æå±æ¯è¡ */ |
| | | bankBranch?: string; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount?: string; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount?: number; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount?: number; |
| | | } |
| | | |
| | | interface InviteElectronSignCommand { |
| | | /** çµå·¥Id */ |
| | | ids?: string[]; |
| | |
| | | /** æå¡è´¹ */ |
| | | serviceFee: number; |
| | | settlementCycle: EnumSettlementCycle; |
| | | /** ç»ç®æ¥æ */ |
| | | settlementDate: number; |
| | | /** ç¦å©ç¼å· */ |
| | | benefits?: string[]; |
| | | /** å¹´é¾èå´æå° */ |
| | |
| | | hireStatus?: EnumTaskUserHireStatus; |
| | | } |
| | | |
| | | enum SettlementReceiveStatus { |
| | | /**å·²å°è´¦ */ |
| | | Completed = 10, |
| | | /**已鿬¾ */ |
| | | Refunded = 20, |
| | | } |
| | | |
| | | interface SetUserInfoRolesCommand { |
| | | /** ç¨æ·Id */ |
| | | userInfoId?: string; |
| | |
| | | taskInfoId?: string; |
| | | } |
| | | |
| | | interface SureTaskSettlementOrderCommand { |
| | | /** ä»»å¡Id */ |
| | | taskInfoId?: string; |
| | | /** ç»ç®åå°å */ |
| | | settlementOrderUrl?: string; |
| | | /** ç»ç®åå */ |
| | | taskInfoUsers?: SureTaskSettlementOrderCommandUser[]; |
| | | } |
| | | |
| | | interface SureTaskSettlementOrderCommandUser { |
| | | /** ä»»å¡ç¨æ·Id */ |
| | | id?: string; |
| | | /** å§å */ |
| | | name?: string; |
| | | /** æå±é¶è¡ */ |
| | | bank?: string; |
| | | /** 弿·æ¯è¡åç§° */ |
| | | bankBranch?: string; |
| | | /** æ¶æ¬¾è´¦æ· */ |
| | | receiveAccount: string; |
| | | /** ç»ç®éé¢ */ |
| | | settlementAmount: number; |
| | | /** å®åéé¢ */ |
| | | actualSettlementAmount: number; |
| | | } |
| | | |
| | | type SyncDatabaseCommand = Record<string, any>; |
| | | |
| | | interface SyncElectronSignSettingsCommand { |
| | |
| | | ); |
| | | } |
| | | |
| | | /** æ¥è¯¢ä¸ªäººé±å
ä½é¢å页å表 POST /api/user/user/getPersonalUserWalletBalances */ |
| | | export async function getPersonalUserWalletBalances( |
| | | body: API.GetPersonalUserWalletBalancesQuery, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetPersonalUserWalletBalancesQueryResult>( |
| | | '/api/user/user/getPersonalUserWalletBalances', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¥è¯¢ç¨æ·è§è²å表 GET /api/user/user/getUserInfoRoles */ |
| | | export async function getUserInfoRoles( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |