'use strict'; /** * 项目的通用 相关常量 * * @author Mai * @date 2018/9/25 * @version */ // 重新发送通知设置 const notice_setting = { fixed: 72, // 固定间隔 activity: { // 活动间隔 first: 72, second: 48, later: 24, }, mode: 'fixed', // 默认模式 shield_times: { // 屏蔽时间段 start: null, end: null, }, }; const colSet = { info: [ { field: 'name', name: '标段名称', fixed: ['show', 'alias'] }, { field: 'measure_type', name: '计量模式', fixed: ['show', 'alias'] }, { field: 'calc_flow', name: '计量进度', fixed: ['show', 'alias'] }, { field: 'cur_flow', name: '当前流程', fixed: ['show', 'alias'] }, { field: 'contract_price', name: '签约合同价', fixed: ['show', 'alias'] }, { field: 'total_price', name: '0号台账', fixed: [] }, { field: 'gather_tp', name: '本期完成', fixed: [] }, { field: 'end_contract_tp', name: '截止本期合同', fixed: [] }, { field: 'end_qc_tp', name: '截止本期变更', fixed: [] }, { field: 'end_gather_tp', name: '截止本期完成', fixed: [] }, { field: 'pre_gather_tp', name: '截止上期完成', fixed: [] }, { field: 'advance_tp', name: '预付款', fixed: [] }, { field: 'yf_tp', name: '本期应付', fixed: [] }, { field: 'end_yf_tp', name: '截止本期应付', fixed: [] }, { field: 'sf_tp', name: '本期实付', fixed: [] }, { field: 'end_sf_tp', name: '截止本期实付', fixed: [] }, { field: 'wf_tp', name: '未付金额', fixed: [], hint:'截止本期应付-截止本期实付' }, ] }; const defaultColSet = { info: [ { field: 'name', show: 1, alias: '' }, { field: 'measure_type', show: 1, alias: '' }, { field: 'calc_flow', show: 1, alias: '' }, { field: 'cur_flow', show: 1, alias: '' }, { field: 'contract_price', show: 1, alias: '' }, { field: 'total_price', show: 1, alias: '' }, { field: 'gather_tp', show: 1, alias: '' }, { field: 'end_contract_tp', show: 1, alias: '' }, { field: 'end_qc_tp', show: 1, alias: '' }, { field: 'end_gather_tp', show: 1, alias: '' }, { field: 'pre_gather_tp', show: 1, alias: '' }, { field: 'advance_tp', show: 1, alias: '' }, { field: 'yf_tp', show: 1, alias: '' }, { field: 'end_yf_tp', show: 1, alias: '' }, { field: 'sf_tp', show: 0, alias: '' }, { field: 'end_sf_tp', show: 0, alias: '' }, { field: 'wf_tp', show: 0, alias: '' }, ], }; // 决策大屏06 报表数据统计值设置及保存 const daPing06Set = { sr: null, sr_value: null, cb: null, cb_value: null, cb_show: [], }; module.exports = { noticeSetting: notice_setting, colSet, defaultColSet, daPing06Set, };