[update] 企标制修订增加在线编辑需要获取字段的方法

This commit is contained in:
lideqin
2024-01-23 13:57:09 +08:00
parent 6a6ea4d54e
commit 698bb180f7
@@ -669,6 +669,17 @@ export default {
/** 赋值给当前对应的表单文件 */
this.formInline[this.uploadName] = attIdList.join(',')
this.formInline = { ...this.formInline }
},
// 在线编辑需要的参数
getOnlineEditorParams () {
return {
standard_number: this.formInline.standard_number, //标准编号,
substitute_standard_number: this.formInline.substitute_standard_number, // 代替标准号
implementation_date: this.formInline.implementation_date, // 实施日期
release_date: this.formInline.release_date, // 发布日期
standard_name: this.formInline.standard_name, // 标准名称
standard_english_name: this.formInline.standard_english_name // 标准英文名称
}
}
}
}