diff --git a/src/api/onlineHome/villageAffairs.js b/src/api/onlineHome/villageAffairs.js index f52e05c8..6a31ed94 100644 --- a/src/api/onlineHome/villageAffairs.js +++ b/src/api/onlineHome/villageAffairs.js @@ -17,3 +17,14 @@ export function getVillageAffairs(id) { }) } +// 查询地区下的账套列表 +export function bookListByDept(deptId, bookType) { + return request({ + url: '/open/villageAffairs/public/bookList/' + deptId, + method: 'get', + params: { + bookType, + }, + }) +} + diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js index 957f0004..305363f7 100644 --- a/src/api/sunVillage_info/otherOpen.js +++ b/src/api/sunVillage_info/otherOpen.js @@ -43,3 +43,24 @@ export function delOther(id) { }) } +// 查询其他公开列表 游客 +export function otherOpenList(query) { + return request({ + url: '/open/villageAffairs/public/otherOpenList', + method: 'get', + params: query + }) +} + +// 查询其他公开详细 游客 +export function otherOpenDetail(bookId, id) { + return request({ + url: '/open/villageAffairs/public/otherOpenDetail', + method: 'get', + params: { + bookId, + id, + }, + }) +} + diff --git a/src/components/common/PagedList.vue b/src/components/common/PagedList.vue index fb997fcc..544399db 100644 --- a/src/components/common/PagedList.vue +++ b/src/components/common/PagedList.vue @@ -48,6 +48,10 @@ export default { type: Function, default: null, }, + reload: { // 变更此值为true则重新加载数据 监听 + type: Boolean, + default: false, + }, }, components: { }, @@ -177,6 +181,15 @@ export default { console.log('[PagedList]: ', ...arguments); }, }, + watch: { + reload(newVal) { + if(newVal) + { + this.$emit('update:reload', false); + this.getList(); + } + }, + }, } diff --git a/src/permission.js b/src/permission.js index c39603a8..8d6bd2cf 100644 --- a/src/permission.js +++ b/src/permission.js @@ -140,6 +140,8 @@ const whiteList = [ '/sunVillage_info/list_contract_ranking', '/sunVillage_info/identity_check', '/sunVillage_info/assetMapOpen', + '/sunVillage_info/otherOpenVisitIndex', + '/sunVillage_info/otherOpenVisitDetail', // 新型经营主体 'newBusinessEntity/newsBulletin', //新闻公告 diff --git a/src/router/index.js b/src/router/index.js index 447c1b5f..52364bd5 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3822,6 +3822,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenEdit'], resolve) }, + { ////阳光村务(新)-- 综合公开 游客 + path: '/sunVillage_info/otherOpenVisitIndex', + name: 'otherOpenVisitIndex', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenVisitList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 游客 + path: '/sunVillage_info/otherOpenVisitDetail', + name: 'otherOpenVisitDetail', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenVisitDetail'], resolve) + }, { ////阳光村务(新)-- 发包方审核 path: '/sunVillage_info/list_employer_process', diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index c5bf7fdd..21f339db 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -68,9 +68,10 @@ diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue new file mode 100644 index 00000000..92bd31b1 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitDetail.vue @@ -0,0 +1,187 @@ + + + diff --git a/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue new file mode 100644 index 00000000..aefffc10 --- /dev/null +++ b/src/views/sunVillage_info/otherOpen/otherOpenVisitList.vue @@ -0,0 +1,378 @@ + + + + +