[update] 企标计划立项变更流程联调
This commit is contained in:
@@ -203,7 +203,7 @@
|
||||
</div>
|
||||
<!-- 人员信息 -->
|
||||
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
|
||||
<process-detail-list :url="url">
|
||||
<process-detail-list>
|
||||
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNode + ''"></personnel-info>
|
||||
</process-detail-list>
|
||||
</div>
|
||||
@@ -297,7 +297,8 @@ const approvalPersonalInfo = [ // 人员信息的数据
|
||||
canChoose: true,
|
||||
chooseType: 'checkbox',
|
||||
chooseSource: 'workGroup',
|
||||
fieldName: 'standardExpert'
|
||||
fieldName: 'standardExpert',
|
||||
minLength: 2
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
@@ -828,6 +829,10 @@ export default {
|
||||
this.$message.warning(this.$t('pleaseEnterPersonnelInfo'))
|
||||
return
|
||||
}
|
||||
// 专家审批至少需要选两个专家
|
||||
if (personnelObj.standardExpert.split(',').length < 2) {
|
||||
this.$message.warning(this.$t('workCenter.enterpriseInitChangePlan.pleaseSelectLeastTwoExpert'))
|
||||
}
|
||||
console.log(this.formInline)
|
||||
this.processInfoForm.validateFields((err, values) => {
|
||||
this.$refs.ruleForm.validate(valid => {
|
||||
|
||||
@@ -717,7 +717,7 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('workCenter.enterpriseInitChangePlan.yearNumber') + this.$t('cannotEmpty'),
|
||||
trigger: ['change', 'blur']
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
// 新企标号
|
||||
@@ -765,7 +765,7 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('workCenter.enterpriseInitChangePlan.draftPlanFinishDate') + this.$t('cannotEmpty'),
|
||||
trigger: ['change', 'blur']
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
// 征求意见稿计划完成日期
|
||||
@@ -773,7 +773,7 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('workCenter.enterpriseInitChangePlan.exposureDraftPlanFinishDate') + this.$t('cannotEmpty'),
|
||||
trigger: ['change', 'blur']
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
// 计划报批日期
|
||||
@@ -781,7 +781,7 @@ export default {
|
||||
{
|
||||
required: true,
|
||||
message: this.$t('workCenter.enterpriseInitChangePlan.planSubmissionDate') + this.$t('cannotEmpty'),
|
||||
trigger: ['change', 'blur']
|
||||
trigger: 'change'
|
||||
}
|
||||
],
|
||||
// 授权部门
|
||||
@@ -892,6 +892,7 @@ export default {
|
||||
getEnStandardNo(param).then(res => {
|
||||
if (res.success) {
|
||||
this.$set(this.formInline, 'newEnStandardNo', res.message)
|
||||
this.$refs.ruleForm.clearValidate('newEnStandardNo')
|
||||
this.$forceUpdate()
|
||||
// 返回流程名称
|
||||
this.returnProcessName()
|
||||
@@ -902,6 +903,7 @@ export default {
|
||||
if (this.formInline.originEnStandardNo && this.formInline.decadeCode) {
|
||||
const standardNo = this.formInline.originEnStandardNo.split('-')[0] + '-' + this.formInline.decadeCode
|
||||
this.$set(this.formInline, 'newEnStandardNo', standardNo)
|
||||
this.$refs.ruleForm.clearValidate('newEnStandardNo')
|
||||
this.$forceUpdate()
|
||||
// 返回流程名称
|
||||
this.returnProcessName()
|
||||
|
||||
@@ -149,7 +149,8 @@ export default {
|
||||
query: {
|
||||
taskName: record.taskName,
|
||||
processId: record.id, // 流程id
|
||||
taskId: record.taskId // 任务id
|
||||
taskId: record.taskId, // 任务id
|
||||
processInstanceId: record.processInstanceId // 流程实例id,必须传人员信息右侧表格查询需要用
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user