diff --git a/src/api/notice/index.js b/src/api/notice/index.js index cbe9ff12..3ca92686 100644 --- a/src/api/notice/index.js +++ b/src/api/notice/index.js @@ -1,10 +1,19 @@ import request from '@/utils/request' -//通讯录查询 -export function newList(query) { +//成交公告 +export function noticeList(query) { return request({ url: '/transaction/website/outproject/publicity', method: 'get', params: query }) } + +//鉴证公告 +export function Attestation(query) { + return request({ + url: '/transaction/website/jzlist', + method: 'get', + params: query + }) +} diff --git a/src/main.js b/src/main.js index 7c02cf65..9a08a250 100644 --- a/src/main.js +++ b/src/main.js @@ -11,10 +11,10 @@ import './config/flexible' import store from './store/' import './permission' // permission control -// import { getDicts } from "utils/data"; -// -// //全局方法挂载 -// Vue.prototype.getDicts = () => new getDicts(); +import { getDicts } from "@/utils/data"; + +//全局方法挂载 +Vue.prototype.getDicts = getDicts; // Vant 引用 import Vant from 'vant'; diff --git a/src/views/index.vue b/src/views/index.vue index 39944aaa..1ba51da5 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -7,7 +7,7 @@ 农村产权交易平台 - +

{{item.title}}

diff --git a/src/views/notice/index.vue b/src/views/notice/index.vue index c6162c46..5c3f0c61 100644 --- a/src/views/notice/index.vue +++ b/src/views/notice/index.vue @@ -14,20 +14,11 @@ :finished="finished" finished-text="没有更多了" style="margin-top: 10px;" + @load="getList" > - + - - - - - - @@ -35,22 +26,13 @@ - - - - - - - + @@ -62,7 +44,7 @@