diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index d17c295c..e2f312e5 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -1502,3 +1502,115 @@ export function webList(query) { params: query }) } + +// 查询经费预算列表 +export function listFunds(query) { + return request({ + url: '/cashier/funds/list', + method: 'get', + params: query + }) +} +// 查询审批模板列表 +export function listTemplate(query) { + return request({ + url: '/service/template/list', + method: 'get', + params: query + }) +} + +// 新增经费预算 +export function addFunds(data) { + return request({ + url: '/cashier/funds/add', + method: 'post', + data: data + }) +} + +// 开始审批经费预算 +export function applyFunds(id) { + return request({ + url: '/cashier/funds/submitApply/' + id, + method: 'post', + }) +} + +// 撤销审批经费预算 +export function revokeFunds(id) { + return request({ + url: '/cashier/funds/revokeApply/' + id, + method: 'post', + }) +} + +// 删除经费预算 +export function delFunds(id) { + return request({ + url: '/cashier/funds/remove/' + id, + method: 'get' + }) +} + +// 查询经费预算详细 +export function getFunds(id) { + return request({ + url: '/cashier/funds/get/' + id, + method: 'get', + params: arguments[1] || {} + }) +} + +// 修改经费预算 +export function updateFunds(data) { + return request({ + url: '/cashier/funds/edit', + method: 'post', + data: data + }) +} + +// 查询经费明细列表 +export function listFundsdetail(query) { + return request({ + url: '/cashier/fundsdetail/list', + method: 'get', + params: query + }) +} + +// 删除经费明细 +export function delFundsdetail(id) { + return request({ + url: '/cashier/fundsdetail/remove/' + id, + method: 'get' + }) +} + +// 新增经费明细 +export function addFundsdetail(data) { + return request({ + url: '/cashier/fundsdetail/add', + method: 'post', + data: data + }) +} + +// 修改经费明细 +export function updateFundsdetail(data) { + return request({ + url: '/cashier/fundsdetail/edit', + method: 'post', + data: data + }) +} + +// 查询经费明细详细 +export function getFundsdetail(id) { + return request({ + url: '/cashier/fundsdetail/get/' + id, + method: 'get', + params: arguments[1] || {} + }) +} diff --git a/src/assets/images/sunVillage_info/index_icon_16.png b/src/assets/images/sunVillage_info/index_icon_16.png new file mode 100644 index 00000000..022c077e Binary files /dev/null and b/src/assets/images/sunVillage_info/index_icon_16.png differ diff --git a/src/router/index.js b/src/router/index.js index e5994fcc..5ff8af24 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -3542,6 +3542,78 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/list_special_edit'], resolve) }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds', + name: 'sunVillageInfoListFunds', + meta: { + title: '经费预算', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_add', + name: 'sunVillageInfoListFundsAdd', + meta: { + title: '新增经费预算', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_add'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_edit', + name: 'sunVillageInfoListFundsEdit', + meta: { + title: '修改经费预算', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_edit'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_detail', + name: 'sunVillageInfoListFundsDetail', + meta: { + title: '经费预算', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_detail'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_list', + name: 'sunVillageInfoListFundsList', + meta: { + title: '预算明细', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_list'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_list_add', + name: 'sunVillageInfoListFundsListAdd', + meta: { + title: '新增预算明细', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_list_add'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_list_edit', + name: 'sunVillageInfoListFundsListEdit', + meta: { + title: '修改预算明细', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_list_edit'], resolve) + }, + { ////阳光村务(新)-- 四议两公开 + path: '/sunVillage_info/list_funds_list_detail', + name: 'sunVillageInfoListFundsListDetail', + meta: { + title: '查看预算明细', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/list_funds_list_detail'], resolve) + }, { ////阳光村务(新)-- 四议表决 path: '/sunVillage_info/special_vote', name: 'sunVillageInfoSpecialVote', diff --git a/src/views/sunVillage_info/list_funds.vue b/src/views/sunVillage_info/list_funds.vue new file mode 100644 index 00000000..a6eb9325 --- /dev/null +++ b/src/views/sunVillage_info/list_funds.vue @@ -0,0 +1,554 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_add.vue b/src/views/sunVillage_info/list_funds_add.vue new file mode 100644 index 00000000..613df6a3 --- /dev/null +++ b/src/views/sunVillage_info/list_funds_add.vue @@ -0,0 +1,256 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_detail.vue b/src/views/sunVillage_info/list_funds_detail.vue new file mode 100644 index 00000000..7d420e25 --- /dev/null +++ b/src/views/sunVillage_info/list_funds_detail.vue @@ -0,0 +1,222 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_edit.vue b/src/views/sunVillage_info/list_funds_edit.vue new file mode 100644 index 00000000..0bdd0856 --- /dev/null +++ b/src/views/sunVillage_info/list_funds_edit.vue @@ -0,0 +1,261 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_list.vue b/src/views/sunVillage_info/list_funds_list.vue new file mode 100644 index 00000000..4c253f52 --- /dev/null +++ b/src/views/sunVillage_info/list_funds_list.vue @@ -0,0 +1,518 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_list_add.vue b/src/views/sunVillage_info/list_funds_list_add.vue new file mode 100644 index 00000000..e867cee1 --- /dev/null +++ b/src/views/sunVillage_info/list_funds_list_add.vue @@ -0,0 +1,233 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_list_detail.vue b/src/views/sunVillage_info/list_funds_list_detail.vue new file mode 100644 index 00000000..a01b3bdb --- /dev/null +++ b/src/views/sunVillage_info/list_funds_list_detail.vue @@ -0,0 +1,198 @@ + + + + + diff --git a/src/views/sunVillage_info/list_funds_list_edit.vue b/src/views/sunVillage_info/list_funds_list_edit.vue new file mode 100644 index 00000000..dbbfde2f --- /dev/null +++ b/src/views/sunVillage_info/list_funds_list_edit.vue @@ -0,0 +1,236 @@ + + + + +