浏览代码

参数修改

luolei 4 年之前
父节点
当前提交
8c5dda2362

+ 12 - 10
src/components/basicKnow/AddTerm.vue

@@ -282,7 +282,7 @@
                 <el-option v-for="(it,i) in dioTypeList" :key="i" :label="it.name" :value="it.val"></el-option>
               </el-select>
             </el-form-item>
-            <el-form-item
+            <!-- <el-form-item
               v-if="data.type=='症状'"
               label="填写单患者界面展示通俗内容:"
               prop="description"
@@ -290,8 +290,8 @@
             >
               <span class="necess">*</span>
               <el-input v-model.trim="description" maxlength="7" placeholder="请输入填写单患者界面展示通俗内容"></el-input>
-            </el-form-item>
-            <el-form-item v-if="data.type=='症状'" label="医学教育说明:" prop="explains" class="marT">
+            </el-form-item> -->
+            <!-- <el-form-item v-if="data.type=='症状'" label="医学教育说明:" prop="explains" class="marT">
               <el-input
                 type="textarea"
                 v-model.trim="explains"
@@ -299,7 +299,7 @@
                 style="width: 500px;"
                 :rows="4"
               ></el-input>
-            </el-form-item>
+            </el-form-item> -->
           </el-form>
         </div>
         <div class="btn">
@@ -843,10 +843,10 @@ export default {
           break;
         }
       }
-      if (this.data.type == '症状' && !this.description) {
-        this.warning('请输入填写单患者界面展示通俗内容');
-        return;
-      }
+      // if (this.data.type == '症状' && !this.description) {
+      //   this.warning('请输入填写单患者界面展示通俗内容');
+      //   return;
+      // }
       let params,sexCode=null;
       if (this.showMore == 1) {// 下拉文字转code
         this.sex.map((v, i) => {
@@ -871,6 +871,8 @@ export default {
           scopeType:this.rangeSelect == '外'?'1':'0',
           maxAge:this.maxAge,
           minAge:this.minAge,
+          maxVal:this.maxValue,
+          minVal:this.minValue,
           icdCode:this.icdCode||undefined
         }
       }else{
@@ -887,8 +889,8 @@ export default {
           sexType:sexCode,
           maxAge:this.maxAge,
           minAge:this.minAge,
-          maxValue:this.maxValue,
-          minValue:this.minValue,
+          maxVal:this.maxValue,
+          minVal:this.minValue,
           icdCode: this.icdCode||undefined,
           scopeType:this.rangeSelect == '外'?1:0,
           isHasCommon: this.data.isHasCommon||0,

+ 1 - 1
src/components/knowledgeExtra/DiseaseTree.vue

@@ -475,7 +475,7 @@ export default {
 }
 
 .btn {
-  text-align: right;
+  text-align: center;
   margin-top: 20px;
 }
 .custom-tree-node-name {

+ 1 - 1
src/components/knowledgeExtra/KnowledgeAll.vue

@@ -419,7 +419,7 @@ export default {
 }
 
 .btn {
-  text-align: right;
+  text-align: center;
   margin-top: 20px;
 }
 .custom-tree-node-name {

+ 3 - 2
src/components/knowledgeExtra/StaticInfo.vue

@@ -272,8 +272,9 @@
       showConfirmDialog(msg,resolve){
         this.$confirm(msg, '提示', {
           confirmButtonText: '确定',
-          cancelButtonText: '取消',
-          cancelButtonClass:'cancel',
+          showCancelButton:false,
+          // cancelButtonText: '取消',
+          // cancelButtonClass:'cancel',
           type: 'warning'
         }).then(() => {
           resolve();