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
7b8e5f3b
Commit
7b8e5f3b
authored
Dec 25, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
eee
parent
b235b0b4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
16 deletions
+20
-16
fileLoad.vue
src/views/components/common/fileLoad.vue
+5
-2
memberImport.vue
src/views/report/project/components/memberImport.vue
+1
-1
projectMemberEdit.vue
src/views/report/project/components/projectMemberEdit.vue
+14
-13
No files found.
src/views/components/common/fileLoad.vue
View file @
7b8e5f3b
...
...
@@ -7,7 +7,7 @@
<a-icon
type=
"delete"
class=
"hover-pointer d-icon"
@
click=
"deletefile(file)"
style=
"margin: 0px 4px;"
/>
</div>
<div
v-else
>
<a-form-model-item
:prop=
"name +'.'+ index + '.downloadUrl'"
:rules=
"
{required:
file.
isRequired, message: '请上传附件',trigger: 'blur',}">
<a-form-model-item
:prop=
"name +'.'+ index + '.downloadUrl'"
:rules=
"
{required: isRequired, message: '请上传附件',trigger: 'blur',}">
<input
type=
"file"
:ref=
"name +'fileElem' + index"
class=
"visually-hidden"
@
change=
"handleFiles(file, index)"
/>
<a-button
@
click=
"fileSelect(index)"
><a-icon
type=
"upload"
/>
选择文件
</a-button>
</a-form-model-item>
...
...
@@ -23,6 +23,7 @@ export default {
},
data
()
{
return
{
isRequired
:
true
};
},
props
:
{
...
...
@@ -52,7 +53,9 @@ export default {
},
},
created
()
{
if
(
this
.
file
.
isRequired
!=
null
&&
this
.
file
.
isRequired
!=
undefined
)
{
this
.
isRequired
=
this
.
file
.
isRequired
}
},
methods
:
{
deletefile
(
obj
)
{
...
...
src/views/report/project/components/memberImport.vue
View file @
7b8e5f3b
...
...
@@ -114,7 +114,7 @@ export default {
this
.
errorState
=
true
}
let
member
=
{
name
:
e
.
姓名
,
birthday
:
birthday
,
sex
:
gender
,
title
:
title
,
titleName
:
e
.
职称
,
degree
:
degree
,
degreeName
:
e
.
学位
,
workUnit
:
e
.
工作单位
,
mobile
:
e
.
手机号
,
email
:
e
.
电子邮箱
,
certId
:
certId
,
projWork
:
e
.
项目分工
,
forMonths
:
e
.
每年工作
,
msg
:
msg
,
fileId
:
null
,
downloadId
:
null
,
fileName
:
null
,
downloadUrl
:
null
name
:
e
.
姓名
,
birthday
:
birthday
,
sex
:
gender
,
title
:
title
,
titleName
:
e
.
职称
,
degree
:
degree
,
degreeName
:
e
.
学位
,
workUnit
:
e
.
工作单位
,
mobile
:
e
.
手机号
,
email
:
e
.
电子邮箱
,
certId
:
certId
,
projWork
:
e
.
项目分工
,
forMonths
:
e
.
每年工作
,
msg
:
msg
,
fileId
:
null
,
downloadId
:
null
,
fileName
:
null
,
downloadUrl
:
null
,
isRequired
:
true
}
memberList
.
push
(
member
)
})
...
...
src/views/report/project/components/projectMemberEdit.vue
View file @
7b8e5f3b
...
...
@@ -201,89 +201,89 @@
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"1"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"2"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
<a-col
:span=
"4"
>
<div
class=
"special-middle"
>
</div>
</a-col>
<a-col
:span=
"3"
>
<div
class=
"special-middle"
>
<div>
</div>
</div>
</a-col>
...
...
@@ -315,6 +315,7 @@ import moment from 'moment'
const
Member
=
{
name
:
null
,
birthday
:
null
,
sex
:
null
,
title
:
null
,
titleName
:
null
,
degree
:
null
,
degreeName
:
null
,
workUnit
:
null
,
mobile
:
null
,
email
:
null
,
certId
:
null
,
projWork
:
null
,
forMonths
:
null
,
fileId
:
null
,
downloadId
:
null
,
fileName
:
null
,
downloadUrl
:
null
,
isRequired
:
true
}
export
default
{
...
...
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