Browse Source

Merge remote-tracking branch 'origin/test'

zhouna 3 years ago
parent
commit
5585a45315
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/components/basicKnow/AddTerm.vue

+ 7 - 7
src/components/basicKnow/AddTerm.vue

@@ -31,7 +31,7 @@
                 type="text"
                 type="text"
                 v-model.trim="data.libName"
                 v-model.trim="data.libName"
                 placeholder="请输入术语"
                 placeholder="请输入术语"
-                maxlength="50"
+                maxlength="70"
                 @blur="handleBlur(1)"
                 @blur="handleBlur(1)"
               />
               />
               <SimilarListDrag
               <SimilarListDrag
@@ -108,7 +108,7 @@
                   v-model.trim="item.libName"
                   v-model.trim="item.libName"
                   :title="item.name"
                   :title="item.name"
                   placeholder="请输入术语"
                   placeholder="请输入术语"
-                  maxlength="50"
+                  maxlength="70"
                   @blur="handleBlur(2,index,99)"
                   @blur="handleBlur(2,index,99)"
                 />
                 />
                 <SimilarListDrag
                 <SimilarListDrag
@@ -189,7 +189,7 @@
                 type="text"
                 type="text"
                 v-model.trim="item.libName"
                 v-model.trim="item.libName"
                 placeholder="请输入术语"
                 placeholder="请输入术语"
-                maxlength="50"
+                maxlength="70"
                 @blur="handleBlur(2,index)"
                 @blur="handleBlur(2,index)"
               />
               />
               <SimilarListDrag
               <SimilarListDrag
@@ -530,8 +530,8 @@
                     class="marT description"
                     class="marT description"
             >
             >
               <el-row>
               <el-row>
-                <el-col :span="5"><el-input @blur="handleBlurGuo" v-model.trim="klDiseaseVO.guoname" maxlength="30" placeholder="请输入名称"></el-input></el-col>
-                <el-col :span="5"><el-input v-model.trim="klDiseaseVO.guospell" maxlength="30" placeholder="请输入拼音"></el-input></el-col>
+                <el-col :span="5"><el-input @blur='handleBlurGuo' v-model.trim="klDiseaseVO.guoname" maxlength="70" placeholder="请输入名称"></el-input></el-col>
+                <el-col :span="5"><el-input v-model.trim="klDiseaseVO.guospell" maxlength="70" placeholder="请输入拼音"></el-input></el-col>
                 <el-col :span="5"><el-input v-model.trim="klDiseaseVO.guocode" maxlength="30" placeholder="请输入编码"></el-input></el-col>
                 <el-col :span="5"><el-input v-model.trim="klDiseaseVO.guocode" maxlength="30" placeholder="请输入编码"></el-input></el-col>
               </el-row>
               </el-row>
             </el-form-item>
             </el-form-item>
@@ -1535,10 +1535,10 @@ export default {
         this.warning('请选择术语类型');
         this.warning('请选择术语类型');
         return;
         return;
       }
       }
-      /*if(!this.guounfix){
+      if(this.guounfix){
 		this.warning('ICD10国临版名称不能为纯数字');
 		this.warning('ICD10国临版名称不能为纯数字');
 		return;
 		return;
-      }*/
+      }
       // 年龄为必填项--2019-6-5需求
       // 年龄为必填项--2019-6-5需求
       if (this.showMore == 1) {
       if (this.showMore == 1) {
         if ((!this.minAge && this.minAge !== 0) || !this.maxAge) {
         if ((!this.minAge && this.minAge !== 0) || !this.maxAge) {