update 项目合规流程
This commit is contained in:
@@ -41,6 +41,7 @@ module.exports = {
|
||||
clickToUpload: '点击上传',
|
||||
operation: 'Operation',
|
||||
strip: 'Items',
|
||||
total: '共',
|
||||
// 标准法规入库/变更流程
|
||||
standardEntryOrChange: {
|
||||
source: '来源',
|
||||
@@ -182,6 +183,13 @@ module.exports = {
|
||||
theFollowingDocuments: 'M以下文件',
|
||||
file: '文件'
|
||||
},
|
||||
// 法规采购流程
|
||||
procurement: {
|
||||
reasonForPurchase: '采购理由',
|
||||
export: '导出',
|
||||
goToThePCToExport: '请前往PC端导出',
|
||||
carbonCopy: '抄送'
|
||||
},
|
||||
// 企标稽查计划
|
||||
esInspectionPlan: {
|
||||
inspectionPlan: '稽查计划',
|
||||
@@ -258,5 +266,19 @@ module.exports = {
|
||||
file: '附件',
|
||||
requestExtensionDate: '申请延期日期',
|
||||
extensionDescription: '延期说明'
|
||||
},
|
||||
// 项目合规评估流程
|
||||
projectCompliance: {
|
||||
vehicleItemInfo: '车型项目信息',
|
||||
propertiesAndTextAttachments: '属性及文本附件',
|
||||
projectAppraisal: '项目评估',
|
||||
estimatedDateOfCompletionOfRectification: '预计整改完成日期',
|
||||
standardNumberClauseNumber: '标准编号/条款号',
|
||||
standardNameClauseName: '标准名称/条款名称',
|
||||
terms: '条款内容',
|
||||
preNodeProcessesPeople: '上一节点处理人',
|
||||
evaluationFeedback: '评估反馈',
|
||||
evaluator: '评估人',
|
||||
evaluationResult:'评估结果'
|
||||
}
|
||||
}
|
||||
|
||||
@@ -278,5 +278,7 @@ module.exports = {
|
||||
terms: '条款内容',
|
||||
preNodeProcessesPeople: '上一节点处理人',
|
||||
evaluationFeedback: '评估反馈',
|
||||
evaluator: '评估人',
|
||||
evaluationResult:'评估结果'
|
||||
}
|
||||
}
|
||||
|
||||
+22
-3
@@ -168,7 +168,7 @@ export default {
|
||||
},
|
||||
projectInfo: {}, // 项目信息
|
||||
standardList: [], // 属性及文本附件的内容(多个标准)
|
||||
columns: [
|
||||
basicColumns: [
|
||||
// 序号
|
||||
{
|
||||
title: this.$t('serialNumber'),
|
||||
@@ -208,9 +208,9 @@ export default {
|
||||
width: 150,
|
||||
align: 'center'
|
||||
},
|
||||
// 评估反馈
|
||||
// 评估结果
|
||||
{
|
||||
title: this.$t('projectCompliance.evaluationFeedback'),
|
||||
title: this.$t('projectCompliance.evaluationResult'),
|
||||
dataIndex: 'evaluationFeedback_dictText',
|
||||
width: 150,
|
||||
align: 'center'
|
||||
@@ -340,10 +340,29 @@ export default {
|
||||
showQuickJumper: true,
|
||||
showSizeChanger: true,
|
||||
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 () {
|
||||
this.currentNode = this.$route.query.nodeId
|
||||
this.initProcessData()
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<!--流程信息-->
|
||||
<div class="process-part">
|
||||
<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"
|
||||
:label="$t('processName')"
|
||||
@@ -40,7 +40,7 @@
|
||||
<!--业务基本信息-->
|
||||
<div class="process-part">
|
||||
<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"
|
||||
:label="$t('standardNumber')"
|
||||
@@ -661,7 +661,8 @@ export default {
|
||||
// 组件内路由拦截
|
||||
beforeRouteEnter (to, from, next) {
|
||||
// 如果不是移动端支持的节点,就跳转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()
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
<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-title">{{ index }}</div>
|
||||
<van-form input-align="right">
|
||||
<van-form input-align="right" label-width="7.2em">
|
||||
<!--来源-->
|
||||
<van-field v-model="formInline.source_dictText"
|
||||
:label="$t('standardEntryOrChange.source')"
|
||||
|
||||
Reference in New Issue
Block a user