浏览代码

修复新增参数

gangyj 2 年之前
父节点
当前提交
833c5d10cf
共有 1 个文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/views/exctab/ElementIdentification/index.vue

+ 6 - 1
src/views/exctab/ElementIdentification/index.vue

@@ -1094,7 +1094,12 @@ export default {
     editTitle(){
       if(this.titleIndex < 0){
         //新增
-        exctabcellSave([this.titleForm]).then(()=>{
+        exctabcellSave([{
+            "exctabId": this.from.id,
+            "textInfo": this.titleForm.textInfo,
+            "textElementType": this.titleForm.textElementType,
+            "textDeviation": this.titleForm.textDeviation
+        }]).then(()=>{
             this.editTitleDialog = false;
             //触发自动识别按钮
             this.automaticRecognition();