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();