[update] 修改年度制修订流程
This commit is contained in:
+4
-1
@@ -131,7 +131,10 @@ export default {
|
|||||||
// 给表单赋值
|
// 给表单赋值
|
||||||
if (data.dataList[0].distributeFlag + '' === '0') {
|
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.$nextTick(() => {
|
||||||
this.$refs.tableRef.initData(data)
|
this.$refs.tableRef.initData(data)
|
||||||
|
|||||||
+11
@@ -794,6 +794,11 @@ export default {
|
|||||||
if (!this.formInline.applicationType) {
|
if (!this.formInline.applicationType) {
|
||||||
this.formInline.applicationType = this.ApplicationCategory.INITIATION.value
|
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) {
|
look (record) {
|
||||||
this.visible = true
|
this.visible = true
|
||||||
@@ -942,6 +947,12 @@ export default {
|
|||||||
if (formInline.enStandardCode) {
|
if (formInline.enStandardCode) {
|
||||||
formInline.enStandardCode_dictText = this.$refs.enStandardCodeRef.dictOptions.find(item => item.value === formInline.enStandardCode).text
|
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)
|
console.log(formInline)
|
||||||
this.$emit('ok', formInline)
|
this.$emit('ok', formInline)
|
||||||
|
|||||||
Reference in New Issue
Block a user