update 项目合规流程

This commit is contained in:
赵霄
2023-12-20 17:02:22 +08:00
parent 7df7797c24
commit 8a804d416c
5 changed files with 51 additions and 7 deletions
+22
View File
@@ -41,6 +41,7 @@ module.exports = {
clickToUpload: '点击上传', clickToUpload: '点击上传',
operation: 'Operation', operation: 'Operation',
strip: 'Items', strip: 'Items',
total: '共',
// 标准法规入库/变更流程 // 标准法规入库/变更流程
standardEntryOrChange: { standardEntryOrChange: {
source: '来源', source: '来源',
@@ -182,6 +183,13 @@ module.exports = {
theFollowingDocuments: 'M以下文件', theFollowingDocuments: 'M以下文件',
file: '文件' file: '文件'
}, },
// 法规采购流程
procurement: {
reasonForPurchase: '采购理由',
export: '导出',
goToThePCToExport: '请前往PC端导出',
carbonCopy: '抄送'
},
// 企标稽查计划 // 企标稽查计划
esInspectionPlan: { esInspectionPlan: {
inspectionPlan: '稽查计划', inspectionPlan: '稽查计划',
@@ -258,5 +266,19 @@ module.exports = {
file: '附件', file: '附件',
requestExtensionDate: '申请延期日期', requestExtensionDate: '申请延期日期',
extensionDescription: '延期说明' extensionDescription: '延期说明'
},
// 项目合规评估流程
projectCompliance: {
vehicleItemInfo: '车型项目信息',
propertiesAndTextAttachments: '属性及文本附件',
projectAppraisal: '项目评估',
estimatedDateOfCompletionOfRectification: '预计整改完成日期',
standardNumberClauseNumber: '标准编号/条款号',
standardNameClauseName: '标准名称/条款名称',
terms: '条款内容',
preNodeProcessesPeople: '上一节点处理人',
evaluationFeedback: '评估反馈',
evaluator: '评估人',
evaluationResult:'评估结果'
} }
} }
+2
View File
@@ -278,5 +278,7 @@ module.exports = {
terms: '条款内容', terms: '条款内容',
preNodeProcessesPeople: '上一节点处理人', preNodeProcessesPeople: '上一节点处理人',
evaluationFeedback: '评估反馈', evaluationFeedback: '评估反馈',
evaluator: '评估人',
evaluationResult:'评估结果'
} }
} }
@@ -168,7 +168,7 @@ export default {
}, },
projectInfo: {}, // 项目信息 projectInfo: {}, // 项目信息
standardList: [], // 属性及文本附件的内容(多个标准) standardList: [], // 属性及文本附件的内容(多个标准)
columns: [ basicColumns: [
// 序号 // 序号
{ {
title: this.$t('serialNumber'), title: this.$t('serialNumber'),
@@ -208,9 +208,9 @@ export default {
width: 150, width: 150,
align: 'center' align: 'center'
}, },
// 评估反馈 // 评估结果
{ {
title: this.$t('projectCompliance.evaluationFeedback'), title: this.$t('projectCompliance.evaluationResult'),
dataIndex: 'evaluationFeedback_dictText', dataIndex: 'evaluationFeedback_dictText',
width: 150, width: 150,
align: 'center' align: 'center'
@@ -340,10 +340,29 @@ export default {
showQuickJumper: true, showQuickJumper: true,
showSizeChanger: true, showSizeChanger: true,
total: 0 total: 0
},
currentNode: null
}
},
computed: {
columns () {
const list = JSON.parse(JSON.stringify(this.basicColumns))
// 各部门主管级领导审批是评估人
if (this.currentNode === ProjectComplianceEvaluationProcessNode.departLeaderApproval.value) {
list[4] = {
// 评估人
title: this.$t('projectCompliance.evaluator'),
dataIndex: 'assessorName',
width: 150,
align: 'center',
scopedSlots: { customRender: 'text' }
}
} }
return list
} }
}, },
created () { created () {
this.currentNode = this.$route.query.nodeId
this.initProcessData() this.initProcessData()
}, },
methods: { methods: {
@@ -4,7 +4,7 @@
<!--流程信息--> <!--流程信息-->
<div class="process-part"> <div class="process-part">
<div class="process-part-title">{{ $t('processInformation') }}</div> <div class="process-part-title">{{ $t('processInformation') }}</div>
<van-form input-align="right"> <van-form input-align="right" label-width="8.2em">
<!--流程名称--> <!--流程名称-->
<van-field v-model="processInfo.processName" <van-field v-model="processInfo.processName"
:label="$t('processName')" :label="$t('processName')"
@@ -40,7 +40,7 @@
<!--业务基本信息--> <!--业务基本信息-->
<div class="process-part"> <div class="process-part">
<div class="process-part-title">{{ $t('basicServiceInformation') }}</div> <div class="process-part-title">{{ $t('basicServiceInformation') }}</div>
<van-form input-align="right"> <van-form input-align="right" label-width="8.2em">
<!--标准编号--> <!--标准编号-->
<van-field v-model="basicInfo.standardNumber" <van-field v-model="basicInfo.standardNumber"
:label="$t('standardNumber')" :label="$t('standardNumber')"
@@ -661,7 +661,8 @@ export default {
// 组件内路由拦截 // 组件内路由拦截
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
// 如果不是移动端支持的节点,就跳转NoMobile // 如果不是移动端支持的节点,就跳转NoMobile
if (!ConsultationProcess[this.nodeEnumsKey].isMobile) { const nodeEnumsKey = to.query.nodeId ? ConsultationProcess.keyOfValueByLike(to.query.nodeId) : 'initiate'
if (nodeEnumsKey && !ConsultationProcess[nodeEnumsKey].isMobile) {
next({ path: '/noMobile' }) next({ path: '/noMobile' })
} }
next() next()
@@ -42,7 +42,7 @@
<template v-for="(part,index) in formList"> <template v-for="(part,index) in formList">
<div class="process-part" :key="'part' + index" v-if="(part && part.length > 0) || formPartList.findIndex(index) === 0"> <div class="process-part" :key="'part' + index" v-if="(part && part.length > 0) || formPartList.findIndex(index) === 0">
<div class="process-part-title">{{ index }}</div> <div class="process-part-title">{{ index }}</div>
<van-form input-align="right"> <van-form input-align="right" label-width="7.2em">
<!--来源--> <!--来源-->
<van-field v-model="formInline.source_dictText" <van-field v-model="formInline.source_dictText"
:label="$t('standardEntryOrChange.source')" :label="$t('standardEntryOrChange.source')"