diff --git a/jwtech-pc-page/src/api/creditStatistics.js b/jwtech-pc-page/src/api/creditStatistics.js index 1fad6ead..1a242675 100644 --- a/jwtech-pc-page/src/api/creditStatistics.js +++ b/jwtech-pc-page/src/api/creditStatistics.js @@ -9,7 +9,7 @@ export function creditGetGood(data) { }) } -// 企业良好行为 +// 企业不良行为 export function getBadLimit() { return request({ url: '/enterprise/credit/getBadLimit', @@ -23,4 +23,13 @@ export function getGuangDong() { url: '/xzqh/xzqh/getGuangDong', method: 'GET', }) +} + +// 获取不良条件-带条件 +export function creditGetBad(data) { + return request({ + url: '/enterprise/credit/getBad', + method: 'POST', + data: data + }) } \ No newline at end of file diff --git a/jwtech-pc-page/src/api/enterpriseInformation.js b/jwtech-pc-page/src/api/enterpriseInformation.js index 1ee8587a..3eaf5b17 100644 --- a/jwtech-pc-page/src/api/enterpriseInformation.js +++ b/jwtech-pc-page/src/api/enterpriseInformation.js @@ -51,3 +51,29 @@ export function behaviorList(data) { }) } +// 综合信息 +export function zhxxList(data) { + return request({ + url: '/enterprise/zhxx/list', + method: 'POST', + data: data + }) +} + +// 不良公告 +export function getBadAll(data) { + return request({ + url: '/enterprise/credit/getBadAll', + method: 'POST', + data: data + }) +} + +// 不良公告 +export function getParent(enterpriseId) { + return request({ + url: '/enterprise/qualifications/getParent/'+ enterpriseId, + method: 'GET', + }) +} + diff --git a/jwtech-pc-page/src/router/index.js b/jwtech-pc-page/src/router/index.js index 9c3d41d8..cf3351e4 100644 --- a/jwtech-pc-page/src/router/index.js +++ b/jwtech-pc-page/src/router/index.js @@ -84,6 +84,11 @@ const router = new Router({ component: () => import('@/views/summarizedInformation/index.vue'), name: 'summarizedInformation', }, + { + path: '/summarizedDetail', + component: () => import('@/views/summarizedInformation/summarizedDetail.vue'), + name: 'summarizedDetail', + }, { path: '/announcement', component: () => import('@/views/announcement/index.vue'), @@ -350,7 +355,8 @@ const router = new Router({ router.beforeEach((to, from, next) => { if (to.path === '/') { router.push({ - name: 'login' + // name: 'login' + name: 'home' }) } else { document.body.scrollTop = 0; diff --git a/jwtech-pc-page/src/views/announcement/actionAnnouncementDetail.vue b/jwtech-pc-page/src/views/announcement/actionAnnouncementDetail.vue index 8bed56eb..ea93a553 100644 --- a/jwtech-pc-page/src/views/announcement/actionAnnouncementDetail.vue +++ b/jwtech-pc-page/src/views/announcement/actionAnnouncementDetail.vue @@ -4,23 +4,23 @@
首页 - 公告 + 公告 不良行为公告详情
- +
- - +
diff --git a/jwtech-pc-page/src/views/home/components/enterpriseInformation.vue b/jwtech-pc-page/src/views/home/components/enterpriseInformation.vue index c19e9b5e..ab419f4f 100644 --- a/jwtech-pc-page/src/views/home/components/enterpriseInformation.vue +++ b/jwtech-pc-page/src/views/home/components/enterpriseInformation.vue @@ -5,7 +5,7 @@ 企业信息
-
+
@@ -31,19 +31,38 @@ export default { return { enterpriseList: [{ url: require("@/assets/image/img_zizhixinxi.png"), - name: "" + path: "/certificationPage", }, { url: require("@/assets/image/img_xmyjxx.png"), name: "" }, { url: require("@/assets/image/img_lhxwjl.png"), - name: "" + path: "/creditStatistics", }, { url: require("@/assets/image/img_rylhxwjl.png"), name: "" }] } + }, + methods: { + toPage(item) { + if (item.path && item.path !== '') { + if (item.path == "/certificationPage") { + this.$router.push({ + path: item.path, + query:{ + codeText:"allCertification", + qualificationCategory:"" + } + }) + } else { + this.$router.push({ + path: item.path + }) + } + } } + }, } \ No newline at end of file