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
ee4ed27f
Commit
ee4ed27f
authored
Mar 26, 2024
by
高滢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://gitlab.91isoft.com:90/car-test/web
into gaoying
parents
ccd0dbda
03b9be21
Changes
16
Show whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
369 additions
and
49 deletions
+369
-49
process.scss
src/assets/styles/process.scss
+1
-1
index.vue
src/layout/components/Sidebar/index.vue
+1
-1
index.vue
src/views/processing/archivedTask/index.vue
+2
-2
index.vue
src/views/processing/carReview/source-record/index.vue
+2
-1
previewView.vue
...ing/carReview/write-check-form/components/previewView.vue
+2
-1
index.vue
src/views/processing/carReview/write-check-form/index.vue
+23
-17
SchemeView.vue
...ing/carTest/execution-test-plan/components/SchemeView.vue
+273
-0
index.vue
src/views/processing/carTest/execution-test-plan/index.vue
+32
-5
index.vue
src/views/processing/checkFileLibrary/index.vue
+7
-0
index.vue
src/views/processing/fileLibrary/index.vue
+2
-0
index.vue
src/views/processing/processed-review/index.vue
+1
-1
index.vue
src/views/processing/systemReview/source-record/index.vue
+2
-1
previewView.vue
.../systemReview/write-check-form/components/previewView.vue
+2
-1
index.vue
src/views/processing/systemReview/write-check-form/index.vue
+17
-16
index.vue
src/views/processing/unprocessed-review/index.vue
+1
-1
index.vue
src/views/task/on/index.vue
+1
-1
No files found.
src/assets/styles/process.scss
View file @
ee4ed27f
...
...
@@ -108,7 +108,7 @@
.standard-result
{
color
:
#303133
;
font-weight
:
bold
;
width
:
1
2
0px
;
width
:
1
6
0px
;
}
}
.i-icon
{
...
...
src/layout/components/Sidebar/index.vue
View file @
ee4ed27f
...
...
@@ -9,7 +9,7 @@
}"
>
<logo
v-if=
"showLogo"
:collapse=
"isCollapse"
/>
<el-scrollbar
:class=
"settings.sideTheme"
wrap-class=
"scrollbar-wrapper"
>
<el-scrollbar
:class=
"settings.sideTheme"
style=
"padding-bottom: 30px;"
wrap-class=
"scrollbar-wrapper"
>
<el-menu
:default-active=
"activeMenu"
:collapse=
"isCollapse"
...
...
src/views/processing/archivedTask/index.vue
View file @
ee4ed27f
...
...
@@ -168,13 +168,13 @@
>
车型审查原始记录
</el-button
>
<el-button
v-if=
"item.
carReview
TaskId"
v-if=
"item.
modelTest
TaskId"
type=
"primary"
plain
size=
"mini"
@
click=
"
goNext(
'/processing/car
Review
/source-record?id=' +
'/processing/car
Test
/source-record?id=' +
item.modelTestTaskId
)
"
...
...
src/views/processing/carReview/source-record/index.vue
View file @
ee4ed27f
...
...
@@ -215,7 +215,8 @@
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result.fileList"
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
i
.
fileName
?
`《${i.fileName
}
》`
:
'__'
}}
{{
i
.
catalogue
}}
<
/template
>
<
/div
>
<
div
v
-
if
=
"reviewDetail.result.comment"
>
...
...
src/views/processing/carReview/write-check-form/components/previewView.vue
View file @
ee4ed27f
...
...
@@ -102,7 +102,8 @@
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result.fileList"
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
i
.
fileName
?
`《${i.fileName
}
》`
:
'__'
}}
{{
i
.
catalogue
}}
<
/template
>
<
/div
>
<
div
v
-
if
=
"reviewDetail.result.comment"
>
...
...
src/views/processing/carReview/write-check-form/index.vue
View file @
ee4ed27f
...
...
@@ -127,13 +127,15 @@
:rules=
"rules"
>
<el-form-item
class=
"right-content-item"
label=
"标准章节"
>
<
span>
{{
taskModel
.
chapter
}}
</span
>
<
div
style=
"display: flex"
>
{{
taskModel
.
chapter
}}
</div
>
</el-form-item>
<el-form-item
class=
"right-content-item"
label=
"标准要求"
>
<
span>
{{
taskModel
.
standardText
}}
</span
>
<
div
style=
"display: flex"
>
{{
taskModel
.
standardText
}}
</div
>
</el-form-item>
<el-form-item
class=
"right-content-item"
label=
"审查要点"
>
<span>
{{
taskModel
.
reviewKeypointText
}}
</span>
<div
style=
"display: flex"
>
{{
taskModel
.
reviewKeypointText
}}
</div>
</el-form-item>
<el-form-item
class=
"right-content-item"
label=
"审查细则"
>
<div
class=
"scene-content"
>
...
...
@@ -749,6 +751,8 @@ export default {
*确认车型审查
*/
submitFrom
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$modal
.
confirm
(
'是否确认提交表单,提交后不可修改'
,
{
type
:
'warning'
,
...
...
@@ -763,6 +767,8 @@ export default {
})
})
.
catch
(()
=>
{})
}
})
},
/**
*确认细则内容变更
...
...
src/views/processing/carTest/execution-test-plan/components/SchemeView.vue
0 → 100644
View file @
ee4ed27f
<
template
>
<el-drawer
title=
"实验方案"
:visible
.
sync=
"dialogManger.dialogVisible"
direction=
"rtl"
size=
"80%"
:before-close=
"handleClose"
:wrapper-closable=
"false"
>
<template
slot=
"title"
>
<div
class=
"custom_title"
>
实验方案
</div>
</
template
>
<div
class=
"main-content-style"
>
<!--card统计值-->
<div
class=
"message-list"
>
<div
class=
"message-box"
style=
"background-color: #2eba3c"
>
<div
class=
"message-detail"
>
<div
class=
"detail-title"
>
审查细则(条)
</div>
<div
class=
"detail-num mt10"
>
<!-- {{ model.systemReviewTask.details }} -->
</div>
</div>
<svg-icon
class=
"message-icon"
width=
"64px"
height=
"64px"
icon-class=
"tag_shechaxize"
></svg-icon>
</div>
<div
class=
"message-box"
style=
"background-color: #477bba"
>
<div
class=
"message-detail"
>
<div
class=
"detail-title"
>
审查细则符合率(%)
</div>
<div
class=
"detail-num mt10"
>
<!-- {{ model.systemReviewTask.detailsPass }}% -->
</div>
</div>
<svg-icon
class=
"message-icon"
width=
"64px"
height=
"64px"
icon-class=
"tag_fuhelv"
></svg-icon>
</div>
<div
class=
"message-box"
style=
"background-color: #eca740"
>
<div
class=
"message-detail"
>
<div
class=
"detail-title"
>
标准条款(条)
</div>
<div
class=
"detail-num mt10"
>
<!-- {{ model.systemReviewTask.standards }} -->
</div>
</div>
<svg-icon
class=
"message-icon"
width=
"64px"
height=
"64px"
icon-class=
"tag_biaozhuntiaokuan"
></svg-icon>
</div>
<div
class=
"message-box"
style=
"background-color: #47baba"
>
<div
class=
"message-detail"
>
<div
class=
"detail-title"
>
标准条款通过率(%)
</div>
<div
class=
"detail-num mt10"
>
<!-- {{ model.systemReviewTask.standardsPass }}% -->
</div>
</div>
<svg-icon
class=
"message-icon"
width=
"64px"
height=
"64px"
icon-class=
"tag_biaozhuntiaokuan"
></svg-icon>
</div>
<div
class=
"message-box"
style=
"background-color: #6c47ba"
>
<div
class=
"message-detail"
>
<div
class=
"detail-title"
>
参与审查人数(人)
</div>
<div
class=
"detail-num mt10"
>
<!-- {{ model.systemReviewTask.person }} -->
</div>
</div>
<svg-icon
class=
"message-icon"
icon-class=
"tag_shenehrenshu"
width=
"64px"
height=
"64px"
></svg-icon>
</div>
</div>
<!--审查表单概要-->
<div
class=
"form-review-questionnaire"
>
<div
class=
"title-display"
>
<span
class=
"title-i"
></span>
<span
class=
"title-content"
>
审查表单概要
</span>
<div
class=
"control-btns"
>
<div
class=
"control-btn"
@
click=
"openAll()"
>
<icon-park
type=
"down-c"
theme=
"outline"
size=
"16"
style=
"margin-right: 5px"
fill=
"#303133"
/>
全部展开
</div>
<div
class=
"control-btn"
@
click=
"closeAll()"
>
<icon-park
type=
"up-c"
theme=
"outline"
size=
"16"
style=
"margin-right: 5px"
fill=
"#303133"
/>
全部收起
</div>
</div>
</div>
<!--审查表单概要-->
<collapse
v-model=
"activeNames"
class=
"mt10"
>
<collapse-item
v-for=
"(item, key) in model"
:key=
"key"
:name=
"item.chapter"
>
<span
slot=
"title"
style=
"width: 100%"
>
<div
class=
"standard-box"
>
<div
class=
"standard-left"
>
<div
class=
"standard"
>
标准要求:
</div>
<div
class=
"standard-title"
>
{{ item.chapter + item.text }}
</div>
</div>
<!-- <div class="standard-result">
审查结果:
<span v-if="item.passed == 1" class="green">符合</span>
<span v-else class="orange">不符合</span>
</div> -->
</div>
</span>
<table
class=
"table"
>
<tr>
<th>
测试场景
</th>
<th>
测试方法
</th>
<th>
用例编号
</th>
<th>
用例名称
</th>
<th>
对应输入
</th>
<th
class=
"investigate-result"
>
测试结果
</th>
</tr>
<
template
v-for=
"(v, k) in item.testCaseList"
>
<tr
:key=
"k"
>
<td>
{{
v
.
testScenario
}}
</td>
<td>
{{
v
.
testScenario
}}
</td>
<td>
{{
v
.
usecaseNo
}}
</td>
<td>
{{
v
.
testScenario
}}
</td>
<td></td>
<td
align=
"center"
class=
"investigate-result"
>
<!--
<el-tag
v-if=
"reviewDetail.result.passed === 1"
size=
"medium"
type=
"success"
>
通过
</el-tag
>
-->
<el-tag
size=
"medium"
type=
"warning"
>
不通过
</el-tag>
</td>
</tr>
</
template
>
</table>
</collapse-item>
</collapse>
</div>
</div>
<div
class=
"dialog-button"
>
<el-button
size=
"mini"
@
click=
"dialogManger.dialogVisible = false"
>
关 闭
</el-button
>
</div>
</el-drawer>
</template>
<
script
>
import
{
testDetail
}
from
'@/api/task/test'
import
collapse
from
'@/components/Collapse/collapse'
import
collapseItem
from
'@/components/Collapse/collapse-item'
export
default
{
components
:
{
collapse
:
collapse
,
'collapse-item'
:
collapseItem
},
props
:
{
dialogManger
:
{
type
:
Object
,
default
:
()
=>
{
return
{
dialogVisible
:
false
,
source
:
{},
dialogEditId
:
undefined
}
}
}
},
data
()
{
return
{
loading
:
true
,
model
:
[],
activeNames
:
[]
}
},
watch
:
{
async
'dialogManger.dialogVisible'
(
newValue
)
{
if
(
newValue
)
{
await
this
.
getTestDetail
(
this
.
dialogManger
.
dialogEditId
)
this
.
openAll
()
}
}
},
methods
:
{
/** 关闭抽屉 */
handleClose
()
{
this
.
dialogManger
.
dialogVisible
=
false
},
/** 获取任务详情 */
async
getTestDetail
(
id
)
{
this
.
loading
=
true
const
res
=
await
testDetail
({
taskId
:
id
})
this
.
model
=
res
.
data
this
.
loading
=
false
},
/** 全部展开 */
openAll
()
{
this
.
activeNames
=
this
.
model
.
map
(
i
=>
{
return
i
.
chapter
})
},
/** 全部收起 */
closeAll
()
{
this
.
activeNames
=
[]
}
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.dialog-button
{
position
:
fixed
;
bottom
:
0px
;
background
:
#ffffff
;
right
:
0
;
padding
:
20px
;
text-align
:
end
;
}
.form-review-questionnaire
{
padding
:
0
38px
;
}
.el-table
{
width
:
auto
;
}
::v-deep
.el-drawer__header
{
margin-bottom
:
0px
!
important
;
}
.custom_title
{
color
:
#303133
!
important
;
font-size
:
18px
;
font-weight
:
400
;
}
</
style
>
src/views/processing/carTest/execution-test-plan/index.vue
View file @
ee4ed27f
<!-- 测试用例详情 -->
<
template
>
<task-standard>
<div
slot=
"header-right"
>
<header-button
icon=
"preview-open"
type=
"default"
@
click=
"handlePreview"
>
查看实验方案
</header-button>
<header-button
icon=
"arrow-left"
class=
"back-btn"
type=
"no-line"
@
click=
"goBack"
>
返回
</header-button>
</div>
<div
class=
"web-page"
>
<iframe
:src=
"url"
frameborder=
"0"
style=
"width: 100%; height: 100%"
></iframe>
<scheme-view
:dialog-manger=
"dialogManger"
></scheme-view>
</div>
</task-standard>
</
template
>
<
script
>
import
{
NewFileTestProject
}
from
'@/api/graphql/client.graphql'
import
SchemeView
from
'./components/SchemeView.vue'
import
routerMixins
from
'@/mixins/router'
export
default
{
name
:
'Index'
,
name
:
'Scheme'
,
components
:
{
SchemeView
:
SchemeView
},
mixins
:
[
routerMixins
],
data
()
{
return
{
id
:
this
.
$route
.
query
,
url
:
''
url
:
''
,
dialogManger
:
{
dialogVisible
:
false
,
dialogEditId
:
null
}
}
},
mounted
()
{
const
id
=
this
.
$route
.
query
.
id
this
.
dialogManger
.
dialogEditId
=
this
.
$route
.
query
.
taskid
this
.
url
=
`https://10.12.48.78:8090/car/complianceTestingCenter/projectOverView/
${
id
}
`
},
methods
:
{}
methods
:
{
handlePreview
()
{
this
.
dialogManger
.
dialogVisible
=
true
}
}
}
</
script
>
...
...
src/views/processing/checkFileLibrary/index.vue
View file @
ee4ed27f
...
...
@@ -75,6 +75,7 @@
sortable
min-width=
"210"
prop=
"enterpriseName"
show-overflow-tooltip
align=
"left"
>
</el-table-column>
...
...
@@ -82,6 +83,7 @@
prop=
"fileName"
label=
"文件名称"
min-width=
"220"
show-overflow-tooltip
align=
"left"
>
</el-table-column>
...
...
@@ -89,6 +91,7 @@
prop=
"version"
label=
"文件版本"
min-width=
"100"
show-overflow-tooltip
align=
"left"
>
</el-table-column>
...
...
@@ -121,6 +124,7 @@
prop
=
"storage"
label
=
"存储位置"
min
-
width
=
"210"
show
-
overflow
-
tooltip
align
=
"left"
>
<
/el-table-column
>
...
...
@@ -128,6 +132,7 @@
prop
=
"identifyNumber"
label
=
"文件识别号"
min
-
width
=
"170"
show
-
overflow
-
tooltip
align
=
"left"
>
<
/el-table-column
>
...
...
@@ -139,11 +144,13 @@
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
image
v
-
if
=
"scope.row.photo"
style
=
"width: 36px; height: 36px"
:
src
=
"baseUrl + scope.row.photo"
:
preview
-
src
-
list
=
"[baseUrl + scope.row.photo]"
>
<
/el-image
>
<
div
v
-
else
>
__
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
...
...
src/views/processing/fileLibrary/index.vue
View file @
ee4ed27f
...
...
@@ -146,11 +146,13 @@
>
<
template
slot
-
scope
=
"scope"
>
<
el
-
image
v
-
if
=
"scope.row.photo"
style
=
"width: 36px; height: 36px"
:
src
=
"baseUrl + scope.row.photo"
:
preview
-
src
-
list
=
"[baseUrl + scope.row.photo]"
>
<
/el-image
>
<
div
v
-
else
>
__
<
/div
>
<
/template
>
<
/el-table-column
>
<
el
-
table
-
column
...
...
src/views/processing/processed-review/index.vue
View file @
ee4ed27f
...
...
@@ -173,7 +173,7 @@
size=
"mini"
@
click=
"
goNext(
'/processing/car
Review
/source-record?id=' +
'/processing/car
Test
/source-record?id=' +
item.modelTestTaskId
)
"
...
...
src/views/processing/systemReview/source-record/index.vue
View file @
ee4ed27f
...
...
@@ -220,7 +220,8 @@
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result.fileList"
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
i
.
fileName
?
`《${i.fileName
}
》`
:
'__'
}}
{{
i
.
catalogue
}}
<
/template
>
<
/div
>
<
div
v
-
if
=
"reviewDetail.result.comment"
>
...
...
src/views/processing/systemReview/write-check-form/components/previewView.vue
View file @
ee4ed27f
...
...
@@ -102,7 +102,8 @@
<div
v-if=
"reviewDetail.result"
>
<div
v-if=
"reviewDetail.result.fileList"
>
<template
v-for=
"i in reviewDetail.result.fileList"
>
《
{{
i
.
fileName
}}
》
{{
i
.
catalogue
}}
{{
i
.
fileName
?
`《${i.fileName
}
》`
:
'__'
}}
{{
i
.
catalogue
}}
<
/template
>
<
/div
>
<
div
v
-
if
=
"reviewDetail.result.comment"
>
...
...
src/views/processing/systemReview/write-check-form/index.vue
View file @
ee4ed27f
...
...
@@ -783,6 +783,8 @@ export default {
*确认体系审查
*/
submitFrom
()
{
this
.
$refs
.
form
.
validate
(
valid
=>
{
if
(
valid
)
{
this
.
$modal
.
confirm
(
'是否确认提交表单,提交后不可修改'
,
{
type
:
'warning'
,
...
...
@@ -793,13 +795,12 @@ export default {
reviewTaskConfirm
({
taskId
:
this
.
taskId
}).
then
(
res
=>
{
this
.
$modal
.
msgSuccess
(
'确认提交成功'
)
this
.
$router
.
push
({
path
:
'/processing/unprocessed-review'
})
this
.
$router
.
go
(
-
1
)
})
})
.
catch
(()
=>
{})
}
})
},
confirmDetailChange
()
{
reviewDetailsConfirm
({
...
...
src/views/processing/unprocessed-review/index.vue
View file @
ee4ed27f
...
...
@@ -594,7 +594,7 @@ export default {
// 执行试验方案
case
'PENDING'
:
this
.
$router
.
push
({
path
:
`/processing/carTest/execution-test-plan?id=
${
testSchemeId
}
`
path
:
`/processing/carTest/execution-test-plan?
taskid=
${
id
}
&
id=
${
testSchemeId
}
`
})
break
// 确认测试结果
...
...
src/views/task/on/index.vue
View file @
ee4ed27f
...
...
@@ -442,7 +442,7 @@
size=
"mini"
@
click=
"
goNext(
'/processing/car
Review
/source-record?id=' +
'/processing/car
Test
/source-record?id=' +
item.modelTestTaskId
)
"
...
...
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