Bläddra i källkod

tag常规大小

zhengnaiwen_citu 5 månader sedan
förälder
incheckning
fffcbd708f

+ 1 - 1
src/views/dataChart/privateChart/index.vue

@@ -11,7 +11,7 @@
       @page-change="onPageChange"
     >
       <template #permission="{ row }">
-        <el-tag size="small" :type="row.permission === 1 ? 'success' : 'warning'">{{ row.permission === 1 ? '已发布' : '未发布' }}</el-tag>
+        <el-tag :type="row.permission === 1 ? 'success' : 'warning'">{{ row.permission === 1 ? '已发布' : '未发布' }}</el-tag>
       </template>
       <template #card-tools>
         <m-button type="orange" icon="el-icon-plus" @click="onAdd">新增</m-button>

+ 1 - 1
src/views/dataChart/shareChart/index.vue

@@ -11,7 +11,7 @@
       @page-change="onPageChange"
     >
       <template #permission="{ row }">
-        <el-tag size="small" :type="row.permission === 1 ? 'success' : 'warning'">{{ row.permission === 1 ? '已发布' : '未发布' }}</el-tag>
+        <el-tag :type="row.permission === 1 ? 'success' : 'warning'">{{ row.permission === 1 ? '已发布' : '未发布' }}</el-tag>
       </template>
       <template #actions="{ row }">
         <m-button type="primary" text @click="onDetails(row)">查看</m-button>

+ 0 - 1
src/views/system/menu/index.vue

@@ -17,7 +17,6 @@
       </template>
       <template v-slot:hidden="{ row }">
         <el-tag
-          size="small"
           :type="row.hidden ? 'success' : 'danger'"
           text-color="white"
         >

+ 2 - 3
src/views/system/user/index.vue

@@ -17,17 +17,16 @@
         {{ dateFormat(scope.row.createdTime) }}
       </template>
       <template #state="scope">
-        <el-tag size="small" :type="scope.row.state ? 'default' : 'success'">{{ scope.row.state ? '未启用' : '已启用' }}</el-tag>
+        <el-tag :type="scope.row.state ? 'default' : 'success'">{{ scope.row.state ? '未启用' : '已启用' }}</el-tag>
       </template>
       <template #role="scope">
         <template v-if="scope.row.companyInfo?.homeUserId === scope.row.id">
-          <el-tag size="small" type="danger">超级管理员</el-tag>
+          <el-tag type="danger">超级管理员</el-tag>
         </template>
         <template v-if="scope.row.role && scope.row.role.length">
           <el-tag
             v-for="item in scope.row.role"
             :key="item.id"
-            size="small"
           >{{ item.roleName }}</el-tag>
         </template>
       </template>

+ 1 - 1
src/views/system/workflow/index.vue

@@ -10,7 +10,7 @@
       @sort-change="onSortChange"
     >
       <template #status="{ row }">
-        <el-tag :type="row.status === 0 ? 'success' : 'danger'" size="small">{{ row.status === 0 ? '启用' : '禁用'}}</el-tag>
+        <el-tag :type="row.status === 0 ? 'success' : 'danger'">{{ row.status === 0 ? '启用' : '禁用'}}</el-tag>
       </template>
       <template #card-tools>
         <m-button type="orange" size="small" icon="el-icon-plus" @click="onAdd">新增</m-button>

+ 1 - 1
src/views/workOrder/components/IndexPage.vue

@@ -11,7 +11,7 @@
       @page-change="onPageChange"
     >
       <template #status="{ row }">
-        <el-tag size="small" :type="statusList[row.status].color">{{ statusList[row.status].text }}</el-tag>
+        <el-tag :type="statusList[row.status].color">{{ statusList[row.status].text }}</el-tag>
       </template>
       <template #actions="{ row }">
         <m-button type="primary" text @click="onProcess(row)">审核进度</m-button>