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
65d85750
Commit
65d85750
authored
Jan 14, 2025
by
wangxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rrrr
parent
a3de6cef
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
68 additions
and
30 deletions
+68
-30
index.js
src/api/index.js
+1
-1
index.vue
src/views/audit/conclusion/index.vue
+2
-2
Index.vue
src/views/audit/project/Index.vue
+2
-2
audit.vue
src/views/audit/project/audit.vue
+1
-1
batchAudit.vue
src/views/audit/project/batchAudit.vue
+1
-1
final.vue
src/views/audit/project/final.vue
+3
-3
Index.vue
src/views/audit/task/Index.vue
+2
-2
audit.vue
src/views/audit/task/audit.vue
+1
-1
index.vue
src/views/audit/thesis/index.vue
+2
-2
auditRecord.vue
src/views/manager/project/components/auditRecord.vue
+2
-2
recordEdit.vue
src/views/manager/project/components/recordEdit.vue
+1
-1
Index.vue
src/views/report/task/Index.vue
+15
-4
taskEdit.vue
src/views/report/task/components/taskEdit.vue
+35
-8
No files found.
src/api/index.js
View file @
65d85750
...
@@ -528,7 +528,7 @@ export default {
...
@@ -528,7 +528,7 @@ export default {
return
fetch
(
`/v1/science-admin/com-project-check/getCount`
,
params
)
return
fetch
(
`/v1/science-admin/com-project-check/getCount`
,
params
)
},
},
},
},
audit
Manager
:
{
audit
:
{
getListByPage
(
params
)
{
getListByPage
(
params
)
{
return
fetch
(
`/v1/science-admin/com_project_audit/getListByPage`
,
params
)
return
fetch
(
`/v1/science-admin/com_project_audit/getListByPage`
,
params
)
},
},
...
...
src/views/audit/conclusion/index.vue
View file @
65d85750
...
@@ -134,7 +134,7 @@ export default {
...
@@ -134,7 +134,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
this
.
$api
.
audit
Manager
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
tableData
=
dataList
;
this
.
tableData
=
dataList
;
...
@@ -149,7 +149,7 @@ export default {
...
@@ -149,7 +149,7 @@ export default {
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
4
,
projType
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
4
,
projType
:
getType
()
});
this
.
$api
.
audit
Manager
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
...
...
src/views/audit/project/Index.vue
View file @
65d85750
...
@@ -186,7 +186,7 @@ export default {
...
@@ -186,7 +186,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
this
.
$api
.
audit
Manager
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
pagination
.
total
=
total
;
this
.
pagination
.
total
=
total
;
...
@@ -206,7 +206,7 @@ export default {
...
@@ -206,7 +206,7 @@ export default {
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
projType
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
projType
:
getType
()
});
this
.
$api
.
audit
Manager
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
...
...
src/views/audit/project/audit.vue
View file @
65d85750
...
@@ -176,7 +176,7 @@ export default {
...
@@ -176,7 +176,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
par
=
{
...
pars
}
let
par
=
{
...
pars
}
this
.
$api
.
audit
Manager
.
projectAudit
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
projectAudit
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
if
(
data
===
'项目上报已经到达上限!'
)
{
if
(
data
===
'项目上报已经到达上限!'
)
{
this
.
$message
.
info
(
'项目上报已经到达上限!'
)
this
.
$message
.
info
(
'项目上报已经到达上限!'
)
...
...
src/views/audit/project/batchAudit.vue
View file @
65d85750
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
par
=
{
...
pars
}
let
par
=
{
...
pars
}
this
.
$api
.
audit
Manager
.
projectBatchAudit
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
projectBatchAudit
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'审核成功!'
)
this
.
$message
.
success
(
'审核成功!'
)
this
.
$emit
(
'close'
,
'audit'
)
this
.
$emit
(
'close'
,
'audit'
)
...
...
src/views/audit/project/final.vue
View file @
65d85750
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
this
.
$api
.
audit
Manager
.
getFinalAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getFinalAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
tableData
=
dataList
;
this
.
tableData
=
dataList
;
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
projType
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
1
,
reportYear
:
this
.
searchForm
.
reportYear
,
projType
:
getType
()
});
this
.
$api
.
audit
Manager
.
getFinalCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getFinalCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
...
@@ -320,7 +320,7 @@ export default {
...
@@ -320,7 +320,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
par
=
{
...
pars
,
pageIndex
:
-
1
,
pageSize
:
-
1
,
}
let
par
=
{
...
pars
,
pageIndex
:
-
1
,
pageSize
:
-
1
,
}
this
.
$api
.
audit
Manager
.
getFinalAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getFinalAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
dataList
.
forEach
(
e
=>
{
dataList
.
forEach
(
e
=>
{
...
...
src/views/audit/task/Index.vue
View file @
65d85750
...
@@ -171,7 +171,7 @@ export default {
...
@@ -171,7 +171,7 @@ export default {
pageIndex
:
this
.
pagination
.
pageIndex
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
pageSize
:
this
.
pagination
.
pageSize
}
}
this
.
$api
.
audit
Manager
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
this
.
tableData
=
dataList
...
@@ -184,7 +184,7 @@ export default {
...
@@ -184,7 +184,7 @@ export default {
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
2
,
reportYear
:
this
.
searchForm
.
reportYear
});
let
pars
=
isEmptyParams
({
auditType
:
2
,
reportYear
:
this
.
searchForm
.
reportYear
});
this
.
$api
.
audit
Manager
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
}
}
...
...
src/views/audit/task/audit.vue
View file @
65d85750
...
@@ -131,7 +131,7 @@ export default {
...
@@ -131,7 +131,7 @@ export default {
if
(
valid
)
{
if
(
valid
)
{
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
pars
=
isEmptyParams
(
this
.
auditObj
)
let
par
=
{
...
pars
}
let
par
=
{
...
pars
}
this
.
$api
.
audit
Manager
.
testAudit
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
testAudit
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'审核成功!'
)
this
.
$message
.
success
(
'审核成功!'
)
this
.
$emit
(
'closeWindow'
,
'audit'
)
this
.
$emit
(
'closeWindow'
,
'audit'
)
...
...
src/views/audit/thesis/index.vue
View file @
65d85750
...
@@ -129,7 +129,7 @@ export default {
...
@@ -129,7 +129,7 @@ export default {
this
.
loading
=
true
;
this
.
loading
=
true
;
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
pars
=
isEmptyParams
(
this
.
searchForm
);
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
let
par
=
{
...
pars
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
,
}
this
.
$api
.
audit
Manager
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getAuditListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
;
const
{
dataList
=
[],
total
=
0
}
=
data
;
this
.
tableData
=
dataList
;
this
.
tableData
=
dataList
;
...
@@ -144,7 +144,7 @@ export default {
...
@@ -144,7 +144,7 @@ export default {
},
},
getCount
()
{
getCount
()
{
let
pars
=
isEmptyParams
({
auditType
:
5
,
projType
:
getType
()
});
let
pars
=
isEmptyParams
({
auditType
:
5
,
projType
:
getType
()
});
this
.
$api
.
audit
Manager
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getConclusionAuditCount
(
pars
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
panes
=
data
this
.
panes
=
data
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
this
.
itemCount
=
[
data
.
count1
,
data
.
count2
,
data
.
count3
,
data
.
count4
,
data
.
count5
]
...
...
src/views/manager/project/components/auditRecord.vue
View file @
65d85750
...
@@ -74,7 +74,7 @@ export default {
...
@@ -74,7 +74,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
this
.
searchForm
.
auditObjectId
=
this
.
value
this
.
searchForm
.
auditObjectId
=
this
.
value
let
par
=
{
...
this
.
searchForm
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
let
par
=
{
...
this
.
searchForm
,
pageIndex
:
this
.
pagination
.
pageIndex
,
pageSize
:
this
.
pagination
.
pageSize
}
this
.
$api
.
audit
Manager
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
getListByPage
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
const
{
dataList
=
[],
total
=
0
}
=
data
const
{
dataList
=
[],
total
=
0
}
=
data
this
.
tableData
=
dataList
this
.
tableData
=
dataList
...
@@ -116,7 +116,7 @@ export default {
...
@@ -116,7 +116,7 @@ export default {
this
.
visible
=
true
this
.
visible
=
true
}
else
if
(
type
===
'del'
)
{
}
else
if
(
type
===
'del'
)
{
this
.
loading
=
true
this
.
loading
=
true
this
.
$api
.
audit
Manager
.
deleteRecord
({
id
:
record
.
id
}).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
deleteRecord
({
id
:
record
.
id
}).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'删除成功'
)
this
.
$message
.
success
(
'删除成功'
)
this
.
getListByPage
()
this
.
getListByPage
()
...
...
src/views/manager/project/components/recordEdit.vue
View file @
65d85750
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
this
.
loading
=
true
this
.
loading
=
true
let
pars
=
isEmptyParams
(
this
.
formData
)
let
pars
=
isEmptyParams
(
this
.
formData
)
let
par
=
{
...
pars
}
let
par
=
{
...
pars
}
this
.
$api
.
audit
Manager
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
this
.
$api
.
audit
.
save
(
par
).
then
(({
data
=
{}
})
=>
{
if
(
data
)
{
if
(
data
)
{
this
.
$message
.
success
(
'成功!'
)
this
.
$message
.
success
(
'成功!'
)
this
.
$emit
(
'close'
,
'edit'
)
this
.
$emit
(
'close'
,
'edit'
)
...
...
src/views/report/task/Index.vue
View file @
65d85750
...
@@ -24,6 +24,9 @@
...
@@ -24,6 +24,9 @@
<span
class=
"form-description"
>
※填报时间:
{{
description
}}
</span>
<span
class=
"form-description"
>
※填报时间:
{{
description
}}
</span>
<!--
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"projId"
:pagination=
"false"
:loading=
"loading"
:row-selection=
"
{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange, type: 'radio' }"> -->
<!--
<a-table
:dataSource=
"tableData"
:columns=
"columns"
rowKey=
"projId"
:pagination=
"false"
:loading=
"loading"
:row-selection=
"
{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange, type: 'radio' }"> -->
<a-table
:dataSource=
"tableData"
:columns=
"columns"
:scroll=
"
{ x: 'max-content' }" rowKey="projId" :pagination="false" :loading="loading">
<a-table
:dataSource=
"tableData"
:columns=
"columns"
:scroll=
"
{ x: 'max-content' }" rowKey="projId" :pagination="false" :loading="loading">
<template
slot=
"projName"
slot-scope=
"record"
>
<a
@
click=
"recordClick(record, 'projView')"
>
{{
record
.
projName
}}
</a>
</
template
>
<
template
slot=
"taskStateName"
slot-scope=
"record"
>
<
template
slot=
"taskStateName"
slot-scope=
"record"
>
<span>
{{
record
.
taskStateName
}}
</span>
<span>
{{
record
.
taskStateName
}}
</span>
</
template
>
</
template
>
...
@@ -41,6 +44,9 @@
...
@@ -41,6 +44,9 @@
<a-modal
v-model=
"visibleView"
title=
"查看合同书"
:width=
"'94%'"
:dialog-style=
"{ top: '8%' }"
:footer=
"null"
destroyOnClose
:maskClosable=
"false"
>
<a-modal
v-model=
"visibleView"
title=
"查看合同书"
:width=
"'94%'"
:dialog-style=
"{ top: '8%' }"
:footer=
"null"
destroyOnClose
:maskClosable=
"false"
>
<task-view
v-model=
"projId"
@
close=
"closeWindow"
/>
<task-view
v-model=
"projId"
@
close=
"closeWindow"
/>
</a-modal>
</a-modal>
<a-modal
v-model=
"visibleProjView"
v-if=
"visibleProjView"
title=
"项目详情"
width=
"94%"
:footer=
"null"
:dialog-style=
"{ top: '8%' }"
destroyOnClose
:maskClosable=
"false"
>
<project-view
v-model=
"projId"
@
close=
"closeWindow"
></project-view>
</a-modal>
</div>
</div>
</template>
</template>
...
@@ -49,11 +55,12 @@ import { getType } from '@/views/utils/auth'
...
@@ -49,11 +55,12 @@ import { getType } from '@/views/utils/auth'
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
}
from
"@/views/utils/common"
;
import
{
isEmptyParams
,
filterExportExcelData
,
tableColumnsName
}
from
"@/views/utils/common"
;
import
taskCreate
from
"@/views/report/task/components/taskCreate.vue"
import
taskCreate
from
"@/views/report/task/components/taskCreate.vue"
import
taskView
from
"@/views/report/task/components/taskView.vue"
import
taskView
from
"@/views/report/task/components/taskView.vue"
import
projectView
from
'@/views/report/project/components/projectView'
export
default
{
export
default
{
name
:
'reportTask'
,
name
:
'reportTask'
,
components
:
{
components
:
{
taskCreate
,
taskView
taskCreate
,
taskView
,
projectView
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -70,7 +77,7 @@ export default {
...
@@ -70,7 +77,7 @@ export default {
searchForm
:
{
projName
:
''
,
projNo
:
''
,
taskState
:
'1'
,
reportYear
:
null
},
searchForm
:
{
projName
:
''
,
projNo
:
''
,
taskState
:
'1'
,
reportYear
:
null
},
tableData
:
[],
tableData
:
[],
columns
:
[
columns
:
[
{
title
:
'项目名称'
,
dataIndex
:
'projName'
,
align
:
'center'
},
{
title
:
"项目名称"
,
scopedSlots
:
{
customRender
:
'projName'
}
,
align
:
'center'
},
{
title
:
'项目编号'
,
dataIndex
:
'projNo'
,
align
:
'center'
},
{
title
:
'项目编号'
,
dataIndex
:
'projNo'
,
align
:
'center'
},
{
title
:
'开始时间'
,
dataIndex
:
'startDate'
,
align
:
'center'
},
{
title
:
'开始时间'
,
dataIndex
:
'startDate'
,
align
:
'center'
},
{
title
:
'结束时间'
,
dataIndex
:
'endDate'
,
align
:
'center'
},
{
title
:
'结束时间'
,
dataIndex
:
'endDate'
,
align
:
'center'
},
...
@@ -83,6 +90,7 @@ export default {
...
@@ -83,6 +90,7 @@ export default {
// 弹窗
// 弹窗
visibleEdit
:
false
,
visibleEdit
:
false
,
visibleView
:
false
,
visibleView
:
false
,
visibleProjView
:
false
,
id
:
null
,
id
:
null
,
projId
:
null
,
projId
:
null
,
selectedRowKeys
:
[],
selectedRowKeys
:
[],
...
@@ -153,6 +161,9 @@ export default {
...
@@ -153,6 +161,9 @@ export default {
if
(
type
===
'view'
)
{
if
(
type
===
'view'
)
{
this
.
projId
=
record
.
projId
this
.
projId
=
record
.
projId
this
.
visibleView
=
true
this
.
visibleView
=
true
}
else
if
(
type
===
'projView'
)
{
this
.
projId
=
record
.
projId
this
.
visibleProjView
=
true
}
else
if
(
type
===
'create'
)
{
}
else
if
(
type
===
'create'
)
{
this
.
projId
=
record
.
projId
this
.
projId
=
record
.
projId
this
.
visibleEdit
=
true
this
.
visibleEdit
=
true
...
@@ -179,10 +190,10 @@ export default {
...
@@ -179,10 +190,10 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
}
}
else
if
(
value
===
'error'
)
{
else
if
(
value
===
'error'
)
{
this
.
id
=
null
this
.
projId
=
null
this
.
projId
=
null
this
.
visibleEdit
=
false
this
.
visibleEdit
=
false
this
.
visibleView
=
false
this
.
visibleView
=
false
this
.
visibleProjView
=
false
}
}
},
},
callback
(
key
)
{
callback
(
key
)
{
...
@@ -190,7 +201,7 @@ export default {
...
@@ -190,7 +201,7 @@ export default {
this
.
getListByPage
()
this
.
getListByPage
()
},
},
exportData
()
{
exportData
()
{
this
.
$ToDoExcel
(
`
任务
书列表`
,
tableColumnsName
(
this
.
columns
),
filterExportExcelData
(
this
.
columns
,
this
.
tableData
))
this
.
$ToDoExcel
(
`
合同
书列表`
,
tableColumnsName
(
this
.
columns
),
filterExportExcelData
(
this
.
columns
,
this
.
tableData
))
}
}
},
},
watch
:
{
watch
:
{
...
...
src/views/report/task/components/taskEdit.vue
View file @
65d85750
...
@@ -580,7 +580,11 @@
...
@@ -580,7 +580,11 @@
</a-col>
</a-col>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
{{
formData
.
totalFunding
}}
</div>
<div>
<a-form-model-item
prop=
"isTechnologyReport"
>
{{
formData
.
totalFunding
}}
</a-form-model-item>
</div>
</div>
</div>
</a-col>
</a-col>
<a-col
:span=
"4"
class=
"bg-gray"
>
<a-col
:span=
"4"
class=
"bg-gray"
>
...
@@ -590,7 +594,11 @@
...
@@ -590,7 +594,11 @@
</a-col>
</a-col>
<a-col
:span=
"8"
>
<a-col
:span=
"8"
>
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
{{
formData
.
govFunding
}}
</div>
<div>
<a-form-model-item
prop=
"isTechnologyReport"
>
{{
formData
.
govFunding
}}
</a-form-model-item>
</div>
</div>
</div>
</a-col>
</a-col>
</a-row>
</a-row>
...
@@ -604,11 +612,7 @@
...
@@ -604,11 +612,7 @@
<div
class=
"special-middle"
>
<div
class=
"special-middle"
>
<div>
<div>
<a-form-model-item
prop=
"isTechnologyReport"
>
<a-form-model-item
prop=
"isTechnologyReport"
>
<a-select
v-model=
"formData.isTechnologyReport"
style=
"width: 100px"
>
<base-select
v-model=
"formData.isTechnologyReport"
:type=
"12"
:isAll=
"true"
:width=
"80"
/>
<a-select-option
value=
""
>
--请选择--
</a-select-option>
<a-select-option
value=
"1"
>
是
</a-select-option>
<a-select-option
value=
"0"
>
否
</a-select-option>
</a-select>
</a-form-model-item>
</a-form-model-item>
</div>
</div>
</div>
</div>
...
@@ -708,7 +712,30 @@ export default {
...
@@ -708,7 +712,30 @@ export default {
projectSubList
:
[],
projectSubList
:
[],
fileList
:
[],
fileList
:
[],
auditList
:
[],
auditList
:
[],
managerDept
:
""
,
managerDept
:
null
,
organizationCode
:
null
,
unitAddress
:
null
,
registeredAddress
:
null
,
postCode
:
null
,
legalPerson
:
null
,
workforce
:
null
,
specializedPersonnel
:
null
,
researchPersonnel
:
null
,
depositBank
:
null
,
bankAccount
:
null
,
depositBankAddress
:
null
,
interbankNumber
:
null
,
projWork
:
null
,
fax
:
null
,
telephone
:
null
,
keyAreas
:
null
,
startDate
:
null
,
endDate
:
null
,
linkName
:
null
,
linkMobile
:
null
,
linkEmail
:
null
,
linkFax
:
null
,
isTechnologyReport
:
null
,
},
},
rules
:
{
rules
:
{
organizationCode
:
[{
required
:
true
,
message
:
'请填写统一社会信用代码'
,
trigger
:
'blur'
},],
organizationCode
:
[{
required
:
true
,
message
:
'请填写统一社会信用代码'
,
trigger
:
'blur'
},],
...
...
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