mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 04:08:43 +08:00 
			
		
		
		
	refactor: vue3 axios api ...
This commit is contained in:
		@@ -14,7 +14,7 @@ import { TenantPackageVO } from '@/api/system/tenantPackage/types'
 | 
			
		||||
const { t } = useI18n() // 国际化
 | 
			
		||||
 | 
			
		||||
// ========== 列表相关 ==========
 | 
			
		||||
const { register, tableObject, methods } = useTable<PageResult<TenantVO>, TenantVO>({
 | 
			
		||||
const { register, tableObject, methods } = useTable<TenantVO>({
 | 
			
		||||
  getListApi: TenantApi.getTenantPageApi,
 | 
			
		||||
  delListApi: TenantApi.deleteTenantApi,
 | 
			
		||||
  exportListApi: TenantApi.exportTenantApi
 | 
			
		||||
@@ -128,7 +128,7 @@ onMounted(async () => {
 | 
			
		||||
    <!-- 操作工具栏 -->
 | 
			
		||||
    <div class="mb-10px">
 | 
			
		||||
      <el-button type="primary" v-hasPermi="['system:tenant: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"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user