tender.js 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. 'use strict';
  2. /**
  3. * 标段相关常量
  4. *
  5. * @author CaiAoLin
  6. * @date 2018/2/5
  7. * @version
  8. */
  9. // 标段状态
  10. const status = {
  11. APPROVAL: 1,
  12. };
  13. const statusString = [];
  14. statusString[status.APPROVAL] = '审批中';
  15. // 标段类型
  16. const type = {
  17. TJ: 1,
  18. XX: 2,
  19. YY: 3
  20. };
  21. const infoTableCol = [
  22. { title: '名称', field: 'name', folderCell: true, },
  23. { title: '计量期数', field: '', },
  24. { title: '审批状态', field: '', },
  25. { title: '0号台帐合同', field: '', },
  26. { title: '本期完成', field: '', },
  27. { title: '截止本期合同', field: '', },
  28. { title: '截止本期变更', field: '', },
  29. { title: '截止本期完成', field: '', },
  30. { title: '截止上期完成', field: '', },
  31. { title: '本期应付', field: '', },
  32. ];
  33. const progressTableCol = [
  34. { title: '名称', field: 'name', folderCell: true, },
  35. { title: '完成期数', field: '', },
  36. { title: '累计合同计量', field: '', },
  37. { title: '截止本期累计完成/本期完成/未完成', field: '', },
  38. ];
  39. const manageTableCol = [
  40. { title: '名称', field: 'name', folderCell: true, },
  41. { title: '完成期数', field: '', },
  42. { title: '管理', field: '', },
  43. ];
  44. const measureType = {
  45. tz: {
  46. value: 1, name: '0号台账模式', title: ' 0号台帐', hint: ' 要求以台帐为计量根本,必须先有完整台帐才能持续计量。',
  47. },
  48. gcl: {
  49. value: 2, name: '工程量清单模式', title: ' 工程量清单', hint: ' 仅需要工程量清单,详细台帐在计量过程中逐步添加,最终组成完整台帐。',
  50. },
  51. };
  52. const imType = {
  53. zl: { value: 0, name: '总量控制' },
  54. tz: { value: 1, name: '0号台账' },
  55. };
  56. const typeString = [];
  57. typeString[type.TJ] = '土建标';
  58. typeString[type.XX] = 'XX标';
  59. typeString[type.YY] = 'YY标';
  60. module.exports = {
  61. status,
  62. statusString,
  63. type,
  64. typeString,
  65. infoTableCol,
  66. progressTableCol,
  67. manageTableCol,
  68. measureType,
  69. imType,
  70. };