flowform.js 2.2 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-05-29 14:39:11
 */
//流程环节操作按钮
export function getForm(tabName) {
  let form;
  switch (tabName) {
    case "zdjbxx":
      form = require("@/views/registerBook/zdjbxx.vue");
      break;
    case "cfdj":
      form = require("@/views/registerBook/cfdj.vue");
      break;
    case "jsydsyq":
      form = require("@/views/registerBook/jsydsyq.vue");
      break;
    case "nydsyq":
      form = require("@/views/registerBook/nydsyq.vue");
      break;
    case "fdcq2":
      form = require("@/views/registerBook/fdcq2.vue");
      break;
    case "diyaq":
      form = require("@/views/registerBook/diyaq.vue");
      break;
    case "ygdj":
      form = require("@/views/registerBook/ygdj.vue");
      break;
    // 地役权
    case "diyiq":
      form = require("@/views/registerBook/diyiq.vue");
      break;
    // 登记簿封面
    case "djbfm":
      form = require("@/views/registerBook/djbfm.vue");
      break;
    // 异议登记
    case "yydj":
      form = require("@/views/registerBook/yydj.vue");
      break;
    case "slxxjsydsyq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue");
      break;
    case "slxxfdcq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fdcq.vue");
      break;
    case "slxxdyaq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyaq.vue");
      break;
    case "slxxygdj":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/ygdj.vue");
      break;
    case "slxxyydj":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/yydj.vue");
      break;
    case "slxxdyiq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/dyiq.vue");
      break;
    case "slxxcfdj":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/cfdj.vue");
      break;
    case "clxx":
      form = require("@/views/workflow/components/clxx/clxxUnify.vue");
      break;
    case "spyj":
      form = require("@/views/djbworkflow/djbBook/spyj.vue");
      break;
    default:
      form = require("@/views/error-page/404.vue");
      break;
  }
  return (r) => require.ensure([], () => r(form));
}