| | |
| | | :name="item.name" |
| | | :gender="item.gender" |
| | | :isReal="item.isReal" |
| | | :totalWorkHours="item.totalWorkHours" |
| | | :totalWorkHours="item.timeoutHours" |
| | | :settlementAmount="item.settlementAmount" |
| | | > |
| | | <template #actions v-if="form.auditStatus === EnumTaskSettlementAuditStatus.Wait"> |
| | |
| | | auditStatus: 0, |
| | | billingMethod: 0, |
| | | settlementStatus: 0, |
| | | rosters: [] as API.AuditTaskSettlementCommandRoster[], |
| | | }); |
| | | |
| | | const { |
| | |
| | | form.auditStatus = res.detail?.auditStatus; |
| | | form.settlementStatus = res.detail?.settlementStatus; |
| | | form.billingMethod = res.detail?.billingMethod; |
| | | form.rosters = res.data?.map((x) => ({ |
| | | id: x.id, |
| | | name: x.name, |
| | | gender: x.gender, |
| | | isReal: x.isReal, |
| | | timeoutHours: x.timeoutHours, |
| | | settlementAmount: x.settlementAmount, |
| | | })); |
| | | } |
| | | return res; |
| | | }, |
| | |
| | | id: id, |
| | | operatorToken: operatorToken, |
| | | auditStatus: auditStatus, |
| | | rosters: form.rosters, |
| | | }; |
| | | let res = await taskServices.auditTaskSettlement(params); |
| | | if (res) { |
| | |
| | | auditRemark?: string; |
| | | /** 操作令牌 */ |
| | | operatorToken?: string; |
| | | /** 名单 */ |
| | | rosters?: AuditTaskSettlementCommandRoster[]; |
| | | } |
| | | |
| | | interface AuditTaskSettlementCommandRoster { |
| | | /** 名单Id */ |
| | | id?: string; |
| | | /** 服务费(元) */ |
| | | serviceFee?: number; |
| | | /** 超时(小时) */ |
| | | timeoutHours?: number; |
| | | /** 超时费用(元) */ |
| | | timeoutFee?: number; |
| | | /** 其他费用(元) */ |
| | | otherFee?: number; |
| | | /** 备注 */ |
| | | remark?: string; |
| | | /** 结算金额 */ |
| | | settlementAmount: number; |
| | | } |
| | | |
| | | interface BaiduOcrBusinessLicenseResultModel { |