import { Component } from "react";

import './node.less'


export default class StandardCommon extends Component {

    render() {
        const {empName,job,label,onDuty,prepared} = this.props.data;
        return (
               <div className="common-content">
                   <div className="info">
                    <img src={require('../../images/img_1.png')} />
                    <div><span>{empName}</span><div>{label}/{job}</div></div>
                  </div>
                  <div className="detail">
                      <span>编制： {prepared}</span>
                      <span>在岗： {onDuty}</span>
                  </div>

               </div>
        )
    }
    
}

