diff --git a/src/api/sunVillage_info/fixedAssets.js b/src/api/sunVillage_info/fixedAssets.js index a733f4c5..429c4cfd 100644 --- a/src/api/sunVillage_info/fixedAssets.js +++ b/src/api/sunVillage_info/fixedAssets.js @@ -16,12 +16,89 @@ export function contractionList(query) { params: query }) } - -// 用户密码重置 -export function updateUserPwd(data) { +// 新增固定资产 +export function addPermanent(data) { return request({ - url: '/system/user/profile/updatePwd', + url: '/asset/permanent/add', method: 'post', + data: data + }) +} +// 查询固定资产详细 +export function getPermanent(id) { + return request({ + url: '/asset/permanent/get/' + id, + method: 'get' + }) +} +// 修改固定资产 +export function updatePermanent(data) { + return request({ + url: '/asset/permanent/edit', + method: 'post', + data: data + }) +} +// 删除固定资产 +export function delPermanent(id) { + return request({ + url: '/asset/permanent/remove/' + id, + method: 'get' + }) +} +//上传全局方法附件 +export function commonAttach(data) { + return request({ + url: '/common/attach', + method: 'post', + header: { "Content-Type": 'application/x-www-form-urlencoded' }, + data: data + }) +} +//查询已上传附件 +export const attachmentList = (data) => { + return request({ + url: '/system/attachment/query', + method: 'get', params: data }) } +//删除已上传附件 +export function systemAttachment(ids) { + if (ids != undefined) { + return request({ + url: '/system/attachment/remove/' + ids, + method: 'get' + }) + } +} +// 新增合同信息 +export function addInfo(data) { + return request({ + url: '/contraction/info/add', + method: 'post', + data: data + }) +} +// 查询合同信息详细 +export function getInfo(id) { + return request({ + url: '/contraction/info/get/' + id, + method: 'get' + }) +} +// 删除合同信息 +export function delInfo(id) { + return request({ + url: '/contraction/info/remove/' + id, + method: 'get' + }) +} +// 修改合同信息 +export function updateInfo(data) { + return request({ + url: '/contraction/info/edit', + method: 'post', + data: data + }) +} diff --git a/src/router/index.js b/src/router/index.js index 24dc451d..13947b62 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -2872,6 +2872,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/fixedAssetsAdd'], resolve) }, + { ////阳光村务(新)-- 固定资产 + path: '/sunVillage_info/fixedAssetsDetail', + name: 'sunVillageInfoFixedAssetsDetail', + meta: { + title: '查看固定资产', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/fixedAssetsDetail'], resolve) + }, + { ////阳光村务(新)-- 固定资产 + path: '/sunVillage_info/fixedAssetsEdit', + name: 'sunVillageInfoFixedAssetsEdit', + meta: { + title: '修改固定资产', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/fixedAssetsEdit'], resolve) + }, { ////阳光村务(新)-- 合同信息 path: '/sunVillage_info/information', name: 'sunVillageInfoInformation', @@ -2890,6 +2908,24 @@ export const constantRoutes = [ }, component: (resolve) => require(['@/views/sunVillage_info/informationAdd'], resolve) }, + { ////阳光村务(新)-- 合同信息 + path: '/sunVillage_info/informationDetail', + name: 'sunVillageInfoInformationDetail', + meta: { + title: '查看合同信息', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/informationDetail'], resolve) + }, + { ////阳光村务(新)-- 合同信息 + path: '/sunVillage_info/informationEdit', + name: 'sunVillageInfoInformationEdit', + meta: { + title: '修改合同信息', + hidden: true, + }, + component: (resolve) => require(['@/views/sunVillage_info/informationEdit'], resolve) + }, { ////阳光村务(新)-- 合同信息 path: '/sunVillage_info/details', name: 'sunVillageInfoDetails', diff --git a/src/views/sunVillage_info/fixedAssets.vue b/src/views/sunVillage_info/fixedAssets.vue index 4b5fa6a7..547f20f0 100644 --- a/src/views/sunVillage_info/fixedAssets.vue +++ b/src/views/sunVillage_info/fixedAssets.vue @@ -1,56 +1,69 @@ diff --git a/src/views/sunVillage_info/fixedAssetsDetail.vue b/src/views/sunVillage_info/fixedAssetsDetail.vue new file mode 100644 index 00000000..41545405 --- /dev/null +++ b/src/views/sunVillage_info/fixedAssetsDetail.vue @@ -0,0 +1,517 @@ + + + diff --git a/src/views/sunVillage_info/fixedAssetsEdit.vue b/src/views/sunVillage_info/fixedAssetsEdit.vue new file mode 100644 index 00000000..b9362434 --- /dev/null +++ b/src/views/sunVillage_info/fixedAssetsEdit.vue @@ -0,0 +1,579 @@ + + + diff --git a/src/views/sunVillage_info/information.vue b/src/views/sunVillage_info/information.vue index ba493441..b8a5ec91 100644 --- a/src/views/sunVillage_info/information.vue +++ b/src/views/sunVillage_info/information.vue @@ -20,105 +20,182 @@ @load="getList" > -
-
- -
{{item.name}}
-
-
-
{{item.code}}
-
{{item.contractionStatus}}
-
-
+ +
+
+ +
{{item.name}}
+
+
+
{{item.code}}
+
{{item.contractionStatus}}
+
+
合同金额¥{{item.totalAmount}}
{{item.startTime}}
{{item.endTime}}
-
-
- +
+
+ + - + +
+ 附件 + +
+
- + goAdd(){ + this.$router.push('/sunVillage_info/informationAdd') + }, + }, + } + diff --git a/src/views/sunVillage_info/informationAdd.vue b/src/views/sunVillage_info/informationAdd.vue index d8278586..8518d925 100644 --- a/src/views/sunVillage_info/informationAdd.vue +++ b/src/views/sunVillage_info/informationAdd.vue @@ -10,29 +10,279 @@

合同信息

- + - - - + + + + + + + + + + + - + - - - - + + + + + + + + + + + + + + + + +
+
+ +

合同约定

+
+ + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + - - - - - + +
+ +
+
+ +

村委情况

+
+ + + + + + + +
@@ -40,29 +290,91 @@

招标信息

- + - - - - - + + + + + + + + + + + + + - + + + + +
- 提交 + 保存
diff --git a/src/views/sunVillage_info/informationDetail.vue b/src/views/sunVillage_info/informationDetail.vue new file mode 100644 index 00000000..0172f0f8 --- /dev/null +++ b/src/views/sunVillage_info/informationDetail.vue @@ -0,0 +1,636 @@ + + + diff --git a/src/views/sunVillage_info/informationEdit.vue b/src/views/sunVillage_info/informationEdit.vue new file mode 100644 index 00000000..b7d242af --- /dev/null +++ b/src/views/sunVillage_info/informationEdit.vue @@ -0,0 +1,670 @@ + + +