flowform.js 3.96 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2024-01-22 13:52:36
 */
/**
 * @description: 流程环节操作按钮
 * @param {*} tabName
 * @author: renchao
 */
export function getForm (tabName) {
  let form;
  switch (tabName) {
    case "tdsyqslxx":
      form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue");
      break;
    case "jsydsyqslxx100":
      form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
      break;
    case "jsydsyqslxx300":
      form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
      break;
    //国有建设用地使用权/房屋所有权
    case "fwsyqdzslxx":
      form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue");
      break;
    case "fwsyqslxx100":
    case "fwsyqslxx200":
    case "fwsyqslxx400":
      form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
      break;
    case "fwsyqslxx300":
      form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.vue");
      break;
    //林地使用权
    case "lqslxx":
      form = require("@/views/ywbl/slsqxx/lqslxx");
      break;
    //森林林木使用权
    case "sllmslxx":
      form = require("@/views/ywbl/slsqxx/sllmslxx");
      break;
    case "plfdcq2":
      form = require("@/views/ywbl/slsqxx/fdcq2/slxxOverview.vue");
      break;
    case "nydsyqslxx100":
      form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
      break;
    case "nydsyqslxx200":
      form = require("@/views/ywbl/slsqxx/nydsyq/slxx200.vue");
      break;
    case "tdslxxCfdj":
      form = require("@/views/ywbl/slsqxx/cfdj/tdslxx.vue");
      break;
    case "plslxxCfdj":
      form = require("@/views/ywbl/slsqxx/cfdj/plcfslxx.vue");
      break;
    case "diyaqSlxx":
      form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
      break;
    case "clxx":
      form = require("@/views/workflow/components/clxx/clxxUnify.vue");
      break;
    case "spyj":
      form = require("@/views/workflow/components/spyj.vue");
      break;
    case "swxx":
      form = require("@/views/workflow/components/swxx.vue");
      break;
    case "sfxx":
      form = require("@/views/workflow/components/sfxx.vue");
      break;
    case "sdqxx":
      form = require("@/views/workflow/components/sdqxx.vue");
      break;
    case "zdjbxx":
      form = require("@/views/registerBook/zdjbxx.vue");
      break;
    case "ygmm100":
      form = require("@/views/ywbl/slsqxx/ygdj/slxx.vue");
      break;
    case "ygmm300":
      form = require("@/views/ywbl/slsqxx/ygdj/slxx300.vue");
      break;
    case "ygdy100":
    case "ygdy300":
      form = require("@/views/ywbl/slsqxx/ygdy/slxx.vue");
      break;
    case "zjgcdyqSlxx":
      form = require("@/views/ywbl/slsqxx/zjgcdy/slxx.vue");
      break;
    case "batchZjgcdyq":
      form = require("@/views/ywbl/slsqxx/zjgcdy/batchSlxx.vue");
      break;
    case "cfdjxx":
      form = require("@/views/registerBook/cfdj.vue");
      break;
    case "tdsyqQlxx":
      form = require("@/views/registerBook/tdsyq.vue");
      break;
    case "jsydsyqQlxx":
      form = require("@/views/registerBook/jsydsyq.vue");
      break;
    case "nydsyqQlxx":
      form = require("@/views/registerBook/nydsyq.vue");
      break;
    case "fdcq1Qlxx":
      form = require("@/views/registerBook/fdcq1.vue");
      break;
    case "fdcq2Qlxx":
      form = require("@/views/registerBook/fdcq2.vue");
      break;
    case "lqQlxx":
      form = require("@/views/registerBook/ldsyq.vue");
      break;
    case "diyaqQlxx":
      form = require("@/views/registerBook/diyaq.vue");
      break;
    case "ygdjQlxx":
      form = require("@/views/registerBook/ygdj.vue");
      break;
    case "szxx":
      form = require("@/views/workflow/components/szxx.vue");
      break;
    case "fzxx":
      form = require("@/views/workflow/components/fzxx.vue");
      break;
    case "zdjbxxImg":
      form = require("@/views/workflow/components/zdt.vue");
      break;
    // default:
    //   form = require("@/views/error-page/404.vue");
    //   break;
  }
  return (r) => require.ensure([], () => r(form));
}