diff --git a/components.d.ts b/components.d.ts index 1398bfc..371bd66 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,7 +8,6 @@ export {} declare module 'vue' { export interface GlobalComponents { ComNav: typeof import('./src/components/comNav/index.vue')['default'] - Details: typeof import('./src/components/com/details.vue')['default'] EditorWang: typeof import('./src/components/com/editorWang.vue')['default'] ElButton: typeof import('element-plus/es')['ElButton'] ElCard: typeof import('element-plus/es')['ElCard'] @@ -18,38 +17,28 @@ declare module 'vue' { ElDialog: typeof import('element-plus/es')['ElDialog'] ElDivider: typeof import('element-plus/es')['ElDivider'] ElForm: typeof import('element-plus/es')['ElForm'] - 'ElForm-': typeof import('element-plus/es')['ElForm-'] ElFormItem: typeof import('element-plus/es')['ElFormItem'] ElIcon: typeof import('element-plus/es')['ElIcon'] ElInput: typeof import('element-plus/es')['ElInput'] - ElLine: typeof import('element-plus/es')['ElLine'] ElMenu: typeof import('element-plus/es')['ElMenu'] ElMenuItem: typeof import('element-plus/es')['ElMenuItem'] - ElMenuItemGroup: typeof import('element-plus/es')['ElMenuItemGroup'] ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] - ElPopover: typeof import('element-plus/es')['ElPopover'] ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] - ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] ElSelect: typeof import('element-plus/es')['ElSelect'] ElSubMenu: typeof import('element-plus/es')['ElSubMenu'] ElSwitch: typeof import('element-plus/es')['ElSwitch'] ElTable: typeof import('element-plus/es')['ElTable'] ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] - ElTabPane: typeof import('element-plus/es')['ElTabPane'] - ElTabs: typeof import('element-plus/es')['ElTabs'] ElTag: typeof import('element-plus/es')['ElTag'] ElTree: typeof import('element-plus/es')['ElTree'] ElUpload: typeof import('element-plus/es')['ElUpload'] - Header: typeof import('./src/components/header.vue')['default'] HeaderNav: typeof import('./src/components/headerCom/headerNav.vue')['default'] HeaderTop: typeof import('./src/components/headerCom/headerTop.vue')['default'] MenuItem: typeof import('./src/components/comNav/sideBar/menuItem.vue')['default'] Pagination: typeof import('./src/components/com/Pagination.vue')['default'] - Paginnatin: typeof import('./src/components/com/paginnatin.vue')['default'] - Panignatin: typeof import('./src/components/com/panignatin.vue')['default'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] SubMenu: typeof import('./src/components/comNav/sideBar/subMenu.vue')['default'] diff --git a/env/.env.sit b/env/.env.sit index 705ebda..70d2af5 100644 --- a/env/.env.sit +++ b/env/.env.sit @@ -3,4 +3,4 @@ VITE_ENV = 'production' VITE_BUILD_MODE = 'sit' # 线上环境接口地址 -VITE_API_URL = 'https://testSit.com' \ No newline at end of file +VITE_API_URL = 'http://112.29.103.165:1619/zlpt' \ No newline at end of file diff --git a/package.json b/package.json index 32daa46..e1d9bf7 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,13 @@ { - "name": "vue3pctemplate", + "name": "houtai", "version": "0.0.0", "private": true, "scripts": { "dev": "vite --mode dev", "build": "npm run build:pro", - "build:sit": "vue-tsc && vite build --mode sit", - "build:uat": "vue-tsc && vite build --mode uat", - "build:pro": "vue-tsc && vite build --mode production", + "build:sit": "vite build --mode sit", + "build:uat": "vite build --mode uat", + "build:pro": "vite build --mode production", "preview": "vite preview", "build-only": "vite build", "type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false" diff --git a/src/router/index.ts b/src/router/index.ts index a2b7baf..9c584c4 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -63,7 +63,7 @@ const routes: Array = [ { path: 'enterpriseManagement', name: 'enterpriseManagement', - component: () => import('views/enterpriseManagement/AppMain.vue'), + component: () => import('views/enterpriseManagement/index.vue'), meta: { title: '企业管理', keepAlive: true, diff --git a/src/router/routerData.ts b/src/router/routerData.ts index ec26e51..8604469 100644 --- a/src/router/routerData.ts +++ b/src/router/routerData.ts @@ -41,7 +41,7 @@ export const list: any = [ // ] // }, { - name: "企业管理", + name: "enterpriseTypeManage", path:'/index/enterpriseTypeManage', meta: { title: '企业管理', @@ -54,7 +54,7 @@ export const list: any = [ { path:'/index/enterpriseTypeManage/enterpriseType', - name: 'configuration', + name: 'enterpriseType', component: 'views/enterpriseManagement/enterpriseType/index.vue', meta: { title: '企业类型', diff --git a/src/store/comNav.ts b/src/store/comNav.ts index 613f3a9..896a671 100644 --- a/src/store/comNav.ts +++ b/src/store/comNav.ts @@ -30,7 +30,7 @@ export const comNavStore = defineStore('main_com_nav', { this.topNavList = [] }, setCurrentNav(ev:any){ - console.log("setCurrentNav") + console.log("setCurrentNav00",ev) this.currentNav = ev } , setDefaultActive(ev:any){ @@ -53,3 +53,5 @@ export const comNavStore = defineStore('main_com_nav', { ] } }) + +// [ { "title": "企业类型", "name": "configuration", "path": "/index/enterpriseTypeManage/enterpriseType" }, { "title": "企业类型", "path": "configuration" } ]