Commit 57efe942 by end

修改密码

parent f85896b9
No preview for this file type
......@@ -84,9 +84,6 @@ class EditPassword extends Component {
salt:salt,
sign: md5(sign)
}
// let passwordVal = { id, password };
accountUpdatePassword(parms);
//关闭模态框
......
......@@ -332,7 +332,6 @@ class UserTable extends Component {
currentPageSize={this.state.currentPageSize || 10}
getAccountList={this.props.getAccountList}
updateUser={this.props.updateUser}
handleSearch={this.props.handleSearch}
/>
) : null}
{this.state.editPassword ? (
......
......@@ -168,8 +168,11 @@ class ExamCheck extends Component {
}
componentDidMount() {
const { getExamList } = this.props;
getExamList();
let params = {
pageNo: 1,
pageSize: 20,
};
this.props.getExamList(params);
}
getExamKeyword(event) {
......
......@@ -26,9 +26,9 @@ let downText = createAction(Types.DOWNTXT);
export { examList, fetching, paperList, paperFetching, pd, downText };
export function getExamList(data) {
export function getExamList(params) {
let url = api.getExamList;
let params = getExamListUrl(url, data);
// let params = getExamListUrl(url, data);
return dispatch => {
dispatch({ type: Types.FETCHING });
return request({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment