Commit 21924aae authored by baiyanhao's avatar baiyanhao

修改去评审菜单

parent 3f47c15b
...@@ -89,7 +89,7 @@ export const constantRoutes = [ ...@@ -89,7 +89,7 @@ export const constantRoutes = [
path: '/goreview', path: '/goreview',
component: () => import('@/views/review/sceneReview/index'), component: () => import('@/views/review/sceneReview/index'),
name: 'GoReview', name: 'GoReview',
meta: { title: '去评审', icon: 'dashboard'} hidden: true
}, },
] ]
......
...@@ -3,26 +3,26 @@ ...@@ -3,26 +3,26 @@
<div class="subtitle">评审对象</div> <div class="subtitle">评审对象</div>
<el-row :gutter="20" justify="center" type="flex"> <el-row :gutter="20" justify="center" type="flex">
<el-col :span="20"> <el-col :span="20">
<el-form label-suffix=":" :data="this.resData"> <el-form label-suffix=":" :data="resData">
<el-form-item label="条款分类" prop="type"> <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>
<el-form-item label="标准条款" prop="chapter standard"> <el-form-item label="标准条款" prop="chapter standard">
<!-- {{ resData.chapter }} {{ resData.standard }} --> {{ resData.chapter }} {{ resData.standard }}
</el-form-item> </el-form-item>
<el-form-item label="审查要点" prop="keypoint"> <el-form-item label="审查要点" prop="keypoint">
<!-- {{ resData.keypoint }} --> {{ resData.keypoint }}
</el-form-item> </el-form-item>
<el-form-item label="审查细则" prop="details"> <el-form-item label="审查细则" prop="details">
<!-- {{ resData.details }} --> {{ resData.details }}
</el-form-item> </el-form-item>
<el-form-item label="新增场景" prop="newText" style="color: red"> <el-form-item label="新增场景" prop="newText" style="color: red">
<!-- {{ resData.newText }} --> {{ resData.newText }}
</el-form-item> </el-form-item>
<el-form-item label="备注信息" prop="remark" style="color: red"> <el-form-item label="备注信息" prop="remark" style="color: red">
<!-- {{ resData.remark }} --> {{ resData.remark }}
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-col> </el-col>
...@@ -168,18 +168,18 @@ export default { ...@@ -168,18 +168,18 @@ export default {
this.typeList = response.data || [] this.typeList = response.data || []
}) })
}, },
// // 字典格式化 operationSort 字段 // 字典格式化 operationSort 字段
// formatOperationSort(row, column) { formatOperationSort(row, column) {
// const reviewTypeList = this.reviewTypeList.find( const reviewTypeList = this.reviewTypeList.find(
// item => item.dictValue === row.operationSort item => item.dictValue === row.operationSort
// ) )
// return reviewTypeList ? reviewTypeList.dictLabel : '' return reviewTypeList ? reviewTypeList.dictLabel : ''
// }, },
// // 字典格式化 type 字段 // 字典格式化 type 字段
// formatType(row, column) { formatType(row, column) {
// const typeList = this.typeList.find(item => item.dictValue === row.type) const typeList = this.typeList.find(item => item.dictValue === row.type)
// return typeList ? typeList.dictLabel : '' return typeList ? typeList.dictLabel : ''
// }, },
handleSubmit() { handleSubmit() {
// 确保在提交时 auditModel 的所有字段都被正确设置 // 确保在提交时 auditModel 的所有字段都被正确设置
this.auditModel.taskId = this.id this.auditModel.taskId = this.id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment