Commit e8ad8e73 by 姜雷

修改初始化参数

parent cc385435
...@@ -204,12 +204,14 @@ class ReprtRepair extends Component { ...@@ -204,12 +204,14 @@ class ReprtRepair extends Component {
const { history } = this.props; const { history } = this.props;
console.log('resetForm'); console.log('resetForm');
this.resetApplyForm(); this.resetApplyForm();
// Toast.hide();
Toast.success(data.msg); Toast.success(data.msg);
history.replace('/repair/RepairList'); history.replace('/repair/RepairList');
}) })
.catch(err => { .catch(err => {
console.log(err); console.log(err);
const { data } = err; const { data } = err;
// Toast.hide();
Toast.fail(data.msg || '提交失败!'); Toast.fail(data.msg || '提交失败!');
}); });
}; };
......
...@@ -118,7 +118,7 @@ class RepairItem extends Component { ...@@ -118,7 +118,7 @@ class RepairItem extends Component {
</div>, </div>,
<div key="address" className={styles.listLineArea}> <div key="address" className={styles.listLineArea}>
<div className={styles.listLabel}>报修事项:</div> <div className={styles.listLabel}>报修事项:</div>
<div className={styles.listValue}>{data.address}</div> <div className={styles.listValue}>{data.affair}</div>
</div>, </div>,
]} ]}
</div> </div>
......
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