Luolei преди 6 години
родител
ревизия
5a0ce421cd
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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>
   }