From 73177029054722cc89438474a204bebad8e9ce71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 25 Jun 2024 13:30:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E5=AE=9E=E7=8E=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yifengdian-company-report/src/api/test.js | 22 +++ yifengdian-company-report/src/router/index.js | 1 + .../src/router/router_modular/index.js | 8 +- .../src/views/bazaar.vue | 135 ++++++++++++++++-- yifengdian-company-report/src/views/home.vue | 24 ++-- yifengdian-company-report/src/views/login.vue | 2 +- .../src/views/policy.vue | 42 ++++-- .../src/views/policyDetails.vue | 70 +++++---- .../src/views/vegetable.vue | 54 +++++-- .../src/views/vegetableDetails.vue | 53 ++----- 10 files changed, 289 insertions(+), 122 deletions(-) diff --git a/yifengdian-company-report/src/api/test.js b/yifengdian-company-report/src/api/test.js index ff1bda1..217415a 100644 --- a/yifengdian-company-report/src/api/test.js +++ b/yifengdian-company-report/src/api/test.js @@ -32,4 +32,26 @@ export function getVegetableOutputList (params) { method: 'GET', params }) + } + //种业资讯列表 + export function seedNewsScreenList (params) { + return request({ + url: '/api/resi/partymember/yifengScreen/seedNewsScreenList', + method: 'GET', + params + }) + } + // 种业资讯详情 +export function seedNewsScreenDetail (id) { + return request({ + url: `/api/resi/partymember/yifengScreen/seedNewsScreenDetail/${id}`, + method: 'GET' + }) + } + // 种都力量-企业详情 +export function getVegetableOutputListDetail () { + return request({ + url: '/api/resi/partymember/screenenterpriseoutput/yifengScreen/getVegetableOutputListDetail', + method: 'GET' + }) } \ No newline at end of file diff --git a/yifengdian-company-report/src/router/index.js b/yifengdian-company-report/src/router/index.js index 12f7fb7..6c6e59e 100644 --- a/yifengdian-company-report/src/router/index.js +++ b/yifengdian-company-report/src/router/index.js @@ -18,4 +18,5 @@ router.beforeEach((to,from,next)=>{ router.afterEach((to,from)=>{ console.log(to,from); }) + export default router diff --git a/yifengdian-company-report/src/router/router_modular/index.js b/yifengdian-company-report/src/router/router_modular/index.js index c060016..7a32fa8 100644 --- a/yifengdian-company-report/src/router/router_modular/index.js +++ b/yifengdian-company-report/src/router/router_modular/index.js @@ -2,7 +2,7 @@ const router_modular = [ { - path: '/', + path: '/login', name: 'login', component: () => import('@/views/login') }, @@ -16,10 +16,11 @@ const router_modular = [ path: '/vegetableDetails', name: 'vegetableDetails', component: () => import(/* webpackChunkName: "about" */ '@/views/vegetableDetails.vue'), - title:'企业上报' + title:'企业上报', + meta: { requiresAuth: true }, }, { - path: '/home', + path: '/', name: 'home', component: () => import(/* webpackChunkName: "about" */ '@/views/home.vue'), title:'首页' @@ -51,4 +52,5 @@ const router_modular = [ ] + export default router_modular \ No newline at end of file diff --git a/yifengdian-company-report/src/views/bazaar.vue b/yifengdian-company-report/src/views/bazaar.vue index 2802b20..8152db2 100644 --- a/yifengdian-company-report/src/views/bazaar.vue +++ b/yifengdian-company-report/src/views/bazaar.vue @@ -8,10 +8,10 @@