Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fulixin
dsk-operate-sys-cscec
Commits
f51623ca
Commit
f51623ca
authored
Feb 20, 2024
by
huangjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*
parent
a3dec409
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
536 additions
and
195 deletions
+536
-195
index.js
dsk-operate-ui/src/api/projectCostLedger/index.js
+48
-0
index.vue
dsk-operate-ui/src/views/projectCostLedger/index.vue
+225
-41
index.vue
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
+263
-154
No files found.
dsk-operate-ui/src/api/projectCostLedger/index.js
View file @
f51623ca
...
@@ -15,6 +15,22 @@ export function addProject (data) {
...
@@ -15,6 +15,22 @@ export function addProject (data) {
data
:
data
,
data
:
data
,
})
})
}
}
//修改项目
export
function
editProjectInfo
(
data
)
{
return
request
({
url
:
'/cbProjectRecord/editProjectInfo'
,
method
:
'PUT'
,
data
:
data
,
})
}
//新增新阶段项目
export
function
addNewStageProject
(
data
)
{
return
request
({
url
:
'/cbProjectRecord/addNewStageProject'
,
method
:
'POST'
,
data
:
data
,
})
}
//获取当前项目文件上传
//获取当前项目文件上传
export
function
getProjectFileUploadDetail
(
projectId
)
{
export
function
getProjectFileUploadDetail
(
projectId
)
{
return
request
({
return
request
({
...
@@ -30,3 +46,35 @@ export function getDraftDialogList (projectId) {
...
@@ -30,3 +46,35 @@ export function getDraftDialogList (projectId) {
method
:
'get'
,
method
:
'get'
,
})
})
}
}
//上传文件
export
function
uploadCbProjectFile
(
data
)
{
return
request
({
url
:
'/cbProjectFile/uploadCbProjectFile'
,
method
:
'post'
,
data
})
}
//删除文件
export
function
deleteCbProjectFile
(
fileId
)
{
return
request
({
url
:
'/cbProjectFile/deleteCbProjectFile/'
+
fileId
,
method
:
'Delete'
,
})
}
//删除草稿
export
function
deleteDraft
(
projectId
)
{
return
request
({
url
:
'/cbProjectRecord/deleteDraft/'
+
projectId
,
method
:
'Delete'
,
})
}
//查询当前项目可删除成本阶段
export
function
getProjectCbStageNotDraft
(
relatedId
)
{
return
request
({
url
:
'/cbProjectRecord/getProjectCbStageNotDraft/'
+
relatedId
,
method
:
'get'
,
})
}
dsk-operate-ui/src/views/projectCostLedger/index.vue
View file @
f51623ca
This diff is collapsed.
Click to expand it.
dsk-operate-ui/src/views/projectCostLedger/upload/index.vue
View file @
f51623ca
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment