[update] 修改年度制修订流程

This commit is contained in:
lideqin
2023-12-07 20:24:34 +08:00
parent 33a9884b23
commit 444bebd80c
2 changed files with 15 additions and 1 deletions
@@ -131,7 +131,10 @@ export default {
// 给表单赋值
if (data.dataList[0].distributeFlag + '' === '0') {
// 不下发联络人
this.formInline = { distributeFlag: data.dataList[0].distributeFlag }
this.formInline = {
distributeFlag: data.dataList[0].distributeFlag,
contactUserLeaderLeader: data.flowUser.contactUserLeaderLeader
}
// 给表格赋值
this.$nextTick(() => {
this.$refs.tableRef.initData(data)
@@ -794,6 +794,11 @@ export default {
if (!this.formInline.applicationType) {
this.formInline.applicationType = this.ApplicationCategory.INITIATION.value
}
if (this.formInline.enStandardSystem && this.formInline.enStandardSystem.length > 0) {
this.formInline.enStandardSystem = this.formInline.enStandardSystem ? this.formInline.enStandardSystem.split(',').map(item => {
return { value: item }
}) : []
}
},
look (record) {
this.visible = true
@@ -942,6 +947,12 @@ export default {
if (formInline.enStandardCode) {
formInline.enStandardCode_dictText = this.$refs.enStandardCodeRef.dictOptions.find(item => item.value === formInline.enStandardCode).text
}
// 处理标准体系
if (formInline.enStandardSystem && formInline.enStandardSystem.length > 0) {
formInline.enStandardSystem = formInline.enStandardSystem.map(item => item.value).join(',')
} else {
formInline.enStandardSystem = ''
}
// 主起草单位的回显需要在登录信息中有当前登录人部门的翻译 ??
console.log(formInline)
this.$emit('ok', formInline)