diff --git a/.env.development b/.env.development index cd9000d..0aabc1d 100644 --- a/.env.development +++ b/.env.development @@ -1,7 +1,7 @@ VITE_APP_NAME=后台管理系统 VITE_SOCKET_URL=wss://server.gxwebsoft.com -VITE_SERVER_URL=https://server.gxwebsoft.com/api +#VITE_SERVER_URL=https://server.gxwebsoft.com/api VITE_API_URL=https://modules.gxwebsoft.com/api -#VITE_SERVER_URL=http://127.0.0.1:9091/api +VITE_SERVER_URL=http://127.0.0.1:9091/api #VITE_API_URL=http://127.0.0.1:9099/api diff --git a/src/api/oa/app/model/index.ts b/src/api/oa/app/model/index.ts index e4c2c62..920449c 100644 --- a/src/api/oa/app/model/index.ts +++ b/src/api/oa/app/model/index.ts @@ -160,4 +160,5 @@ export interface AppParam extends PageParam { showIndex?: boolean; showExpiration?: boolean; keywords?: any; + sceneType?: string; } diff --git a/src/api/system/tennat/index.ts b/src/api/system/tenant/index.ts similarity index 100% rename from src/api/system/tennat/index.ts rename to src/api/system/tenant/index.ts diff --git a/src/api/system/tennat/model/index.ts b/src/api/system/tenant/model/index.ts similarity index 92% rename from src/api/system/tennat/model/index.ts rename to src/api/system/tenant/model/index.ts index 6de67cd..de007b2 100644 --- a/src/api/system/tennat/model/index.ts +++ b/src/api/system/tenant/model/index.ts @@ -39,5 +39,8 @@ export interface TenantParam extends PageParam { appId?: string; companyId?: number; companyName?: string; + version?: string; + province?: string; + city?: string; tenantCode?: string; } diff --git a/src/components/SelectTenant/components/select-data.vue b/src/components/SelectTenant/components/select-data.vue index 67d42b8..ecac8b6 100644 --- a/src/components/SelectTenant/components/select-data.vue +++ b/src/components/SelectTenant/components/select-data.vue @@ -55,7 +55,7 @@ ColumnItem, DatasourceFunction } from 'ele-admin-pro/es/ele-pro-table/types'; - import { pageTenant } from '@/api/system/tennat'; + import { pageTenant } from '@/api/system/tenant'; import { FILE_THUMBNAIL } from '@/config/setting'; import { EleProTable } from 'ele-admin-pro'; import { Company, CompanyParam } from '@/api/system/company/model'; diff --git a/src/components/SelectTenant/index.vue b/src/components/SelectTenant/index.vue index 5e311e8..5f3db98 100644 --- a/src/components/SelectTenant/index.vue +++ b/src/components/SelectTenant/index.vue @@ -26,7 +26,7 @@ import { BulbOutlined } from '@ant-design/icons-vue'; import { ref } from 'vue'; import SelectData from './components/select-data.vue'; - import { Tenant } from '@/api/system/tennat/model'; + import { Tenant } from '@/api/system/tenant/model'; withDefaults( defineProps<{ diff --git a/src/store/modules/tenant.ts b/src/store/modules/tenant.ts index 39b0615..2eca924 100644 --- a/src/store/modules/tenant.ts +++ b/src/store/modules/tenant.ts @@ -6,7 +6,7 @@ import { formatMenus, toTreeData, formatTreeData } from 'ele-admin-pro'; import type { MenuItem } from 'ele-admin-pro'; import { USER_MENUS } from '@/config/setting'; import { getTenantInfo } from '@/api/layout'; -import { Tenant } from '@/api/system/tennat/model'; +import { Tenant } from '@/api/system/tenant/model'; import { Company } from '@/api/system/company/model'; // const EXTRA_MENUS: any = []; diff --git a/src/store/modules/user.ts b/src/store/modules/user.ts index 81963f7..3e86b78 100644 --- a/src/store/modules/user.ts +++ b/src/store/modules/user.ts @@ -7,7 +7,7 @@ import type { MenuItemType } from 'ele-admin-pro/es'; import type { User } from '@/api/system/user/model'; import { TOKEN_STORE_NAME, USER_MENUS } from '@/config/setting'; import { getUserInfo } from '@/api/layout'; -import { initialization } from '@/api/system/tennat'; +import { initialization } from '@/api/system/tenant'; // import { isExternalLink } from 'ele-admin-pro'; // import { message } from 'ant-design-vue'; const EXTRA_MENUS: any = []; diff --git a/src/views/system/company/components/search.vue b/src/views/system/company/components/search.vue index 18a9cd5..f2602da 100644 --- a/src/views/system/company/components/search.vue +++ b/src/views/system/company/components/search.vue @@ -3,7 +3,6 @@