[update 标准解读流程] 完善

This commit is contained in:
danshihao
2024-07-11 11:45:29 +08:00
parent 4c281787aa
commit c1e3981515
@@ -119,6 +119,10 @@ export default {
async getData (isValidate) {
const obj = {}
if (isValidate) {
if (!this.$refs.interpretationClauseTable.getData().length) {
this.$message.warn('addAtLeastOneRowOfData')
obj._flag = true
}
// 汇总节点,处理表单
if (this.isStandardInterpreterSummary) {
obj.formData = await new Promise((resolve) => {
@@ -132,7 +136,7 @@ export default {
} else {
obj.formData = this.form.getFieldsValue()
}
obj.clauseInterpretData = this.dataSource
obj.clauseInterpretData = this.$refs.interpretationClauseTable.getData()
return obj
},
// 更新组件内的数据