|
|
@@ -38,10 +38,10 @@ let mSendIndex = 0
|
|
|
|
|
|
let mBaseUrl = window.location.origin
|
|
|
+ (process.env.REACT_APP_ROUTER_BASE_NAME || '')
|
|
|
- // && 'http://yrkj.usoftchina.com:9443/uas'
|
|
|
- // && 'http://erp.yitoa.com:8888/ERP'
|
|
|
- // && 'https://uas.cicsc.com/ERP/'
|
|
|
- // && 'http://sisemi03.zicp.io/ERP'
|
|
|
+// && 'http://yrkj.usoftchina.com:9443/uas'
|
|
|
+// && 'http://erp.yitoa.com:8888/ERP'
|
|
|
+// && 'https://uas.cicsc.com/ERP/'
|
|
|
+// && 'http://sisemi03.zicp.io/ERP'
|
|
|
|
|
|
class ApprovalHome extends Component {
|
|
|
|
|
|
@@ -90,11 +90,11 @@ class ApprovalHome extends Component {
|
|
|
})()
|
|
|
}
|
|
|
switch (selectedTab) {
|
|
|
- case 0: {
|
|
|
- this.initNew(newState)
|
|
|
- this.initReceive(receiveState)
|
|
|
- break
|
|
|
- }
|
|
|
+ // case 0: {
|
|
|
+ // this.initNew(newState)
|
|
|
+ // this.initReceive(receiveState)
|
|
|
+ // break
|
|
|
+ // }
|
|
|
case 1: {
|
|
|
this.initReceive(receiveState)
|
|
|
break
|
|
|
@@ -209,10 +209,10 @@ class ApprovalHome extends Component {
|
|
|
unselectedTintColor="#949494"
|
|
|
tintColor="#33A3F4"
|
|
|
barTintColor="white"
|
|
|
- prerenderingSiblingsNumber={2}
|
|
|
+ prerenderingSiblingsNumber={1}
|
|
|
hidden={this.state.tabHidden}
|
|
|
>
|
|
|
- {this.getNewTab()}
|
|
|
+ {/*{this.getNewTab()}*/}
|
|
|
{this.getReceiveTab()}
|
|
|
{this.getSendTab()}
|
|
|
</TabBar>
|