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 @@
- +
-
+
2024-01-11 + class="img-15 m-right4">{{currentDate?currentDate:times }} (单位:元/公斤)
@@ -39,10 +39,14 @@
-
{{ item.name }}
+
{{ item.Name }}
{{ item.price }}
-
{{ item.old }}
+
{{ item.jzrPrice }} + + +
@@ -53,15 +57,31 @@ type="date" title="选择年月日" /> - {{item}} + {{ item + }}
diff --git a/yifengdian-company-report/src/views/vegetable.vue b/yifengdian-company-report/src/views/vegetable.vue index 4e4a9f6..b43b2ff 100644 --- a/yifengdian-company-report/src/views/vegetable.vue +++ b/yifengdian-company-report/src/views/vegetable.vue @@ -2,27 +2,28 @@
- +
-
-
{{ item.unit }}
-
种植时间: {{ item.startTime }}
-
上市时间: {{ item.endTime }}
-
产量(吨): {{ item.num }}
+
+
{{ item.placeOrgName }}
+
种植时间: {{ item.growTime }}
+
上市时间: {{ item.marketTime }}
+
产量(吨): {{ item.output }}