100 lines
2.2 KiB
JavaScript
100 lines
2.2 KiB
JavaScript
import { WeaLocaleProvider } from "ecCom";
|
|
|
|
const { getLabel } = WeaLocaleProvider;
|
|
export const condition = [
|
|
{
|
|
items: [
|
|
{
|
|
colSpan: 1,
|
|
checkbox: false,
|
|
checkboxValue: false,
|
|
conditionType: "SELECT",
|
|
domkey: ["dimType"],
|
|
fieldcol: 14,
|
|
label: getLabel(389137, "维度类型"),
|
|
labelcol: 6,
|
|
options: [],
|
|
detailtype: 3,
|
|
rules: "required|string",
|
|
viewAttr: 3
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "SELECT",
|
|
domkey: ["setting4Qualitative"],
|
|
fieldcol: 14,
|
|
label: getLabel(506800, "统计维度"),
|
|
labelcol: 6,
|
|
options: [],
|
|
rules: "required|string",
|
|
viewAttr: 3
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "INPUT",
|
|
domkey: ["dimName"],
|
|
fieldcol: 14,
|
|
label: getLabel(543321, "统计维度名称"),
|
|
labelcol: 6,
|
|
value: "",
|
|
rules: "required|string",
|
|
viewAttr: 3
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "SELECT",
|
|
domkey: ["dimCode"],
|
|
fieldcol: 14,
|
|
label: getLabel(543322, "分组所属字段"),
|
|
labelcol: 6,
|
|
options: [],
|
|
viewAttr: 2,
|
|
helpfulTip: "",
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "TEXTAREA",
|
|
domkey: ["remark"],
|
|
fieldcol: 14,
|
|
label: getLabel(433, "描述"),
|
|
labelcol: 6,
|
|
value: "",
|
|
viewAttr: 2
|
|
}
|
|
],
|
|
title: getLabel(82751, "基础设置"),
|
|
defaultshow: true
|
|
}
|
|
];
|
|
export const reportCondition = [
|
|
{
|
|
items: [
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "INPUT",
|
|
domkey: ["reportName"],
|
|
fieldcol: 14,
|
|
label: getLabel(15517, "报表名称"),
|
|
labelcol: 6,
|
|
value: "",
|
|
rules: "required|string",
|
|
viewAttr: 3
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "SELECT",
|
|
domkey: ["dimensionIds"],
|
|
fieldcol: 14,
|
|
label: getLabel(506800, "统计维度"),
|
|
labelcol: 6,
|
|
options: [],
|
|
rules: "required|string",
|
|
viewAttr: 3,
|
|
helpfulTip: "",
|
|
}
|
|
],
|
|
title: "",
|
|
defaultshow: true
|
|
}
|
|
];
|