产品-工资单模板移动端二次密码设置

This commit is contained in:
黎永顺 2023-07-11 11:43:05 +08:00
parent 405e2a9bc6
commit d8fdc8096b
3 changed files with 27 additions and 1 deletions

View File

@ -37,6 +37,9 @@ export const getSecondAuthForm = params => {
export const doSecondAuth = params => {
return WeaTools.callApi("/api/encrypt/secondauthsetting/doSecondAuth", "POST", params);
};
export const checkPassword = params => {
return WeaTools.callApi("/api/hrm/secondarypwd/checkPassword", "POST", params);
};
export const saveSecondaryPwd = params => {
return WeaTools.callApi("/api/hrm/secondarypwd/saveSecondaryPwd", "POST", params);
};

View File

@ -20,7 +20,8 @@ class PassSetDialog extends Component {
super(props);
this.state = {
src: (window.ecologyContentPath || "") + "/weaver/weaver.file.MakeValidateCode?notneedvalidate=1&isView=1&validatetype=0&validatenum=4",
num: 0
num: 0,
isPassLoginPassword: false
};
}

View File

@ -1,6 +1,28 @@
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: 3,
rules: "required|string",
type: "password",
viewAttr: 3
}
],
title: "",
defaultshow: true
}
];
export const condition = [
{
items: [