mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	refactor: vue3 axios api ...
This commit is contained in:
		| @@ -12,7 +12,7 @@ import * as AppApi from '@/api/pay/app' | ||||
| const { t } = useI18n() // 国际化 | ||||
|  | ||||
| // ========== 列表相关 ========== | ||||
| const { register, tableObject, methods } = useTable<PageResult<AppVO>, AppVO>({ | ||||
| const { register, tableObject, methods } = useTable<AppVO>({ | ||||
|   getListApi: AppApi.getAppPageApi, | ||||
|   delListApi: AppApi.deleteAppApi, | ||||
|   exportListApi: AppApi.exportAppApi | ||||
| @@ -102,7 +102,7 @@ getList() | ||||
|     <!-- 操作工具栏 --> | ||||
|     <div class="mb-10px"> | ||||
|       <el-button type="primary" v-hasPermi="['system:post:create']" @click="handleCreate"> | ||||
|         <Icon icon="el:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|         <Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|       </el-button> | ||||
|       <el-button | ||||
|         type="warning" | ||||
|   | ||||
| @@ -12,7 +12,7 @@ import * as MerchantApi from '@/api/pay/merchant' | ||||
| const { t } = useI18n() // 国际化 | ||||
|  | ||||
| // ========== 列表相关 ========== | ||||
| const { register, tableObject, methods } = useTable<PageResult<MerchantVO>, MerchantVO>({ | ||||
| const { register, tableObject, methods } = useTable<MerchantVO>({ | ||||
|   getListApi: MerchantApi.getMerchantPageApi, | ||||
|   delListApi: MerchantApi.deleteMerchantApi, | ||||
|   exportListApi: MerchantApi.exportMerchantApi | ||||
| @@ -102,7 +102,7 @@ getList() | ||||
|     <!-- 操作工具栏 --> | ||||
|     <div class="mb-10px"> | ||||
|       <el-button type="primary" v-hasPermi="['system:post:create']" @click="handleCreate"> | ||||
|         <Icon icon="el:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|         <Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|       </el-button> | ||||
|       <el-button | ||||
|         type="warning" | ||||
|   | ||||
| @@ -11,7 +11,7 @@ import { rules, allSchemas } from './order.data' | ||||
| import * as OrderApi from '@/api/pay/order' | ||||
| const { t } = useI18n() // 国际化 | ||||
| // ========== 列表相关 ========== | ||||
| const { register, tableObject, methods } = useTable<PageResult<OrderVO>, OrderVO>({ | ||||
| const { register, tableObject, methods } = useTable<OrderVO>({ | ||||
|   getListApi: OrderApi.getOrderPageApi, | ||||
|   delListApi: OrderApi.deleteOrderApi, | ||||
|   exportListApi: OrderApi.exportOrderApi | ||||
| @@ -99,7 +99,7 @@ getList() | ||||
|     <!-- 操作工具栏 --> | ||||
|     <div class="mb-10px"> | ||||
|       <el-button type="primary" v-hasPermi="['pay:order:create']" @click="handleCreate"> | ||||
|         <Icon icon="el:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|         <Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }} | ||||
|       </el-button> | ||||
|       <el-button | ||||
|         type="warning" | ||||
|   | ||||
| @@ -10,7 +10,7 @@ import * as RefundApi from '@/api/pay/refund' | ||||
| const { t } = useI18n() // 国际化 | ||||
|  | ||||
| // ========== 列表相关 ========== | ||||
| const { register, tableObject, methods } = useTable<PageResult<RefundVO>, RefundVO>({ | ||||
| const { register, tableObject, methods } = useTable<RefundVO>({ | ||||
|   getListApi: RefundApi.getRefundPageApi, | ||||
|   delListApi: RefundApi.deleteRefundApi, | ||||
|   exportListApi: RefundApi.exportRefundApi | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 xingyu
					xingyu