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
3bf710d6
Commit
3bf710d6
authored
Dec 04, 2024
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
44444
parent
374d80e6
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
13 deletions
+10
-13
audit.vue
src/views/audit/project/audit.vue
+3
-3
Index.vue
src/views/report/project/Index.vue
+0
-1
projectEdit.vue
src/views/report/project/components/projectEdit.vue
+0
-1
projectView.vue
src/views/report/project/components/projectView.vue
+7
-8
No files found.
src/views/audit/project/audit.vue
View file @
3bf710d6
...
...
@@ -11,8 +11,8 @@
</div>
<div
style=
"width: 100%;height: calc(100% - 50px);overflow: auto;"
ref=
"main"
>
<div
class=
"x_modal_content"
>
<project-info
v-model=
"
projectInfo"
:tabsData
.
sync=
"tabsData"
v-if=
"projType
"
/>
<project-info-Key
v-model=
"
projectInfo"
:tabsData
.
sync=
"tabsData"
v-else
/>
<project-info
v-model=
"
formData"
:tabsData
.
sync=
"tabsData"
v-if=
"projectType=='1'
"
/>
<project-info-Key
v-model=
"
formData"
:tabsData
.
sync=
"tabsData"
v-if=
"projectType=='2'"
/>
<a-row>
<a-col
:span=
"24"
>
<div
class=
"tb-title"
>
...
...
@@ -121,7 +121,7 @@ export default {
auditResult
:
{
required
:
true
,
message
:
'请选择审核结果'
,
trigger
:
'change'
},
},
loading
:
false
,
projType
:
getType
()
==
"1"
projType
:
getType
()
};
},
props
:
{
...
...
src/views/report/project/Index.vue
View file @
3bf710d6
...
...
@@ -150,7 +150,6 @@ export default {
},
data
()
{
return
{
projType
:
getType
()
==
"1"
,
loadState
:
false
,
//判断是否查询信息完整状态
isComplete
:
false
,
formData
:
{
id
:
null
,
nation
:
null
,
title
:
null
,
education
:
null
,
spec
:
null
,
email
:
null
,
sex
:
null
,
birthday
:
null
},
...
...
src/views/report/project/components/projectEdit.vue
View file @
3bf710d6
...
...
@@ -710,7 +710,6 @@ export default {
projectSubList
:
[],
managementRuleList
:
[],
fileList
:
[],
projType
:
getType
()
},
rules
:
{
organizationCode
:
[{
required
:
true
,
message
:
'请填写组织机构代码/统一社会信用代码'
,
trigger
:
'blur'
},],
...
...
src/views/report/project/components/projectView.vue
View file @
3bf710d6
...
...
@@ -11,8 +11,8 @@
<div
class=
"page-footer"
>
<!-- 申报项目详情 -->
<!--
<a-button
type=
"primary"
@
click=
"onExport"
>
导出
</a-button>
-->
<project-info
v-model=
"
projectInfo"
:tabsData
.
sync=
"tabsData"
v-if=
"projType
"
/>
<project-info-Key
v-model=
"
projectInfo"
:tabsData
.
sync=
"tabsData"
v-else
/>
<project-info
v-model=
"
formData"
:tabsData
.
sync=
"tabsData"
v-if=
"projectType=='1'
"
/>
<project-info-Key
v-model=
"
formData"
:tabsData
.
sync=
"tabsData"
v-if=
"projectType=='2'"
/>
</div>
</a-spin>
</div>
...
...
@@ -71,7 +71,7 @@ export default {
{
title
:
'单位科研项目及资金管理制度'
,
key
:
'10'
,
isShow
:
true
},
// { title: '诚信承诺书', key: '11', isShow: true },
],
projectInfo
:
{
formData
:
{
id
:
null
,
organizationCode
:
null
,
address
:
null
,
...
...
@@ -119,10 +119,9 @@ export default {
projectSubList
:
[],
managementRuleList
:
[],
fileList
:
[],
projType
:
getType
()
},
loading
:
false
,
projType
:
getType
()
==
"1"
projType
:
getType
()
};
},
props
:
{
...
...
@@ -131,7 +130,7 @@ export default {
default
:
()
=>
{
return
null
}
}
}
,
},
created
()
{
this
.
getProjectInfoById
()
...
...
@@ -142,7 +141,7 @@ export default {
this
.
loading
=
true
this
.
$api
.
project
.
getProjectInfoById
({
id
:
this
.
value
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
this
.
projectInfo
=
data
this
.
formData
=
data
this
.
loading
=
false
}
else
this
.
$emit
(
'close'
,
'error'
)
...
...
@@ -154,7 +153,7 @@ export default {
let
blob
=
new
Blob
([
res
],
{
type
:
"application/vnd.openxmlformats-officedocument.wordprocessingml.document;charset=utf-8"
,
});
const
fileName
=
this
.
projectInfo
.
projName
+
'.doc'
;
const
fileName
=
this
.
formData
.
projName
+
'.doc'
;
let
downloadElement
=
document
.
createElement
(
'a'
)
let
href
=
window
.
URL
.
createObjectURL
(
blob
);
//创建下载的链接
downloadElement
.
href
=
href
;
...
...
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