flowform.js 9.1 KB
/*
 * @Description:
 * @Autor: renchao
 * @LastEditTime: 2024-01-23 14:07:58
 */
/**
 * @description: 流程表单操作
 * @param {*} tabName
 * @author: renchao
 */
// export function getForm(tabName) {
//   let form;
//   if (tabName == 0) return
//   switch (tabName) {
//     //土地所有权
//     case "tdsyqslxx":
//       form = require("@/views/ywbl/slsqxx/tdsyq/slxx.vue");
//       break;
//     //建设用地、宅基地
//     case "jsydsyqslxx100":
//     case "jsydsyqslxx300":
//       form = require("@/views/ywbl/slsqxx/jsydsyq/slxx.vue");
//       break;
//     //土地承包经营权
//     case "tdcbjyqslxx100":
//       form = require("@/views/ywbl/slsqxx/tdcbjyq/slxx.vue");
//       break;
//     //房屋多幢
//     case "fwsyqdzslxx":
//       form = require("@/views/ywbl/slsqxx/fdcq1/slxx.vue");
//       break;
//     //房屋独幢
//     case "fwsyqslxx100":
//     case "fwsyqslxx200":
//     case "fwsyqslxx400":
//     case "fwsyqslxx300":
//       form = require("@/views/ywbl/slsqxx/fdcq2/slxx.vue");
//       break;
//     //房屋独幢(批量)
//     case "plfdcq2":
//       form = require("@/views/ywbl/slsqxx/fdcq2/batchSlxx.vue");
//       break;
//     //林地使用权
//     case "lqslxx":
//       form = require("@/views/ywbl/slsqxx/lqslxx");
//       break;
//     //森林林木使用权
//     case "sllmslxx":
//       form = require("@/views/ywbl/slsqxx/sllmslxx");
//       break;
//     //农用地使用权
//     case "nydsyqslxx100":
//     case "nydsyqslxx200":
//       form = require("@/views/ywbl/slsqxx/nydsyq/slxx.vue");
//       break;
//     //查封登记
//     case "tdslxxCfdj":
//       form = require("@/views/ywbl/slsqxx/cfdj/slxx.vue");
//       break;
//     //查封登记(批量)
//     case "plslxxCfdj":
//       form = require("@/views/ywbl/slsqxx/cfdj/batchSlxx.vue");
//       break;
//     //抵押权
//     case "diyaqSlxx":
//       form = require("@/views/ywbl/slsqxx/diyaq/slxx.vue");
//       break;
//     //抵押权(批量)
//     case "batchDiyaq":
//       form = require("@/views/ywbl/slsqxx/diyaq/batchSlxx.vue");
//       break;
//     //预告买卖登记
//     case "ygmm100":
//     case "ygmm300":
//       form = require("@/views/ywbl/slsqxx/ygdj/slxx.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 "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 "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;
//     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;
//     default://默认地址404空页面
//       form = require("@/views/error-page/404.vue");
//       break;
//   }
//   return (r) => require.ensure([], () => r(form));
// }

export function getForm(tabName) {
  let form;
  if (tabName == 0) return
  switch (tabName) {
    //土地所有权
    case "tdsyqslxx":
      form = require("@/views/workflow/main/slsqxx/tdsyq/slxx.vue");
      break;
    //建设用地、宅基地
    case "jsydsyqslxx100":
    case "jsydsyqslxx300":
      form = require("@/views/workflow/main/slsqxx/jsydsyq/slxx.vue");
      break;
    //土地承包经营权
    case "tdcbjyqslxx100":
      form = require("@/views/workflow/main/slsqxx/tdcbjyq/slxx.vue");
      break;
    //房屋多幢
    case "fwsyqdzslxx":
      form = require("@/views/workflow/main/slsqxx/fdcq1/slxx.vue");
      break;
    //房屋独幢
    case "fwsyqslxx100":
    case "fwsyqslxx200":
    case "fwsyqslxx400":
    case "fwsyqslxx300":
      form = require("@/views/workflow/main/slsqxx/fdcq2/slxx.vue");
      break;
    //房屋独幢(批量)
    case "plfdcq2":
      form = require("@/views/workflow/main/slsqxx/fdcq2/batchSlxx.vue");
      break;
    //林地使用权
    case "lqslxx":
      form = require("@/views/workflow/main/slsqxx/lqslxx");
      break;
    //森林林木使用权
    case "sllmslxx":
      form = require("@/views/workflow/main/slsqxx/sllmslxx");
      break;
    //农用地使用权
    case "nydsyqslxx100":
    case "nydsyqslxx200":
      form = require("@/views/workflow/main/slsqxx/nydsyq/slxx.vue");
      break;
    //查封登记
    case "tdslxxCfdj":
      form = require("@/views/workflow/main/slsqxx/cfdj/slxx.vue");
      break;
    //查封登记(批量)
    case "plslxxCfdj":
      form = require("@/views/workflow/main/slsqxx/cfdj/batchSlxx.vue");
      break;
    //抵押权
    case "diyaqSlxx":
      form = require("@/views/workflow/main/slsqxx/diyaq/slxx.vue");
      break;
    //抵押权(批量)
    case "batchDiyaq":
      form = require("@/views/workflow/main/slsqxx/diyaq/batchSlxx.vue");
      break;
    //预告买卖登记
    case "ygmm100":
    case "ygmm300":
      form = require("@/views/workflow/main/slsqxx/ygdj/slxx.vue");
      break;
    //预告抵押登记
    case "ygdy100":
    case "ygdy300":
      form = require("@/views/workflow/main/slsqxx/ygdy/slxx.vue");
      break;
    //在建工程抵押权
    case "zjgcdyqSlxx":
      form = require("@/views/workflow/main/slsqxx/zjgcdy/slxx.vue");
      break;
    //在建工程抵押权(批量)
    case "batchZjgcdyq":
      form = require("@/views/workflow/main/slsqxx/zjgcdy/batchSlxx.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 "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;
    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;
    default://默认地址404空页面
      form = require("@/views/error-page/404.vue");
      break;
  }
  return (r) => require.ensure([], () => r(form));
}