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
e3fc1911
Commit
e3fc1911
authored
Nov 14, 2024
by
高滢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(填写审查细则): 审查结果
parent
0ba603b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
78 additions
and
23 deletions
+78
-23
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+78
-23
No files found.
src/views/processing/systemReview/write-check-form/index.vue
View file @
e3fc1911
...
...
@@ -246,18 +246,53 @@
label=
"审查结果"
prop=
"passed"
>
<el-radio-group
v-model=
"form.passed"
>
<el-radio
:label=
"1"
@
click
.
native=
"onRadioChange($event, '1')"
>
符合
</el-radio
>
<el-radio
:label=
"0"
@
click
.
native=
"onRadioChange($event, '0')"
>
不符合
</el-radio
>
</el-radio-group>
<el-row>
<el-col
:span=
"2"
>
<el-radio-group
v-model=
"form.passed"
>
<el-row>
<el-radio
:label=
"1"
@
click
.
native=
"onRadioChange($event, '1')"
>
符合
</el-radio
>
</el-row>
<el-row
style=
"margin-top: 16px"
>
<el-radio
:label=
"0"
@
click
.
native=
"onRadioChange($event, '0')"
>
不符合
</el-radio
>
</el-row>
</el-radio-group>
</el-col>
<el-col
:span=
"4"
>
<el-row>
<el-input
v-model=
"form.successRemark"
placeholder=
"请输入符合备注"
/>
</el-row>
<el-row
style=
"margin-top: 6px"
>
<el-input
v-model=
"form.failRemark"
placeholder=
"请输入不符合备注"
/>
</el-row>
</el-col>
</el-row>
</el-form-item>
<el-form-item
prop=
"updateTime"
class=
"right-content-item passed"
label=
"修改时间"
>
<el-date-picker
v-model=
"form.updateTime"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-form-item>
<el-form-item
class=
"right-content-item"
label=
"相关记录"
>
<div
style=
"display: flex; flex-flow: column"
>
...
...
@@ -304,11 +339,11 @@
</el-col>
<el-col
:span=
"1"
:offset=
"1"
>
<el-button
v-if=
"file && file.id"
type=
"text"
size=
"default"
style=
"margin-top: 20px"
@
click=
"editFile(file)"
v-if=
"file && file.id"
>
编辑文件
</el-button
>
</el-col>
...
...
@@ -461,7 +496,10 @@ export default {
reviewDetailsId
:
''
,
taskId
:
''
,
comment
:
''
,
fileList
:
[]
fileList
:
[],
successRemark
:
''
,
failRemark
:
''
,
updateTime
:
''
},
task
:
{},
oldForm
:
{
...
...
@@ -503,8 +541,7 @@ export default {
}),
loading
:
false
,
choosed
:
''
,
currentIndex
:
0
,
loading
:
false
currentIndex
:
0
}
},
...
...
@@ -586,7 +623,7 @@ export default {
},
methods
:
{
editFile
(
file
)
{
//let fileObj = this.detailsList[this.currentIndex].result.fileList[key] || file
//
let fileObj = this.detailsList[this.currentIndex].result.fileList[key] || file
request
({
url
:
'/review/enterprise/archive/getById'
,
method
:
'post'
,
...
...
@@ -610,7 +647,8 @@ export default {
*/
},
onRadioChange
(
e
,
passed
)
{
if
(
e
.
target
.
tagName
==
'INPUT'
)
{
if
(
e
.
target
.
tagName
===
'INPUT'
)
{
// eslint-disable-next-line eqeqeq
if
(
passed
==
this
.
form
.
passed
)
{
this
.
form
.
passed
=
''
}
else
{
...
...
@@ -804,7 +842,7 @@ export default {
}
},
isAllPropertiesEqual
()
{
for
(
le
t
key
in
this
.
form
)
{
for
(
cons
t
key
in
this
.
form
)
{
if
(
key
!==
'isFileUpdate'
)
{
if
(
JSON
.
stringify
(
this
.
form
[
key
])
!==
JSON
.
stringify
(
this
.
oldForm
[
key
])
...
...
@@ -852,7 +890,12 @@ export default {
reviewDetailsId
:
this
.
taskModel
.
id
,
taskId
:
this
.
taskId
,
comment
:
this
.
taskModel
.
result
.
comment
,
fileList
:
this
.
taskModel
.
result
.
fileList
||
[]
fileList
:
this
.
taskModel
.
result
.
fileList
||
[],
successRemark
:
this
.
taskModel
.
result
.
successRemark
,
failRemark
:
this
.
taskModel
.
result
.
failRemark
,
updateTime
:
this
.
taskModel
.
result
.
updateTime
?
this
.
taskModel
.
result
.
updateTime
:
new
Date
()
}
this
.
oldForm
=
{
passed
:
...
...
@@ -862,7 +905,12 @@ export default {
reviewDetailsId
:
this
.
taskModel
.
id
,
taskId
:
this
.
taskId
,
comment
:
this
.
taskModel
.
result
.
comment
,
fileList
:
this
.
taskModel
.
result
.
fileList
||
[]
fileList
:
this
.
taskModel
.
result
.
fileList
||
[],
successRemark
:
this
.
taskModel
.
result
.
successRemark
,
failRemark
:
this
.
taskModel
.
result
.
failRemark
,
updateTime
:
this
.
taskModel
.
result
.
updateTime
?
this
.
taskModel
.
result
.
updateTime
:
new
Date
()
}
}
else
{
this
.
form
=
{
...
...
@@ -870,14 +918,20 @@ export default {
reviewDetailsId
:
this
.
taskModel
.
id
,
taskId
:
this
.
taskId
,
comment
:
''
,
fileList
:
[]
fileList
:
[],
successRemark
:
''
,
failRemark
:
''
,
updateTime
:
new
Date
()
}
this
.
oldForm
=
{
passed
:
''
,
reviewDetailsId
:
this
.
taskModel
.
id
,
taskId
:
this
.
taskId
,
comment
:
''
,
fileList
:
[]
fileList
:
[],
successRemark
:
''
,
failRemark
:
''
,
updateTime
:
new
Date
()
}
}
this
.
$nextTick
(()
=>
{
...
...
@@ -915,6 +969,7 @@ export default {
}
})
if
(
// eslint-disable-next-line eqeqeq
this
.
form
.
fileList
.
find
(
item
=>
item
.
id
==
''
||
item
.
id
==
null
)
)
{
this
.
$message
({
...
...
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