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
21924aae
Commit
21924aae
authored
Sep 06, 2024
by
baiyanhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改去评审菜单
parent
3f47c15b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
22 deletions
+22
-22
index.js
src/router/index.js
+1
-1
index.vue
src/views/review/sceneReview/index.vue
+21
-21
No files found.
src/router/index.js
View file @
21924aae
...
...
@@ -89,7 +89,7 @@ export const constantRoutes = [
path
:
'/goreview'
,
component
:
()
=>
import
(
'@/views/review/sceneReview/index'
),
name
:
'GoReview'
,
meta
:
{
title
:
'去评审'
,
icon
:
'dashboard'
}
hidden
:
true
},
]
...
...
src/views/review/sceneReview/index.vue
View file @
21924aae
...
...
@@ -3,26 +3,26 @@
<div
class=
"subtitle"
>
评审对象
</div>
<el-row
:gutter=
"20"
justify=
"center"
type=
"flex"
>
<el-col
:span=
"20"
>
<el-form
label-suffix=
":"
:data=
"
this.
resData"
>
<el-form
label-suffix=
":"
:data=
"resData"
>
<el-form-item
label=
"条款分类"
prop=
"type"
>
<!--
{{
typeList
.
find
(
item
=>
item
.
dictValue
===
resData
.
type
)
.
dictLabel
}}
-->
{{
typeList
.
find
(
item
=>
item
.
dictValue
===
resData
.
type
)
}}
</el-form-item>
<el-form-item
label=
"标准条款"
prop=
"chapter standard"
>
<!--
{{
resData
.
chapter
}}
{{
resData
.
standard
}}
-->
{{
resData
.
chapter
}}
{{
resData
.
standard
}}
</el-form-item>
<el-form-item
label=
"审查要点"
prop=
"keypoint"
>
<!--
{{
resData
.
keypoint
}}
-->
{{
resData
.
keypoint
}}
</el-form-item>
<el-form-item
label=
"审查细则"
prop=
"details"
>
<!--
{{
resData
.
details
}}
-->
{{
resData
.
details
}}
</el-form-item>
<el-form-item
label=
"新增场景"
prop=
"newText"
style=
"color: red"
>
<!--
{{
resData
.
newText
}}
-->
{{
resData
.
newText
}}
</el-form-item>
<el-form-item
label=
"备注信息"
prop=
"remark"
style=
"color: red"
>
<!--
{{
resData
.
remark
}}
-->
{{
resData
.
remark
}}
</el-form-item>
</el-form>
</el-col>
...
...
@@ -168,18 +168,18 @@ export default {
this
.
typeList
=
response
.
data
||
[]
})
},
//
//
字典格式化 operationSort 字段
//
formatOperationSort(row, column) {
//
const reviewTypeList = this.reviewTypeList.find(
//
item => item.dictValue === row.operationSort
//
)
//
return reviewTypeList ? reviewTypeList.dictLabel : ''
//
},
//
//
字典格式化 type 字段
//
formatType(row, column) {
//
const typeList = this.typeList.find(item => item.dictValue === row.type)
//
return typeList ? typeList.dictLabel : ''
//
},
// 字典格式化 operationSort 字段
formatOperationSort
(
row
,
column
)
{
const
reviewTypeList
=
this
.
reviewTypeList
.
find
(
item
=>
item
.
dictValue
===
row
.
operationSort
)
return
reviewTypeList
?
reviewTypeList
.
dictLabel
:
''
},
// 字典格式化 type 字段
formatType
(
row
,
column
)
{
const
typeList
=
this
.
typeList
.
find
(
item
=>
item
.
dictValue
===
row
.
type
)
return
typeList
?
typeList
.
dictLabel
:
''
},
handleSubmit
()
{
// 确保在提交时 auditModel 的所有字段都被正确设置
this
.
auditModel
.
taskId
=
this
.
id
...
...
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