Browse Source

主诉时间单位添加标签高亮

zhangxc 5 years ago
parent
commit
00bb29d9fd
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/containers/eleType.js

+ 3 - 1
src/containers/eleType.js

@@ -22,6 +22,7 @@ export function singleRadio(params){
   const data = params.item;
   const {i,hideTag,boxMark,showArr,selecteds,importLabel} = params;
   let isHigh=importLabel&&importLabel.includes(data.id);
+  let NumberUnitDropIsHigh =(boxMark ==1 &&data.specFlag == 1)
   const showInx = boxMark+'-'+i+'-0';    //单括号多标签的情况下需要识别同一个标签内多个下拉组件的显示状态
   switch (+data.controlType){
     case 0:
@@ -63,7 +64,7 @@ export function singleRadio(params){
                          formulaCode={data.formulaCode}
                          boxMark={boxMark}
                          id={data.id}
-                         isImports={isHigh}
+                         isImports={boxMark==1 ?NumberUnitDropIsHigh: isHigh}
                          show={showArr&&showArr[showInx]}
                          ikey={showInx}
                          value={data.value}
@@ -149,6 +150,7 @@ function multCheckLabels(params,tagType){
 }
 
 export default function(params){
+  
   const data = params.item;
   switch (+data.tagType) {
     case 1: