| | |
| | | <template #query> |
| | | <QueryFilterItem> |
| | | <SearchInput |
| | | v-model="extraParamState.title" |
| | | v-model="extraParamState.searchKeyWord" |
| | | style="width: 250px" |
| | | placeholder="ä¼ä¸å/ä¿¡ç¨ä»£ç " |
| | | @on-click-search="getList" |
| | |
| | | import MateriaDetailDialog from './MateriaDetailDialog.vue'; |
| | | import { FourStreamsMaterialFileTableItem } from './types'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | |
| | | defineOptions({ |
| | | name: 'DeclareEnterpriseTableView', |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetInformationForManageInput = { |
| | | let params: API.GetParkBountyApplyInfoInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | title: extraParamState.title, |
| | | searchKeyWord: extraParamState.searchKeyWord, |
| | | }; |
| | | let res = await informationServices.getInformationForManage(params); |
| | | let res = await parkBountyApplyServices.getParkBountyApplyDetailList(params); |
| | | return res; |
| | | } catch (error) {} |
| | | }, |
| | | { |
| | | defaultExtraParams: { |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | title: '', |
| | | searchKeyWord: '', |
| | | }, |
| | | } |
| | | ); |
| | |
| | | }, |
| | | }); |
| | | |
| | | function openDialog(row?: API.IncentivePaymentsManageListOutput) { |
| | | function openDialog(row?: API.ParkBountyApplyDetailInfo) { |
| | | handleEdit({ |
| | | list: [], |
| | | }); |
| | |
| | | ...EnterpriseMaterialFileBusinessTypeEnumText, |
| | | ...DutiableFileBusinessTypeEnumText, |
| | | }; |
| | | |
| | | export enum AuthType { |
| | | /** |
| | | * 人èµå
¬å¸ |
| | | */ |
| | | HumanResourceCompany = 10, |
| | | /** |
| | | * è¡ä¸é
奿å¡å
¬å¸ |
| | | */ |
| | | IndustryMating = 20, |
| | | /** |
| | | * ç¨å·¥åä½ |
| | | */ |
| | | Employers = 30, |
| | | /** |
| | | * è¡ä¸æºæ |
| | | */ |
| | | IndustryBody = 40, |
| | | } |
| | | |
| | | export const AuthTypeText = { |
| | | [AuthType.HumanResourceCompany]: '人èµå
¬å¸', |
| | | [AuthType.IndustryMating]: 'é
奿å¡å', |
| | | [AuthType.Employers]: 'ç²æ¹åä½', |
| | | [AuthType.IndustryBody]: 'è¡ä¸æºæ', |
| | | }; |
| | |
| | | [IncomeStatusEnum.WaitForIncome]: 'å¾
å
¥è´¦', |
| | | [IncomeStatusEnum.HasIncome]: 'å·²å
¥è´¦', |
| | | }; |
| | | |
| | | export enum EnterpriseBountyPayTypeEnum { |
| | | /**åºé */ |
| | | PayOut = 1, |
| | | /**å
¥é */ |
| | | PayIn = 2, |
| | | } |
| | | |
| | | export const EnterpriseBountyPayTypeEnumText = { |
| | | [EnterpriseBountyPayTypeEnum.PayOut]: 'åºé', |
| | | [EnterpriseBountyPayTypeEnum.PayIn]: 'å
¥é', |
| | | }; |
| | |
| | | }); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯ä¸ååºå®¢æ·ç®¡çä¼ä¸åºæ¬ä¿¡æ¯ GET /api/Customer/GetParkCustomerManageBaseDetail */ |
| | | export async function getParkCustomerManageBaseDetail( |
| | | // å å çæçParamç±»å (ébodyåæ°swaggeré»è®¤æ²¡æçæå¯¹è±¡) |
| | | params: API.APIgetParkCustomerManageBaseDetailParams, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerManageDetailOutput>( |
| | | '/api/Customer/GetParkCustomerManageBaseDetail', |
| | | { |
| | | method: 'GET', |
| | | params: { |
| | | ...params, |
| | | }, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è·åæå¡äººåå页å表 POST /api/Customer/GetServiceStaffPage */ |
| | | export async function getServiceStaffPage( |
| | | body: API.QueryServiceStaffListInput, |
| | |
| | | // @ts-ignore |
| | | import { request } from '@/utils/request'; |
| | | |
| | | /** è·åç³æ¥è¯¦æ
POST /api/ParkBountyApply/GetParkBountyApplyDetail */ |
| | | export async function getParkBountyApplyDetail( |
| | | body: API.GetParkBountyApplyInfoInput, |
| | | /** æ°å¢ç³æ¥(ç¬¬ä¸æ¥) POST /api/ParkBountyApply/AddParkBountyApply */ |
| | | export async function addParkBountyApply( |
| | | body: API.AddParkBountyApplyStepOneInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkBountyApplyInfoOutput>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyDetail', |
| | | return request<string>('/api/ParkBountyApply/AddParkBountyApply', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ç»§ç»ç³æ¥ POST /api/ParkBountyApply/EditParkBountyApply */ |
| | | export async function editParkBountyApply( |
| | | body: API.EditParkBountyApplyStepOneInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/EditParkBountyApply', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åå¯éæ©å
¬å¸åå·²åé¤å
¬å¸ POST /api/ParkBountyApply/GetCompanyNameList */ |
| | | export async function getCompanyNameList( |
| | | body: API.GetCompanyNameListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetBatchChooseCompanyOutput>('/api/ParkBountyApply/GetCompanyNameList', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è·åå·²ç³æ¥ä¼ä¸å表 å«å¯éæ©ãå·²åé¤ POST /api/ParkBountyApply/GetHasApplyCompanyNameList */ |
| | | export async function getHasApplyCompanyNameList( |
| | | body: API.GetHasApplyCompanyNameListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetBatchChooseCompanyOutput>( |
| | | '/api/ParkBountyApply/GetHasApplyCompanyNameList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | |
| | | ); |
| | | } |
| | | |
| | | /** è·åå¥å±éåæ¾å表 POST /api/ParkBountyApply/GetParkBountyApplyList */ |
| | | /** è·è¿ååºæ¥è¯¢å
¬å¸å页å表 POST /api/ParkBountyApply/GetParkApplyCompanyList */ |
| | | export async function getParkApplyCompanyList( |
| | | body: API.GetApplyCompanyListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkApplyCompanyListOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkApplyCompanyList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** æ¥è¯¢å¥å±éç³æ¥ä¼ä¸å
¬å¸å表 POST /api/ParkBountyApply/GetParkApplyCompanyStepTwoList */ |
| | | export async function getParkApplyCompanyStepTwoList( |
| | | body: API.GetParkApplyCompanyStepTwoListInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ParkBountyApplyDetailInfoPageOutput>( |
| | | '/api/ParkBountyApply/GetParkApplyCompanyStepTwoList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯âè·åç³æ¥è¯¦æ
-ç³æ¥è¯¦æ
åºç¡ä¿¡æ¯ POST /api/ParkBountyApply/GetParkBountyApplyDetailBaseInfo */ |
| | | export async function getParkBountyApplyDetailBaseInfo( |
| | | body: API.GetParkBountyApplyInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ParkBountyApplyBaseInfo>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyDetailBaseInfo', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯âè·åç³æ¥è¯¦æ
âç³æ¥ä¼ä¸ååå表 POST /api/ParkBountyApply/GetParkBountyApplyDetailList */ |
| | | export async function getParkBountyApplyDetailList( |
| | | body: API.GetParkBountyApplyInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ParkBountyApplyDetailInfoPageOutput>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyDetailList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è·åç³æ¥ä¼ä¸ä¸ä¼ çæä»¶ POST /api/ParkBountyApply/GetParkBountyApplyFile */ |
| | | export async function getParkBountyApplyFile( |
| | | body: API.GetParkBountyApplyFileInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkBountyApplyFileOutput>('/api/ParkBountyApply/GetParkBountyApplyFile', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯âè·åå¥å±éåæ¾å表 POST /api/ParkBountyApply/GetParkBountyApplyList */ |
| | | export async function getParkBountyApplyList( |
| | | body: API.GetParkBountyApplyListInput, |
| | | options?: API.RequestConfig |
| | |
| | | ); |
| | | } |
| | | |
| | | /** è·åå
¥è´¦è¯¦æ
POST /api/ParkBountyApply/GetParkBountyApplyTransferDetail */ |
| | | export async function getParkBountyApplyTransferDetail( |
| | | /** è¿è¥ç«¯âå
¥è´¦âå¥å±éå
¥è´¦è¯¦æ
åºç¡ä¿¡æ¯ POST /api/ParkBountyApply/GetParkBountyApplyTransferDetailInfo */ |
| | | export async function getParkBountyApplyTransferDetailInfo( |
| | | body: API.GetParkBountyApplyTransferInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkBountyApplyTransferInfoOutput>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyTransferDetail', |
| | | return request<API.ParkBountyApplyBaseInfo>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyTransferDetailInfo', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | |
| | | ); |
| | | } |
| | | |
| | | /** æ¹éå
¥è´¦ POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ |
| | | /** è¿è¥ç«¯âå
¥è´¦âç³æ¥ä¼ä¸åå POST /api/ParkBountyApply/GetParkBountyApplyTransferDetailList */ |
| | | export async function getParkBountyApplyTransferDetailList( |
| | | body: API.GetParkBountyApplyTransferInfoInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.ParkBountyApplyTransferDetailInfoPageOutput>( |
| | | '/api/ParkBountyApply/GetParkBountyApplyTransferDetailList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯ä¸ååºå®¢æ·ç®¡ç详æ
ä¸ä¼ä¸ç³æ¥è®°å½ POST /api/ParkBountyApply/GetParkCustomerBountyApplyList */ |
| | | export async function getParkCustomerBountyApplyList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountyApplyOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerBountyApplyList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯ä¸ååºå®¢æ·ç®¡ç详æ
ä¸å¥å±éåæ¾è®°å½ POST /api/ParkBountyApply/GetParkCustomerBountyGrantList */ |
| | | export async function getParkCustomerBountyGrantList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountyGrantOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerBountyGrantList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯-æ¿å¡ç«¯ä¸ååºå®¢æ·ç®¡çå表 POST /api/ParkBountyApply/GetParkCustomerManagePage */ |
| | | export async function getParkCustomerManagePage( |
| | | body: API.QueryParkCustomerManageInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerManageOutputPageOutput>( |
| | | '/api/ParkBountyApply/GetParkCustomerManagePage', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** å
é¨å®¡æ ¸ POST /api/ParkBountyApply/IncheckParkBountyApply */ |
| | | export async function incheckParkBountyApply( |
| | | body: API.IncheckParkBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/IncheckParkBountyApply', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯âå
¥è´¦-æ¹éå
¥è´¦ POST /api/ParkBountyApply/ParkBountyApplyBatchTransfer */ |
| | | export async function parkBountyApplyBatchTransfer( |
| | | body: API.ParkBountyApplyBatchTransferInput, |
| | | options?: API.RequestConfig |
| | |
| | | }); |
| | | } |
| | | |
| | | /** ä¸ä¼ å票åè¯ POST /api/ParkBountyApply/ParkBountyApplySettle */ |
| | | /** è¿è¥ç«¯âå
¥è´¦âä¸ä¼ åè¯ POST /api/ParkBountyApply/ParkBountyApplySettle */ |
| | | export async function parkBountyApplySettle( |
| | | body: API.ParkBountyApplySettleInput, |
| | | options?: API.RequestConfig |
| | |
| | | }); |
| | | } |
| | | |
| | | /** å¥å±éå
¥è´¦ POST /api/ParkBountyApply/ParkBountyApplyTransfer */ |
| | | /** è¿è¥ç«¯âå
¥è´¦âå¥å±éå
¥è´¦ POST /api/ParkBountyApply/ParkBountyApplyTransfer */ |
| | | export async function parkBountyApplyTransfer( |
| | | body: API.ParkBountyApplyTransferInput, |
| | | options?: API.RequestConfig |
| | |
| | | }); |
| | | } |
| | | |
| | | /** ä¸ä¼ åè¯ POST /api/ParkBountyApply/ParkBountyApplyTransferFile */ |
| | | /** æ¿å¡ç«¯âå¥å±éä¸ä¼ åè¯ POST /api/ParkBountyApply/ParkBountyApplyTransferFile */ |
| | | export async function parkBountyApplyTransferFile( |
| | | body: API.ParkBountyApplyTransferFileInput, |
| | | options?: API.RequestConfig |
| | |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ä¿åå¥éåé
表ãå¥å±éæ±æ»è¡¨ãå¥å±æ»é¢ POST /api/ParkBountyApply/SaveParkBountyApplyCollectFile */ |
| | | export async function saveParkBountyApplyCollectFile( |
| | | body: API.SaveParkBountyApplyCollectFileInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/SaveParkBountyApplyCollectFile', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ä¿åä¼ä¸ç¼´ç¨æç»ãè¥æ¶æ±æ» POST /api/ParkBountyApply/SaveParkBountyApplyGatherFile */ |
| | | export async function saveParkBountyApplyGatherFile( |
| | | body: API.SaveParkBountyApplyGatherFileInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<number>('/api/ParkBountyApply/SaveParkBountyApplyGatherFile', { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | }); |
| | | } |
| | | |
| | | /** ä¸ä¼ ä¼ä¸ææ POST /api/ParkBountyApply/UploadParkBountyApplyCompanyFile */ |
| | | export async function uploadParkBountyApplyCompanyFile( |
| | | body: API.UploadParkBountyApplyCompanyFileInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.UploadParkBountyApplyCompanyFileOutput>( |
| | | '/api/ParkBountyApply/UploadParkBountyApplyCompanyFile', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | |
| | | }); |
| | | } |
| | | |
| | | /** è¿è¥ç«¯ä¸ååºå®¢æ·ç®¡ç详æ
ä¸å¥å±éæ¶è´¹è®°å½ POST /api/ParkReward/GetParkCustomerBountyConsumptionList */ |
| | | export async function getParkCustomerBountyConsumptionList( |
| | | body: API.QueryParkCustomerBountyApplyInput, |
| | | options?: API.RequestConfig |
| | | ) { |
| | | return request<API.GetParkCustomerBountyConsumptionOutputPageOutput>( |
| | | '/api/ParkReward/GetParkCustomerBountyConsumptionList', |
| | | { |
| | | method: 'POST', |
| | | headers: { |
| | | 'Content-Type': 'application/json', |
| | | }, |
| | | data: body, |
| | | ...(options || {}), |
| | | } |
| | | ); |
| | | } |
| | | |
| | | /** è·åå¥å±ç³è¯·è·è¸ªå表 POST /api/ParkReward/GetParkRewardApplyFollowList */ |
| | | export async function getParkRewardApplyFollowList( |
| | | body: API.GetParkRewardApplyFollowInput, |
| | |
| | | userId?: string; |
| | | } |
| | | |
| | | interface AddParkBountyApplyStepOneInput { |
| | | batchNo?: string; |
| | | parkId?: string; |
| | | applyMonth?: string; |
| | | removeCompanyIds?: string[]; |
| | | } |
| | | |
| | | interface AddSysOrgInput { |
| | | /** ç»ç»åç§° */ |
| | | orgName: string; |
| | |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetParkCustomerManageBaseDetailParams { |
| | | id?: string; |
| | | } |
| | | |
| | | interface APIgetParkOrHRAdvertiseParams { |
| | | id?: string; |
| | | } |
| | |
| | | userId?: string; |
| | | } |
| | | |
| | | type BountyCheckStatusEnum = 10 | 20 | 30; |
| | | type BountyCheckStatusEnum = 10 | 20 | 30 | -10; |
| | | |
| | | type BusinessSettingTypeEnum = 10; |
| | | |
| | |
| | | listParams?: Record<string, any>; |
| | | } |
| | | |
| | | interface EditParkBountyApplyStepOneInput { |
| | | parkBountyApplyId?: string; |
| | | removeCompanyIds?: string[]; |
| | | } |
| | | |
| | | interface EDZ001Input { |
| | | recvLength?: number; |
| | | tradeDate?: number; |
| | |
| | | endRegistDate?: string; |
| | | } |
| | | |
| | | interface GetApplyCompanyListInput { |
| | | pageModel?: Pagination; |
| | | parkId?: string; |
| | | searchKeyWord?: string; |
| | | /** åºæ¬æ·æ¯å¦å·²å®å */ |
| | | bankIsVerify?: boolean; |
| | | /** è¥ä¸æ§ç
§æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | /** éæ©å
¬å¸Id */ |
| | | removeCompanyIds?: string[]; |
| | | } |
| | | |
| | | interface GetAreaListInput { |
| | | /** 1ç 2å¸ 3åº 4é */ |
| | | layer?: number; |
| | |
| | | remainList?: InsureInsStaffList[]; |
| | | } |
| | | |
| | | interface GetBatchChooseCompanyOutput { |
| | | listCanChooseCompany?: GetCompanyNameListOutput[]; |
| | | listDeleteChooseCompany?: GetCompanyNameListOutput[]; |
| | | } |
| | | |
| | | interface GetBusinessPayInfoInput { |
| | | pageModel?: Pagination; |
| | | settleNo?: string; |
| | |
| | | insureQrCode?: string; |
| | | } |
| | | |
| | | interface GetCompanyNameListInput { |
| | | parkId?: string; |
| | | /** éæ©å
¬å¸Id */ |
| | | removeCompanyIds?: string[]; |
| | | } |
| | | |
| | | interface GetCompanyNameListOutput { |
| | | companyId?: string; |
| | | name?: string; |
| | | } |
| | | |
| | | interface GetCooperationApplyInput { |
| | | pageModel?: Pagination; |
| | | status?: CooperationApplyStatusEnum; |
| | |
| | | settingStatus?: LgGigWorkerSignSettingStatus; |
| | | } |
| | | |
| | | interface GetHasApplyCompanyNameListInput { |
| | | parkBountyApplyId?: string; |
| | | /** éæ©å
¬å¸Id */ |
| | | removeCompanyIds?: string[]; |
| | | } |
| | | |
| | | interface GetHeadlineInformationInput { |
| | | /** æåºä¿¡æ¯ï¼é»è®¤æå¹¿åæåºAdSequenceååº */ |
| | | orderInput?: OrderInput[]; |
| | |
| | | enterinessName?: string; |
| | | } |
| | | |
| | | interface GetParkApplyCompanyListOutput { |
| | | id?: string; |
| | | userName?: string; |
| | | enterpriseName?: string; |
| | | bankIsVerify?: boolean; |
| | | /** è¥ä¸æ§ç
§æä»¶å°å */ |
| | | licenseUrl?: string; |
| | | /** ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç */ |
| | | societyCreditCode?: string; |
| | | /** ä¼ä¸ä¿¡æ¯æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | authType?: EnterpriseTypeEnum; |
| | | /** ä¼ä¸ç±»å 10人åèµæºå
¬å¸ 20ç²æ¹ä¼ä¸ 30è¡ä¸é
å¥ 40è¡ä¸æºæ */ |
| | | type?: number; |
| | | /** ç¨æ·ææºå· */ |
| | | phoneNumber?: string; |
| | | /** å建æ¶é´ */ |
| | | creationTime?: string; |
| | | } |
| | | |
| | | interface GetParkApplyCompanyListOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkApplyCompanyListOutput[]; |
| | | } |
| | | |
| | | interface GetParkApplyCompanyStepTwoListInput { |
| | | pageModel?: Pagination; |
| | | parkBountyApplyId?: string; |
| | | searchKeyWord?: string; |
| | | /** åºæ¬æ·æ¯å¦å·²å®å */ |
| | | bankIsVerify?: boolean; |
| | | /** è¥ä¸æ§ç
§æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | } |
| | | |
| | | interface GetParkBountyApplyFileInput { |
| | | parkBountyApplyId?: string; |
| | | companyId?: string; |
| | | } |
| | | |
| | | interface GetParkBountyApplyFileOutput { |
| | | /** ååºç±»å */ |
| | | parkType?: string; |
| | | /** ååºå
¥é©»åè®® */ |
| | | parkEnterPactUrl?: string; |
| | | /** å®ç¨è¯æ */ |
| | | ratePaymentFileUrl?: string; |
| | | /** ä¼ä¸ç¼´ç¨æç»æ±æ»è¡¨ */ |
| | | taxSubFileUrl?: string; |
| | | /** ä¼ä¸ç»è¥å©æ¶¦è¡¨ */ |
| | | operateProfitesUrl?: string; |
| | | /** å
¥é©»å
³è说æ */ |
| | | enterRelateUrl?: string; |
| | | /** C端个ç¨å®ç¨æ
åµè¯´æ */ |
| | | personTaxRatePayUrl?: string; |
| | | } |
| | | |
| | | interface GetParkBountyApplyInfoInput { |
| | | pageModel?: Pagination; |
| | | parkBountyApplyId?: string; |
| | | /** ä¼ä¸å/ä¿¡ç¨ä»£ç */ |
| | | searchKeyWord?: string; |
| | | } |
| | | |
| | | interface GetParkBountyApplyInfoOutput { |
| | | parkBountyApplyBaseInfo?: ParkBountyApplyBaseInfo; |
| | | parkBountyApplyDetailInfoList?: ParkBountyApplyDetailInfo[]; |
| | | /** åºæ¬æ·æ¯å¦å·²å®å */ |
| | | bankIsVerify?: boolean; |
| | | /** è¥ä¸æ§ç
§æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | } |
| | | |
| | | interface GetParkBountyApplyListInput { |
| | |
| | | id?: string; |
| | | /** ç³è¯·æ¹æ¬¡å· */ |
| | | batchNo?: string; |
| | | /** å
¥è´¦æ¶é´ */ |
| | | incomeTime?: string; |
| | | /** ç³è¯·ååºId */ |
| | | parkId?: string; |
| | | /** ç³è¯·ååº */ |
| | |
| | | /** åæ¾æ¥æ */ |
| | | settleTime?: string; |
| | | incomeStatus?: IncomeStatusEnum; |
| | | /** å
¥è´¦æ¥æ */ |
| | | incomeTime?: string; |
| | | outCheckStatus?: BountyCheckStatusEnum; |
| | | /** å¤é¨å®¡æ ¸æ¥æ */ |
| | | outCheckTime?: string; |
| | |
| | | } |
| | | |
| | | interface GetParkBountyApplyTransferInfoInput { |
| | | pageModel?: Pagination; |
| | | parkBountyApplyId?: string; |
| | | /** ä¼ä¸å/ä¿¡ç¨ä»£ç */ |
| | | searchKeyWord?: string; |
| | | transferToStatus?: TransferToStatusEnum; |
| | | } |
| | | |
| | | interface GetParkBountyApplyTransferInfoOutput { |
| | | parkBountyApplyBaseInfo?: ParkBountyApplyBaseInfo; |
| | | parkBountyApplyTransferDetailInfoList?: ParkBountyApplyTransferDetailInfo[]; |
| | | interface GetParkCustomerBountyApplyOutput { |
| | | id?: string; |
| | | /** ç³è¯·æ¹æ¬¡å· */ |
| | | batchNo?: string; |
| | | /** ç³è¯·æ¥æ */ |
| | | creationTime?: string; |
| | | inCheckStatus?: BountyCheckStatusEnum; |
| | | /** å
é¨å®¡æ ¸æ¥æ */ |
| | | inCheckTime?: string; |
| | | outCheckStatus?: BountyCheckStatusEnum; |
| | | /** å¤é¨å®¡æ ¸æ¥æ */ |
| | | outCheckTime?: string; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyApplyOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountyApplyOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyConsumptionOutput { |
| | | id?: string; |
| | | /** å¥å±éæ¶è´¹æ¥æ */ |
| | | payDateTime?: string; |
| | | /** æ¶è´¹éé¢ */ |
| | | amount?: number; |
| | | payType?: EnterpriseBountyPayTypeEnum; |
| | | /** å¥å±éä½é¢ */ |
| | | remianAmount?: number; |
| | | /** åè¯ */ |
| | | payFileUrl?: string; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyConsumptionOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountyConsumptionOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyGrantOutput { |
| | | id?: string; |
| | | /** ç³è¯·æ¹æ¬¡å· */ |
| | | batchNo?: string; |
| | | /** åæ¾æ¥æ */ |
| | | settleTime?: string; |
| | | /** å
¥è´¦æ¶é´ */ |
| | | incomeTime?: string; |
| | | incomeStatus?: IncomeStatusEnum; |
| | | /** åæ¾éé¢ */ |
| | | applySumAmount?: number; |
| | | /** å
¥è´¦åè¯ */ |
| | | transferToFileUrl?: string; |
| | | } |
| | | |
| | | interface GetParkCustomerBountyGrantOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerBountyGrantOutput[]; |
| | | } |
| | | |
| | | interface GetParkCustomerManageDetailOutput { |
| | | id?: string; |
| | | /** ä¼ä¸åç§° */ |
| | | enterpriseName?: string; |
| | | /** ä¿¡ç¨ä»£ç */ |
| | | societyCreditCode?: string; |
| | | enterpriseType?: EnterpriseTypeEnum; |
| | | industrialParkId?: string; |
| | | /** æå±ååº */ |
| | | industrialParkName?: string; |
| | | /** ååºç±»å */ |
| | | parkTypeId?: string; |
| | | /** ååºç±»ååç§° */ |
| | | parkTypName?: string; |
| | | /** è¥ä¸æ§ç
§ */ |
| | | licenseUrl?: string; |
| | | /** é¶è¡æ»è¡åç§° */ |
| | | bankName?: string; |
| | | /** é¶è¡æ¯è¡åç§° */ |
| | | bankBranchName?: string; |
| | | /** é¶è¡å¡å· */ |
| | | bankCardNumber?: string; |
| | | } |
| | | |
| | | interface GetParkCustomerManageOutput { |
| | | id?: string; |
| | | /** å¸å· */ |
| | | userName?: string; |
| | | /** ä¼ä¸åç§° */ |
| | | enterpriseName?: string; |
| | | /** ä¿¡ç¨ä»£ç */ |
| | | societyCreditCode?: string; |
| | | /** çµè¯ */ |
| | | phoneNumber?: string; |
| | | enterpriseType?: EnterpriseTypeEnum; |
| | | industrialParkId?: string; |
| | | /** æå±ååº */ |
| | | industrialParkName?: string; |
| | | /** ååºç±»å */ |
| | | parkTypeId?: string; |
| | | /** ååºç±»ååç§° */ |
| | | parkTypName?: string; |
| | | /** è¥ä¸æ§ç
§æ¯å¦å·²å®å */ |
| | | licenseIsVerify?: boolean; |
| | | /** ä¼ä¸ä¿¡æ¯æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | /** ç³æ¥æ¬¡æ° */ |
| | | applyCount?: number; |
| | | /** æè¿ç³æ¥ */ |
| | | lastApplyTime?: string; |
| | | /** åæ¾æ¬¡æ° */ |
| | | payCount?: number; |
| | | /** æè¿åæ¾æ¶é´ */ |
| | | lastPayTime?: string; |
| | | /** å¥å±éä½é¢ */ |
| | | bountyAmount?: number; |
| | | } |
| | | |
| | | interface GetParkCustomerManageOutputPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: GetParkCustomerManageOutput[]; |
| | | } |
| | | |
| | | interface GetParkOrHRInfoByUserInput { |
| | |
| | | data?: IncentivePaymentsManageListOutput[]; |
| | | } |
| | | |
| | | interface IncheckParkBountyApplyInput { |
| | | parkBountyApplyId?: string; |
| | | inCheckStatus?: BountyCheckStatusEnum; |
| | | /** 夿³¨ */ |
| | | remark?: string; |
| | | } |
| | | |
| | | type IncomeExpenseTypeEnum = 10 | 20; |
| | | |
| | | type IncomeStatusEnum = 1 | 2; |
| | |
| | | /** C端个ç¨å®ç¨æ
åµè¯´æ */ |
| | | personTaxRatePayUrl?: string; |
| | | authType?: EnterpriseTypeEnum; |
| | | /** ä¼ä¸ç±»å 10人åèµæºå
¬å¸ 20ç²æ¹ä¼ä¸ 30è¡ä¸é
å¥ 40è¡ä¸æºæ */ |
| | | type?: number; |
| | | /** é¶è¡ä¿¡æ¯å·æ¯å¦å·²å®å */ |
| | | bankIsVerify?: boolean; |
| | | /** ä¼ä¸ä¿¡æ¯æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | /** æä»¶å®æ´åº¦ */ |
| | | fileCompleteRate?: string; |
| | | } |
| | | |
| | | interface ParkBountyApplyDetailInfoPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: ParkBountyApplyDetailInfo[]; |
| | | } |
| | | |
| | | interface ParkBountyApplySettleInput { |
| | |
| | | enterRelateUrl?: string; |
| | | /** C端个ç¨å®ç¨æ
åµè¯´æ */ |
| | | personTaxRatePayUrl?: string; |
| | | authType?: EnterpriseTypeEnum; |
| | | /** ä¼ä¸ç±»å 10人åèµæºå
¬å¸ 20ç²æ¹ä¼ä¸ 30è¡ä¸é
å¥ 40è¡ä¸æºæ */ |
| | | type?: number; |
| | | transferToStatus?: TransferToStatusEnum; |
| | | /** å
¥è´¦éé¢ */ |
| | | transferToAmount?: number; |
| | |
| | | transferToFileUrl?: string; |
| | | } |
| | | |
| | | interface ParkBountyApplyTransferDetailInfoPageOutput { |
| | | pageModel?: Pagination; |
| | | objectData?: any; |
| | | data?: ParkBountyApplyTransferDetailInfo[]; |
| | | } |
| | | |
| | | interface ParkBountyApplyTransferFileInput { |
| | | parkBountyApplyDetailId?: string; |
| | | /** å
¥è´¦åè¯ */ |
| | |
| | | operateHistoryType?: OperateHistoryTypeEnum; |
| | | } |
| | | |
| | | interface QueryParkCustomerBountyApplyInput { |
| | | pageModel?: Pagination; |
| | | id?: string; |
| | | } |
| | | |
| | | interface QueryParkCustomerManageInput { |
| | | pageModel?: Pagination; |
| | | /** ä¼ä¸å/ä¿¡ç¨ä»£ç */ |
| | | keywords?: string; |
| | | /** è¥ä¸æ§ç
§æ¯å¦å·²å®å */ |
| | | licenseIsVerify?: boolean; |
| | | /** ä¼ä¸ä¿¡æ¯æ¯å¦å·²å®å */ |
| | | enterpriseIsVerify?: boolean; |
| | | /** æå±ååº */ |
| | | industrialParkId?: string; |
| | | } |
| | | |
| | | interface QueryParkOrHRAuditPageInput { |
| | | pageModel?: Pagination; |
| | | auditStatus?: ParkOrHRAuditStatusEnum; |
| | |
| | | templateParamExtraData?: string; |
| | | } |
| | | |
| | | interface SaveParkBountyApplyCollectFileInput { |
| | | parkBountyApplyId?: string; |
| | | /** å¥å±éåé
表 */ |
| | | bountyAssignFileUlr?: string; |
| | | /** å¥å±éæ±æ»è¡¨ */ |
| | | bountyCollectFileUrl?: string; |
| | | /** ç³æ¥æ»é¢ */ |
| | | applySumAmount?: number; |
| | | } |
| | | |
| | | interface SaveParkBountyApplyGatherFileInput { |
| | | parkBountyApplyId?: string; |
| | | /** ä¼ä¸è¥æ¶æ±æ»è¡¨ */ |
| | | enterpriseOperateFileUrl?: string; |
| | | /** ä¼ä¸ç¼´ç¨æç»è¡¨ */ |
| | | enterpriseTaxSubFileUrl?: string; |
| | | } |
| | | |
| | | interface SaveWalletPayChannelFeeSettingInput { |
| | | /** ééid */ |
| | | walletPayChannelId?: string; |
| | |
| | | insureBillUrl?: string; |
| | | } |
| | | |
| | | interface UploadParkBountyApplyCompanyFileInput { |
| | | parkBountyApplyId?: string; |
| | | companyId?: string; |
| | | /** ååºå
¥é©»åè®® */ |
| | | parkEnterPactUrl?: string; |
| | | /** å®ç¨è¯æ */ |
| | | ratePaymentFileUrl?: string; |
| | | /** ä¼ä¸ç¼´ç¨æç»æ±æ»è¡¨ */ |
| | | taxSubFileUrl?: string; |
| | | /** ä¼ä¸ç»è¥å©æ¶¦è¡¨ */ |
| | | operateProfitesUrl?: string; |
| | | /** å
¥é©»å
³è说æ */ |
| | | enterRelateUrl?: string; |
| | | /** C端个ç¨å®ç¨æ
åµè¯´æ */ |
| | | personTaxRatePayUrl?: string; |
| | | } |
| | | |
| | | interface UploadParkBountyApplyCompanyFileOutput { |
| | | companyId?: string; |
| | | fileCompleteRate?: string; |
| | | } |
| | | |
| | | interface UploadVoucherUrlInput { |
| | | /** æä¿æ¹æ¬¡ç¼å· */ |
| | | insurePolicyId?: string; |
| | |
| | | <template #query> |
| | | <QueryFilterItem> |
| | | <SearchInput |
| | | v-model="extraParamState.keyword" |
| | | v-model="extraParamState.queryCondition" |
| | | style="width: 200px" |
| | | placeholder="è´¦å·/å§å/ææºå·" |
| | | @on-click-search="getList" |
| | |
| | | </ProTableV2> |
| | | </AppContainer> |
| | | <AddOrEditAccountDialog v-bind="dialogProps" /> |
| | | <ResetPasswordDialog v-bind="resetPasswordDialogProps"></ResetPasswordDialog> |
| | | </LoadingLayout> |
| | | </template> |
| | | |
| | |
| | | useFormDialog, |
| | | defineOperationBtns, |
| | | } from '@bole-core/components'; |
| | | import * as accountServices from '@/services/api/Account'; |
| | | import * as userRoleServices from '@/services/api/UserRole'; |
| | | import { Message, OrderInputType } from '@bole-core/core'; |
| | | import AddOrEditAccountDialog from './components/AddOrEditAccountDialog.vue'; |
| | | import ResetPasswordDialog from './components/ResetPasswordDialog.vue'; |
| | | import { formatRoleName } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | |
| | | name: 'éç½®å¯ç ', |
| | | }, |
| | | emits: { |
| | | onClick: (role) => handleResetPassword(), |
| | | onClick: (role) => handleResetPasswordAdd(), |
| | | }, |
| | | }, |
| | | ]); |
| | |
| | | reset, |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | // try { |
| | | // let params: API.QueryUserPageInput = { |
| | | // pageModel: { |
| | | // rows: pageSize, |
| | | // page: pageIndex, |
| | | // orderInput: extraParamState.orderInput, |
| | | // }, |
| | | // searchKey: extraParamState.keyword, |
| | | // }; |
| | | // let res = await userServices.getUserPage(params, { |
| | | // showLoading: !state.loading, |
| | | // }); |
| | | // return res; |
| | | // } catch (error) {} |
| | | try { |
| | | let params: API.GetBackClientUsersInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | queryCondition: extraParamState.queryCondition, |
| | | }; |
| | | let res = await userRoleServices.getGovermentClientUsers(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | | } catch (error) {} |
| | | }, |
| | | { |
| | | defaultExtraParams: { |
| | | orderInput: [{ property: 'id', order: OrderInputType.Desc }], |
| | | keyword: '', |
| | | queryCondition: '', |
| | | }, |
| | | columnsRenderProps: {}, |
| | | } |
| | | ); |
| | | |
| | | function openDialog(row?: any) { |
| | | function openDialog(row?: API.UserDto) { |
| | | if (row) { |
| | | handleEdit({ |
| | | id: row.id, |
| | | userName: row.userName, |
| | | name: row.name, |
| | | phoneNumber: row.phoneNumber, |
| | | channel: row.channel, |
| | | password: '', |
| | | roleName: row.roleNames?.[0] ?? '', |
| | | remark: row.remark, |
| | | |
| | | isSendMessage: row?.isSendMessage ?? false, |
| | | sendClaimMessage: row?.sendClaimMessage ?? false, |
| | | sendBillExpireMessage: row?.sendBillExpireMessage ?? false, |
| | | }); |
| | | } else { |
| | | handleAdd(); |
| | |
| | | userName: '', |
| | | name: '', |
| | | phoneNumber: '', |
| | | channel: '', |
| | | password: '', |
| | | roleName: '', |
| | | remark: '', |
| | | |
| | | isSendMessage: false, |
| | | sendClaimMessage: false, |
| | | sendBillExpireMessage: false, |
| | | }, |
| | | }); |
| | | |
| | |
| | | // } catch (error) {} |
| | | } |
| | | |
| | | function handleResetPassword() {} |
| | | const { |
| | | dialogProps: resetPasswordDialogProps, |
| | | handleAdd: handleResetPasswordAdd, |
| | | editForm: resetPasswordEditForm, |
| | | } = useFormDialog({ |
| | | onConfirm: handleAddOrEdit, |
| | | defaultFormParams: { |
| | | id: '', |
| | | password: '', |
| | | }, |
| | | }); |
| | | </script> |
| | |
| | | <ProFormText placeholder="请è¾å
¥ææºå·" v-model.trim="form.phoneNumber"></ProFormText> |
| | | </ProFormItemV2> |
| | | <ProFormItemV2 |
| | | v-if="isEdit" |
| | | label="å¯ç :" |
| | | prop="password" |
| | | :check-rules="[{ message: '请è¾å
¥å¯ç ', required: !form.id }]" |
| | |
| | | ProForm, |
| | | ProFormItemV2, |
| | | ProFormText, |
| | | ProFormRadio, |
| | | ProFormTextArea, |
| | | ProFormCheckbox, |
| | | } from '@bole-core/components'; |
| | | import { BooleanOptions } from '@/constants'; |
| | | |
| | |
| | | userName: string; |
| | | name: string; |
| | | phoneNumber: string; |
| | | channel: string; |
| | | password: string; |
| | | roleName: string; |
| | | remark: string; |
| | | isSendMessage?: boolean; |
| | | sendClaimMessage?: boolean; |
| | | sendBillExpireMessage?: boolean; |
| | | }; |
| | | |
| | | const form = defineModel<Form>('form'); |
| | | |
| | | const isEdit = computed(() => !!form.value?.id); |
| | | const emit = defineEmits<{ |
| | | (e: 'onConfirm'): void; |
| | | (e: 'onCancel'): void; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <ProDialog |
| | | :title="form.title" |
| | | v-model="visible" |
| | | @close="onDialogClose" |
| | | destroy-on-close |
| | | draggable |
| | | :width="800" |
| | | > |
| | | <ProForm :model="form" ref="dialogForm" label-width="120px"> |
| | | <ProFormItemV2 |
| | | label="å¯ç :" |
| | | prop="password" |
| | | :check-rules="[{ message: '请è¾å
¥å¯ç ', required: !form.id }]" |
| | | > |
| | | <ProFormText |
| | | placeholder="请è¾å
¥å¯ç " |
| | | v-model.trim="form.password" |
| | | :maxlength="30" |
| | | ></ProFormText> |
| | | </ProFormItemV2> |
| | | </ProForm> |
| | | <template #footer> |
| | | <span class="dialog-footer"> |
| | | <el-button @click="emit('onCancel')">å æ¶</el-button> |
| | | <el-button type="primary" @click="handleConfirm">ç¡® å®</el-button> |
| | | </span> |
| | | </template> |
| | | </ProDialog> |
| | | </template> |
| | | |
| | | <script setup lang="ts"> |
| | | import { FormInstance } from 'element-plus'; |
| | | import { ProDialog, ProForm, ProFormItemV2, ProFormText } from '@bole-core/components'; |
| | | |
| | | defineOptions({ |
| | | name: 'ResetPasswordDialog', |
| | | }); |
| | | |
| | | // type Props = {}; |
| | | |
| | | // const props = withDefaults(defineProps<Props>(), {}); |
| | | |
| | | const visible = defineModel({ type: Boolean }); |
| | | |
| | | type Form = { |
| | | title?: string; |
| | | id: string; |
| | | password: string; |
| | | }; |
| | | |
| | | const form = defineModel<Form>('form'); |
| | | const emit = defineEmits<{ |
| | | (e: 'onConfirm'): void; |
| | | (e: 'onCancel'): void; |
| | | }>(); |
| | | |
| | | const dialogForm = ref<FormInstance>(); |
| | | |
| | | function onDialogClose() { |
| | | if (!dialogForm.value) return; |
| | | dialogForm.value.resetFields(); |
| | | } |
| | | |
| | | function handleConfirm() { |
| | | if (!dialogForm.value) return; |
| | | dialogForm.value.validate((valid) => { |
| | | if (valid) { |
| | | emit('onConfirm'); |
| | | } else { |
| | | return; |
| | | } |
| | | }); |
| | | } |
| | | </script> |
| | |
| | | } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import { format } from '@/utils'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import _ from 'lodash'; |
| | | import { ModelValueType } from 'element-plus'; |
| | | import { AuthTypeText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'EnterpriseInfo', |
| | |
| | | const column: API.CustomModuleColumnDto[] = [ |
| | | { |
| | | id: '1', |
| | | enCode: 'changeFlag', |
| | | enCode: 'enterpriseName', |
| | | name: 'ä¼ä¸å', |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'name', |
| | | enCode: 'societyCreditCode', |
| | | name: 'ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç ', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'idNumber', |
| | | enCode: 'enterpriseType', |
| | | name: 'ä¼ä¸ç±»å', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'workType', |
| | | enCode: 'industrialParkName', |
| | | name: 'æå±ååº', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'gender', |
| | | enCode: 'parkTypName', |
| | | name: 'ååºç±»å', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'age', |
| | | enCode: 'applyCount', |
| | | name: 'å¥å±éç³æ¥æ¬¡æ°', |
| | | }, |
| | | { |
| | | id: '7', |
| | | enCode: 'birthDay', |
| | | enCode: 'lastApplyTime', |
| | | name: 'æè¿ç³æ¥æ¥æ', |
| | | }, |
| | | { |
| | | id: '8', |
| | | enCode: 'phoneNumber', |
| | | enCode: 'payCount', |
| | | name: 'å¥å±éåæ¾æ¬¡æ°', |
| | | }, |
| | | { |
| | | id: '9', |
| | | enCode: 'phoneNumber', |
| | | enCode: 'lastPayTime', |
| | | name: 'æè¿åæ¾æ¥æ', |
| | | }, |
| | | { |
| | | id: '10', |
| | | enCode: 'phoneNumber', |
| | | enCode: 'bountyAmount', |
| | | name: 'å¥å±éåæ¾æ»é¢', |
| | | }, |
| | | { |
| | | id: '11', |
| | | enCode: 'phoneNumber', |
| | | enCode: 'bountyAmount', |
| | | name: 'å¥å±éä½é¢', |
| | | }, |
| | | ]; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetInformationForManageInput = { |
| | | let params: API.QueryParkCustomerManageInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | |
| | | publishStartDate: format(extraParamState.date?.[0] ?? '', 'YYYY-MM-DD 00:00:00'), |
| | | publishEndDate: format(extraParamState.date?.[1] ?? '', 'YYYY-MM-DD 23:59:59'), |
| | | }; |
| | | let res = await informationServices.getInformationForManage(params, { |
| | | let res = await parkBountyApplyServices.getParkCustomerManagePage(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | date: [] as unknown as ModelValueType, |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | lastApplyTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | lastPayTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | bountyAmount: { type: 'money' }, |
| | | enterpriseType: { type: 'enum', valueEnum: AuthTypeText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | <LoadingLayout :loading="isLoading"> |
| | | <AppContainer> |
| | | <PageFormLayout> |
| | | <ProForm :model="detail" ref="formRef" label-width="140px"> |
| | | <ProForm :model="detail" ref="formRef" label-width="140px" is-read> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="ä¼ä¸åç§°:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="ä¼ä¸åç§°:" prop="enterpriseName"> |
| | | <ProFormText v-model.trim="detail.enterpriseName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç :" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="ç»ä¸ç¤¾ä¼ä¿¡ç¨ä»£ç :" prop="societyCreditCode"> |
| | | <ProFormText v-model.trim="detail.societyCreditCode" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="ä¼ä¸ç±»å:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="ä¼ä¸ç±»å:" prop="enterpriseType"> |
| | | <ProFormRadio v-model.trim="detail.enterpriseType" :value-enum="AuthTypeText" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="æå±ååº:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="æå±ååº:" prop="industrialParkName"> |
| | | <ProFormText v-model.trim="detail.industrialParkName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="ååºç±»å:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="ååºç±»å:" prop="parkTypName"> |
| | | <ProFormText v-model.trim="detail.parkTypName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="弿·é¶è¡:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="弿·é¶è¡:" prop="bankName"> |
| | | <ProFormText v-model.trim="detail.bankName" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="é¶è¡å¸å·:" prop="serveName" mode="read"> |
| | | <ProFormText v-model.trim="detail.categoryName" /> |
| | | <ProFormItemV2 label="é¶è¡å¸å·:" prop="bankCardNumber"> |
| | | <ProFormText v-model.trim="detail.bankCardNumber" /> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | | <ProFormCol> |
| | | <ProFormColItem :span="8"> |
| | | <ProFormItemV2 label="è¥ä¸æ§ç
§:" prop="serveName" mode="read"> |
| | | <!-- <ProFormUpload v-model:file-url="detail.covers"></ProFormUpload> --> |
| | | <ProFormItemV2 label="è¥ä¸æ§ç
§:" prop="serveName"> |
| | | <ProFormUpload v-model:file-url="_licenseUrl"></ProFormUpload> |
| | | </ProFormItemV2> |
| | | </ProFormColItem> |
| | | </ProFormCol> |
| | |
| | | ProFormUpload, |
| | | } from '@bole-core/components'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as customerServices from '@/services/api/Customer'; |
| | | import { AuthTypeText } from '@/constants'; |
| | | import { convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | |
| | | defineOptions({ |
| | | name: 'EnterpriseBasicInfoView', |
| | |
| | | const id = route.params?.id as string; |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['informationServices/getInformationShowDetail', id], |
| | | queryKey: ['customerServices/getParkCustomerManageBaseDetail', id], |
| | | queryFn: async () => { |
| | | return await informationServices.getInformationShowDetail( |
| | | return await customerServices.getParkCustomerManageBaseDetail( |
| | | { id: id }, |
| | | { |
| | | showLoading: false, |
| | | } |
| | | ); |
| | | }, |
| | | placeholderData: () => ({} as API.InformationShowDetailDto), |
| | | placeholderData: () => ({} as API.GetParkCustomerManageDetailOutput), |
| | | enabled: !!id, |
| | | }); |
| | | |
| | | const _licenseUrl = computed(() => { |
| | | return detail.value?.licenseUrl ? convertApi2FormUrlOnlyOne(detail.value.licenseUrl) : []; |
| | | }); |
| | | </script> |
| | | |
| | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, useTable, ProTableV2, defineOperationBtns } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { BountyCheckStatusEnumText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'EnterpriseDeclareRecordView', |
| | |
| | | const column: API.CustomModuleColumnDto[] = [ |
| | | { |
| | | id: '1', |
| | | enCode: 'batchBillNo', |
| | | enCode: 'batchNo', |
| | | name: 'ç³æ¥æ¹æ¬¡å·', |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'changeType', |
| | | enCode: 'creationTime', |
| | | name: 'ç³æ¥æ¥æ', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'creationTime', |
| | | name: 'å
é¨å®¡æ ¸æ¥æ', |
| | | enCode: 'outCheckTime', |
| | | name: 'å®¡æ ¸æ¥æ', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'effectTime', |
| | | name: 'å
é¨å®¡æ ¸ç»æ', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'insurePersonNumber', |
| | | name: 'å¤é¨å®¡æ ¸æ¥æ', |
| | | }, |
| | | { |
| | | id: '6', |
| | | enCode: 'orginInsurePersonNumber', |
| | | name: 'å¤é¨å®¡æ ¸ç»æ', |
| | | enCode: 'outCheckStatus', |
| | | name: 'å®¡æ ¸ç»æ', |
| | | }, |
| | | ]; |
| | | |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetInformationForManageInput = { |
| | | let params: API.QueryParkCustomerBountyApplyInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | id: id, |
| | | }; |
| | | let res = await informationServices.getInformationForManage(params, { |
| | | let res = await parkBountyApplyServices.getParkCustomerBountyApplyList(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | }, |
| | | { |
| | | defaultExtraParams: { |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | orderInput: [{ property: 'id', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | outCheckTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | creationTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | outCheckStatus: { type: 'enum', valueEnum: BountyCheckStatusEnumText }, |
| | | }, |
| | | } |
| | | ); |
| | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, useTable, ProTableV2, defineOperationBtns } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkRewardServices from '@/services/api/ParkReward'; |
| | | import { EnterpriseBountyPayTypeEnumText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'RewardConsumeRecordView', |
| | |
| | | const column: API.CustomModuleColumnDto[] = [ |
| | | { |
| | | id: '1', |
| | | enCode: 'batchBillNo', |
| | | enCode: 'payDateTime', |
| | | name: 'å¥å±éæ¶è´¹æ¥æ', |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'changeType', |
| | | enCode: 'payType', |
| | | name: 'æ¶è´¹ç±»å', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'creationTime', |
| | | enCode: 'amount', |
| | | name: 'æ¶è´¹éé¢', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'effectTime', |
| | | enCode: 'remianAmount', |
| | | name: 'å¥å±éä½é¢', |
| | | }, |
| | | ]; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetInformationForManageInput = { |
| | | let params: API.QueryParkCustomerBountyApplyInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | id: id, |
| | | }; |
| | | let res = await informationServices.getInformationForManage(params, { |
| | | let res = await parkRewardServices.getParkCustomerBountyConsumptionList(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | defaultExtraParams: { |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | payDateTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | amount: { type: 'money' }, |
| | | remianAmount: { type: 'money' }, |
| | | payType: { type: 'enum', valueEnum: EnterpriseBountyPayTypeEnumText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, useTable, ProTableV2, defineOperationBtns } from '@bole-core/components'; |
| | | import { OrderInputType } from '@bole-core/core'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { IncomeStatusEnumText } from '@/constants'; |
| | | |
| | | defineOptions({ |
| | | name: 'RewardGrantRecordView', |
| | |
| | | const column: API.CustomModuleColumnDto[] = [ |
| | | { |
| | | id: '1', |
| | | enCode: 'batchBillNo', |
| | | enCode: 'batchNo', |
| | | name: 'ç³æ¥æ¹æ¬¡å·', |
| | | }, |
| | | { |
| | | id: '2', |
| | | enCode: 'changeType', |
| | | enCode: 'settleTime', |
| | | name: 'å¥å±éåæ¾æ¥æ', |
| | | }, |
| | | { |
| | | id: '3', |
| | | enCode: 'creationTime', |
| | | enCode: 'incomeTime', |
| | | name: 'å¥å±éå°è´¦æ¥æ', |
| | | }, |
| | | { |
| | | id: '4', |
| | | enCode: 'effectTime', |
| | | enCode: 'applySumAmount', |
| | | name: 'åæ¾éé¢', |
| | | }, |
| | | { |
| | | id: '5', |
| | | enCode: 'insurePersonNumber', |
| | | enCode: 'incomeStatus', |
| | | name: 'å°è´¦ç¡®è®¤ç»æ', |
| | | }, |
| | | ]; |
| | |
| | | } = useTable( |
| | | async ({ pageIndex, pageSize }, extraParamState) => { |
| | | try { |
| | | let params: API.GetInformationForManageInput = { |
| | | let params: API.QueryParkCustomerBountyApplyInput = { |
| | | pageModel: { |
| | | rows: pageSize, |
| | | page: pageIndex, |
| | | orderInput: extraParamState.orderInput, |
| | | }, |
| | | id: id, |
| | | }; |
| | | let res = await informationServices.getInformationForManage(params, { |
| | | let res = await parkBountyApplyServices.getParkCustomerBountyGrantList(params, { |
| | | showLoading: !state.loading, |
| | | }); |
| | | return res; |
| | |
| | | defaultExtraParams: { |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | settleTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | incomeTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | applySumAmount: { type: 'money' }, |
| | | incomeStatus: { type: 'enum', valueEnum: IncomeStatusEnumText }, |
| | | }, |
| | | } |
| | | ); |
| | | |
| | |
| | | import DetailView from '@/components/commonView/DetailView.vue'; |
| | | import DeclareEnterpriseTableView from '@/components/commonView/DeclareEnterpriseTableView.vue'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | import { useRouteView } from '@/hooks'; |
| | | import { FormInstance } from 'element-plus'; |
| | |
| | | const { closeViewPush } = useRouteView(); |
| | | const id = route.params?.id as string; |
| | | const form = reactive({ |
| | | categoryName: '', |
| | | amount: 0, |
| | | url: [] as UploadUserFile[], |
| | | batchNo: '', |
| | | parkName: '', |
| | | parkTypeName: '', |
| | | applyMonth: '', |
| | | applySumAmount: 0, |
| | | enterpriseTaxSubFileUrl: [] as UploadUserFile[], |
| | | enterpriseOperateFileUrl: [] as UploadUserFile[], |
| | | bountyAssignFileUlr: [] as UploadUserFile[], |
| | | bountyCollectFileUrl: [] as UploadUserFile[], |
| | | |
| | | status: '' as any as DataRangeEnum, |
| | | remark: '', |
| | | }); |
| | | // const state = reactive({ |
| | | // detail: { |
| | | // categoryName: '', |
| | | // amount: 0, |
| | | // url: [] as UploadUserFile[], |
| | | // }, |
| | | // form: { |
| | | // status: '' as any as DataRangeEnum, |
| | | // remark: '', |
| | | // }, |
| | | // }); |
| | | |
| | | const tableRef = ref<InstanceType<typeof DeclareEnterpriseTableView>>(); |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['informationServices/getInformationShowDetail', id], |
| | | queryKey: ['parkBountyApplyServices/getParkBountyApplyDetail', id], |
| | | queryFn: async () => { |
| | | return await informationServices.getInformationShowDetail( |
| | | { id: id }, |
| | | return await parkBountyApplyServices.getParkBountyApplyDetailBaseInfo( |
| | | { parkBountyApplyId: id }, |
| | | { |
| | | showLoading: false, |
| | | } |
| | | ); |
| | | }, |
| | | placeholderData: () => ({} as API.InformationShowDetailDto), |
| | | placeholderData: () => ({} as API.ParkBountyApplyBaseInfo), |
| | | onSuccess(data) { |
| | | form.categoryName = data.categoryName; |
| | | form.amount = data.attentionCount; |
| | | form.url = convertApi2FormUrlOnlyOne(data.avatarUrl); |
| | | form.batchNo = data.batchNo; |
| | | form.parkName = data.parkName; |
| | | form.parkTypeName = data.parkTypeName; |
| | | form.applyMonth = data.applyMonth; |
| | | form.applySumAmount = data.applySumAmount; |
| | | form.enterpriseTaxSubFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseTaxSubFileUrl); |
| | | form.enterpriseOperateFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseOperateFileUrl); |
| | | form.bountyAssignFileUlr = convertApi2FormUrlOnlyOne(data?.bountyAssignFileUlr); |
| | | form.bountyCollectFileUrl = convertApi2FormUrlOnlyOne(data?.bountyCollectFileUrl); |
| | | |
| | | tableRef.value?.getList(); |
| | | }, |
| | |
| | | </div> |
| | | </template> |
| | | <DetailView :form="form"> |
| | | <ChunkCellV2 title="ç³æ¥ä¼ä¸åå"> |
| | | <DeclareEnterpriseTableView ref="tableRef"></DeclareEnterpriseTableView> |
| | | </ChunkCellV2> |
| | | </DetailView> |
| | | <template #footer> |
| | | <el-button @click="handleBack">å
³é</el-button> |
| | |
| | | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, LoadingLayout, UploadUserFile, PageFormLayout } from '@bole-core/components'; |
| | | import { DataRangeEnum } from '@/constants'; |
| | | import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue'; |
| | | import DetailView from '@/components/commonView/DetailView.vue'; |
| | | import DeclareEnterpriseTableView from '@/components/commonView/DeclareEnterpriseTableView.vue'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as informationServices from '@/services/api/Information'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | | import { convertApi2FormUrlOnlyOne } from '@/utils'; |
| | | import { useRouteView } from '@/hooks'; |
| | | |
| | |
| | | const { closeViewPush } = useRouteView(); |
| | | const id = route.params?.id as string; |
| | | const form = reactive({ |
| | | batchNo: '', |
| | | parkName: '', |
| | | parkTypeName: '', |
| | | applyMonth: '', |
| | | applySumAmount: 0, |
| | | enterpriseTaxSubFileUrl: [] as UploadUserFile[], |
| | | enterpriseOperateFileUrl: [] as UploadUserFile[], |
| | | bountyAssignFileUlr: [] as UploadUserFile[], |
| | | bountyCollectFileUrl: [] as UploadUserFile[], |
| | | |
| | | categoryName: '', |
| | | amount: 0, |
| | | url: [] as UploadUserFile[], |
| | | }); |
| | | |
| | | const tableRef = ref<InstanceType<typeof DeclareEnterpriseTableView>>(); |
| | | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['informationServices/getInformationShowDetail', id], |
| | | queryKey: ['parkBountyApplyServices/getParkBountyApplyDetail', id], |
| | | queryFn: async () => { |
| | | return await informationServices.getInformationShowDetail( |
| | | { id: id }, |
| | | return await parkBountyApplyServices.getParkBountyApplyDetailBaseInfo( |
| | | { parkBountyApplyId: id }, |
| | | { |
| | | showLoading: false, |
| | | } |
| | | ); |
| | | }, |
| | | placeholderData: () => ({} as API.InformationShowDetailDto), |
| | | placeholderData: () => ({} as API.ParkBountyApplyBaseInfo), |
| | | onSuccess(data) { |
| | | form.categoryName = data.categoryName; |
| | | form.amount = data.attentionCount; |
| | | form.url = convertApi2FormUrlOnlyOne(data.avatarUrl); |
| | | form.batchNo = data.batchNo; |
| | | form.parkName = data.parkName; |
| | | form.parkTypeName = data.parkTypeName; |
| | | form.applyMonth = data.applyMonth; |
| | | form.applySumAmount = data.applySumAmount; |
| | | form.enterpriseTaxSubFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseTaxSubFileUrl); |
| | | form.enterpriseOperateFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseOperateFileUrl); |
| | | form.bountyAssignFileUlr = convertApi2FormUrlOnlyOne(data?.bountyAssignFileUlr); |
| | | form.bountyCollectFileUrl = convertApi2FormUrlOnlyOne(data?.bountyCollectFileUrl); |
| | | |
| | | tableRef.value?.getList(); |
| | | }, |
| | |
| | | <AppContainer> |
| | | <PageFormLayout title="ç³æ¥è¯¦æ
"> |
| | | <DetailView :form="form"> |
| | | <ChunkCellV2 title="ç³æ¥ä¼ä¸åå"> |
| | | <DeclareEnterpriseTableView ref="tableRef"></DeclareEnterpriseTableView> |
| | | </ChunkCellV2> |
| | | </DetailView> |
| | | <template #footer> |
| | | <el-button @click="handleBack">å
³é</el-button> |
| | |
| | | <script setup lang="ts"> |
| | | import { AppContainer, LoadingLayout, UploadUserFile, PageFormLayout } from '@bole-core/components'; |
| | | import DetailView from '@/components/commonView/DetailView.vue'; |
| | | import ChunkCellV2 from '@/components/Layout/ChunkCellV2.vue'; |
| | | import DeclareEnterpriseTableView from '@/components/commonView/DeclareEnterpriseTableView.vue'; |
| | | import { useQuery } from '@tanstack/vue-query'; |
| | | import * as parkBountyApplyServices from '@/services/api/ParkBountyApply'; |
| | |
| | | const { closeViewPush } = useRouteView(); |
| | | const id = route.params?.id as string; |
| | | const form = reactive({ |
| | | searchKeyWord: '', |
| | | batchNo: '', |
| | | parkName: '', |
| | | parkTypeName: '', |
| | |
| | | const { data: detail, isLoading } = useQuery({ |
| | | queryKey: ['parkBountyApplyServices/getParkBountyApplyDetail', id], |
| | | queryFn: async () => { |
| | | return await parkBountyApplyServices.getParkBountyApplyDetail( |
| | | { parkBountyApplyId: id, searchKeyWord: form.searchKeyWord }, |
| | | return await parkBountyApplyServices.getParkBountyApplyDetailBaseInfo( |
| | | { parkBountyApplyId: id }, |
| | | { |
| | | showLoading: false, |
| | | } |
| | | ); |
| | | }, |
| | | placeholderData: () => ({} as API.GetParkBountyApplyInfoOutput), |
| | | placeholderData: () => ({} as API.ParkBountyApplyBaseInfo), |
| | | onSuccess(data) { |
| | | form.batchNo = data.parkBountyApplyBaseInfo.batchNo; |
| | | form.parkName = data.parkBountyApplyBaseInfo.parkName; |
| | | form.parkTypeName = data.parkBountyApplyBaseInfo.parkTypeName; |
| | | form.applyMonth = data.parkBountyApplyBaseInfo.applyMonth; |
| | | form.applySumAmount = data.parkBountyApplyBaseInfo.applySumAmount; |
| | | form.enterpriseTaxSubFileUrl = convertApi2FormUrlOnlyOne( |
| | | data.parkBountyApplyBaseInfo?.enterpriseTaxSubFileUrl |
| | | ); |
| | | form.enterpriseOperateFileUrl = convertApi2FormUrlOnlyOne( |
| | | data.parkBountyApplyBaseInfo?.enterpriseOperateFileUrl |
| | | ); |
| | | form.bountyAssignFileUlr = convertApi2FormUrlOnlyOne( |
| | | data.parkBountyApplyBaseInfo?.bountyAssignFileUlr |
| | | ); |
| | | form.bountyCollectFileUrl = convertApi2FormUrlOnlyOne( |
| | | data.parkBountyApplyBaseInfo?.bountyCollectFileUrl |
| | | ); |
| | | form.batchNo = data.batchNo; |
| | | form.parkName = data.parkName; |
| | | form.parkTypeName = data.parkTypeName; |
| | | form.applyMonth = data.applyMonth; |
| | | form.applySumAmount = data.applySumAmount; |
| | | form.enterpriseTaxSubFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseTaxSubFileUrl); |
| | | form.enterpriseOperateFileUrl = convertApi2FormUrlOnlyOne(data?.enterpriseOperateFileUrl); |
| | | form.bountyAssignFileUlr = convertApi2FormUrlOnlyOne(data?.bountyAssignFileUlr); |
| | | form.bountyCollectFileUrl = convertApi2FormUrlOnlyOne(data?.bountyCollectFileUrl); |
| | | |
| | | tableRef.value?.getList(); |
| | | }, |
| | |
| | | orderInput: [{ property: 'creationTime', order: OrderInputType.Desc }], |
| | | }, |
| | | columnsRenderProps: { |
| | | applyMonth: { type: 'date', format: 'YYYYå¹´MMæ' }, |
| | | creationTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | settleTime: { type: 'date', format: 'YYYY-MM-DD HH:mm:ss' }, |
| | | applySumAmount: { type: 'money' }, |