Explorar el Código

打印加回去

Luolei hace 6 años
padre
commit
5a0ce421cd
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/components/PreviewBody/index.jsx

+ 3 - 0
src/components/PreviewBody/index.jsx

@@ -117,6 +117,9 @@ class PreviewBody extends Component {
           </tr>
         </table>
         <p className={style.docName}>医生签名:<span>{baseObj ? baseObj.doctorName : (noData ? '' : preInfo.doctorName)}</span></p>
+        <div onClick={() => { this.surePrint(dataStr) }} className={style.printBtn} style={{
+          display: show ? 'inline-block' : 'none',
+        }}>打印</div>
       </div>
     </div>
   }