|
|
@@ -110,20 +110,18 @@ export default { |
|
|
|
|
|
|
|
this.needTitle = this.type !== 'again' && Number(currentNode.isTitle) === 1 |
|
|
|
const formData = await this.fetchFormData(currentNode, processId) |
|
|
|
|
|
|
|
const schemeData = await this.fetchSchemeData(currentNode) |
|
|
|
const { formValue, scheme, rel } = await this.getCustomForm({ |
|
|
|
schemeData, |
|
|
|
processId, |
|
|
|
formData, |
|
|
|
currentNode: this.currentNode, |
|
|
|
currentNode: currentNode, |
|
|
|
code: this.type === 'again' ? null : code, |
|
|
|
useDefault: true |
|
|
|
}) |
|
|
|
this.rel = rel |
|
|
|
this.scheme = scheme |
|
|
|
this.formValue = formValue |
|
|
|
|
|
|
|
this.code = code |
|
|
|
this.processId = processId |
|
|
|
|
|
|
@@ -140,7 +138,6 @@ export default { |
|
|
|
this.LOADING('正在提交…') |
|
|
|
const formValue = this.$refs.form.getFormValue() |
|
|
|
const postData = await this.getPostData(formValue, this.scheme) |
|
|
|
|
|
|
|
this.HTTP_POST('/newwf/draft', postData, '提交草稿时发生失败,未能成功保存').then(success => { |
|
|
|
this.HIDE_LOADING() |
|
|
|
if (!success) { |
|
|
|