| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 | 'use strict';/** * 标段相关常量 * * @author CaiAoLin * @date 2018/2/5 * @version */// 标段状态const status = {    APPROVAL: 1,};const statusString = [];statusString[status.APPROVAL] = '审批中';// 标段类型const type = {    TJ: 1,    XX: 2,    YY: 3};const infoTableCol = [    { title: '名称', field: 'name', folderCell: true, },    { title: '计量期数', field: 'stageCount', },    { title: '审批状态', field: '', },    { title: '0号台帐合同', field: '', },    { title: '本期完成', field: '', },    { title: '截止本期合同', field: '', },    { title: '截止本期变更', field: '', },    { title: '截止本期完成', field: '', },    { title: '截止上期完成', field: '', },    { title: '本期应付', field: '', },];const progressTableCol = [    { title: '名称', field: 'name', folderCell: true, },    { title: '完成期数', field: '', },    { title: '累计合同计量', field: '', },    { title: '截止本期累计完成/本期完成/未完成', field: '', },];const manageTableCol = [    { title: '名称', field: 'name', folderCell: true, },    { title: '完成期数', field: 'stage', },    { title: '管理', field: 'manage', },];const measureType = {    tz: {        value: 1, name: '0号台账模式', title: ' 0号台帐', hint: ' 要求以台帐为计量根本,必须先有完整台帐才能持续计量。',    },    gcl: {        value: 2, name: '工程量清单模式', title: ' 工程量清单', hint: ' 仅需要工程量清单,详细台帐在计量过程中逐步添加,最终组成完整台帐。',    },};const imType = {    zl: { value: 0, name: '总量控制' },    tz: { value: 1, name: '0号台账' },    bw: { value: 2, name: '计量单元' },};const typeString = [];typeString[type.TJ] = '土建标';typeString[type.XX] = 'XX标';typeString[type.YY] = 'YY标';module.exports = {    status,    statusString,    type,    typeString,    infoTableCol,    progressTableCol,    manageTableCol,    measureType,    imType,};
 |