Commit 57efe942 by end

修改密码

parent f85896b9
No preview for this file type
...@@ -84,9 +84,6 @@ class EditPassword extends Component { ...@@ -84,9 +84,6 @@ class EditPassword extends Component {
salt:salt, salt:salt,
sign: md5(sign) sign: md5(sign)
} }
// let passwordVal = { id, password }; // let passwordVal = { id, password };
accountUpdatePassword(parms); accountUpdatePassword(parms);
//关闭模态框 //关闭模态框
......
...@@ -332,7 +332,6 @@ class UserTable extends Component { ...@@ -332,7 +332,6 @@ class UserTable extends Component {
currentPageSize={this.state.currentPageSize || 10} currentPageSize={this.state.currentPageSize || 10}
getAccountList={this.props.getAccountList} getAccountList={this.props.getAccountList}
updateUser={this.props.updateUser} updateUser={this.props.updateUser}
handleSearch={this.props.handleSearch}
/> />
) : null} ) : null}
{this.state.editPassword ? ( {this.state.editPassword ? (
......
...@@ -168,8 +168,11 @@ class ExamCheck extends Component { ...@@ -168,8 +168,11 @@ class ExamCheck extends Component {
} }
componentDidMount() { componentDidMount() {
const { getExamList } = this.props; let params = {
getExamList(); pageNo: 1,
pageSize: 20,
};
this.props.getExamList(params);
} }
getExamKeyword(event) { getExamKeyword(event) {
......
...@@ -26,9 +26,9 @@ let downText = createAction(Types.DOWNTXT); ...@@ -26,9 +26,9 @@ let downText = createAction(Types.DOWNTXT);
export { examList, fetching, paperList, paperFetching, pd, downText }; export { examList, fetching, paperList, paperFetching, pd, downText };
export function getExamList(data) { export function getExamList(params) {
let url = api.getExamList; let url = api.getExamList;
let params = getExamListUrl(url, data); // let params = getExamListUrl(url, data);
return dispatch => { return dispatch => {
dispatch({ type: Types.FETCHING }); dispatch({ type: Types.FETCHING });
return request({ 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