luolei %!s(int64=4) %!d(string=hai) anos
pai
achega
9649a94a4b

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

@@ -25,8 +25,9 @@ class AssistName extends Component {
 		}
 	}
   checkOnOff(item){
-    const {checkOnOff} = this.props
+    const {checkOnOff,handlePush} = this.props
     checkOnOff(item)
+    handlePush && handlePush({mode:8});       //右侧推送
   }
 	render() {
 		const { winWidth, name, getInfomation,normal,item } = this.props;

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

@@ -224,7 +224,7 @@ class AddAssistCheck extends React.Component {
                   <span className={styles.imgInfo} title='点击i图标可查看详细说明' onClick={()=>getInfomation({name: item.name, position: 1, type: 6})}></span>
                 </span>
               </span> */}
-              <AssistName item={item} checkOnOff={checkOnOff} name={item.name} winWidth={winWidth} getInfomation={getInfomation}></AssistName>
+              <AssistName item={item} checkOnOff={checkOnOff} name={item.name} winWidth={winWidth} handlePush={handlePush} getInfomation={getInfomation}></AssistName>
               <div className={`${styles.textareaWrap} ${setFontColorSize(2,1)}`}>
                 <ScrollArea speed={0.8}
                             horizontal={false}

+ 2 - 1
src/components/AddInspect/SlidePic/index.jsx

@@ -141,8 +141,9 @@ class SlideSelect extends Component {
     handlePush && handlePush({mode:8});       //右侧推送
   }
   checkOnOff(item){
-    const {checkOnOff} = this.props
+    const {checkOnOff,handlePush} = this.props
     checkOnOff(item)
+    handlePush && handlePush({mode:8});       //右侧推送
   }
   render() {
     const {item,idx,time} = this.props;

+ 2 - 1
src/components/AddNewInspect/SlidePic/index.jsx

@@ -140,7 +140,8 @@ class SlidePic extends Component {
     handlePush && handlePush({mode:8});       //右侧推送
   }
   checkOnOff(item){
-    const {checkOnOff} = this.props
+    const {checkOnOff,handlePush} = this.props
+    handlePush && handlePush({mode:8});       //右侧推送
     checkOnOff(item)
   }
   render() {