diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index 9bb079d3..5d6e6a76 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -42,13 +42,58 @@ export function pictureRemove(id) { } // 一张图详情 -export function pictureGet(id) { +export function pictureGet(query) { return request({ - url: '/villageAffairs/public/picturePublicDetail/' + id, + url: '/villageAffairs/public/picturePublicDetail', + method: 'get', + params: query + }) +} + +// 查询合同 +export function otherPublicList(query) { + return request({ + url: '/villageAffairs/public/otherPublicList', + method: 'get', + params: query + }) +} + +// 合同详情 +export function otherPublicDetail(query) { + return request({ + url: '/villageAffairs/public/otherPublicDetail', + method: 'get', + params: query + }) +} + +// 删除合同 +export function otherRemove(id) { + return request({ + url: '/subcontract/other/remove/' + id, method: 'get' }) } +// 新增一张图 +export function otherAdd(data) { + return request({ + url: '/subcontract/other/add', + method: 'post', + data: data + }) +} + +// 修改一张图 +export function otherEdit(data) { + return request({ + url: '/subcontract/other/edit', + method: 'post', + data: data + }) +} + // 查询合同信息列表 export function contractionList(query) { return request({ diff --git a/src/assets/images/sunVillage_info/index_block_12.png b/src/assets/images/sunVillage_info/index_block_12.png new file mode 100644 index 00000000..e461f679 Binary files /dev/null and b/src/assets/images/sunVillage_info/index_block_12.png differ diff --git a/src/assets/images/sunVillage_info/index_code_btn_5.png b/src/assets/images/sunVillage_info/index_code_btn_5.png new file mode 100644 index 00000000..ebfab63c Binary files /dev/null and b/src/assets/images/sunVillage_info/index_code_btn_5.png differ diff --git a/src/permission.js b/src/permission.js index afd2467d..c0316fe1 100644 --- a/src/permission.js +++ b/src/permission.js @@ -119,6 +119,8 @@ const whiteList = [ '/sunVillage_info/list_finance', //详情页 '/sunVillage_info/list_issues', //详情页 '/sunVillage_info/list_photo', //详情页 + '/sunVillage_info/list_contract', //详情页 + '/sunVillage_info/list_contract_detail', //详情页 '/sunVillage_info/list_tourists_detail', //详情页 '/sunVillage_info/list_issues_detail', //详情页 '/sunVillage_info/list_finance_detail', //详情页 diff --git a/src/router/index.js b/src/router/index.js index c992647e..566db205 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3352,6 +3352,42 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/list_photo_detail'], resolve) }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_contract', + name: 'sunVillageInfoListContract', + meta: { + title: '合同公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_contract'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_contract_detail', + name: 'sunVillageInfoListContractDetail', + meta: { + title: '公开查看', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_contract_detail'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_contract_edit', + name: 'sunVillageInfoListContractEdit', + meta: { + title: '公开修改', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_contract_edit'], resolve) + }, + { ////阳光村务(新)-- 一张图公开 + path: '/sunVillage_info/list_contract_add', + name: 'sunVillageInfoListContractAdd', + meta: { + title: '公开新增', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_contract_add'], resolve) + }, { ////阳光村务(新)-- 固定资产 path: '/sunVillage_info/fixedAssets', name: 'sunVillageInfoFixedAssets', diff --git a/src/views/sunVillage_info/index.vue b/src/views/sunVillage_info/index.vue index 503064a1..5cd9117a 100644 --- a/src/views/sunVillage_info/index.vue +++ b/src/views/sunVillage_info/index.vue @@ -60,6 +60,7 @@ 重大事项 发布投票 村庄图公开 + 其他公开 @@ -391,6 +392,11 @@ background-size: 50%; margin-bottom: 20PX; } + &.n_12 { + background: url('../../assets/images/sunVillage_info/index_block_12.png') no-repeat center top; + background-size: 50%; + margin-bottom: 20PX; + } &.n_01 { diff --git a/src/views/sunVillage_info/index_code.vue b/src/views/sunVillage_info/index_code.vue index 62ad371e..d4ecf897 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -21,12 +21,18 @@ - - + + + + - + + + + +