diff --git a/src/api/sunVillage_info/otherOpen.js b/src/api/sunVillage_info/otherOpen.js new file mode 100644 index 00000000..957f0004 --- /dev/null +++ b/src/api/sunVillage_info/otherOpen.js @@ -0,0 +1,45 @@ +import request from '@/utils/request' + +// 查询其他公开列表 +export function listOther(query) { + return request({ + url: '/subcontract/other/list', + method: 'get', + params: query + }) +} + +// 查询其他公开详细 +export function getOther(id) { + return request({ + url: '/subcontract/other/get/' + id, + method: 'get' + }) +} + +// 新增其他公开 +export function addOther(data) { + return request({ + url: '/subcontract/other/add', + method: 'post', + data: data + }) +} + +// 修改其他公开 +export function updateOther(data) { + return request({ + url: '/subcontract/other/edit', + method: 'post', + data: data + }) +} + +// 删除其他公开 +export function delOther(id) { + return request({ + url: '/subcontract/other/remove/' + id, + method: 'get' + }) +} + diff --git a/src/router/index.js b/src/router/index.js index 37044daf..447c1b5f 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3795,6 +3795,33 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/registration/registrationEdit'], resolve) }, + { ////阳光村务(新)-- 综合公开 + path: '/sunVillage_info/otherOpenIndex', + name: 'otherOpenIndex', + meta: { + title: '综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenList'], resolve) + }, + { ////阳光村务(新)-- 综合公开详情 + path: '/sunVillage_info/otherOpenDetail', + name: 'otherOpenDetail', + meta: { + title: '综合公开详情', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenDetail'], resolve) + }, + { ////阳光村务(新)-- 新增/编辑综合公开 + path: '/sunVillage_info/otherOpenEdit', + name: 'otherOpenEdit', + meta: { + title: '编辑综合公开', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/otherOpen/otherOpenEdit'], 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 33cd32b5..c5bf7fdd 100644 --- a/src/views/sunVillage_info/index_code.vue +++ b/src/views/sunVillage_info/index_code.vue @@ -5,7 +5,10 @@
{{item.otherName}}
+