Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
car-database-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
中汽研标准应用数据库
car-database-web
Commits
eb7599d2
Commit
eb7599d2
authored
Sep 18, 2024
by
zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat --更新评审管理查看评审界面
parent
ab7b7a12
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
148 additions
and
13 deletions
+148
-13
index.vue
src/views/review/already/index.vue
+1
-0
index.vue
src/views/review/createReview/deleteUseCase/index.vue
+1
-1
index.vue
src/views/review/createReview/reviewData/index.vue
+4
-4
index.vue
src/views/review/createReview/updateUseCase/index.vue
+0
-1
index.vue
src/views/review/initiatedReview/viewReview/index.vue
+23
-1
index.vue
src/views/review/reviewSceneReview/index.vue
+1
-1
index.vue
src/views/review/reviewView/index.vue
+1
-1
index.vue
src/views/review/sceneReview/index.vue
+46
-1
index.vue
src/views/review/view/index.vue
+71
-3
No files found.
src/views/review/already/index.vue
View file @
eb7599d2
...
...
@@ -5,6 +5,7 @@
<!--
<div
class=
"title-style"
>
-->
<!--
<div
class=
"title-content-style"
>
我的待审
</div>
-->
<!--
</div>
-->
<div
class=
"content-display"
>
<el-form
v-show=
"showSearch"
...
...
src/views/review/createReview/deleteUseCase/index.vue
View file @
eb7599d2
...
...
@@ -336,7 +336,7 @@ export default {
{
required
:
true
,
message
:
'请选择条款分类'
,
trigger
:
'change'
}
],
// jianyanleixing: [
// { required: true, message: '请选择标准
条款
', trigger: 'blur' }
// { required: true, message: '请选择标准
要求
', trigger: 'blur' }
// ],
// yonglibianhao: [
// { required: true, message: '请输入用例编号', trigger: 'blur' }
...
...
src/views/review/createReview/reviewData/index.vue
View file @
eb7599d2
...
...
@@ -22,9 +22,9 @@
/>
</el-select>
</el-form-item>
<el-form-item
label=
"标准
条款
"
prop=
"biaozhuntiuaokuan"
>
<el-form-item
label=
"标准
要求
"
prop=
"biaozhuntiuaokuan"
>
<el-button
type=
"success"
plain
@
click=
"handleReSelect"
>
重新选择标准
条款
</el-button
>
重新选择标准
要求
</el-button
>
<div
style=
"display: flex"
>
<div>
标准要求:
</div>
...
...
@@ -139,7 +139,7 @@ export default {
{
required
:
true
,
message
:
'请选择条款分类'
,
trigger
:
'blur'
}
],
biaozhuntiuaokuan
:
[
{
required
:
true
,
message
:
'请选择标准
条款
'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'请选择标准
要求
'
,
trigger
:
'blur'
}
],
shenchayaodian
:
[
{
required
:
true
,
message
:
'请输入审查要点'
,
trigger
:
'blur'
}
...
...
@@ -160,7 +160,7 @@ export default {
})
},
methods
:
{
// 按钮-重新选择标准
条款
// 按钮-重新选择标准
要求
handleReSelect
()
{},
// 按钮-确认发起
handleConfirm
()
{
...
...
src/views/review/createReview/updateUseCase/index.vue
View file @
eb7599d2
...
...
@@ -603,7 +603,6 @@ export default {
this
.
formModel
.
biaozhunyaoqiu
=
useCase
.
serialNumber
+
useCase
.
requirements
this
.
formModel
.
yonglibianhao
=
this
.
selectedUseCase
.
customizedID
this
.
formModel
.
yonglimiaoshu
=
this
.
selectedUseCase
.
description
console
.
log
(
this
.
formModel
)
})
},
...
...
src/views/review/initiatedReview/viewReview/index.vue
View file @
eb7599d2
...
...
@@ -91,11 +91,33 @@
</span>
</div>
<div
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
标准
条款
:
</span>
<span
style=
"width: 15%"
>
标准
要求
:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
chapter
}}
{{
pageData
.
standard
}}
</span>
</div>
<div
v-if=
"pageData.operationSort == 'ADD_DETAILS'
|| pageData.operationSort == 'DELETE_DETAILS'
|| pageData.operationSort == 'ADD_SCENE'
|| pageData.operationSort == 'DELETE_SCENE'"
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
审查要点:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
keypoint
}}
</span>
</div>
<div
v-if=
" pageData.operationSort == 'ADD_SCENE'
|| pageData.operationSort == 'DELETE_SCENE' "
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
审查细则:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
details
}}
</span>
</div>
<div
v-if=
"pageData.operationSort == 'ADD_KEYPOINT'"
style=
"display: flex; width: 100%; margin-top: 20px"
...
...
src/views/review/reviewSceneReview/index.vue
View file @
eb7599d2
...
...
@@ -7,7 +7,7 @@
<el-form-item
label=
"条款分类"
prop=
"type"
>
{{
typeList
.
find
(
item
=>
item
.
dictValue
===
resData
.
type
).
dictLabel
}}
</el-form-item>
<el-form-item
label=
"标准
条款
"
prop=
"chapter standard"
>
<el-form-item
label=
"标准
要求
"
prop=
"chapter standard"
>
{{
resData
.
chapter
}}
{{
resData
.
standard
}}
</el-form-item>
<el-form-item
label=
"审查要点"
prop=
"keypoint"
>
...
...
src/views/review/reviewView/index.vue
View file @
eb7599d2
...
...
@@ -22,7 +22,7 @@
{{
formatType
(
pageData
.
type
)
}}
</el-form-item>
<el-form-item
label=
"标准
条款
"
prop=
"chapter standard"
>
<el-form-item
label=
"标准
要求
"
prop=
"chapter standard"
>
{{
pageData
.
chapter
}}
{{
pageData
.
standard
}}
</el-form-item>
<el-form-item
label=
"审查要点"
prop=
"keypoint"
>
...
...
src/views/review/sceneReview/index.vue
View file @
eb7599d2
<
template
>
<page-standard>
<div
style=
"background-color: white; padding-bottom: 100px;"
>
<div
style=
"
display: flex;
width: 100%;
padding: 5px 10px;
font-size: 15px;
background-color: #d1d5db;
align-items: center;
justify-content: space-between;
"
>
<span
style=
" font-weight: bold;"
>
查看评审(+
{{
formatAction
(
this
.
pageData
)
}}
</span>
<span
style=
"margin-right: 150px;font-size: 13px;"
>
参与评审人员:
{{
this
.
pageData
.
reviewer
}}
</span>
</div>
<div
style=
"padding: 0 20px;"
>
<div
class=
"title"
>
<span
>
检验标准:
{{
this
.
pageData
.
inspectStandardNo
}}
...
...
@@ -24,7 +43,7 @@
</span>
</div>
<div
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
标准
条款
:
</span>
<span
style=
"width: 15%"
>
标准
要求
:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
chapter
}}
{{
pageData
.
standard
}}
</span>
...
...
@@ -315,6 +334,8 @@
</el-row>
</el-col>
</el-row>
</div>
</div>
</page-standard>
</
template
>
...
...
@@ -455,6 +476,30 @@ export default {
item
=>
item
.
value
===
type
)
return
foundType
?
foundType
.
label
:
'未知分类'
},
formatAction
(
action
)
{
switch
(
action
.
operationSort
)
{
case
'ADD_KEYPOINT'
:
return
'新增审查要点'
case
'DELETE_KEYPOINT'
:
return
'删除审查要点'
case
'ADD_DETAILS'
:
return
'新增审查细则'
case
'DELETE_DETAILS'
:
return
'删除审查细则'
case
'ADD_SCENE'
:
return
'新增审查场景'
case
'DELETE_SCENE'
:
return
'删除审查场景'
case
'ADD_USECASE'
:
return
'新增测试用例'
case
'UPDATE_USECASE'
:
return
'修改测试用例'
case
'DELETE_USECASE'
:
return
'删除测试用例'
default
:
return
'未知类型'
}
}
}
}
...
...
src/views/review/view/index.vue
View file @
eb7599d2
<
template
>
<page-standard
class=
"view-review"
>
<div
style=
"background-color: white; padding-bottom: 100px;"
>
<div
style=
"
display: flex;
width: 100%;
padding: 5px 10px;
font-size: 15px;
background-color: #d1d5db;
align-items: center;
justify-content: space-between;
"
>
<span
style=
" font-weight: bold;"
>
查看评审(+
{{
formatAction
(
this
.
pageData
)
}}
</span>
<span
style=
"margin-right: 150px;font-size: 13px;"
>
参与评审人员:
{{
this
.
pageData
.
reviewer
}}
</span>
</div>
<div
style=
"padding: 0 20px;"
>
<div
class=
"title"
>
<span
>
检验标准:
{{
this
.
pageData
.
inspectStandardNo
}}
...
...
@@ -24,11 +42,33 @@
</span>
</div>
<div
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
标准
条款
:
</span>
<span
style=
"width: 15%"
>
标准
要求
:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
chapter
}}
{{
pageData
.
standard
}}
</span>
</div>
<div
v-if=
"pageData.operationSort == 'ADD_DETAILS'
|| pageData.operationSort == 'DELETE_DETAILS'
|| pageData.operationSort == 'ADD_SCENE'
|| pageData.operationSort == 'DELETE_SCENE'"
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
审查要点:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
keypoint
}}
</span>
</div>
<div
v-if=
" pageData.operationSort == 'ADD_SCENE'
|| pageData.operationSort == 'DELETE_SCENE' "
style=
"display: flex; width: 100%; margin-top: 20px"
>
<span
style=
"width: 15%"
>
审查细则:
</span>
<span
style=
"width: 90%"
>
{{
pageData
.
details
}}
</span>
</div>
<div
v-if=
"pageData.operationSort == 'ADD_KEYPOINT'"
style=
"display: flex; width: 100%; margin-top: 20px"
...
...
@@ -273,6 +313,8 @@
<message-item></message-item>
</el-col>
</el-row>
-->
</div>
</div>
</page-standard>
</
template
>
...
...
@@ -366,8 +408,34 @@ export default {
item
=>
item
.
value
===
type
)
return
foundType
?
foundType
.
label
:
'未知分类'
}
}
},
formatAction
(
action
)
{
switch
(
action
.
operationSort
)
{
case
'ADD_KEYPOINT'
:
return
'新增审查要点'
case
'DELETE_KEYPOINT'
:
return
'删除审查要点'
case
'ADD_DETAILS'
:
return
'新增审查细则'
case
'DELETE_DETAILS'
:
return
'删除审查细则'
case
'ADD_SCENE'
:
return
'新增审查场景'
case
'DELETE_SCENE'
:
return
'删除审查场景'
case
'ADD_USECASE'
:
return
'新增测试用例'
case
'UPDATE_USECASE'
:
return
'修改测试用例'
case
'DELETE_USECASE'
:
return
'删除测试用例'
default
:
return
'未知类型'
}
},
},
}
</
script
>
...
...
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