Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
web
Project
Project
Details
Activity
Releases
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
中汽测评-信息安全测评系统
web
Commits
29e266ad
Commit
29e266ad
authored
Dec 25, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(代办任务): 体系审查修改数据
parent
e7a2abb0
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
66 additions
and
11 deletions
+66
-11
task.js
mock/task.js
+52
-8
index.vue
src/views/processing/processed-review/index.vue
+1
-1
index.vue
src/views/processing/unprocessed-review/index.vue
+13
-2
No files found.
mock/task.js
View file @
29e266ad
...
...
@@ -7,17 +7,61 @@ module.exports = [
url
:
'/tasklist'
,
type
:
'get'
,
response
:
config
=>
{
const
temp
=
[]
for
(
let
i
=
0
;
i
<
10
;
i
++
)
{
temp
.
push
({
startTime
:
'@date'
,
missionNo
:
'@word'
,
const
temp
=
[
{
startTime
:
'--'
,
missionNo
:
'xxxxxxxxx'
,
tit
:
'一汽丰田体系审查'
,
owener
:
'@cname'
,
'costTime|0-12'
:
1
,
'progress|0-100'
:
1
})
'costTime'
:
0
,
'progress'
:
0
},
{
startTime
:
'2020-12-01 10:30 '
,
missionNo
:
'xxxxxxxxx'
,
tit
:
'一汽丰田体系审查'
,
owener
:
'@cname'
,
'costTime'
:
3
,
'progress'
:
80
},
{
startTime
:
'2020-12-01 10:30'
,
missionNo
:
'xxxxxxxxx'
,
tit
:
'一汽丰田体系审查'
,
owener
:
'@cname'
,
'costTime'
:
12
,
'progress'
:
90
}
]
return
{
rows
:
temp
,
code
:
200
,
total
:
10
}
}
},
{
url
:
'/finishTasklist'
,
type
:
'get'
,
response
:
config
=>
{
const
temp
=
[
{
startTime
:
'2020-12-01 10:30 '
,
missionNo
:
'xxxxxxxxx'
,
tit
:
'一汽丰田体系审查'
,
owener
:
'@cname'
,
'costTime'
:
3
,
'progress'
:
80
},
{
startTime
:
'2020-12-01 10:30'
,
missionNo
:
'xxxxxxxxx'
,
tit
:
'一汽丰田体系审查'
,
owener
:
'@cname'
,
'costTime'
:
12
,
'progress'
:
90
}
]
return
{
rows
:
temp
,
code
:
200
,
...
...
src/views/processing/processed-review/index.vue
View file @
29e266ad
...
...
@@ -134,7 +134,7 @@ export default {
data
()
{
return
{
pageType
:
'1'
,
listUrl
:
'/
t
asklist'
,
listUrl
:
'/
finishT
asklist'
,
showSearch
:
true
,
tableData
:
[]
}
...
...
src/views/processing/unprocessed-review/index.vue
View file @
29e266ad
...
...
@@ -139,7 +139,10 @@
<div
v-if=
"isSysReview"
class=
"card-cell"
>
<div
class=
"cell-lable"
>
审查问卷
</div>
<div
class=
"cell-value"
>
<el-link
type=
"primary"
>
填写问卷
</el-link>
<el-link
v-if=
"item.progress
<
90
"
type=
"primary"
>
填写审查问卷
</el-link
>
<el-link
v-else
type=
"primary"
>
确认审查结果
</el-link>
</div>
</div>
<div
v-if=
"isSysReview"
class=
"card-cell"
>
...
...
@@ -150,7 +153,7 @@
:percentage=
"item.progress"
></el-progress>
</div>
<div
class=
"card-cell"
>
<div
class=
"card-cell
option-cell
"
>
<div
class=
"cell-lable"
></div>
<div
class=
"cell-value"
>
<el-button
...
...
@@ -167,6 +170,7 @@
@
click=
"openTaskDialog"
></el-button>
<el-button
v-if=
"item.progress >= 90"
type=
"success"
icon=
"el-icon-s-management"
circle
...
...
@@ -174,6 +178,7 @@
@
click=
"previewReport"
></el-button>
<el-button
v-if=
"item.progress >= 90"
type=
"success"
icon=
"el-icon-document"
circle
...
...
@@ -181,12 +186,14 @@
@
click=
"handleRetentionFile(item)"
></el-button>
<el-button
v-if=
"item.progress >= 90"
type=
"success"
icon=
"el-icon-folder"
circle
title=
"车企文件库"
></el-button>
<el-button
v-if=
"item.progress === 0"
type=
"danger"
icon=
"el-icon-video-play"
circle
...
...
@@ -274,6 +281,10 @@ export default {
color
:
rgb
(
153
153
153
);
flex-direction
:
column
;
flex-wrap
:
nowrap
;
min-width
:
111px
;
}
.option-cell
{
width
:
220px
;
}
.box-card
{
margin-bottom
:
15px
;
...
...
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