standard.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. 'use strict';
  2. /**
  3. *
  4. *
  5. * @author Mai
  6. * @date
  7. * @version
  8. */
  9. const nodeType = [
  10. {text: '', value: 0},
  11. {text: '建安费', value: 1},
  12. {text: '设备及工(器)具费', value: 2},
  13. {text: '工程建设其他费', value: 3},
  14. {text: '土地拆迁补偿', value: 4},
  15. {text: '预备费', value: 5},
  16. {text: '暂列金额', value: 6},
  17. {text: '尾工工程', value: 18},
  18. {text: '计日工', value: 7},
  19. {text: '材料调差', value: 15},
  20. {text: '价差调整', value: 8},
  21. {text: '索赔', value: 9},
  22. {text: '零星工程', value: 16},
  23. {text: '报废工程', value: 17},
  24. {text: '新增费用', value: 10},
  25. {text: '其他费用', value: 11},
  26. {text: '回收金额', value: 12},
  27. {text: '建设期贷款利息', value: 13},
  28. {text: '其他建安工程', value: 14},
  29. ];
  30. const jrg = nodeType.find(x => {
  31. return x.text === '计日工';
  32. });
  33. const zlj = nodeType.find(x => {
  34. return x.text === '暂列金额';
  35. });
  36. const jafTypeName = ['', '计日工', '材料调差', '价差调整', '索赔', '零星工程', '保费工程'];
  37. const jafType = nodeType.filter(x => {
  38. return jafTypeName.indexOf(x.text) >= 0;
  39. });
  40. const zljTypeName = ['', '暂列金额', '尾工工程'];
  41. const zljType = nodeType.filter(x => {
  42. return zljTypeName.indexOf(x.text) >= 0;
  43. });
  44. module.exports = {
  45. nodeType,
  46. jafType,
  47. zljType,
  48. jrg,
  49. zlj,
  50. };