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
575f055f
Commit
575f055f
authored
Dec 17, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
44
parent
acc075f9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
3 deletions
+86
-3
Index.vue
src/views/report/project/Index.vue
+1
-3
projectCreate.vue
src/views/report/project/components/edit/projectCreate.vue
+81
-0
projectEdit.vue
src/views/report/project/components/edit/projectEdit.vue
+0
-0
projectCreate.vue
src/views/report/project/components/projectCreate.vue
+4
-0
No files found.
src/views/report/project/Index.vue
View file @
575f055f
...
...
@@ -70,8 +70,6 @@ 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
projectEdit
from
'@/views/report/project/components/projectEdit'
import
projectEditKey
from
"@/views/report/project/components/keyProject/projectEdit"
import
projectView
from
'@/views/report/project/components/projectView'
import
previewFile
from
'@/views/components/common/previewFile'
import
knowledgeSelect
from
'@/views/components/common/knowledgeSelect'
...
...
@@ -82,7 +80,7 @@ import axios from 'axios'
export
default
{
name
:
'reportProject'
,
components
:
{
projectView
,
projectCreate
,
projectEdit
,
previewFile
,
projectEditKey
,
knowledgeSelect
,
personInfoEdit
projectView
,
projectCreate
,
previewFile
,
knowledgeSelect
,
personInfoEdit
},
data
()
{
return
{
...
...
src/views/report/project/components/edit/projectCreate.vue
0 → 100644
View file @
575f055f
<
template
>
<div
class=
"app-content"
style=
"height: 76vh;overflow: auto;"
>
<a-spin
:spinning=
"loading"
style=
"width: 100%;height: 100%;"
>
<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>
</div>
<div
class=
"page-footer"
>
<a-button
@
click=
"save"
>
保存
</a-button>
<a-button
style=
"margin-left: 10px"
type=
"primary"
@
click=
"submit"
>
完成填写
</a-button>
</div>
</a-spin>
</div>
</
template
>
<
script
>
import
{
getType
}
from
'@/views/utils/auth'
import
projectEdit
from
"@/views/report/project/components/edit/projectEdit"
import
projectEditKey
from
"@/views/report/project/components/keyProject/projectEdit"
export
default
{
name
:
"projectCreate"
,
components
:
{
projectEdit
,
projectEditKey
,
},
data
()
{
return
{
loading
:
false
,
projType
:
getType
()
==
"1"
}
},
props
:
{
value
:
{
type
:
String
,
default
:
()
=>
{
return
null
}
}
},
created
()
{
},
methods
:
{
save
()
{
this
.
$refs
.
projCreate
.
save
()
},
submit
()
{
this
.
$refs
.
projCreate
.
submit
()
},
closeWindow
(
value
)
{
this
.
$emit
(
'close'
,
value
)
},
onLoad
(
value
)
{
this
.
loading
=
value
},
},
}
</
script
>
<
style
scoped
lang=
"less"
>
::v-deep .ant-spin-container {
width: 100%;
height: 100%;
}
::-webkit-scrollbar {
width: 8px;
height: 6px;
}
.page-content {
width: 100%;
height: calc(100% - 40px);
overflow: auto;
}
.page-footer {
width: 100%;
height: 40px;
line-height: 40px;
background: rgb(248, 248, 248);
text-align: center;
}
</
style
>
src/views/report/project/components/edit/projectEdit.vue
0 → 100644
View file @
575f055f
This diff is collapsed.
Click to expand it.
src/views/report/project/components/projectCreate.vue
View file @
575f055f
...
...
@@ -56,6 +56,10 @@ export default {
}
</
script
>
<
style
scoped
lang=
"less"
>
::-webkit-scrollbar {
width: 8px;
height: 6px;
}
::v-deep .ant-spin-container {
width: 100%;
height: 100%;
...
...
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