taskMixins.js 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. export default {
  2. data() {
  3. return {
  4. workflowList: [],
  5. // 所有表单数据聚合
  6. formData: {
  7. // 监审立项信息表单
  8. basicInfo: {
  9. projectName: '',
  10. relatedCatalog: '',
  11. province: '',
  12. city: '',
  13. district: '',
  14. auditedUnit: '',
  15. auditBody: '',
  16. planYear: '',
  17. initiationType: '',
  18. auditForm: '',
  19. costYears: [{ value: '2022' }, { value: '2023' }, { value: '2024' }],
  20. needAudit: false,
  21. needEvaluation: false,
  22. initiationReason: '',
  23. // 修改为与图片一致的立项依据文件列表
  24. initiationBasisFiles: [
  25. { name: '太原市电力公司关于电网输配电价格调整申请表.pdf' },
  26. { name: '******依据文件.pdf' },
  27. ],
  28. // 修改为与图片一致的其他材料文件列表
  29. otherFiles: [{ name: '立项审批表.pdf' }],
  30. auditLeader: '',
  31. auditTeamMembers: '',
  32. otherRequirements: '',
  33. },
  34. // 监审工作方案表单
  35. workPlan: {
  36. basicInfo: '',
  37. stepsMethods: '',
  38. otherContent: '',
  39. },
  40. // 材料表单(弹窗用)
  41. material: {
  42. category: '综合性材料',
  43. name: '',
  44. requirements: '',
  45. format: '文档文件',
  46. sort: '',
  47. required: '否',
  48. },
  49. // 当前流程环节(弹窗用)
  50. currentStep: {
  51. manager: '',
  52. deadline: '',
  53. },
  54. // 监审工作流程表单
  55. workflow: {
  56. startDate: '2025-01-20',
  57. endDate: '2025-03-30',
  58. },
  59. // 文档表单(弹窗用)
  60. document: {
  61. template: 'costAuditNotice',
  62. documentNumber: '晋成审(2025)11号',
  63. auditedUnit: 'A公司',
  64. auditProject: '',
  65. auditMatters: '',
  66. auditPeriod: '',
  67. auditTeam: '',
  68. teamLeader: '',
  69. noticeDate: '',
  70. },
  71. },
  72. // 数据列表聚合
  73. materialData: {
  74. list: [
  75. {
  76. id: 1,
  77. index: 1,
  78. category: '综合性材料',
  79. name: '企业基本情况介绍',
  80. requirements: '包括企业名称、企业地址、企业员工数量、……',
  81. format: '文档文件',
  82. sort: 1,
  83. },
  84. {
  85. id: 2,
  86. index: 2,
  87. category: '综合性材料',
  88. name: '组织结构图',
  89. requirements: '……',
  90. format: '文档文件',
  91. sort: 2,
  92. },
  93. {
  94. id: 3,
  95. index: 3,
  96. category: '综合性材料',
  97. name: '营业执照',
  98. requirements: '……',
  99. format: '文档文件',
  100. sort: 3,
  101. },
  102. {
  103. id: 4,
  104. index: 4,
  105. category: '财务会计资料',
  106. name: '财务会计报表',
  107. requirements: '……',
  108. format: 'excel文件',
  109. sort: 4,
  110. },
  111. {
  112. id: 5,
  113. index: 5,
  114. category: '财务会计资料',
  115. name: '资产卡片',
  116. requirements: '……',
  117. format: '预置模板',
  118. sort: 5,
  119. },
  120. ],
  121. },
  122. surveyData: {
  123. list: [
  124. {
  125. id: 1,
  126. index: 1,
  127. name: '封面',
  128. type: '模板定制',
  129. required: '是',
  130. },
  131. {
  132. id: 2,
  133. index: 2,
  134. name: '企业基本情况调查表',
  135. type: '模板定制',
  136. required: '是',
  137. },
  138. {
  139. id: 3,
  140. index: 3,
  141. name: '企业成本费用调查表',
  142. type: '模板定制',
  143. required: '是',
  144. },
  145. {
  146. id: 4,
  147. index: 4,
  148. name: '企业期间费用调查表',
  149. type: '模板定制',
  150. required: '是',
  151. },
  152. {
  153. id: 5,
  154. index: 5,
  155. name: '企业职工薪酬调查表',
  156. type: '模板定制',
  157. required: '是',
  158. },
  159. ],
  160. },
  161. }
  162. },
  163. }