-
zhangwei
2025-01-23 e5a77d6a551d13e4cf74624b31b0fa3e328b304d
src/pages/reimbursement/myreim.vue
@@ -24,20 +24,24 @@
                  <view class="coreshop-ff chuany-bradius20">
                     <view class="c-p-20 chuany-font26">
                        <view class="chuany-flex chuany-justify-between">
                           <text class="chuany-width10">{{index+1}}</text>
                           <view class="chuany-width45">
                           <text class="chuany-width8">{{index+1}}</text>
                           <view class="chuany-width35">
                              {{$util.formatDate(item.planStartTime)}}
                           </view>
                           <view class="chuany-width30">
                           <view class="chuany-width25">
                              {{item.planMoney}} 元
                           </view>
                           <u-text align="right" size='14'
                              :type="item.approvalStatus=='unApproval'?'primary':item.approvalStatus=='Yes'?'success':'warning'"
                              :text="item.approvalStatus=='unApproval'?'未批复':item.approvalStatus=='Yes'?'批准':'不批准'">
                              :type="item.approvalStatus=='unApproval'?'primary':item.approvalStatus=='Yes'?'success':item.approvalStatus=='No'?'warning':'error'"
                              :text="item.approvalStatus=='unApproval'?'未审批':item.approvalStatus=='Yes'?'批准':item.approvalStatus=='No'?'不批准':'未提交'">
                           </u-text>
                           <u-text align="right" size='14'
                              :type="item.evaluationStatus=='Reimbursed'?'success':'warning'"
                              v-if='item.approvalStatus=="Yes"'
                              :text="item.evaluationStatus=='Reimbursed'?'已付款':'未付款'"></u-text>
                        </view>
                        <view class="c-p-t-8">
                           摘要:{{item.planContent}}
                           <u--text :lines="1" :text="item.planContent"></u--text>
                        </view>
                     </view>
                  </view>
@@ -81,7 +85,7 @@
      pageIndex: 1,
      pageSize: 20,
   })
   const list = ['全部', '未批复', '不批准', '批准']
   const list = ['全部', '未提交', '未审批', '不批准', '批准']
   let workTime = ref('')
   let datePickerShow = ref(false)
   let loadStatus = ref('loadmore')
@@ -90,7 +94,7 @@
   let listO = reactive({
      orderList: []
   })
   let approvalStatus = ref('unApproval')
   let approvalStatus = ref('Uncommitted')
   let heji = ref(0)
   onReachBottom(() => {
      if (loadStatus.value != 'nomore') {
@@ -105,7 +109,7 @@
      getworkerplanelist()
      uni.stopPullDownRefresh();
   })
   onLoad(() => {
   onShow(() => {
      // workTime.value = getFirstDayOfMonth() + '至' + $util.formatDate(new Date())
      // state.planStartTimeStart = getFirstDayOfMonth() //工作开始时间
      // state.planStartTimeEnd = $util.formatDate(new Date())
@@ -122,12 +126,15 @@
            approvalStatus.value = null
            break;
         case 1:
            approvalStatus.value = 'unApproval'
            approvalStatus.value = 'Uncommitted'
            break;
         case 2:
            approvalStatus.value = 'No'
            approvalStatus.value = 'unApproval'
            break;
         case 3:
            approvalStatus.value = 'No'
            break;
         case 4:
            approvalStatus.value = 'Yes'
            break;
      }