Compare commits

..

No commits in common. "93b078f509a8a4e32fbb13db6ff66949a66131f7" and "b6abc09016f37eae56a7cfb3ba9e5f3ca3af2ffa" have entirely different histories.

3 changed files with 3 additions and 4 deletions

View File

@ -116,7 +116,7 @@ export default class MobilePayroll extends React.Component {
handleGoFeedback = () => {
Modal.confirm({
title: getLabel(131329, "信息确认"),
content: getLabel(111, "确认是否发起反馈流程?"),
content: getLabel(111, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
onOk: () => {
const { salaryBillToken } = this.state;
feedBackSalaryBill({ salaryInfoId: getQueryString("id"), header: salaryBillToken })

View File

@ -59,7 +59,7 @@ class MySalaryView extends Component {
handleGoFeedback = () => {
Modal.confirm({
title: getLabel(131329, "信息确认"),
content: getLabel(544271, "确认是否发起反馈流程?"),
content: getLabel(544271, "请确认薪资信息是有误,进行反馈并发起反馈流程。"),
onOk: () => {
const { params: { salaryInfoId }, mySalaryStore: { getMySalaryBill } } = this.props;
feedBackSalaryBill({ salaryInfoId }).then(({ status, errorMsg }) => {

View File

@ -31,7 +31,6 @@ class Index extends Component {
}
async componentDidMount() {
this.setState({ store: { ...this.state.store, loading: true } });
const { data: sysinfo } = await API.sysinfo();
const { adjustShowStatus, salaryShowStatus } = sysinfo;
let tabs = [
@ -40,7 +39,7 @@ class Index extends Component {
];
salaryShowStatus === "0" && (tabs = _.filter(tabs, o => o.key !== "1"));
adjustShowStatus === "0" && (tabs = _.filter(tabs, o => o.key !== "2"));
this.setState({ sysinfo, tabs, store: { ...this.state.store, loading: false } }, () => {
this.setState({ sysinfo, tabs }, () => {
const { tabs, store } = this.state;
this.setState({
selectedKey: !_.isEmpty(tabs) ? _.head(tabs).key : "0",