FANGLH 7 years ago
parent
commit
c7670fb00c
2 changed files with 4 additions and 3 deletions
  1. 1 0
      pages/bindphone/bindphone.js
  2. 3 3
      pages/pointapply/pointapply.js

+ 1 - 0
pages/bindphone/bindphone.js

@@ -55,6 +55,7 @@ Page({
         })
         })
         // wx.setStorageSync('accountphone', phone)
         // wx.setStorageSync('accountphone', phone)
         wx.setStorageSync('isregistered', true)
         wx.setStorageSync('isregistered', true)
+        baseutils.getPersonlEmp()
         // var pages = getCurrentPages()
         // var pages = getCurrentPages()
         // var prevPage = pages[pages.length - 1]  //当前界面
         // var prevPage = pages[pages.length - 1]  //当前界面
         // var prevPage = pages[pages.length - 2]  //上一个页面
         // var prevPage = pages[pages.length - 2]  //上一个页面

+ 3 - 3
pages/pointapply/pointapply.js

@@ -21,7 +21,7 @@ Page({
     applyReason:'',
     applyReason:'',
     CotegoryArray:[],
     CotegoryArray:[],
     Cotegory:[],
     Cotegory:[],
-    invoicesStatus: 0,//单据状态1:待审批,2:已审批,3:不同意?
+    invoicesStatus: 1,//单据状态1:待审批,2:已审批,3:不同意?
     isDetails: false, //加分申请详情时状态
     isDetails: false, //加分申请详情时状态
     applyNorm:'',
     applyNorm:'',
     detailsData:{} ,   
     detailsData:{} ,   
@@ -106,9 +106,9 @@ Page({
         var invoicesStatus = itemdata.invoicesStatus
         var invoicesStatus = itemdata.invoicesStatus
         var applyStatus 
         var applyStatus 
 
 
-        if (invoicesStatus == 0){
+        if (invoicesStatus == 1){
           applyStatus = '待审批'
           applyStatus = '待审批'
-        } else if (invoicesStatus == 1){
+        } else if (invoicesStatus == 2){
           applyStatus = '已审批'
           applyStatus = '已审批'
         }else{
         }else{
           applyStatus = '未通过'
           applyStatus = '未通过'