Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
project_progress
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 83010c0b
authored
Jun 26, 2024
by
liangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传条件调整
1 parent
e566e776
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
1 deletions
src/utils/cache.js
src/views/compliance/taskConfigure.vue
src/views/projectCheck/problemRectify.vue
src/utils/cache.js
View file @
83010c0
...
@@ -131,4 +131,17 @@ export function projectCategoryText(type) {
...
@@ -131,4 +131,17 @@ export function projectCategoryText(type) {
break
;
break
;
}
}
}
export
function
ruleType
(
msg
){
switch
(
msg
)
{
case
"应有可研报告或项目说明书"
:
return
'0'
break
;
case
"应有可研评审意见"
:
return
'1'
break
;
case
"应有可研批复"
:
return
'2'
break
;
}
}
}
\ No newline at end of file
src/views/compliance/taskConfigure.vue
View file @
83010c0
...
@@ -92,6 +92,8 @@
...
@@ -92,6 +92,8 @@
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
label=
"稽核名称"
prop=
"auditName"
width=
"320"
>
<el-table-column
label=
"稽核名称"
prop=
"auditName"
width=
"320"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"auditStatusText"
label=
"稽核状态"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
width=
"250"
>
<el-table-column
prop=
"auditTime"
label=
"稽核时间"
width=
"250"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"fullId"
label=
"项目编码"
show-overflow-tooltip
>
<el-table-column
prop=
"fullId"
label=
"项目编码"
show-overflow-tooltip
>
...
@@ -101,6 +103,7 @@
...
@@ -101,6 +103,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"fullRule"
label=
"规则名称"
show-overflow-tooltip
>
<el-table-column
prop=
"fullRule"
label=
"规则名称"
show-overflow-tooltip
>
</el-table-column>
</el-table-column>
<!--
<el-table-column
prop=
"projectYear"
label=
"项目年度"
width=
"200"
>
<!--
<el-table-column
prop=
"projectYear"
label=
"项目年度"
width=
"200"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
{{
scope
.
row
.
projectYear
}}
年
{{
scope
.
row
.
projectYear
}}
年
...
@@ -1259,6 +1262,13 @@ export default {
...
@@ -1259,6 +1262,13 @@ export default {
if
(
res
.
code
==
"200"
)
{
if
(
res
.
code
==
"200"
)
{
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
=
res
.
data
.
records
;
this
.
tableData
.
forEach
((
item
)
=>
{
this
.
tableData
.
forEach
((
item
)
=>
{
if
(
item
.
auditStatus
==
'1'
){
this
.
$set
(
item
,
"auditStatusText"
,
"执行中"
);
}
else
if
(
item
.
auditStatus
==
'2'
){
this
.
$set
(
item
,
"auditStatusText"
,
"已完成"
);
}
else
{
this
.
$set
(
item
,
"auditStatusText"
,
"未执行"
);
}
});
});
this
.
total
=
res
.
data
.
total
*
1
;
this
.
total
=
res
.
data
.
total
*
1
;
...
...
src/views/projectCheck/problemRectify.vue
View file @
83010c0
...
@@ -376,7 +376,7 @@ import {
...
@@ -376,7 +376,7 @@ import {
ossupload
,
ossupload
,
downloadObject
downloadObject
}
from
"@/api/index"
;
}
from
"@/api/index"
;
import
{
generateYearOptions
,
projectCategoryText
}
from
"@/utils/cache"
;
import
{
generateYearOptions
,
projectCategoryText
,
ruleType
}
from
"@/utils/cache"
;
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -569,6 +569,7 @@ export default {
...
@@ -569,6 +569,7 @@ export default {
if
(
this
.
file
)
{
if
(
this
.
file
)
{
const
formData
=
new
FormData
();
const
formData
=
new
FormData
();
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"file"
,
this
.
file
);
formData
.
append
(
"typeCode"
,
ruleType
(
row
.
ruleName
)
);
ossupload
(
formData
)
ossupload
(
formData
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
this
.
$message
(
"上传成功"
)
this
.
$message
(
"上传成功"
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment