update 联调在线编辑
This commit is contained in:
@@ -209,14 +209,14 @@ export default {
|
||||
/**
|
||||
* 跳转在线编辑
|
||||
*/
|
||||
toOnlineEditor () {
|
||||
async toOnlineEditor () {
|
||||
// 获取参数(用于自动生成封面)
|
||||
const params = this.$refs.baseInfoForm.getOnlineEditorParams()
|
||||
// 校验必填字段(最后一个字段是企标编号)
|
||||
const requiredField = ['implementation_date', 'release_date', 'standard_name', 'standard_number', 'espId']
|
||||
const validateResult = this.$refs.baseInfoForm.validateFormByFields(requiredField)
|
||||
if (validateResult) {
|
||||
onlineEditor(params, this.onEditFile)
|
||||
this.onEditFile = await onlineEditor(params, this.onEditFile)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user