diff --git a/.env.development b/.env.development index 9a1ec0f..0fa1cc8 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VUE_APP_TITLE = 金鸡湖现代服务业品牌管理系统 ENV = 'development' # 金鸡湖现代服务业品牌管理系统/开发环境 -# VUE_APP_BASE_API = 'http://192.168.0.111:9040' -VUE_APP_BASE_API = 'http://39.101.188.84:9040' +VUE_APP_BASE_API = 'http://192.168.0.104:9040' +# VUE_APP_BASE_API = 'http://39.101.188.84:9040' # 路由懒加载 VUE_CLI_BABEL_TRANSPILE_MODULES = true diff --git a/src/api/onlineDeclartion/enterpriseDirectory.js b/src/api/onlineDeclartion/enterpriseDirectory.js index 8b05a5b..20f1938 100644 --- a/src/api/onlineDeclartion/enterpriseDirectory.js +++ b/src/api/onlineDeclartion/enterpriseDirectory.js @@ -60,7 +60,6 @@ export function getTemplateRecord(query) { return request({ url: `/system/templateRecord/${query.templateRecordId}`, method: 'get', - arams: query }) } @@ -76,3 +75,21 @@ export function uploadFile(data) { }) } +// 新增项目时根据责任单位和项目分类获取表单模板 +export function allList(params){ + return request({ + url: `/system/templateInfo/allList`, + method: 'get', + params + }) +} + +// 补录提交 +export function supplementation(data) { + return request({ + url: '/system/templateRecord/supplementation', + method: 'post', + data: data + }) +} + diff --git a/src/assets/styles/public.scss b/src/assets/styles/public.scss index 25c6bd0..b544c22 100644 --- a/src/assets/styles/public.scss +++ b/src/assets/styles/public.scss @@ -12,6 +12,18 @@ // cursor: pointer; // } } +// 申报权限企业名录tab列表样式 +.table-lists { + .tab-green { + color: #24D3A9; + } + .tab-red { + color: #C51717; + } + .tab-blue { + color: #134EE6; + } +} .L-public-main { padding: 6px 6px 6px 6px; width: 100%; @@ -809,18 +821,27 @@ display: flex; margin-bottom: 5px; .title-item { + cursor: pointer; padding: 10px 60px 10px 40px; border-top-right-radius: 30% 100%; margin-right: 15px; background: #FFFFFF; box-shadow: 2px 0 3px 0px #ccc; } + .checked-item { + background: #409EFF; + color: #fff; + } } .workbench-btn { height: 45px; - .el-input { + .el-autocomplete { width: 800px; height: 100%; + } + .el-input { + width: 100%; + height: 100%; input { height: 100%; } diff --git a/src/layout/components/FixedHeader/components/MenuMain/index.vue b/src/layout/components/FixedHeader/components/MenuMain/index.vue index 064e12d..424ac1d 100644 --- a/src/layout/components/FixedHeader/components/MenuMain/index.vue +++ b/src/layout/components/FixedHeader/components/MenuMain/index.vue @@ -83,11 +83,11 @@ export default { //说明创建路由选择的是外部链接 window.open(key, "_blank"); } else { - if(key == "/Project") { - const route = this.routers.find(item => item.path === key); - this.$router.push({ path: route.path + '/' + route.children[0].path }); - return; - } + // if(key == "/Project") { + // const route = this.routers.find(item => item.path === key); + // this.$router.push({ path: route.path + '/' + route.children[0].path }); + // return; + // } this.$router.push({ path: key }); // if (routeMenu && routeMenu.query) { diff --git a/src/router/index.js b/src/router/index.js index 47ea403..6491d50 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -124,6 +124,12 @@ export const constantRoutes = [ name: 'supplementaryNew', meta: { title: '模版详情', icon: 'user' } }, + { + path: 'projectInfo', + component: () => import('@/views/project/projectInfo/index'), + name: 'projectInfo', + meta: { title: '项目详情', icon: 'user' } + }, ] } ]; diff --git a/src/views/onlineDeclaration/enterpriseDirectory/index.vue b/src/views/onlineDeclaration/enterpriseDirectory/index.vue index 3e380ac..7052ad3 100644 --- a/src/views/onlineDeclaration/enterpriseDirectory/index.vue +++ b/src/views/onlineDeclaration/enterpriseDirectory/index.vue @@ -1,10 +1,10 @@ - + - +