Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
yn-science-front
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
徐俊
yn-science-front
Commits
fc7c733b
Commit
fc7c733b
authored
Dec 17, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
22
parent
07c0b73a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
Index.vue
src/views/report/project/Index.vue
+1
-1
projectCreate.vue
src/views/report/project/components/edit/projectCreate.vue
+18
-1
projectEdit.vue
src/views/report/project/components/edit/projectEdit.vue
+0
-0
No files found.
src/views/report/project/Index.vue
View file @
fc7c733b
...
...
@@ -69,7 +69,7 @@
import
{
getType
,
getComplete
,
setComplete
}
from
'@/views/utils/auth'
import
moment
from
'moment'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
,
checkEmail
,
personGender
,
personBirthday
,
checkImageFileType
,
checkDocumentFileType
}
from
"@/views/utils/common"
import
projectCreate
from
'@/views/report/project/components/projectCreate'
import
projectCreate
from
'@/views/report/project/components/
edit/
projectCreate'
import
projectView
from
'@/views/report/project/components/projectView'
import
previewFile
from
'@/views/components/common/previewFile'
import
knowledgeSelect
from
'@/views/components/common/knowledgeSelect'
...
...
src/views/report/project/components/edit/projectCreate.vue
View file @
fc7c733b
...
...
@@ -2,6 +2,11 @@
<
template
>
<div
class=
"app-content"
style=
"height: 76vh;overflow: auto;"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<div>
<a-steps
size=
"small"
@
change=
"stepsChange"
:initial=
"0"
>
<a-step
:status=
"item"
v-for=
"(item,index) in completeStatus"
:key=
"index+'completeStatus'"
:disabled=
"false"
/>
</a-steps>
</div>
<div
class=
"page-content"
>
<project-edit
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"projCreate"
v-if=
"projType"
></project-edit>
<project-edit-key
v-model=
"value"
@
close=
"closeWindow"
@
load=
"onLoad"
ref=
"projCreate"
v-else
></project-edit-key>
...
...
@@ -26,7 +31,13 @@ export default {
data
()
{
return
{
loading
:
false
,
projType
:
getType
()
==
"1"
projType
:
getType
()
==
"1"
,
current
:
0
,
completeStatus
:
[
"process"
,
"finish"
,
"process"
,
"process"
,
""
,
""
,
""
,
""
,
""
,
""
],
stepStyle
:
{
marginBottom
:
'60px'
,
boxShadow
:
'0px -1px 0 0 #e8e8e8 inset'
,
},
}
},
props
:
{
...
...
@@ -40,6 +51,12 @@ export default {
created
()
{
},
methods
:
{
stepsChange
(
e
)
{
var
clone
=
[].
concat
(
this
.
completeStatus
)
clone
[
e
]
=
"process"
this
.
completeStatus
=
clone
console
.
log
(
this
.
completeStatus
)
},
save
()
{
this
.
$refs
.
projCreate
.
save
()
},
...
...
src/views/report/project/components/edit/projectEdit.vue
View file @
fc7c733b
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