diff --git a/.env.development b/.env.development index 846fb53..49a25d4 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,8 @@ VUE_APP_TITLE = 太仓资产管理系统 ENV = 'development' # 若依管理系统/开发环境 -VUE_APP_BASE_API = 'http://192.168.0.108:9015' +# VUE_APP_BASE_API = 'http://192.168.0.109:9115' +VUE_APP_BASE_API = 'http://39.101.188.84:9115' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/auditPagesApi/index.js b/src/api/auditPagesApi/index.js index 4301bdf..15589a0 100644 --- a/src/api/auditPagesApi/index.js +++ b/src/api/auditPagesApi/index.js @@ -26,6 +26,15 @@ export function listUnitdw(query) { }) } +// 新增资产查询单位列表 +export function unitAllList(params){ + return request({ + url: '/tc/unit/allList', + method: 'get', + params + }) +} + // 删除单位 export function delUnit(unitId) { return request({ diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 44d661e..53700df 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -451,6 +451,7 @@ } .el-select, + .el-autocomplete, .el-date-editor, .el-cascader { width: 100%; diff --git a/src/components/Breadcrumb/index.vue b/src/components/Breadcrumb/index.vue index d376661..8200545 100644 --- a/src/components/Breadcrumb/index.vue +++ b/src/components/Breadcrumb/index.vue @@ -40,12 +40,14 @@ export default { // 当前全部侧边栏 let sidebarRouters = this.sidebarRouters let matched = this.$route.matched.filter(item => item.meta && item.meta.title) - - if(matched[0].path == "/assetsAuth" ) { // 管理端--资产管理--新增资产 const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'assets') this.levelList = [activeRoute[0].children[0],matched[0]] + // const activeRoute = sidebarRouters.filter(item => item.path == '/assetsManage') + // const childrenRoute = activeRoute.children; + // console.log(activeRoute,"activeRoute"); + // this.levelList = [activeRoute[0],activeRoute[0].children[0],matched[0]] } else if(matched[0].path == "/taskInfo" || matched[0].path == "/taskAudit") { // 管理端--任务管理--任务审核/任务详情 const activeRoute = sidebarRouters.filter(item => item.path == '/' && item.children[0].path == 'task') @@ -86,7 +88,6 @@ export default { return name.trim() === 'Index' }, handleLink(item) { - const { redirect, path } = item if (redirect) { this.$router.push(redirect) diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue index 3a65fed..fd52bb4 100644 --- a/src/layout/components/TagsView/index.vue +++ b/src/layout/components/TagsView/index.vue @@ -101,7 +101,8 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/login'; + // location.href = '/login'; + this.$router.replace("/login"); }) }).catch(() => {}); }, diff --git a/src/router/index.js b/src/router/index.js index e0bd026..50d8a2d 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -78,6 +78,7 @@ export const constantRoutes = [ component: () => import('@/views/auditPages/assetsManagement/assetsAuth'), name: 'AssetsAuth', meta: { title: '新增资产', icon: 'user', activeMenu: "/assets" } + // meta: { title: '新增资产', icon: 'user', activeMenu: "/assetsManage/assets" } },{ path: 'taskInfo', component: () => import('@/views/auditPages/taskManagement/info'), diff --git a/src/views/auditPages/assetsManagement/assetsAuth.vue b/src/views/auditPages/assetsManagement/assetsAuth.vue index 134ea06..bab54fc 100644 --- a/src/views/auditPages/assetsManagement/assetsAuth.vue +++ b/src/views/auditPages/assetsManagement/assetsAuth.vue @@ -9,13 +9,19 @@ - + - - + + + @@ -58,13 +64,13 @@ - + : - + @@ -101,7 +107,7 @@ - + @@ -656,7 +662,7 @@ - + @@ -695,7 +701,7 @@ - + @@ -734,7 +740,7 @@ - + @@ -773,7 +779,7 @@ - + @@ -812,7 +818,7 @@ - + 添加其他联系人 @@ -1507,16 +1513,18 @@ - - + + + + @@ -1527,16 +1535,18 @@ - - + + + + @@ -1572,16 +1582,18 @@ - - + + + + @@ -1592,16 +1604,18 @@ - - + + + + @@ -2777,7 +2791,7 @@