福利台账-正常缴纳需要刷新页面才能显示数据列表

This commit is contained in:
18652063575 2022-10-24 09:28:28 +08:00
parent c4c24dd159
commit c3d72e9fae
3 changed files with 10 additions and 11 deletions

View File

@ -184,7 +184,7 @@ class Index extends Component {
progressVisible: false,
progress: 100
});
message.success("加密成功");
message.success("保存成功");
} else if(progress_statue === "in_progress" && this.timer){
this.setState({
progress: 10 * number
@ -197,7 +197,7 @@ class Index extends Component {
progressVisible: false,
progress: 100
});
message.error(errormsg || "加密失败!");
message.error(errormsg || "保存失败!");
}
});
}, 1000);
@ -252,13 +252,13 @@ class Index extends Component {
<Button type="primary" onClick={() => this.handleSave("EMPLOYEE")} loading={loading.employee}>保存</Button>
</div>
} showGroup center items={importItems}/>
{/*<WeaSearchGroup*/}
{/* title={*/}
{/* <div className="titleWrapper">*/}
{/* <span>加密规则</span>*/}
{/* <Button type="primary" onClick={() => this.handleSave("ENCRYTION")} loading={loading.encry}>保存</Button>*/}
{/* </div>*/}
{/* } showGroup center items={enctryItems}/>*/}
<WeaSearchGroup
title={
<div className="titleWrapper">
<span>加密规则</span>
<Button type="primary" onClick={() => this.handleSave("ENCRYTION")} loading={loading.encry}>保存</Button>
</div>
} showGroup center items={enctryItems}/>
{
this.state.progressVisible &&
<ProgressModal

View File

@ -313,7 +313,6 @@ export default class StandingBook extends React.Component {
handleOk = (formVal) => {
const { save } = this.props.standingBookStore;
const { billMonth, ...extra } = formVal;
console.log("extra:", extra);
const payload = {
billMonth: moment(billMonth).format("YYYY-MM"),
...extra

View File

@ -17,7 +17,7 @@ class StandingBookDetail extends Component {
constructor(props) {
super(props);
this.state = {
selectedKey: "",
selectedKey: "1",
tabList: [],
remarks: "",
billMonth: ""