index.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. import flowService from '@/webflow/flow-service'
  2. import routerService from '@/common/services/router-service'
  3. import '../core/css/iam-audit-custom.scss'
  4. import asyncComponent from '@/common/services/async-component'
  5. // 内控列表
  6. routerService.routeInFrame('mtx-process-list', {
  7. component: './mtxprocess/mtx-process-list.vue',
  8. })
  9. // 内控-内控措施
  10. routerService.routeInFrame('mtx-measure-form', {
  11. component: './mtxprocess/mtx-measure-form.vue',
  12. })
  13. // 内控树分类
  14. routerService.routeInFrame('mtx-process-catalog', {
  15. component: './mtxprocess/mtx-process-catalog.vue',
  16. })
  17. // 内控矩阵版本列表
  18. routerService.routeInFrame('mtx-version-list', {
  19. component: './mtxversion/mtx-version-list.vue',
  20. })
  21. // 配置在合规的导航-begin
  22. // 内控列表
  23. routerService.routeInFrame('mtx-process-list/cpm', {
  24. component: './mtxprocess/mtx-process-list.vue',
  25. })
  26. // 内控矩阵版本列表
  27. routerService.routeInFrame('mtx-version-list/cpm', {
  28. component: './mtxversion/mtx-version-list.vue',
  29. })
  30. // -end
  31. // 评价列表
  32. routerService.routeInFrame('mtx-evaluation-list', {
  33. component: './evaluation/ic-evaluation-list.vue',
  34. })
  35. // 评价表单
  36. flowService.addFlowForm(
  37. 'vue:ic/evaluation/plan/icEvaluationPlan',
  38. './evaluation/ic-evaluation-plan-form.vue'
  39. )
  40. // 控制措施表单
  41. flowService.addFlowForm(
  42. 'vue:ic/evaluation/control/icEvaluationControl',
  43. './evaluation/control/ic-evaluation-work-control-form.vue'
  44. )
  45. // 穿行措施表单
  46. flowService.addFlowForm(
  47. 'vue:ic/evaluation/cross/icEvaluationCross',
  48. './evaluation/cross/ic-evaluation-work-cross-form.vue'
  49. )
  50. // 内控评价报告流程
  51. flowService.addFlowForm(
  52. 'vue:ic/evaluation/report/icEvaluationReport',
  53. './evaluation/work/report/iam-ic-evaluation-report-form.vue'
  54. )
  55. // 缺陷确认
  56. flowService.addFlowForm(
  57. 'vue:ic/evaluation/confirm/icEvaluationConfirm',
  58. './evaluation/confirm/ic-evaluation-work-confirm-form.vue'
  59. )
  60. // 内控评价概况钻取列表
  61. routerService.route('/iam-ic-overview-list', {
  62. component: './evaluation/work/evaluationOverview/iam-ic-evaluation-overview-list.vue',
  63. })
  64. // 整改要求流程
  65. flowService.addFlowForm(
  66. 'vue:ic/defect/require/icRectRequire',
  67. './defect/rectifyRequire/iam-ic-rectify-require-form.vue'
  68. )
  69. // 整改要求列表
  70. routerService.routeInFrame('iam-ic-rectify-require-list', {
  71. component: './defect/rectifyRequire/iam-ic-rectify-require-list.vue',
  72. })
  73. // 整改反馈流程
  74. flowService.addFlowForm(
  75. 'vue:ic/defect/feedback/icRectFeedback',
  76. './defect/rectifyFeedback/iam-ic-rectify-feedback-form.vue'
  77. )
  78. // 整改反馈列表
  79. routerService.routeInFrame('iam-ic-rectify-feedback-list', {
  80. component: './defect/rectifyFeedback/iam-ic-rectify-feedback-list.vue',
  81. })
  82. // 内控-测试
  83. routerService.route('/ic-work/', {
  84. component: './evaluation/work/iam-ic-work.vue',
  85. children: [
  86. {
  87. path: 'iam-ic-control-list',
  88. components: {
  89. rightfrm: asyncComponent(() => import('./evaluation/work/iam-work-control-list.vue')),
  90. },
  91. },
  92. {
  93. path: 'iam-ic-cross-list',
  94. components: {
  95. rightfrm: asyncComponent(() => import('./evaluation/work/iam-work-cross-list.vue')),
  96. },
  97. },
  98. {
  99. path: 'iam-ic-listcon-list',
  100. components: {
  101. rightfrm: asyncComponent(() => import('./evaluation/work/iam-work-confirm-list.vue')),
  102. },
  103. },
  104. {
  105. path: 'iam-ic-confirm',
  106. components: {
  107. rightfrm: asyncComponent(() => import('./evaluation/work/iam-work-confirm.vue')),
  108. },
  109. },
  110. // 内控评价报告
  111. {
  112. path: 'iam-ic-evaluation-report-list',
  113. components: {
  114. rightfrm: asyncComponent(() =>
  115. import('./evaluation/work/report/iam-ic-evaluation-report-list.vue')
  116. ),
  117. },
  118. },
  119. // 评价人员
  120. {
  121. path: 'ic-planuser-list',
  122. component: asyncComponent(() => import('./evaluation/work/ic-planuser-list.vue')),
  123. },
  124. // 评价概况
  125. {
  126. path: 'iam-ic-evaluation-overview',
  127. component: asyncComponent(() =>
  128. import('./evaluation/work/evaluationOverview/iam-ic-evaluation-overview.vue')
  129. ),
  130. },
  131. ],
  132. })
  133. // 内控工作报告列表
  134. routerService.routeInFrame('ic-work-report-list', {
  135. component: './work-report/ic-work-report-list.vue',
  136. })
  137. // 内控工作报告审批单
  138. flowService.addFlowForm('vue:ic/workreport/icWorkReport', './work-report/ic-work-report-form.vue')
  139. // 缺陷清单列表
  140. routerService.routeInFrame('ic-defect-statement-list', {
  141. component: './defect/statement/ic-defect-statement-list.vue',
  142. })
  143. // 缺陷清单表单
  144. routerService.routeInFrame('ic-defect-statement-form', {
  145. component: './defect/statement/ic-defect-statement-form.vue',
  146. })
  147. // 整改提醒
  148. routerService.routeInFrame('ic-remind-config', {
  149. component: './defect/remindConfig/ic-remind-config.vue',
  150. })