| | |
| | | <SearchInput |
| | | v-model="extraParamState.keywords" |
| | | style="width: 260px" |
| | | placeholder="任务名称" |
| | | placeholder="任务名称/客户" |
| | | @on-click-search="getList" |
| | | > |
| | | </SearchInput> |
| | |
| | | import { EnumTaskStatusText, EnumTaskReleaseStatusText } from '@/constants'; |
| | | import { useGlobalEventContext } from '@/hooks'; |
| | | import * as taskServices from '@/services/api/task'; |
| | | import { format } from '@/utils'; |
| | | import { format, OrderUtils } from '@/utils'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import { Message } from '@bole-core/core'; |
| | | import dayjs from 'dayjs'; |
| | |
| | | endTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | | serviceFee: { |
| | | type: 'money', |
| | | formatter: (row) => { |
| | | return row.billingMethod === EnumBillingMethod.Face |
| | | ? '' |
| | | : `${row.serviceFee}${EnumBillingMethodUnitText[row.billingMethod]}`; |
| | | formatter: (row: API.GetTaskInfosQueryResultItem) => { |
| | | return OrderUtils.getServiceFeeText(row.serviceFee, row.billingMethod); |
| | | }, |
| | | }, |
| | | applyBeginTime: { type: 'date', format: 'YYYY-MM-DD' }, |
| | |
| | | params: { |
| | | id: row?.id ?? '', |
| | | }, |
| | | query: { |
| | | supplierEnterpriseId: row?.supplierEnterpriseId, |
| | | }, |
| | | }); |
| | | } |
| | | function goDetail(row: API.GetTaskInfosQueryResultItem) { |