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
e7db506a
Commit
e7db506a
authored
Mar 19, 2024
by
jiaxu.yan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 70670 70667 70667
parent
1ce23e25
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
95 additions
and
47 deletions
+95
-47
standard.js
src/store/modules/standard.js
+4
-2
index.vue
src/views/processing/carReview/vehicle-type/index.vue
+23
-37
index.vue
src/views/system/config/index.vue
+8
-1
index.vue
src/views/system/dept/index.vue
+8
-1
data.vue
src/views/system/dict/data.vue
+8
-1
index.vue
src/views/system/dict/index.vue
+8
-1
index.vue
src/views/system/menu/index.vue
+8
-1
index.vue
src/views/system/notice/index.vue
+8
-1
index.vue
src/views/system/post/index.vue
+8
-1
index.vue
src/views/system/role/index.vue
+10
-1
selectUser.vue
src/views/system/role/selectUser.vue
+2
-0
No files found.
src/store/modules/standard.js
View file @
e7db506a
...
@@ -21,12 +21,14 @@ const standard = {
...
@@ -21,12 +21,14 @@ const standard = {
},
},
setStandardList
({
commit
},
name
)
{
setStandardList
({
commit
},
name
)
{
getStandardList
({
getStandardList
({
key
w
ord
:
name
?
name
:
''
,
key
W
ord
:
name
?
name
:
''
,
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
9999
pageSize
:
9999
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
standard
.
state
.
standard
=
res
.
rows
[
0
].
id
if
(
res
.
rows
.
length
)
{
standard
.
state
.
standard
=
res
.
rows
[
0
].
id
}
commit
(
'SET_STANDARD_LIST'
,
res
.
rows
)
commit
(
'SET_STANDARD_LIST'
,
res
.
rows
)
}
}
})
})
...
...
src/views/processing/carReview/vehicle-type/index.vue
View file @
e7db506a
...
@@ -230,9 +230,12 @@
...
@@ -230,9 +230,12 @@
<div
class=
"img-label"
style=
"margin-top: 20px"
>
选择测试场景
</div>
<div
class=
"img-label"
style=
"margin-top: 20px"
>
选择测试场景
</div>
</div>
</div>
<!-- 测试场景 -->
<!-- 测试场景 -->
<div
class=
"test-scenario-container"
>
<div
v-if=
"model.testScenarioList.length > 0"
class=
"test-scenario-container"
>
<div
<div
v-for=
"(item, index) in testScenarioList"
v-for=
"(item, index) in
model.
testScenarioList"
:key=
"index"
:key=
"index"
:class=
"{
:class=
"{
'test-scenario': item.check === false,
'test-scenario': item.check === false,
...
@@ -242,7 +245,6 @@
...
@@ -242,7 +245,6 @@
>
>
<div>
{{ item.label }}
</div>
<div>
{{ item.label }}
</div>
</div>
</div>
<!-- </div> -->
</div>
</div>
</div>
</div>
<!--签字确认-->
<!--签字确认-->
...
@@ -319,36 +321,13 @@ export default {
...
@@ -319,36 +321,13 @@ export default {
return
{
return
{
isShow
:
true
,
isShow
:
true
,
task
:
{},
task
:
{},
auditRequirement
:
0
,
testScenarioList
:
[
{
value
:
0
,
label
:
'TBOX-蜂窝以太网接口'
,
check
:
false
},
{
value
:
1
,
label
:
'WiFi AP接口'
,
check
:
false
},
{
value
:
2
,
label
:
'WiFi Client接口'
,
check
:
false
},
{
value
:
3
,
label
:
'充电以太网接口'
,
check
:
false
},
{
value
:
4
,
label
:
'CAN 诊断接口(OBD)'
,
check
:
false
},
{
value
:
5
,
label
:
'以太网诊断接口(OBD)'
,
check
:
false
},
{
value
:
6
,
label
:
'车载摄像头以太网接口(无线)'
,
check
:
false
},
{
value
:
7
,
label
:
'第三方应用软件'
,
check
:
false
},
{
value
:
8
,
label
:
'远程控车应用'
,
check
:
false
},
{
value
:
9
,
label
:
'USB接口'
,
check
:
false
},
{
value
:
10
,
label
:
'XCB标定'
,
check
:
false
},
{
value
:
11
,
label
:
'CCP标定'
,
check
:
false
},
{
value
:
12
,
label
:
'安全启动'
,
check
:
false
},
{
value
:
13
,
label
:
'远程控车'
,
check
:
false
},
{
value
:
14
,
label
:
'V2X'
,
check
:
false
},
{
value
:
15
,
label
:
'BT'
,
check
:
false
},
{
value
:
16
,
label
:
'BLE'
,
check
:
false
},
{
value
:
17
,
label
:
'NFC'
,
check
:
false
},
{
value
:
18
,
label
:
'射频钥匙'
,
check
:
false
},
{
value
:
19
,
label
:
'软件升级'
,
check
:
false
},
{
value
:
20
,
label
:
'ECU固体'
,
check
:
false
}
],
checkTestScenarioList
:
[],
model
:
{
model
:
{
carReviewTask
:
{},
carReviewTask
:
{},
reviewSceneChangeTasks
:
{},
reviewSceneChangeTasks
:
{},
detailsList
:
[]
detailsList
:
[],
testScenarioList
:
[]
},
},
selectedScenario
:
[],
columns
:
[],
columns
:
[],
ruleForm
:
{
ruleForm
:
{
enterpriseLeader
:
''
,
enterpriseLeader
:
''
,
...
@@ -400,6 +379,16 @@ export default {
...
@@ -400,6 +379,16 @@ export default {
?
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
1
]
?
process
.
env
.
VUE_APP_IMAGE_API
+
imgs
[
1
]
:
''
:
''
}
}
if
(
this
.
model
.
testScenarioList
.
length
>
0
)
{
this
.
model
.
testScenarioList
=
this
.
model
.
testScenarioList
.
map
(
({
id
,
testScenario
,
...
rest
})
=>
({
label
:
testScenario
,
value
:
parseInt
(
id
),
check
:
false
,
...
rest
})
)
}
}
else
{
}
else
{
this
.
$modal
.
msgError
(
res
.
msg
)
this
.
$modal
.
msgError
(
res
.
msg
)
}
}
...
@@ -433,6 +422,7 @@ export default {
...
@@ -433,6 +422,7 @@ export default {
],
],
taskId
:
this
.
taskId
taskId
:
this
.
taskId
}
}
formData
.
testScenarioList
=
this
.
selectedScenario
carTaskSubmit
(
formData
).
then
(
res
=>
{
carTaskSubmit
(
formData
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
...
@@ -444,21 +434,17 @@ export default {
...
@@ -444,21 +434,17 @@ export default {
}
}
})
})
},
},
handleTestScenario
(
item
)
{
handleTestScenario
(
item
)
{
// 查看item.value在this.checkTestScenarioList里面存不存在
if
(
this
.
selectedScenario
.
includes
(
item
.
value
))
{
// 存在则删除
this
.
selectedScenario
.
splice
(
if
(
this
.
checkTestScenarioList
.
includes
(
item
.
value
))
{
this
.
selectedScenario
.
indexOf
(
item
.
value
),
this
.
checkTestScenarioList
.
splice
(
this
.
checkTestScenarioList
.
indexOf
(
item
.
label
),
1
1
)
)
item
.
check
=
false
item
.
check
=
false
}
else
{
}
else
{
item
.
check
=
true
item
.
check
=
true
this
.
checkTestScenarioList
.
push
(
item
.
value
)
this
.
selectedScenario
.
push
(
item
.
value
)
}
}
console
.
log
(
'李斯特'
,
this
.
checkTestScenarioList
)
},
},
openAll
()
{
openAll
()
{
this
.
activeNames
=
this
.
model
.
carReviewTask
.
standard
.
map
(
i
=>
{
this
.
activeNames
=
this
.
model
.
carReviewTask
.
standard
.
map
(
i
=>
{
...
...
src/views/system/config/index.vue
View file @
e7db506a
...
@@ -214,7 +214,14 @@
...
@@ -214,7 +214,14 @@
/>
/>
<!-- 添加或修改参数配置对话框 -->
<!-- 添加或修改参数配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"参数名称"
prop=
"configName"
>
<el-form-item
label=
"参数名称"
prop=
"configName"
>
<el-input
v-model=
"form.configName"
placeholder=
"请输入参数名称"
/>
<el-input
v-model=
"form.configName"
placeholder=
"请输入参数名称"
/>
...
...
src/views/system/dept/index.vue
View file @
e7db506a
...
@@ -145,7 +145,14 @@
...
@@ -145,7 +145,14 @@
</el-table>
</el-table>
<!-- 添加或修改部门对话框 -->
<!-- 添加或修改部门对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-dialog
:title=
"title"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:visible
.
sync=
"open"
width=
"600px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-row>
<el-row>
<el-col
v-if=
"form.parentId !== 0"
:span=
"24"
>
<el-col
v-if=
"form.parentId !== 0"
:span=
"24"
>
...
...
src/views/system/dict/data.vue
View file @
e7db506a
...
@@ -204,7 +204,14 @@
...
@@ -204,7 +204,14 @@
/>
/>
<!-- 添加或修改参数配置对话框 -->
<!-- 添加或修改参数配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"字典类型"
>
<el-form-item
label=
"字典类型"
>
<el-input
v-model=
"form.dictType"
:disabled=
"true"
/>
<el-input
v-model=
"form.dictType"
:disabled=
"true"
/>
...
...
src/views/system/dict/index.vue
View file @
e7db506a
...
@@ -217,7 +217,14 @@
...
@@ -217,7 +217,14 @@
/>
/>
<!-- 添加或修改参数配置对话框 -->
<!-- 添加或修改参数配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"字典名称"
prop=
"dictName"
>
<el-form-item
label=
"字典名称"
prop=
"dictName"
>
<el-input
v-model=
"form.dictName"
placeholder=
"请输入字典名称"
/>
<el-input
v-model=
"form.dictName"
placeholder=
"请输入字典名称"
/>
...
...
src/views/system/menu/index.vue
View file @
e7db506a
...
@@ -157,7 +157,14 @@
...
@@ -157,7 +157,14 @@
</el-table>
</el-table>
<!-- 添加或修改菜单对话框 -->
<!-- 添加或修改菜单对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"680px"
append-to-body
>
<el-dialog
:title=
"title"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:visible
.
sync=
"open"
width=
"680px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"100px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"100px"
>
<el-row>
<el-row>
<el-col
:span=
"24"
>
<el-col
:span=
"24"
>
...
...
src/views/system/notice/index.vue
View file @
e7db506a
...
@@ -183,7 +183,14 @@
...
@@ -183,7 +183,14 @@
/>
/>
<!--
添加或修改公告对话框
-->
<!--
添加或修改公告对话框
-->
<
el
-
dialog
:
title
=
"title"
:
visible
.
sync
=
"open"
width
=
"780px"
append
-
to
-
body
>
<
el
-
dialog
:
title
=
"title"
:
close
-
on
-
click
-
modal
=
"false"
:
close
-
on
-
press
-
escape
=
"false"
:
visible
.
sync
=
"open"
width
=
"780px"
append
-
to
-
body
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"80px"
>
<
el
-
form
ref
=
"form"
:
model
=
"form"
:
rules
=
"rules"
label
-
width
=
"80px"
>
<
el
-
row
>
<
el
-
row
>
<
el
-
col
:
span
=
"12"
>
<
el
-
col
:
span
=
"12"
>
...
...
src/views/system/post/index.vue
View file @
e7db506a
...
@@ -169,7 +169,14 @@
...
@@ -169,7 +169,14 @@
/>
/>
<!-- 添加或修改岗位对话框 -->
<!-- 添加或修改岗位对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"80px"
>
<el-form-item
label=
"岗位名称"
prop=
"postName"
>
<el-form-item
label=
"岗位名称"
prop=
"postName"
>
<el-input
v-model=
"form.postName"
placeholder=
"请输入岗位名称"
/>
<el-input
v-model=
"form.postName"
placeholder=
"请输入岗位名称"
/>
...
...
src/views/system/role/index.vue
View file @
e7db506a
...
@@ -224,7 +224,14 @@
...
@@ -224,7 +224,14 @@
/>
/>
<!-- 添加或修改角色配置对话框 -->
<!-- 添加或修改角色配置对话框 -->
<el-dialog
:title=
"title"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-dialog
:title=
"title"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
:visible
.
sync=
"open"
width=
"500px"
append-to-body
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"100px"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
label-width=
"100px"
>
<el-form-item
label=
"角色名称"
prop=
"roleName"
>
<el-form-item
label=
"角色名称"
prop=
"roleName"
>
<el-input
v-model=
"form.roleName"
placeholder=
"请输入角色名称"
/>
<el-input
v-model=
"form.roleName"
placeholder=
"请输入角色名称"
/>
...
@@ -303,6 +310,8 @@
...
@@ -303,6 +310,8 @@
<el-dialog
<el-dialog
:title=
"title"
:title=
"title"
:visible
.
sync=
"openDataScope"
:visible
.
sync=
"openDataScope"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
width=
"500px"
width=
"500px"
append-to-body
append-to-body
>
>
...
...
src/views/system/role/selectUser.vue
View file @
e7db506a
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
<el-dialog
<el-dialog
title=
"选择用户"
title=
"选择用户"
:visible
.
sync=
"visible"
:visible
.
sync=
"visible"
:close-on-click-modal=
"false"
:close-on-press-escape=
"false"
width=
"800px"
width=
"800px"
top=
"5vh"
top=
"5vh"
append-to-body
append-to-body
...
...
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