From d0f89d930248a68227c2910accea1428d6037f40 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com>
Date: Fri, 12 Aug 2022 16:03:42 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/sunVillage_info/fixedAssets.js | 85 ++-
src/router/index.js | 36 +
src/views/sunVillage_info/fixedAssets.vue | 203 ++++--
src/views/sunVillage_info/fixedAssetsAdd.vue | 473 +++++++++++--
.../sunVillage_info/fixedAssetsDetail.vue | 517 ++++++++++++++
src/views/sunVillage_info/fixedAssetsEdit.vue | 579 +++++++++++++++
src/views/sunVillage_info/information.vue | 257 ++++---
src/views/sunVillage_info/informationAdd.vue | 567 +++++++++++++--
.../sunVillage_info/informationDetail.vue | 636 +++++++++++++++++
src/views/sunVillage_info/informationEdit.vue | 670 ++++++++++++++++++
10 files changed, 3768 insertions(+), 255 deletions(-)
create mode 100644 src/views/sunVillage_info/fixedAssetsDetail.vue
create mode 100644 src/views/sunVillage_info/fixedAssetsEdit.vue
create mode 100644 src/views/sunVillage_info/informationDetail.vue
create mode 100644 src/views/sunVillage_info/informationEdit.vue
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 @@
基本信息 资产数据 折旧方式 基本信息 资产数据 折旧方式
+
+
+
+
+
+
合同信息
-合同约定
+村委情况
+招标信息
合同信息
+合同约定
+村委情况
+招标信息
+合同信息
+合同约定
+村委情况
+招标信息
+