From 1db2ea575e07577f3abb35950553ff67e353263f Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期五, 20 十月 2023 13:28:16 +0800 Subject: [PATCH] web init --- admin-web/src/api/projectManage/cancel.js | 10 ++ admin-web/src/api/projectManage/classify.js | 51 ++++++++++++ admin-web/src/api/projectManage/information.js | 91 ++++++++++++++++++++++ admin-web/src/api/projectManage/info.js | 20 +++++ admin-web/src/api/projectManage/audit.js | 10 ++ admin-web/src/api/projectManage/record.js | 18 ++++ 6 files changed, 200 insertions(+), 0 deletions(-) diff --git a/admin-web/src/api/projectManage/audit.js b/admin-web/src/api/projectManage/audit.js new file mode 100644 index 0000000..ea0133f --- /dev/null +++ b/admin-web/src/api/projectManage/audit.js @@ -0,0 +1,10 @@ +import request from '@/utils/request'; +// 椤圭洰瀹℃牳 +export function auditUpd(data) { + return request({ + url: '/pc/p/project/info/audit', + method: 'post', + data: data + }) +} + diff --git a/admin-web/src/api/projectManage/cancel.js b/admin-web/src/api/projectManage/cancel.js new file mode 100644 index 0000000..658e808 --- /dev/null +++ b/admin-web/src/api/projectManage/cancel.js @@ -0,0 +1,10 @@ +import request from '@/utils/request'; +// 椤圭洰鍙栨秷 +export function cancelSave(data) { + return request({ + url: '/pc/p/project/info/cancel/save', + method: 'post', + data: data + }) +} + diff --git a/admin-web/src/api/projectManage/classify.js b/admin-web/src/api/projectManage/classify.js new file mode 100644 index 0000000..baa30f0 --- /dev/null +++ b/admin-web/src/api/projectManage/classify.js @@ -0,0 +1,51 @@ +import request from '@/utils/request'; +// 椤圭洰鍒嗙被 +// 宸︿晶鏍� +export function classifyTree(params) { + return request({ + url: '/pc/p/project/category/tree', + method: 'get', + params + }) +} +// 淇敼鐘舵�� +export function updateStatus(data) { + return request({ + url: '/pc/p/project/category/updateStatus', + method: 'post', + data: data + }) +} +// 鏂板鍒嗙被 +export function add(data) { + return request({ + url: '/pc/p/project/category/add', + method: 'post', + data: data + }) +} +// 鏍规嵁鍒嗙被鑾峰彇璇︽儏 +export function getdetail(params) { + return request({ + url: '/pc/p/project/category/detail', + method: 'get', + params + }) +} +// 淇敼鍒嗙被 +export function edit(data) { + return request({ + url: '/pc/p/project/category/upd', + method: 'post', + data + }) +} +// 鍒犻櫎 +export function del(data) { + return request({ + url: '/pc/p/project/category/del', + method: 'delete', + data: data + }) +} + diff --git a/admin-web/src/api/projectManage/info.js b/admin-web/src/api/projectManage/info.js new file mode 100644 index 0000000..76c465f --- /dev/null +++ b/admin-web/src/api/projectManage/info.js @@ -0,0 +1,20 @@ +import request from '@/utils/request'; + +// 椤圭洰鏂板 +export function add(data) { + return request({ + url: '/pc/p/project/info/add', + method: 'post', + data: data + }) +} + +// 璇︽儏 +export function getInfo(params) { + return request({ + url: '/pc/p/project/info/getInfo', + method: 'get', + params + }) +} + diff --git a/admin-web/src/api/projectManage/information.js b/admin-web/src/api/projectManage/information.js new file mode 100644 index 0000000..e064809 --- /dev/null +++ b/admin-web/src/api/projectManage/information.js @@ -0,0 +1,91 @@ +import request from '@/utils/request'; +// 椤堕儴椤圭洰淇℃伅缁熻 +export function getTotal(params) { + return request({ + url: '/pc/p/project/info/total', + method: 'get', + params + }) +} +// 椤圭洰淇℃伅鍒楄〃 +export function getInfolist(params) { + return request({ + url: '/pc/p/project/info/list', + method: 'get', + params + }) +} +// 棰勮璁剧疆 淇敼鍒楄〃涓婇」鐩璀︾姸鎬� +export function updateInfoStatus(data) { + return request({ + url: '/pc/p/project/info/status/update', + method: 'post', + data: data + }) +} +// 棰勮璁剧疆 鑾峰彇棰勮鍒楄〃 +export function getWarnTempletelist(params) { + return request({ + url: '/pc/p/temp/expiration/notify/list', + method: 'get', + params + }) +} +// 棰勮璁剧疆 淇濆瓨 +export function warnTempleteSave(data) { + return request({ + url: '/pc/p/project/info/tempNotify/save', + method: 'post', + data: data + }) +} +// 涓嬭揪鎶曡祫 鑾峰彇宸茬粡涓嬭揪鎶曡祫鐨勯搴� +export function getInvestInfoList(params) { + return request({ + url: '/pc/p/release/invest/info/list', + method: 'get', + params + }) +} +// 涓嬭揪鎶曡祫 淇濆瓨 +export function investInfoSave(data) { + return request({ + url: '/pc/p/project/info/investInfo/save', + method: 'post', + data: data + }) +} +// 闃舵 鑺傜偣杩涘害 +export function nodeStageList(params) { + return request({ + url: '/pc/p/project/stage/node/report/alreadyByStageId', + method: 'get', + params + }) +} +// 璇︽儏 鑺傜偣杩涘害 +export function nodeItemList(params) { + return request({ + url: '/pc/p/project/stage/node/report/already', + method: 'get', + params + }) +} +// 涓婃姤鍒ゆ柇鏂囦欢鏄惁蹇呬紶 +export function getIsMustFile(params) { + return request({ + url: '/pc/p/project/stage/node/report/isMustFile', + method: 'get', + params + }) +} +// 璇︽儏 鑺傜偣涓婃姤 +export function nodeItemSave(data) { + return request({ + url: '/pc/p/project/stage/node/report/add', + method: 'post', + data: data + }) +} + + diff --git a/admin-web/src/api/projectManage/record.js b/admin-web/src/api/projectManage/record.js new file mode 100644 index 0000000..db8ae9f --- /dev/null +++ b/admin-web/src/api/projectManage/record.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; +// 椤圭洰褰掓。 +export function recordSave(data) { + return request({ + url: '/pc/p/project/info/record/save', + method: 'post', + data: data + }) +} +// 椤圭洰杩樺師 +export function recordUpd(data) { + return request({ + url: '/pc/p/project/info/record/upd', + method: 'post', + data: data + }) +} + -- Gitblit v1.9.1