update 在线编辑调试
This commit is contained in:
@@ -206,14 +206,14 @@ export default {
|
||||
* 跳转在线编辑
|
||||
*/
|
||||
toOnlineEditor () {
|
||||
// 获取参数(用于自动生成封面,企标编号、代替标准号、发布日期、实施日期、企标名称)
|
||||
// const params = this.$refs.baseInfoForm.getOnlineEditorParams()
|
||||
// 第一个参数type:如果之前没有文件,就是add,否则是edit
|
||||
const params = {
|
||||
standard_number: 'Q/JC 40004-2023',
|
||||
standard_name: 'ldq流程新建完整字段企标计划'
|
||||
// 获取参数(用于自动生成封面)
|
||||
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)
|
||||
}
|
||||
onlineEditor(params)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user