| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 | 'use strict';/** * 支付审批 * * @author ELlisran * @date 2019/10/20 * @version */// 调差类型const audit_admin_permission = {    admin: 1,    view_all: 1,};const audit_permission = {    admin: 0,    view_all: 0,};const permission_list = [    { text: '模块管理员', type: 'admin', value: 0 },    { text: '查看所有标段', type: 'view_all', value: 0 },];const permission_type_array = ['admin', 'view_all'];const permission_value_array = [0, 1];// 跟随着标段同时生成的固定报表表单const const_rpt_list = [    {        rpt_id: -1,        rpt_name: '安全生产费',    },];const setting_modes = {    safe: {        name: '安全生产费',        checked: false,        value: 1,    },    form: {        name: '表单审批',        checked: true,        value: 0,    },};const modes_value = ['form', 'safe'];const modes_value_object = {    form: 0,    safe: 1,};const rpt_dataType = {    intact_type_text: 'text',    intact_type_number: 'number',    intact_type_date: 'date',    intact_type_multitext: 'textarea',};// const rpt_band_name = ['TitleBand', 'HeaderBand', 'FooterBand'];const rpt_band_name = {    TitleBand: '标题',    HeaderBand: '表头',    content: '表单',    FooterBand: '表尾',};const signature_msg = {    sign_path: null,    company_stamp: null,    stamp_path: null,    date: null,    content: null,};const defaultSafeBills = [    { b_code: '', name: '安全生产费用清单', tree_id: 1, tree_pid: -1, tree_level: 1, tree_order: 1, tree_full_path: '1', tree_is_leaf: 0 },    { b_code: '', name: '请输入费用名称', tree_id: 2, tree_pid: 1, tree_level: 2, tree_order: 1, tree_full_path: '1-2', tree_is_leaf: 1 },];module.exports = {    audit_admin_permission,    audit_permission,    permission_list,    permission_type_array,    permission_value_array,    const_rpt_list,    rpt_dataType,    rpt_band_name,    signature_msg,    setting_modes,    modes_value,    modes_value_object,    defaultSafeBills,};
 |