819527061@qq.com
2023-12-01 c56e67c77e2a36c894346830c1ab1e6df36fe935
pages/approval-history/approval-history.vue
@@ -3,7 +3,7 @@
      <combined-title title="审批历史"></combined-title>
      <u-empty v-if="scheduleData.length == 0"
              mode="data"
              icon="http://cdn.uviewui.com/uview/empty/data.png"
              icon="http://cdn.uviewui.com/uview/empty/data.png"
                  width="100px"
                  height="150px"
      >
@@ -18,8 +18,8 @@
            <uni-tr>
               <uni-th align="center">处理人</uni-th>
               <uni-td>
                  <view class="">
                     <u-tag :text="role.nickname" type="primary" size="mini" style="display:inline-block;margin-left: 5%;" plain v-for="(role,roleIndex) in item.assignees" :key="roleIndex"></u-tag>
                  <view class="assigneesContainer">
                     <u-tag :text="role.nickname" type="primary" size="mini" plain v-for="(role,roleIndex) in item.assignees" :key="roleIndex"></u-tag>
                  </view>
               </uni-td>
            </uni-tr>
@@ -29,7 +29,7 @@
            </uni-tr>
            <uni-tr>
               <uni-th align="center">审批意见</uni-th>
               <uni-td>{{ item.comment }}</uni-td>
               <uni-td>{{ item.comment=='undefined'?item.endTime?'未填写':'':item.comment|| item.endTime?'未填写':'' }}</uni-td>
            </uni-tr>
            <uni-tr>
               <uni-th align="center">耗时</uni-th>
@@ -48,7 +48,7 @@
            </uni-tr>
            <uni-tr>
               <uni-th align="center">完成时间</uni-th>
               <uni-td>{{ item.endTime }}</uni-td>
               <uni-td>{{ item.endTime ||'' }}</uni-td>
            </uni-tr>
            <uni-tr>
               <uni-th align="center">状态</uni-th>
@@ -107,7 +107,7 @@
      historicFlow(){
         this.$reqGet('historicFlow',{},this.applicationId).then(res=>{
            console.log('审批历史',res);
            if(res.code == 0){
               if(res.data == null){
                  this.ifEmpty = true
@@ -149,6 +149,13 @@
               font-size: vww(13);
            }
         }
      // 处理人标签容器
      .assigneesContainer{
        .u-transition{
          display:inline-block;
          margin-left: vww(3);
        }
      }
      }
      // 边框
      // .table--border{