| | |
| | | |
| | | |
| | | ## [1.1.14](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/bMiniApp/v1.1.13...@12333/bMiniApp/v1.1.14) (2025-11-28) |
| | | |
| | | |
| | | ### Bug Fixes |
| | | |
| | | * bug ([5c95daf](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5c95daf6b3e136882b9c68ac209596cee76489f0)) |
| | | * bug ([5cb6cc1](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5cb6cc172de04a8c0f5fd837aa960b428587e2a7)) |
| | | * bug ([5ad8bc7](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5ad8bc73f81fe2bf352a0fdf51fe1f35f8256c9d)) |
| | | * s ([7c39b93](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7c39b93176bc0a4a6630c45bbb7e73fff8895eb9)) |
| | | * s ([5012cd0](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5012cd097d766a7e3a74ba7291bb79879705cbba)) |
| | | * s ([793b614](http://120.26.58.240:8888/r/flexJobMiniApp/commits/793b61420652e2b24e4c62eae0ab713f69f6cd1b)) |
| | | * s ([66c65e2](http://120.26.58.240:8888/r/flexJobMiniApp/commits/66c65e2d22f465daefa0f09bffcd7585c3654994)) |
| | | * s ([d76a672](http://120.26.58.240:8888/r/flexJobMiniApp/commits/d76a6724e8a7e40f491319de5e284aecea09e195)) |
| | | |
| | | |
| | | ### Features |
| | | |
| | | * 报名时触发发送消息 ([7ad6378](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7ad6378880f03400bc9c9878d753412d0121243a)) |
| | | * 页面 ([c87c533](http://120.26.58.240:8888/r/flexJobMiniApp/commits/c87c53395ae645e631c30f0f5eb8623f81b95acf)) |
| | | |
| | | ## [1.1.13](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/bMiniApp/v1.1.12...@12333/bMiniApp/v1.1.13) (2025-11-17) |
| | | |
| | | |
| | |
| | | { |
| | | "name": "@12333/bMiniApp", |
| | | "version": "1.1.13", |
| | | "version": "1.1.14", |
| | | "private": true, |
| | | "description": "", |
| | | "templateInfo": { |
| | |
| | | "miniprogram": { |
| | | "list": [ |
| | | { |
| | | "name": "待验收-验收详情", |
| | | "pathName": "subpackages/task/taskHandleCheckDetail/taskHandleCheckDetail", |
| | | "query": "id=546401cc-c148-47d0-c647-08de1e75af01&date=2025-11-28&taskInfoId=5a22c18b-0b49-4540-6658-08de1da80d7c", |
| | | "scene": null, |
| | | "launchMode": "default" |
| | | }, |
| | | { |
| | | "name": "报名列表", |
| | | "pathName": "subpackages/jobApplicationManage/jobApplicationDetail/jobApplicationDetail", |
| | | "query": "id=d74bca5e-a26e-4bb9-6b53-08de257fa022", |
| | | "launchMode": "default", |
| | | "scene": null |
| | | }, |
| | | { |
| | | "name": "发布任务", |
| | | "pathName": "subpackages/task/publishTask/publishTask", |
| | | "query": "", |
| | |
| | | <div class="job-detail-content-contact-info-item"> |
| | | <div class="job-detail-content-contact-info-item-label">身份证号:</div> |
| | | <div class="job-detail-content-contact-info-item-text"> |
| | | {{ isCollapse ? hiddenIDNumberForEnd6(identity) : '立即联系后可查看' }} |
| | | {{ isCollapse ? hiddenIDNumberForEnd4(identity) : '立即联系后可查看' }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { FlexJobTopView, ProTabs, ProTabPane } from '@12333/components'; |
| | | import { hiddenIDNumberForEnd6 } from '@12333/utils'; |
| | | import { hiddenIDNumberForEnd4 } from '@12333/utils'; |
| | | import curriculumView from './components/curriculumView.vue'; |
| | | import experienceView from './components/experienceView.vue'; |
| | | import { EnumUserGender } from '@12333/constants'; |
| | |
| | | </div> |
| | | </template> |
| | | <template #footerRight> |
| | | <nut-button type="primary" plain @click.stop="handleMakeCall(item)">联系TA</nut-button> |
| | | <nut-button type="primary" @click.stop="goToJobDetail(item)">查看详情</nut-button> |
| | | </template> |
| | | </FlexJobCard> |
| | |
| | | import { useTaskUserList } from '@12333/hooks'; |
| | | import { FlexJobCard } from '@12333/components'; |
| | | import Taro from '@tarojs/taro'; |
| | | import { setOSSLink } from '@12333/utils'; |
| | | import { Message, setOSSLink } from '@12333/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'SignList', |
| | |
| | | url: `${RouterPath.flexJobDetailFromTask}?enterpriseEmployeeId=${item.enterpriseEmployeeId}&id=${item.id}&taskInfoId=${id}`, |
| | | }); |
| | | } |
| | | |
| | | function handleMakeCall(item: API.GetTaskUsersQueryResultItem) { |
| | | Message.confirm({ |
| | | message: item.contactPhoneNumber, |
| | | }); |
| | | } |
| | | </script> |
| | | |
| | | <style lang="scss"> |
| | |
| | | </nut-form> |
| | | <div class="payroll-form-footer"> |
| | | <nut-button @click="handleCancel">取消</nut-button> |
| | | <nut-button type="primary" @click="handleConfirm">确认</nut-button> |
| | | <nut-button type="primary" @click="recordForm">确认</nut-button> |
| | | </div> |
| | | </div> |
| | | </nut-popup> |
| | |
| | | handleCancel, |
| | | openDialog, |
| | | handleConfirm, |
| | | recordForm, |
| | | onTimeoutHoursChange, |
| | | } = useSettlementAmount({ |
| | | taskInfoUserId: id, |
| | |
| | | let params: API.CheckReceiveTaskCommand = { |
| | | id: detail.value?.id, |
| | | checkReceiveStatus: EnumTaskUserSubmitCheckReceiveStatus.Success, |
| | | // serviceFee: form.serviceFee, |
| | | // timeoutHours: form.timeoutHours, |
| | | // timeoutFee: form.timeoutFee, |
| | | // otherFee: form.otherFee, |
| | | // remark: form.remark, |
| | | // settlementAmount: settlementAmount.value, |
| | | serviceFee: form.serviceFee, |
| | | timeoutHours: form.timeoutHours, |
| | | timeoutFee: form.timeoutFee, |
| | | otherFee: form.otherFee, |
| | | remark: form.remark, |
| | | settlementAmount: settlementAmount.value, |
| | | }; |
| | | let res = await taskCheckReceiveServices.checkReceiveTask(params); |
| | | if (res) { |
| | |
| | | |
| | | |
| | | ## [1.1.14](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/cMiniApp/v1.1.13...@12333/cMiniApp/v1.1.14) (2025-11-28) |
| | | |
| | | |
| | | ### Bug Fixes |
| | | |
| | | * bug ([5c95daf](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5c95daf6b3e136882b9c68ac209596cee76489f0)) |
| | | * bug ([5cb6cc1](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5cb6cc172de04a8c0f5fd837aa960b428587e2a7)) |
| | | * bug ([5ad8bc7](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5ad8bc73f81fe2bf352a0fdf51fe1f35f8256c9d)) |
| | | * s ([7c39b93](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7c39b93176bc0a4a6630c45bbb7e73fff8895eb9)) |
| | | * s ([5012cd0](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5012cd097d766a7e3a74ba7291bb79879705cbba)) |
| | | * s ([793b614](http://120.26.58.240:8888/r/flexJobMiniApp/commits/793b61420652e2b24e4c62eae0ab713f69f6cd1b)) |
| | | * s ([66c65e2](http://120.26.58.240:8888/r/flexJobMiniApp/commits/66c65e2d22f465daefa0f09bffcd7585c3654994)) |
| | | * s ([d76a672](http://120.26.58.240:8888/r/flexJobMiniApp/commits/d76a6724e8a7e40f491319de5e284aecea09e195)) |
| | | |
| | | |
| | | ### Features |
| | | |
| | | * 报名时触发发送消息 ([7ad6378](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7ad6378880f03400bc9c9878d753412d0121243a)) |
| | | * 页面 ([c87c533](http://120.26.58.240:8888/r/flexJobMiniApp/commits/c87c53395ae645e631c30f0f5eb8623f81b95acf)) |
| | | |
| | | ## [1.1.13](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/cMiniApp/v1.1.12...@12333/cMiniApp/v1.1.13) (2025-11-17) |
| | | |
| | | |
| | |
| | | { |
| | | "name": "@12333/cMiniApp", |
| | | "version": "1.1.13", |
| | | "version": "1.1.14", |
| | | "private": true, |
| | | "description": "", |
| | | "templateInfo": { |
| | |
| | | "description": "", |
| | | "setting": { |
| | | "urlCheck": false, |
| | | "es6": true, |
| | | "enhance": true, |
| | | "es6": false, |
| | | "enhance": false, |
| | | "postcss": false, |
| | | "preloadBackgroundData": false, |
| | | "minified": false, |
| | |
| | | "miniprogram": { |
| | | "list": [ |
| | | { |
| | | "name": "收入详情", |
| | | "pathName": "subpackages/wallet/incomeDetailInfo/incomeDetailInfo", |
| | | "query": "id=7899c603-f237-4505-949d-08de234155c4", |
| | | "scene": null, |
| | | "launchMode": "default" |
| | | }, |
| | | { |
| | | "name": "验收详情", |
| | | "pathName": "subpackages/task/taskCheckDetail/taskCheckDetail", |
| | | "query": "id=b0e79981-56d5-4730-83e7-08de1d1fb9dd", |
| | |
| | | </div> |
| | | </template> |
| | | </ListItem> |
| | | <ListItem title="任务名称" :show-arrow="false"> |
| | | <template #extra> |
| | | <div class="income-detail-info-value"> |
| | | {{ detail?.taskName }} |
| | | </div> |
| | | </template> |
| | | </ListItem> |
| | | <ListItem title="任务单号" :show-arrow="false"> |
| | | <template #extra> |
| | | <div class="income-detail-info-value"> |
| | | {{ detail?.taskCode }} |
| | | </div> |
| | | </template> |
| | | </ListItem> |
| | | <ListItem title="结算金额" :show-arrow="false"> |
| | | <template #extra> |
| | | <div class="income-detail-info-value"> |
| | |
| | | |
| | | |
| | | ## [1.1.14](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/underTakeMiniApp/v1.1.13...@12333/underTakeMiniApp/v1.1.14) (2025-11-28) |
| | | |
| | | |
| | | ### Bug Fixes |
| | | |
| | | * bug ([5c95daf](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5c95daf6b3e136882b9c68ac209596cee76489f0)) |
| | | * bug ([5cb6cc1](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5cb6cc172de04a8c0f5fd837aa960b428587e2a7)) |
| | | * bug ([5ad8bc7](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5ad8bc73f81fe2bf352a0fdf51fe1f35f8256c9d)) |
| | | * s ([7c39b93](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7c39b93176bc0a4a6630c45bbb7e73fff8895eb9)) |
| | | * s ([5012cd0](http://120.26.58.240:8888/r/flexJobMiniApp/commits/5012cd097d766a7e3a74ba7291bb79879705cbba)) |
| | | * s ([793b614](http://120.26.58.240:8888/r/flexJobMiniApp/commits/793b61420652e2b24e4c62eae0ab713f69f6cd1b)) |
| | | * s ([66c65e2](http://120.26.58.240:8888/r/flexJobMiniApp/commits/66c65e2d22f465daefa0f09bffcd7585c3654994)) |
| | | * s ([d76a672](http://120.26.58.240:8888/r/flexJobMiniApp/commits/d76a6724e8a7e40f491319de5e284aecea09e195)) |
| | | |
| | | |
| | | ### Features |
| | | |
| | | * 报名时触发发送消息 ([7ad6378](http://120.26.58.240:8888/r/flexJobMiniApp/commits/7ad6378880f03400bc9c9878d753412d0121243a)) |
| | | * 页面 ([c87c533](http://120.26.58.240:8888/r/flexJobMiniApp/commits/c87c53395ae645e631c30f0f5eb8623f81b95acf)) |
| | | |
| | | ## [1.1.13](http://120.26.58.240:8888/r/flexJobMiniApp/compare/@12333/underTakeMiniApp/v1.1.12...@12333/underTakeMiniApp/v1.1.13) (2025-11-17) |
| | | |
| | | |
| | |
| | | { |
| | | "name": "@12333/underTakeMiniApp", |
| | | "version": "1.1.13", |
| | | "version": "1.1.14", |
| | | "private": true, |
| | | "description": "", |
| | | "templateInfo": { |
| | |
| | | <div class="job-detail-content-contact-info-item"> |
| | | <div class="job-detail-content-contact-info-item-label">身份证号:</div> |
| | | <div class="job-detail-content-contact-info-item-text"> |
| | | {{ isCollapse ? hiddenIDNumberForEnd6(identity) : '立即联系后可查看' }} |
| | | {{ isCollapse ? hiddenIDNumberForEnd4(identity) : '立即联系后可查看' }} |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { FlexJobTopView, ProTabs, ProTabPane } from '@12333/components'; |
| | | import { hiddenIDNumberForEnd6 } from '@12333/utils'; |
| | | import { hiddenIDNumberForEnd4 } from '@12333/utils'; |
| | | import curriculumView from './components/curriculumView.vue'; |
| | | import experienceView from './components/experienceView.vue'; |
| | | import { EnumUserGender } from '@12333/constants'; |
| | |
| | | </nut-form> |
| | | <div class="payroll-form-footer"> |
| | | <nut-button @click="handleCancel">取消</nut-button> |
| | | <nut-button type="primary" @click="handleConfirm">确认</nut-button> |
| | | <nut-button type="primary" @click="recordForm">确认</nut-button> |
| | | </div> |
| | | </div> |
| | | </nut-popup> |
| | |
| | | handleCancel, |
| | | openDialog, |
| | | handleConfirm, |
| | | recordForm, |
| | | onTimeoutHoursChange, |
| | | } = useSettlementAmount({ |
| | | taskInfoUserId: id, |
| | |
| | | let params: API.CheckReceiveTaskCommand = { |
| | | id: detail.value?.id, |
| | | checkReceiveStatus: EnumTaskUserSubmitCheckReceiveStatus.Success, |
| | | serviceFee: form.serviceFee, |
| | | timeoutHours: form.timeoutHours, |
| | | timeoutFee: form.timeoutFee, |
| | | otherFee: form.otherFee, |
| | | remark: form.remark, |
| | | settlementAmount: settlementAmount.value, |
| | | }; |
| | | let res = await taskCheckReceiveServices.checkReceiveTask(params); |
| | | if (res) { |
| | |
| | | |
| | | .nut-button { |
| | | min-width: 144rpx; |
| | | |
| | | &.nut-button--plain { |
| | | border-width: 1px; |
| | | } |
| | | |
| | | &.nut-button { |
| | | margin-left: 10px; |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | Face = 20, |
| | | } |
| | | |
| | | /** 服务费收取方式 */ |
| | | export enum EnumEnterpriseCooperationServiceFeeCollectType { |
| | | /**按比例 */ |
| | | Rate = 10, |
| | | /**单人单次 */ |
| | | SingleTime = 20, |
| | | } |
| | | |
| | | /** 签约状态 */ |
| | | export enum EnumEnterpriseCooperationSignStatus { |
| | | /**未签约 */ |
| | |
| | | UserServerEnterpriseEmployee = 23, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 24, |
| | | /**电子签 */ |
| | | /**短信 */ |
| | | ToolServerSms = 25, |
| | | /**小程序 */ |
| | | ToolServerWxmp = 26, |
| | | } |
| | | |
| | | /** 资源请求方式 */ |
| | |
| | | VERIFYING = 2, |
| | | } |
| | | |
| | | /** 微信小程序订阅消息模板 */ |
| | | export enum EnumWxmpSubscribMessageTemplate { |
| | | /**支付成功提醒 结算完成后向承揽端管理员推送 */ |
| | | SettlementCompletedToSupplier = 0, |
| | | /**报酬结算审核结果通知 甲方结算确认后向承揽端管理员推送 */ |
| | | SettlementAuditCompletedToSupplier = 1, |
| | | /**工资发放通知 结算完成后向C端人员通知 */ |
| | | SettlementReceiveCompletedToUser = 2, |
| | | /**报名录用结果通知 被录用后向C端人员通知 */ |
| | | HireCompletedToUser = 3, |
| | | /**排班成功通知 排班后向C端人员通知 */ |
| | | ArrangeCompletedToUser = 4, |
| | | /**测试 */ |
| | | Test = 5, |
| | | } |
| | | |
| | | /** 我的报名分页列表-状态 */ |
| | | export enum GetPersonalApplyTaskInfosQueryStatus { |
| | | /**待确认 */ |
| | |
| | | |
| | | export const EnumTaskCheckReceiveMethodText = { |
| | | [EnumTaskCheckReceiveMethod.CheckIn]: '发单签到', |
| | | [EnumTaskCheckReceiveMethod.Submit]: '自主提交', |
| | | [EnumTaskCheckReceiveMethod.Submit]: '灵工提交', |
| | | }; |
| | |
| | | }: UseSettlementAmountOptions) { |
| | | const dialogVisible = ref(false); |
| | | |
| | | const preForm = reactive({ |
| | | /**是否记录过 */ |
| | | isRecord: false, |
| | | serviceFee: 0, |
| | | timeoutHours: 0, |
| | | timeoutFee: 0, |
| | | otherFee: 0, |
| | | remark: '', |
| | | timeoutServiceFee: 0, |
| | | }); |
| | | |
| | | const form = reactive({ |
| | | serviceFee: 0, |
| | | timeoutHours: 0, |
| | |
| | | let res = await calcTaskCheckReceive(checkInTime); |
| | | if (res) { |
| | | dialogVisible.value = true; |
| | | form.serviceFee = res.serviceFee ?? 0; |
| | | form.timeoutHours = res.timeoutHours ?? 0; |
| | | form.otherFee = 0; |
| | | form.timeoutFee = 0; |
| | | form.remark = ''; |
| | | form.timeoutServiceFee = unref(timeoutServiceFee) ?? 0; |
| | | if (preForm.isRecord) { |
| | | form.serviceFee = preForm.serviceFee; |
| | | form.timeoutHours = preForm.timeoutHours; |
| | | form.otherFee = preForm.otherFee; |
| | | form.timeoutFee = preForm.timeoutFee; |
| | | form.remark = preForm.remark; |
| | | form.timeoutServiceFee = preForm.timeoutServiceFee; |
| | | } else { |
| | | form.serviceFee = res.serviceFee ?? 0; |
| | | form.timeoutHours = res.timeoutHours ?? 0; |
| | | form.otherFee = 0; |
| | | form.timeoutFee = 0; |
| | | form.remark = ''; |
| | | form.timeoutServiceFee = unref(timeoutServiceFee) ?? 0; |
| | | } |
| | | } |
| | | } |
| | | |
| | |
| | | } |
| | | |
| | | function handleCancel() { |
| | | dialogVisible.value = false; |
| | | } |
| | | |
| | | function recordForm() { |
| | | preForm.serviceFee = form.serviceFee; |
| | | preForm.timeoutHours = form.timeoutHours; |
| | | preForm.otherFee = form.otherFee; |
| | | preForm.timeoutFee = form.timeoutFee; |
| | | preForm.remark = form.remark; |
| | | preForm.timeoutServiceFee = form.timeoutServiceFee; |
| | | preForm.isRecord = true; |
| | | dialogVisible.value = false; |
| | | } |
| | | |
| | |
| | | openDialog, |
| | | handleConfirm, |
| | | onTimeoutHoursChange, |
| | | recordForm, |
| | | }; |
| | | } |
| | |
| | | ); |
| | | } |
| | | |
| | | /** 1.3.0.2版本修复企业钱包交易数据 POST /api/user/enterpriseWallet/repairEnterpriseWalletTransaction_1_3_0_2 */ |
| | | export async function repairEnterpriseWalletTransaction1302( |
| | | body: API.RepairEnterpriseWalletTransaction1302Command, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/enterpriseWallet/repairEnterpriseWalletTransaction_1_3_0_2', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 修改企业微信支付钱包结算账户 POST /api/user/enterpriseWallet/updateEnterpriseWeChatPayWalletBankAccountInfo */ |
| | | export async function updateEnterpriseWeChatPayWalletBankAccountInfo( |
| | | body: API.UpdateEnterpriseWeChatPayWalletBankAccountInfoCommand, |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** 同步数据库 POST /api/common/syncDatabase/sendWxmpSubscribMessage */ |
| | | export async function sendWxmpSubscribMessage( |
| | | body: API.SendWxmpSubscribMessageCommand, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/common/syncDatabase/sendWxmpSubscribMessage', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 同步数据库 POST /api/common/syncDatabase/syncDatabase */ |
| | | export async function syncDatabase(body: API.SyncDatabaseCommand, options?: API.RequestConfig) { |
| | | return request<number>('/api/common/syncDatabase/syncDatabase', { |
| | |
| | | Face = 20, |
| | | } |
| | | |
| | | enum EnumEnterpriseCooperationServiceFeeCollectType { |
| | | /**按比例 */ |
| | | Rate = 10, |
| | | /**单人单次 */ |
| | | SingleTime = 20, |
| | | } |
| | | |
| | | enum EnumEnterpriseCooperationSignStatus { |
| | | /**未签约 */ |
| | | None = 10, |
| | |
| | | UserServerEnterpriseEmployee = 23, |
| | | /**电子签 */ |
| | | ElectronSignServerElectronSign = 24, |
| | | /**电子签 */ |
| | | /**短信 */ |
| | | ToolServerSms = 25, |
| | | /**小程序 */ |
| | | ToolServerWxmp = 26, |
| | | } |
| | | |
| | | enum EnumResourceMethod { |
| | |
| | | VERIFY_FAIL = 1, |
| | | /**验证中,商户可发起提现尝试 */ |
| | | VERIFYING = 2, |
| | | } |
| | | |
| | | enum EnumWxmpSubscribMessageTemplate { |
| | | /**支付成功提醒 结算完成后向承揽端管理员推送 */ |
| | | SettlementCompletedToSupplier = 0, |
| | | /**报酬结算审核结果通知 甲方结算确认后向承揽端管理员推送 */ |
| | | SettlementAuditCompletedToSupplier = 1, |
| | | /**工资发放通知 结算完成后向C端人员通知 */ |
| | | SettlementReceiveCompletedToUser = 2, |
| | | /**报名录用结果通知 被录用后向C端人员通知 */ |
| | | HireCompletedToUser = 3, |
| | | /**排班成功通知 排班后向C端人员通知 */ |
| | | ArrangeCompletedToUser = 4, |
| | | /**测试 */ |
| | | Test = 5, |
| | | } |
| | | |
| | | interface ExportEnterpriseBalanceDetailsCommand { |
| | |
| | | id?: string; |
| | | /** 供应商Id */ |
| | | supplierEnterpriseId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 需求人数 */ |
| | | needPeopleNumber?: number; |
| | | /** 任务名称 */ |
| | |
| | | id?: string; |
| | | /** 任务人员Id */ |
| | | taskInfoUserId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | enterpriseEmployeeUser?: GetCheckReceiveTaskUserSubmitsQueryResultObjectDataEnterpriseEmployeeUser; |
| | | /** 验收时间 */ |
| | | date?: string; |
| | |
| | | enterpriseSignContractTime?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | /** 协议起始时间 */ |
| | | contractBegin?: string; |
| | | /** 协议终止时间 */ |
| | | contractEnd?: string; |
| | | userSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | } |
| | | |
| | |
| | | createdTimeStart?: string; |
| | | /** 登记时间-最晚时间 */ |
| | | createdTimeEnd?: string; |
| | | /** 灵工签约时间-最早时间 */ |
| | | userSignContractTimeStart?: string; |
| | | /** 灵工签约时间-最晚时间 */ |
| | | userSignContractTimeEnd?: string; |
| | | /** 签约时间-最早时间 */ |
| | | signContractTimeStart?: string; |
| | | /** 签约时间-最晚时间 */ |
| | |
| | | signStatus?: EnumEnterpriseCooperationSignStatus; |
| | | /** 合作协议 */ |
| | | cooperationAgreementUrl?: string; |
| | | serviceFeeCollectType?: EnumEnterpriseCooperationServiceFeeCollectType; |
| | | /** 服务费 */ |
| | | serviceFeeRate?: number; |
| | | /** 发票税点 */ |
| | | invoiceTaxPointRate?: number; |
| | | /** 用户Id */ |
| | | userId?: string; |
| | | /** 账号 */ |
| | |
| | | cityContent?: string; |
| | | cooperationStatus?: EnumEnterpriseCooperationStatus; |
| | | signStatus?: EnumEnterpriseCooperationSignStatus; |
| | | serviceFeeCollectType?: EnumEnterpriseCooperationServiceFeeCollectType; |
| | | /** 服务费 */ |
| | | serviceFeeRate?: number; |
| | | /** 发票税点 */ |
| | | invoiceTaxPointRate?: number; |
| | | } |
| | | |
| | | interface GetPersonalApplyTaskInfosQuery { |
| | |
| | | enterpriseSignContractStatus?: EnumTaskUserSignContractStatus; |
| | | /** 企业签约时间 */ |
| | | enterpriseSignContractTime?: string; |
| | | source?: EnumEnterpriseEmployeeSource; |
| | | /** 来源名称 */ |
| | | sourceName?: string; |
| | | /** 电子合同 */ |
| | | contractUrl?: string; |
| | | /** 协议起始时间 */ |
| | | contractBegin?: string; |
| | | /** 协议终止时间 */ |
| | | contractEnd?: string; |
| | | } |
| | | |
| | | interface GetPersonalUserInfosQuery { |
| | |
| | | type?: EnumUserWalletTransactionType; |
| | | /** 订单号 */ |
| | | code?: string; |
| | | /** 任务名称 */ |
| | | taskName?: string; |
| | | /** 任务单号 */ |
| | | taskCode?: string; |
| | | /** 企业名称 */ |
| | | enterpriseName?: string; |
| | | /** 结算日期 */ |
| | |
| | | isDisabled?: boolean; |
| | | /** 用户数量 */ |
| | | userCount?: number; |
| | | /** 是否公开 */ |
| | | isPublic?: boolean; |
| | | } |
| | | |
| | | interface GetRoleUserInfosQueryResultItem { |
| | |
| | | interface GetSettlementTasksQueryResultItem { |
| | | /** 任务Id */ |
| | | id?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 所属任务 */ |
| | | name?: string; |
| | | /** 任务单号 */ |
| | |
| | | auditStatus?: EnumTaskSettlementAuditStatus; |
| | | /** 操作人 */ |
| | | operator?: string; |
| | | /** 发单企业名称 */ |
| | | enterpriseName?: string; |
| | | } |
| | | |
| | | interface GetSettlementTasksQueryResultObjectData { |
| | |
| | | checkReceiveEndDate?: string; |
| | | /** 任务名称 */ |
| | | name?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 任务单号 */ |
| | | code?: string; |
| | | billingMethod?: EnumBillingMethod; |
| | |
| | | id?: string; |
| | | /** 供应商Id */ |
| | | supplierEnterpriseId?: string; |
| | | /** 是否内部任务 */ |
| | | isInternal?: boolean; |
| | | /** 供应商 */ |
| | | supplierEnterpriseName?: string; |
| | | /** 需求人数 */ |
| | |
| | | } |
| | | |
| | | interface ImportEnterpriseEmployeesCommandResultError { |
| | | /** 协议起始 */ |
| | | contractBegin?: string; |
| | | /** 协议终止 */ |
| | | contractEnd?: string; |
| | | /** 错误信息 */ |
| | | errorMessage?: string; |
| | | /** 姓名 */ |
| | |
| | | contactPhoneNumber?: string; |
| | | /** 身份证号 */ |
| | | identity?: string; |
| | | /** 协议起始时间 */ |
| | | contractBegin?: string; |
| | | /** 协议终止时间 */ |
| | | contractEnd?: string; |
| | | } |
| | | |
| | | interface ImportTaskSettlementOrderRostersCommand { |
| | |
| | | type RepairContractTemplateValuePointBy1202Command = Record<string, any>; |
| | | |
| | | type RepairEnterpriseEmployee1302Command = Record<string, any>; |
| | | |
| | | type RepairEnterpriseUser1302Command = Record<string, any>; |
| | | |
| | | type RepairEnterpriseWalletTransaction1302Command = Record<string, any>; |
| | | |
| | | type RepairTaskEstimatedServiceFee1301Command = Record<string, any>; |
| | | |
| | |
| | | signStatus?: EnumEnterpriseCooperationSignStatus; |
| | | /** 合作协议 */ |
| | | cooperationAgreementUrl?: string; |
| | | serviceFeeCollectType?: EnumEnterpriseCooperationServiceFeeCollectType; |
| | | /** 服务费 */ |
| | | serviceFeeRate?: number; |
| | | /** 发票税点 */ |
| | | invoiceTaxPointRate?: number; |
| | | /** 账号 */ |
| | | userName?: string; |
| | | /** 密码(选填 填了就改不填就不改) */ |
| | |
| | | phoneNumber: string; |
| | | } |
| | | |
| | | interface SendWxmpSubscribMessageCommand { |
| | | /** 小程序编号 */ |
| | | wxmpCode: string; |
| | | template: EnumWxmpSubscribMessageTemplate; |
| | | /** 点击模板卡片后的跳转页面,仅限本小程序内的页面。支持带参数,(示例index?foo=bar)。该字段不填则模板无跳转 */ |
| | | page?: string; |
| | | /** 接收者(用户)的 openid */ |
| | | touser: string; |
| | | /** 模板内容,格式形如{ "phrase3": { "value": "审核通过" }, "name1": { "value": "订阅" }, "date2": { "value": "2019-12-25 09:42" } } */ |
| | | data: any; |
| | | } |
| | | |
| | | interface SetDictionaryDataIsDisabledCommand { |
| | | ids?: string[]; |
| | | /** 是否已禁用 */ |
| | |
| | | }); |
| | | } |
| | | |
| | | /** 1.3.0.2版本修复企业用户数据 POST /api/user/user/repairEnterpriseUser_1_3_0_2 */ |
| | | export async function repairEnterpriseUser1302( |
| | | body: API.RepairEnterpriseUser1302Command, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<boolean>('/api/user/user/repairEnterpriseUser_1_3_0_2', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json-patch+json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** 重置用户操作密码 POST /api/user/user/resetUserOperatorPasswords */ |
| | | export async function resetUserOperatorPasswords( |
| | | body: API.ResetUserOperatorPasswordsCommand, |
| | |
| | | return list.filter(Boolean).join(separator); |
| | | } |
| | | |
| | | export const hiddenIDNumberForEnd6 = (realIDNumber: string) => { |
| | | export const hiddenIDNumberForEnd4 = (realIDNumber: string) => { |
| | | if (!realIDNumber) return ''; |
| | | return realIDNumber.replace(/^(\d+)(.{6})$/, '$1******'); |
| | | return realIDNumber.replace(/^(\d+)(.{4})$/, '$1****'); |
| | | }; |
| | | |
| | | export const showBankCodeForEnd4 = (bankCode: string) => { |