Explorar o código

预问诊标签搜索入参前后去空格

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
8ddbe7bfa0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/preTreat/QuestionTagGroup.vue

+ 1 - 1
src/components/preTreat/QuestionTagGroup.vue

@@ -295,7 +295,7 @@ export default {
               '6':['4']             //混合组合只能添加独立组合填写单
             };
             let param = {
-                "tagName": this.searchVal,
+                "tagName": this.searchVal.trim(),
                 "type": this.ascription,
                 "notIds": notIds,
                 "notControlType":this.qaType==2||this.ascription!='51'?['4']:[],             //组合填写单或非诊疗情况模版不能添加图片上传