#
whycq
2023-11-15 4cd5150e355da08214805c466f82251d6458a73b
pages/business/goBusiness/reimburseOnlineDetl.vue
@@ -136,18 +136,7 @@
         <view class="box">
            <view class="box-title">流程动态</view>
            <u-steps :current="1" direction="column">
               <u-steps-item title="开始 2023-11-09 13:30:54" desc="张芬创建了审批">
               </u-steps-item>
               <u-steps-item title="部门经理审核 2023-11-09 13:31:42" desc="部门经理张芬审批通过">
               </u-steps-item>
               <u-steps-item title="俞晓审核" desc="">
               </u-steps-item>
               <u-steps-item title="周春松审核" desc="">
               </u-steps-item>
               <u-steps-item title="罗萍审核" desc="">
               </u-steps-item>
               <u-steps-item title="俞晓审核" desc="">
               </u-steps-item>
               <u-steps-item :title="`${item.title} ${item.time ? item.time : ''}`" :desc="item.msg" v-for="item in steps" />
            </u-steps>
         </view>
      </view>
@@ -168,6 +157,7 @@
   export default {
      data() {
         return {
            steps: [],
            list: [{
               templateName: '项目未完成',
               checkData: '否',
@@ -252,10 +242,23 @@
            _this.list.push(data.data)
            console.log(data)
            _this.getTableData(data.data.id)
            _this.getSetps(data.data.id)
         })
         
      },
      methods: {
         getSetps(id) {
            let _this = this
            uni.request({
               url: `${_this.baseUrl}/reimburseOnline/${id}/auth`,
               header: { 'token': uni.getStorageSync('token') },
               success(res) {
                  res = res.data
                  console.log(JSON.parse(res.data.settleMsg));
                  _this.steps = JSON.parse(res.data.settleMsg)
               }
            })
         },
         getTableData(id) {
            let _this = this
            uni.request({