'use strict';

/**
 *
 *
 * @author Mai
 * @date
 * @version
 */

const status = {
    uncheck: 1,
    checking: 2,
    checked: 3,
    checkNo: 4,
};

const statusString = [];
statusString[status.uncheck] = '未开始审批';
statusString[status.checking] = '审批中';
statusString[status.checked] = '审批完成';
statusString[status.checkNo] = '退回';

const statusClass = [];
statusClass[status.uncheck] = '';
statusClass[status.checking] = 'text-warning';
statusClass[status.checked] = 'text-success';
statusClass[status.checkNo] = 'text-warning';

module.exports = {
    status,
    statusString,
    statusClass,
};