소스 검색

双击编辑删除可还原2322

zhouna 5 년 전
부모
커밋
9068bd03d6
4개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/store/actions/checkBody.js
  2. 1 0
      src/store/actions/currentIll.js
  3. 1 0
      src/store/actions/mainSuit.js
  4. 1 0
      src/store/actions/otherHistory.js

+ 1 - 0
src/store/actions/checkBody.js

@@ -383,6 +383,7 @@ export const changeLabelVal = (state,action)=>{//双击标签输入改变值
     }
   }else{//删除完标签内容则删除该标签
     const num = nextIsDot?2:1;
+    handleLocalDelTag('4',index,res.data[index]);
     res.data.splice(index,num);
     res.selecteds.splice(index,num);//杂音类样式选中状态对应
     res.saveText = checkFullfillText(res.data).saveText;

+ 1 - 0
src/store/actions/currentIll.js

@@ -617,6 +617,7 @@ export const changeLabelVal = (state,action)=>{
     }
   }else{//删除完标签内容则删除该标签
     const num = nextIsDot?2:1;
+    handleLocalDelTag('2',index,res.data[index]);
     res.data.splice(index,num);
     res.saveText.splice(index,num);
     // res.saveText = fullfillText(res.data).saveText;

+ 1 - 0
src/store/actions/mainSuit.js

@@ -692,6 +692,7 @@ export const changeLabelVal = (state,action)=>{
     }
   }else{//删除完标签内容则删除该标签
     const num = nextIsDot?2:1;
+    handleLocalDelTag('1',index,res.data[index]);
     res.data.splice(index,num);
     res.selecteds.splice(index,num);//杂音类样式选中状态对应
     res.saveText = fullfillText(res.data).saveText;

+ 1 - 0
src/store/actions/otherHistory.js

@@ -353,6 +353,7 @@ export function changeTextLabel(state,action) {
     }
   }else{//删除完标签内容则删除该标签
     const num = nextIsDot?2:1;
+    handleLocalDelTag('3',index,res.data[index]);
     //月经史特殊处理
     if(res.data[index].formulaCode){
       res[res.data[index].formulaCode]=undefined;