flowform.js 2.89 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2024-01-22 14:59:51
 */
//流程环节操作按钮
export function getForm (tabName) {
  let form;
  if (tabName == 0) return
  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 "tdsyq":
      form = require("@/views/registerBook/tdsyq.vue");
      break;
    case "nydsyq":
      form = require("@/views/registerBook/nydsyq.vue");
      break;
    case "fdcq1":
      form = require("@/views/registerBook/fdcq1.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 "slxxlq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/lq.vue");
      break;
    //森林林木使用权
    case "sllmslxx":
      form = require("@/views/workflow/main/slsqxx/sllmslxx");
      break;
    case "slxxjsydsyq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/jsydsyq.vue");
      break;
    case "slxxtdsyq":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/tdsyq.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 "slxxygdydj":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/ygdydj.vue");
      break;
    case "slxxygmmdj":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/ygmmdj.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/djbworkflow/components/clxx/index.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));
}