Просмотр исходного кода

fix: 审批列表 文本 & tag 错位

lanceJiang 11 месяцев назад
Родитель
Сommit
fcb9f164b8
1 измененных файлов с 5 добавлено и 5 удалено
  1. 5 5
      src/views/approve/components/approvedItem.vue

+ 5 - 5
src/views/approve/components/approvedItem.vue

@@ -66,14 +66,14 @@
 				<div class="flow-card-box flow-card-box-hoverable">
 					<!--头部-->
 					<div class="header">
-						<el-text tag="b">{{ i.processName }}</el-text>
-						<div>
-							<el-text v-if="['pendingApproval', 'pendingClaim'].indexOf(props.currentTaskType) !== -1" style="margin-right: 15px">{{
+						<le-text class="flex-1" tag="b" :value="i.processName" />
+						<div class="ml-1">
+							<el-text v-if="['pendingApproval', 'pendingClaim'].indexOf(props.currentTaskType) !== -1" class="mr-0.5">{{
 								i.performType == 2 ? '会签' : i.performType == 3 ? '或签' : i.performType == 4 ? '票签' : ''
 							}}</el-text>
 
-							<el-tag v-if="i.processType === 'child'" type="warning" class="mr-1">子流程</el-tag>
-							<el-tag v-else-if="i.processType === 'business'" type="warning" class="mr-1">业务流程</el-tag>
+							<el-tag v-if="i.processType === 'child'" type="warning" class="mr-0.5">子流程</el-tag>
+							<el-tag v-else-if="i.processType === 'business'" type="warning" class="mr-0.5">业务流程</el-tag>
 							<el-tag v-if="currentTaskType === 'pendingApproval'">待审批</el-tag>
 							<template v-else>
 								<el-tag v-if="i.instanceState === 0">审批中</el-tag>