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
93782b31
Commit
93782b31
authored
May 09, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 签字校验增加
parent
7521dc01
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
23 deletions
+22
-23
useCaseTest.vue
src/views/echartHome/useCaseTest.vue
+2
-2
index.vue
src/views/processing/carReview/vehicle-type/index.vue
+8
-8
index.vue
src/views/processing/systemReview/confirm-result/index.vue
+8
-8
dialog.vue
...views/processing/unprocessed-review/components/dialog.vue
+4
-5
No files found.
src/views/echartHome/useCaseTest.vue
View file @
93782b31
...
@@ -37,7 +37,7 @@ export default {
...
@@ -37,7 +37,7 @@ export default {
// 3.配置数据
// 3.配置数据
const
option
=
{
const
option
=
{
title
:
{
title
:
{
text
:
'用例测试
方法
概览'
,
text
:
'用例测试
类型
概览'
,
left
:
'left'
,
left
:
'left'
,
textStyle
:
{
textStyle
:
{
color
:
'#606266'
,
color
:
'#606266'
,
...
@@ -70,7 +70,7 @@ export default {
...
@@ -70,7 +70,7 @@ export default {
},
},
series
:
[
series
:
[
{
{
name
:
'用例测试
方法
概览'
,
name
:
'用例测试
类型
概览'
,
type
:
'bar'
,
type
:
'bar'
,
barWidth
:
'20'
,
barWidth
:
'20'
,
data
:
[
data
:
[
...
...
src/views/processing/carReview/vehicle-type/index.vue
View file @
93782b31
...
@@ -399,14 +399,14 @@ export default {
...
@@ -399,14 +399,14 @@ export default {
},
},
/* 返回跳转*/
/* 返回跳转*/
goToProcessedReview
()
{
goToProcessedReview
()
{
//
if (!this.ruleForm.enterpriseLeader) {
if
(
!
this
.
ruleForm
.
enterpriseLeader
)
{
//
this.$message.error('请车企负责人签字')
this
.
$message
.
error
(
'请车企负责人签字'
)
//
return
return
//
}
}
//
if (!this.ruleForm.inspectionLeader) {
if
(
!
this
.
ruleForm
.
inspectionLeader
)
{
//
this.$message.error('请检验负责人签字')
this
.
$message
.
error
(
'请检验负责人签字'
)
//
return
return
//
}
}
this
.
ruleForm
.
taskId
=
this
.
taskId
this
.
ruleForm
.
taskId
=
this
.
taskId
const
formData
=
{
const
formData
=
{
imagesUrl
:
[
imagesUrl
:
[
...
...
src/views/processing/systemReview/confirm-result/index.vue
View file @
93782b31
...
@@ -393,14 +393,14 @@ export default {
...
@@ -393,14 +393,14 @@ export default {
},
},
/* 返回跳转*/
/* 返回跳转*/
goToProcessedReview
()
{
goToProcessedReview
()
{
//
if (!this.ruleForm.enterpriseLeader) {
if
(
!
this
.
ruleForm
.
enterpriseLeader
)
{
//
this.$message.error('请车企负责人签字')
this
.
$message
.
error
(
'请车企负责人签字'
)
//
return
return
//
}
}
//
if (!this.ruleForm.inspectionLeader) {
if
(
!
this
.
ruleForm
.
inspectionLeader
)
{
//
this.$message.error('请检验负责人签字')
this
.
$message
.
error
(
'请检验负责人签字'
)
//
return
return
//
}
}
this
.
ruleForm
.
taskId
=
this
.
taskId
this
.
ruleForm
.
taskId
=
this
.
taskId
const
formData
=
{
const
formData
=
{
imagesUrl
:
[
imagesUrl
:
[
...
...
src/views/processing/unprocessed-review/components/dialog.vue
View file @
93782b31
...
@@ -137,7 +137,6 @@ export default {
...
@@ -137,7 +137,6 @@ export default {
},
},
getScenario
()
{
getScenario
()
{
getScenarioList
({}).
then
(
res
=>
{
getScenarioList
({}).
then
(
res
=>
{
console
.
log
(
res
)
this
.
testScenarioList
=
res
.
data
.
map
((
i
,
k
)
=>
{
this
.
testScenarioList
=
res
.
data
.
map
((
i
,
k
)
=>
{
return
{
return
{
label
:
i
,
label
:
i
,
...
@@ -148,15 +147,15 @@ export default {
...
@@ -148,15 +147,15 @@ export default {
})
})
},
},
handleTestScenario
(
item
)
{
handleTestScenario
(
item
)
{
if
(
this
.
model
.
scenarioNameList
.
includes
(
item
.
name
))
{
if
(
this
.
model
.
scenarioNameList
.
includes
(
item
.
label
))
{
this
.
model
.
scenarioNameList
.
splice
(
this
.
model
.
scenarioNameList
.
splice
(
this
.
model
.
scenarioNameList
.
indexOf
(
item
.
name
),
this
.
model
.
scenarioNameList
.
indexOf
(
item
.
label
),
1
1
)
)
item
.
check
=
false
item
.
check
=
false
}
else
{
}
else
{
item
.
check
=
true
item
.
check
=
true
this
.
model
.
scenarioNameList
.
push
(
item
.
name
)
this
.
model
.
scenarioNameList
.
push
(
item
.
label
)
}
}
},
},
// 全选
// 全选
...
@@ -165,7 +164,7 @@ export default {
...
@@ -165,7 +164,7 @@ export default {
obj
.
check
=
true
obj
.
check
=
true
})
})
this
.
model
.
scenarioNameList
=
this
.
testScenarioList
.
map
(
obj
=>
{
this
.
model
.
scenarioNameList
=
this
.
testScenarioList
.
map
(
obj
=>
{
return
obj
.
name
return
obj
.
label
})
})
}
}
}
}
...
...
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