flowform.js 5.25 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2023-05-29 14:39:11
 */
//流程环节操作按钮
export function getForm (tabName, djywbm) {
  let form;
  switch (tabName) {
    // case "jsydsyqslxx100":
    //     form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
    //     break;
    // case "jsydsyqslxx300":
    //     form = require("@/views/ywbl/slsqxx/jsydsyq/slxx300.vue");
    //     break;
    // case "fwsyqslxx100":
    //     form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
    //     break;
    // case "fwsyqslxx300":
    //     form = require("@/views/ywbl/slsqxx/fdcq2/slxx300.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 "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 "szxx":
    //     form = require("@/views/djbworkflow/components/szxx.vue");
    //     break;
    // case "fzxx":
    //     form = require("@/views/djbworkflow/components/fzxx.vue");
    //     break;
    // case "zdt":
    //     form = require("@/views/djbworkflow/components/zdt.vue");
    // break;
    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 "zdjbxx":
    //       form = require("@/views/djbworkflow/djbBook/zdjbxx.vue");
    //       break;
    //  // 查封登记
    //   case "cfdj":
    //       form = require("@/views/djbworkflow/djbBook/cfdj.vue");
    //       break;
    // // 国有建设用地使用权
    //   case "jsydsyq":
    //       form = require("@/views/djbworkflow/djbBook/jsydsyq.vue");
    //       break;
    //       // 农用地使用权
    //   case "nydsyq":
    //       form = require("@/views/djbworkflow/djbBook/nydsyq.vue");
    //       break;
    //       // 房屋产权2
    //   case "fdcq2":
    //       form = require("@/views/djbworkflow/djbBook/fdcq2.vue");
    //       break;
    //       // 抵押权
    //   case "diyaq":
    //       form = require("@/views/djbworkflow/djbBook/diyaq.vue");
    //       break;
    //       // 预告登记
    //   case "ygdj":
    //       form = require("@/views/djbworkflow/djbBook/ygdj.vue");
    //       break;
    //       // 地役权
    //   case "diyiq":
    //       form = require("@/views/djbworkflow/djbBook/diyiq.vue");
    //       break;
    //       // 登记簿封面
    //   case "djbfm":
    //       form = require("@/views/djbworkflow/djbBook/djbfm.vue");
    //       break;
    //       // 异议登记
    //   case "yydj":
    //         form = require("@/views/djbworkflow/djbBook/yydj.vue");
    //         break;
    // 受理信息
    case "slxx":
      form = require("@/views/djbworkflow/djbBook/components/blxxtabs/fwsyq/slxx.vue");
      break;
    // case "clxx":
    //       form = require("@/views/djbworkflow/djbBook/components/clxx.vue");
    //       break;
    // case "spyj":
    //       form = require("@/views/djbworkflow/djbBook/components/spyj.vue");
    //       break;
    // case "slxx":
    //     form = require("@/views/djbworkflow/djbBook/slxx.vue");
    //     break;
    case "clxx":
      form = require("@/views/djbworkflow/djbBook/clxx.vue");
      break;
    case "spyj":
      form = require("@/views/djbworkflow/djbBook/spyj.vue");
      break;

    // case "clxx":
    //         form = require("@/views/djbworkflow/components/clxxUnify.vue");
    //         break;
    // case "spyj":
    //         form = require("@/views/djbworkflow/components/spyj.vue");
    //         break;
    default:
      form = require("@/views/error-page/404.vue");
      break;
  }
  return (r) => require.ensure([], () => r(form));
}