diff --git a/oms_web/oms_vue/src/api/project/info.js b/oms_web/oms_vue/src/api/project/info.js index 4d6708a6..a02b777e 100644 --- a/oms_web/oms_vue/src/api/project/info.js +++ b/oms_web/oms_vue/src/api/project/info.js @@ -52,3 +52,22 @@ export function exportProject(query) { params: query }) } + +// 项目收藏 +export function addCollect(data) { + return request({ + url: '/project/collect/add', + method: 'post', + data: data, + needLoading:true + }) +} +export function editJoinTrial(data) { + return request({ + url: '/sip/project/vue/joinTrial', + method: 'put', + data: data, + needLoading:true + }) +} + diff --git a/oms_web/oms_vue/src/views/project/info/index.vue b/oms_web/oms_vue/src/views/project/info/index.vue index 03efba46..5aae6ee4 100644 --- a/oms_web/oms_vue/src/views/project/info/index.vue +++ b/oms_web/oms_vue/src/views/project/info/index.vue @@ -84,6 +84,18 @@ + + + + + + + + + + + + @@ -190,6 +202,17 @@ {{ parseTime(scope.row.lastWorkUpdateTime, '{y}-{m}-{d} {h}:{i}:{s}') }} + + + + + +