Explorar o código

U审批去掉新建

koul %!s(int64=2) %!d(string=hai) anos
pai
achega
f7a5a916d2

+ 3 - 3
uas-office-web/wxuasapproval/src/pages/approval/ApprovalHome.jsx

@@ -65,7 +65,7 @@ class ApprovalHome extends Component {
     document.title = 'U审批'
     document.title = 'U审批'
 
 
     const { homeState } = this.props
     const { homeState } = this.props
-    let { newState, receiveState, sendState, selectedTab } = homeState
+    let {receiveState, sendState, selectedTab } = homeState
 
 
     this.initSwiper(receiveState)
     this.initSwiper(receiveState)
 
 
@@ -87,11 +87,11 @@ class ApprovalHome extends Component {
       })()
       })()
     }
     }
     switch (selectedTab) {
     switch (selectedTab) {
-      case 0: {
+      /*case 0: {
         this.initNew(newState)
         this.initNew(newState)
         this.initReceive(receiveState)
         this.initReceive(receiveState)
         break
         break
-      }
+      }*/
       case 1: {
       case 1: {
         this.initReceive(receiveState)
         this.initReceive(receiveState)
         break
         break