yanzhen-design-vue
Version:
61 lines (60 loc) • 1.23 kB
JavaScript
import { Enum } from "@yanzhen-libs/utils-biz-object";
var OTHER_TABLES_RELEVANCE = /* @__PURE__ */ ((OTHER_TABLES_RELEVANCE2) => {
OTHER_TABLES_RELEVANCE2["TC"] = "1";
OTHER_TABLES_RELEVANCE2["CX1"] = "2";
OTHER_TABLES_RELEVANCE2["CX2"] = "3";
OTHER_TABLES_RELEVANCE2["KZ"] = "4";
return OTHER_TABLES_RELEVANCE2;
})(OTHER_TABLES_RELEVANCE || {});
var OTHER_TABLE_TYPE = /* @__PURE__ */ ((OTHER_TABLE_TYPE2) => {
OTHER_TABLE_TYPE2["RADIO"] = "radio";
OTHER_TABLE_TYPE2["CHECKBOX"] = "checkbox";
return OTHER_TABLE_TYPE2;
})(OTHER_TABLE_TYPE || {});
const COLUMN_BIZ_TYPE = Enum.COLUMN_BIZ_TYPE_ENUMS();
const {
currency,
//货币
date,
//日期时间
file,
//附件
image,
//图片
integer,
//整数
provinces,
//省市区
percent,
//百分比/比率
realNumber,
//实数
relevance,
// 关联表
richText,
//富文本
switch: _switch,
//开关
tag
//标签
} = COLUMN_BIZ_TYPE;
const OTHER_TABLES_USE_ORIGIN_COMPONENT = [
currency,
date,
file,
image,
integer,
provinces,
percent,
realNumber,
relevance,
richText,
_switch,
tag
];
export {
COLUMN_BIZ_TYPE,
OTHER_TABLES_RELEVANCE,
OTHER_TABLES_USE_ORIGIN_COMPONENT,
OTHER_TABLE_TYPE
};