소스 검색

化验辅捡静态信息参数修改

zhouna 6 년 전
부모
커밋
4bd40b16e0
3개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 2 2
      src/components/AddAssistCheck/index.jsx
  2. 2 2
      src/components/AddInspect/SlideSelect/index.jsx
  3. 1 1
      src/components/PushItems/DetailsModal/index.less

+ 2 - 2
src/components/AddAssistCheck/index.jsx

@@ -152,7 +152,7 @@ class AddAssistCheck extends React.Component {
                   <span className={styles.assistName} style={{ width: winWidth < 1200 ? '120px' : 'auto' }}>
                     <span className={styles.tagSpan}>
                       {item.name}:
-                      <span className={styles.imgInfo} onClick={()=>getInfomation({name: item.name, position: 1, type: 6})}></span>
+                      <span className={styles.imgInfo} onClick={()=>getInfomation({name: item.name, position: 0, type: 6})}></span>
                     </span>
                   </span>
                   <div className={styles.textareaWrap}>
@@ -195,7 +195,7 @@ class AddAssistCheck extends React.Component {
               <span className={styles.assistName} style={{ width: winWidth < 1200 ? '120px' : 'auto' }}>
                 <span className={styles.tagSpan}>
                   {item.name}:
-                  <span className={styles.imgInfo} onClick={()=>getInfomation({name: item.name, position: 1, type: 6})}></span>
+                  <span className={styles.imgInfo} onClick={()=>getInfomation({name: item.name, position: 0, type: 6})}></span>
                 </span>
               </span>
               <div className={styles.textareaWrap}>

+ 2 - 2
src/components/AddInspect/SlideSelect/index.jsx

@@ -107,13 +107,13 @@ class SlideSelect extends Component {
             <p className={styles.staticTagActive}>
                 <span className={styles.tagSpan} data-flg="current" style={{color:"#000"}} onClick={(e) => { handleLabelSub(e, item.questionId,idx); handleFillShow(e,idx) }}>
                   {item.name}
-                  <span className={styles.imgInfo} onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
+                  <span className={styles.imgInfo} onClick={()=>getInfomation({name:item.uniqueName || '', position: 0, type: 12})}></span>
                 </span>
             </p>:
             <p >
                 <i className={styles.tagSpan} data-flg="current" onClick={(e) => { handleLabelSub(e,item.questionId,idx); handleFillShow(e,idx) }}>
                   {item.name}
-                  <span className={styles.imgInfo} onClick={()=>getInfomation({name:item.uniqueName || '', position: 1, type: 12})}></span>
+                  <span className={styles.imgInfo} onClick={()=>getInfomation({name:item.uniqueName || '', position: 0, type: 12})}></span>
                 </i>
             </p>
         }

+ 1 - 1
src/components/PushItems/DetailsModal/index.less

@@ -65,7 +65,7 @@
     height: 100%;
     padding: 0 180px 0 40px;
     overflow-y: auto;
-    line-height: 23px;
+    line-height: 24px;
 }
 .content-menu-box {
     position: absolute;