77 lines
1.6 KiB
JavaScript
77 lines
1.6 KiB
JavaScript
import { WeaLocaleProvider } from "ecCom";
|
|
|
|
const { getLabel } = WeaLocaleProvider;
|
|
export const loginCondition = [
|
|
{
|
|
items: [
|
|
{
|
|
colSpan: 1,
|
|
checkbox: false,
|
|
checkboxValue: false,
|
|
conditionType: "INPUT",
|
|
domkey: ["password"],
|
|
fieldcol: 18,
|
|
label: getLabel(388431, "登录密码"),
|
|
labelcol: 6,
|
|
detailtype: 1,
|
|
rules: "required|string",
|
|
viewAttr: 3,
|
|
otherParams: {
|
|
type: "password"
|
|
}
|
|
}
|
|
],
|
|
title: "",
|
|
defaultshow: true
|
|
}
|
|
];
|
|
export const condition = [
|
|
{
|
|
items: [
|
|
{
|
|
colSpan: 1,
|
|
checkbox: false,
|
|
checkboxValue: false,
|
|
conditionType: "INPUT",
|
|
domkey: ["secondaryPwd1"],
|
|
fieldcol: 18,
|
|
label: getLabel(409, "密码"),
|
|
labelcol: 6,
|
|
detailtype: 1,
|
|
rules: "required|string",
|
|
viewAttr: 3,
|
|
otherParams: {
|
|
type: "password"
|
|
}
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "INPUT",
|
|
domkey: ["secondaryPwd2"],
|
|
fieldcol: 18,
|
|
label: getLabel(511112, "确认密码"),
|
|
labelcol: 6,
|
|
rules: "required|string",
|
|
viewAttr: 3,
|
|
detailtype: 1,
|
|
otherParams: {
|
|
type: "password"
|
|
}
|
|
},
|
|
{
|
|
colSpan: 1,
|
|
conditionType: "INPUT",
|
|
domkey: ["validatecode"],
|
|
fieldcol: 18,
|
|
label: getLabel(511113, "验证码"),
|
|
labelcol: 6,
|
|
value: "",
|
|
rules: "required|string",
|
|
viewAttr: 3
|
|
}
|
|
],
|
|
title: "",
|
|
defaultshow: true
|
|
}
|
|
];
|