style(ui): 全站 el-tag 状态语义统一为纯文本样式
- 按用户要求,将全站所有状态语义的 el-tag 加入 class="status-text" - 覆盖范围包括业务状态、启用停用、工作流状态、是否封存等多达 35 余处文件 - 保留 el-tag 的 :type 绑定,仅通过样式隐藏背景边框及圆点,变为纯文本呈现 - 修正 .status-text 的 font-size、line-height、height、vertical-align,确保字体和单元格普通文本完全对齐 - 例外保留原样式的标签类型有类型标签、值类字段等,未受影响 - 更新 element-ui.scss 添加 .el-tag.status-text 的全局统一样式 - 相关模板中均添加了 class="status-text",保证样式一致自动生效
This commit is contained in:
@@ -24,3 +24,17 @@
|
|||||||
- 嵌套网格:bill-payment、bill-ledger 拆成每个字段独立 `el-col :span="6"`(真 4 列),gutter 48→24;备注保留 `:span="24"` 整行。
|
- 嵌套网格:bill-payment、bill-ledger 拆成每个字段独立 `el-col :span="6"`(真 4 列),gutter 48→24;备注保留 `:span="24"` 整行。
|
||||||
- 媒体查询同步:`.el-col-12`/`.el-col-8` 窄屏折叠规则改成 `.el-col-6`(≤1024/1200/900/768px 折叠为整行)。
|
- 媒体查询同步:`.el-col-12`/`.el-col-8` 窄屏折叠规则改成 `.el-col-6`(≤1024/1200/900/768px 折叠为整行)。
|
||||||
- 结论:全 /payment 表单页板块表单控件统一为 4 列网格,备注/长文本仍整行;pre-settlement-editor「结算基本信息」此前也已改 `:span="8"`→`span="6"`。
|
- 结论:全 /payment 表单页板块表单控件统一为 4 列网格,备注/长文本仍整行;pre-settlement-editor「结算基本信息」此前也已改 `:span="8"`→`span="6"`。
|
||||||
|
|
||||||
|
## 全站 el-tag 状态语义统一转纯文本(status-text)
|
||||||
|
- 需求:用户要求"全站看看还有哪些地方使用 el-tag 的?都要统一改一下",保持与调度状态一致的纯文本风格。
|
||||||
|
- 范围确认:用 AskUserQuestion 确认采用"所有状态语义"——业务状态(审批/调度/运单/匹配/认领) + 启用停用 + 工作流激活挂起/完成 + 其它状态(statusName/是否封存/否是/认证/锁状态/合同阶段) 一律转 `.status-text` 纯文本;类型标签/版本号/分类名/值类(车牌颜色、锁类型、运输方式、categoryName、code、apiKey 等) 保留 tag。
|
||||||
|
- 改动文件(约 35 个,仅加 `class="status-text"`,不动逻辑/`:type` 绑定):
|
||||||
|
- 启用/停用:base(railway-station/airport-master/currency/customer-type/fee-item/port-terminal)、system/dept、transportCapacity(vehicle/driver/ship)、authority(apikey/ratelimit)
|
||||||
|
- 业务状态遗漏补:settlement/formal-settlement、business/temporary-credit-limit、business/contract-manage(合同阶段+审批)、payment(invoice-application/bill-payment-table/receipt-flow/receipt-claim-record/invoice-receipt/payment-application)、settlement/components/transport-reconciliation-editor(匹配结果/状态/更新结果)、transit/risk-disposal(column.tag/field.tag)
|
||||||
|
- 工作流/其它:flow(manager/follow 激活挂起)、work(start 激活挂起/send 完成)、transportCapacity/vehicle 认证状态、system/authlock lockStatus、tool/codesetting、resource(sms/oss) statusName、vehicle/customer-archive(审批+启用停用)、system/dict+dictbiz 及 util/demo 各 dict 页 是否封存
|
||||||
|
- 校验:重新 grep `el-tag[^>]*:type=` 确认除 authlock lockType、vehicle-ledger plateColor 两个刻意保留的"类型标签"外,所有状态语义 el-tag 均已带 status-text。改动为纯属性添加,Vite HMR 自动生效。
|
||||||
|
|
||||||
|
## 业务状态文字化后字号/行高对齐单元格
|
||||||
|
- 根因:用户截图反馈 customer-archive 的"准入类型/审批状态/状态"列文字比其它列小/错位。`.el-tag` 默认 `font-size: var(--el-tag-font-size)`(12px)且 `height` 固定,即便 `.status-text` 去掉了背景边框,字号和盒模型仍与单元格普通文本不一致。
|
||||||
|
- 修复:在 `src/styles/element-ui.scss` 的 `.el-tag.status-text` 全局规则追加 `font-size: inherit !important; height: auto !important; vertical-align: baseline; line-height: inherit;`,强制继承父级字号与行高,高度随内容自适应,基线对齐与普通 inline 文本一致。
|
||||||
|
- 结论:所有使用 `.status-text` 的状态列(customer-archive 准入类型/审批状态/状态、transport-plan 调度状态、waybill 运单状态、payment 审批状态、启用停用等)自动与相邻普通文字列的字体字号/行高/基线完全统一,无需逐页修改。
|
||||||
|
|||||||
@@ -41,10 +41,10 @@
|
|||||||
|
|
||||||
### 业务状态标签文字化:全局 `.status-text` 工具类
|
### 业务状态标签文字化:全局 `.status-text` 工具类
|
||||||
- 需求:全站"调度状态/运单状态/审批状态"等用 `el-tag` 展示的字段,统一改为**普通文字,不带颜色、不显示 tag 背景/边框/圆点**。
|
- 需求:全站"调度状态/运单状态/审批状态"等用 `el-tag` 展示的字段,统一改为**普通文字,不带颜色、不显示 tag 背景/边框/圆点**。
|
||||||
- 实现:`element-ui.scss` 末尾 `.el-tag.status-text { background:transparent!important; border-color:transparent!important; color:var(--el-text-color-regular)!important; padding:0; margin:0; font-weight:normal!important }`,并隐藏 `&::before` 圆点。`el-tag` 的 `:type` 继续保留在模板中(无需改动),但颜色已被全局 CSS 强制覆盖为正文色。
|
- 实现:`element-ui.scss` 末尾 `.el-tag.status-text { background:transparent!important; border-color:transparent!important; color:var(--el-text-color-regular)!important; padding:0; margin:0; font-weight:normal!important; font-size:inherit!important; height:auto!important; vertical-align:baseline; line-height:inherit }`,并隐藏 `&::before` 圆点。`el-tag` 的 `:type` 继续保留在模板中(无需改动),但颜色/字号/行高已被全局 CSS 强制覆盖为与单元格普通文本一致。
|
||||||
- 用法:业务状态 `el-tag` 加 `class="status-text"`。
|
- 用法:业务状态 `el-tag` 加 `class="status-text"`。
|
||||||
- 已覆盖:`business-crud-page.vue`(#status/#businessStatus/#approvalStatus 插槽 + 运输计划详情头 + 运单详情头 + 调度弹窗头)、`master-order.vue`/`master-order-detail.vue`/`master-order-dispatch.vue` 的 businessStatus、`loading-manage.vue` 详情弹窗、结算三处 approvalStatus、`process-config.vue` 流程状态、`credit-score-quantification.vue` 状态列。
|
- **全站统一完成(2026-08-25)**:所有"状态语义"的 el-tag 均已加 `class="status-text"` 转纯文本,含:business-crud-page(#status/#businessStatus/#approvalStatus + 调度弹窗头)、master-order 系列、loading-manage 详情、结算(settlement-adjustment/pre-settlement/formal-settlement/formal-settlement-table-panel/transport-reconciliation-editor 匹配结果·状态)、payment(invoice-application/bill-payment-table/receipt-flow/receipt-claim-record/invoice-receipt/payment-application 审批·认领状态)、contract-manage(合同阶段 + 审批)、temporary-credit-limit、process-config、credit-score-quantification、flow(manager/follow 激活·挂起)、work(start 激活·挂起 / send 完成)、transportCapacity(vehicle 启用·认证 / driver / ship 启用)、base(railway-station/airport-master/currency/customer-type/fee-item/port-terminal 启用停用)、system(dept/authority apikey·ratelimit 启用禁用 / authlock lockStatus / dict·dictbiz 是否封存 / codesetting 否是)、resource(sms/oss statusName)、customer-archive(审批 + 启用停用)、transit/risk-disposal(column.tag/field.tag)。
|
||||||
- 例外:`loading-manage.vue` 列表状态列本就用 `<span class="loading-manage-page__status is-${status}">` 文字化(先例),不动;"类型标签"(transport-flow-tag、transportTypeName 等 `type="primary"`)非状态语义,保持 tag 样式。
|
- 例外(刻意保留 tag 样式,非状态语义):`loading-manage.vue` 列表状态列用 `<span class="loading-manage-page__status is-${status}">`(先例);"类型标签"——transport-flow-tag、transportTypeName、business-crud-page:3252 运输方式、loading-manage:399 运输方式 warning、authlock lockType(锁类型)、vehicle-ledger plateColor/businessRelation、cron-editor、以及 categoryName/version/code/tenantId/roleName/deptName/apiKey/remoteIp/env/tableName/method/recordLevel/pattern/modelTable/fileSize/node.tags 等"值/标签/提示"类。注:customer-archive 准入类型原在例外中,2026-08-25 用户要求也转纯文本(已加 status-text)。
|
||||||
|
|
||||||
## 关键文件
|
## 关键文件
|
||||||
- 分组白卡:`src/components/section-card/main.vue`。
|
- 分组白卡:`src/components/section-card/main.vue`。
|
||||||
|
|||||||
@@ -1040,7 +1040,10 @@
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
|
font-size: inherit !important;
|
||||||
line-height: inherit;
|
line-height: inherit;
|
||||||
|
height: auto !important;
|
||||||
|
vertical-align: baseline;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'success' : 'danger'">
|
<el-tag :type="row.status === 1 ? 'success' : 'danger'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '禁用' }}
|
{{ row.status === 1 ? '启用' : '禁用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -47,7 +47,7 @@
|
|||||||
{{ row.limitCount }} 次 / {{ row.limitPeriod }} {{ timeUnitLabel(row.timeUnit) }}
|
{{ row.limitCount }} 次 / {{ row.limitPeriod }} {{ timeUnitLabel(row.timeUnit) }}
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'success' : 'danger'">
|
<el-tag :type="row.status === 1 ? 'success' : 'danger'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '禁用' }}
|
{{ row.status === 1 ? '启用' : '禁用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
</el-autocomplete>
|
</el-autocomplete>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -32,7 +32,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -255,7 +255,7 @@ export default {
|
|||||||
addDisplay: false,
|
addDisplay: false,
|
||||||
editDisplay: false,
|
editDisplay: false,
|
||||||
value: 1,
|
value: 1,
|
||||||
minWidth: 100,
|
minWidth: 110,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -64,7 +64,7 @@
|
|||||||
<span>港口/码头</span>
|
<span>港口/码头</span>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -96,19 +96,19 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="statusTagType(row.status)">
|
<el-tag :type="statusTagType(row.status)" class="status-text">
|
||||||
{{ displayStatus(row, 'status') }}
|
{{ displayStatus(row, 'status') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #businessStatus="{ row }">
|
<template #businessStatus="{ row }">
|
||||||
<el-tag :type="statusTagType(row.businessStatus)">
|
<el-tag :type="statusTagType(row.businessStatus)" class="status-text">
|
||||||
{{ displayStatus(row, 'businessStatus') }}
|
{{ displayStatus(row, 'businessStatus') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #approvalStatus="{ row }">
|
<template #approvalStatus="{ row }">
|
||||||
<el-tag :type="statusTagType(row.approvalStatus)">
|
<el-tag :type="statusTagType(row.approvalStatus)" class="status-text">
|
||||||
{{ displayStatus(row, 'approvalStatus') }}
|
{{ displayStatus(row, 'approvalStatus') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -2177,15 +2177,15 @@
|
|||||||
<span>|</span>
|
<span>|</span>
|
||||||
{{ detailRow.planNo || '-' }}
|
{{ detailRow.planNo || '-' }}
|
||||||
</h2>
|
</h2>
|
||||||
<el-tag class="is-dispatching" effect="light">
|
<span class="detail-status-text is-dispatching">
|
||||||
{{ displayStatus(detailRow, 'businessStatus') }}
|
{{ displayStatus(detailRow, 'businessStatus') }}
|
||||||
</el-tag>
|
</span>
|
||||||
<el-tag type="primary" effect="light">
|
<span class="detail-status-text detail-transport-type">
|
||||||
{{
|
{{
|
||||||
detailRow.transportTypeName ||
|
detailRow.transportTypeName ||
|
||||||
formatTransportPlanDetailTransportType(detailRow.transportType)
|
formatTransportPlanDetailTransportType(detailRow.transportType)
|
||||||
}}
|
}}
|
||||||
</el-tag>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="business-crud-page__transport-plan-detail-overview">
|
<div class="business-crud-page__transport-plan-detail-overview">
|
||||||
<div class="business-crud-page__transport-plan-detail-fields">
|
<div class="business-crud-page__transport-plan-detail-fields">
|
||||||
@@ -2347,10 +2347,10 @@
|
|||||||
<div class="business-crud-page__waybill-heading">
|
<div class="business-crud-page__waybill-heading">
|
||||||
<strong>运单详情</strong>
|
<strong>运单详情</strong>
|
||||||
<span>{{ detailRow.waybillNo || '-' }}</span>
|
<span>{{ detailRow.waybillNo || '-' }}</span>
|
||||||
<el-tag type="success">{{ displayStatus(detailRow, 'businessStatus') }}</el-tag>
|
<span class="detail-status-text status-text-success">{{ displayStatus(detailRow, 'businessStatus') }}</span>
|
||||||
<el-tag type="primary">
|
<span class="detail-status-text detail-transport-type">
|
||||||
{{ formatTransportPlanDetailTransportType(waybillTransportMode(detailRow)) }}
|
{{ formatTransportPlanDetailTransportType(waybillTransportMode(detailRow)) }}
|
||||||
</el-tag>
|
</span>
|
||||||
<el-link
|
<el-link
|
||||||
v-if="detailRow.id"
|
v-if="detailRow.id"
|
||||||
class="business-crud-page__waybill-route-change-link"
|
class="business-crud-page__waybill-route-change-link"
|
||||||
@@ -3246,7 +3246,7 @@
|
|||||||
<span class="business-crud-page__dispatch-heading-no">
|
<span class="business-crud-page__dispatch-heading-no">
|
||||||
{{ dispatchDialogNo || '-' }}
|
{{ dispatchDialogNo || '-' }}
|
||||||
</span>
|
</span>
|
||||||
<el-tag :type="statusTagType(dispatchRow.businessStatus)" effect="light">
|
<el-tag :type="statusTagType(dispatchRow.businessStatus)" effect="light" class="status-text">
|
||||||
{{ dispatchDialogStatusText }}
|
{{ dispatchDialogStatusText }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<el-tag type="primary" effect="light">
|
<el-tag type="primary" effect="light">
|
||||||
@@ -13125,7 +13125,7 @@ export default {
|
|||||||
height: auto;
|
height: auto;
|
||||||
max-height: none;
|
max-height: none;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
white-space: pre-line;
|
//white-space: pre-line;
|
||||||
word-break: break-word;
|
word-break: break-word;
|
||||||
text-overflow: clip;
|
text-overflow: clip;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,13 +62,13 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #contractStage="{ row }">
|
<template #contractStage="{ row }">
|
||||||
<el-tag :type="stageTagType(row.contractStage)">
|
<el-tag :type="stageTagType(row.contractStage)" class="status-text">
|
||||||
{{ displayStatus(row, 'contractStage') }}
|
{{ displayStatus(row, 'contractStage') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #approvalStatus="{ row }">
|
<template #approvalStatus="{ row }">
|
||||||
<el-tag :type="statusTagType(row.approvalStatus)">
|
<el-tag :type="statusTagType(row.approvalStatus)" class="status-text">
|
||||||
{{ displayStatus(row, 'approvalStatus') }}
|
{{ displayStatus(row, 'approvalStatus') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<template #approvalStatus="{ row }">
|
<template #approvalStatus="{ row }">
|
||||||
<el-tag :type="statusTagType(row.approvalStatus)">
|
<el-tag :type="statusTagType(row.approvalStatus)" class="status-text">
|
||||||
{{ displayStatus(row, 'approvalStatus') }}
|
{{ displayStatus(row, 'approvalStatus') }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
@on-load="onLoad"
|
@on-load="onLoad"
|
||||||
>
|
>
|
||||||
<template #suspensionState="{ row }">
|
<template #suspensionState="{ row }">
|
||||||
<el-tag>{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
<el-tag class="status-text">{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
<el-tag>v{{ row.version }}</el-tag>
|
<el-tag>v{{ row.version }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #suspensionState="{ row }">
|
<template #suspensionState="{ row }">
|
||||||
<el-tag>{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
<el-tag class="status-text">{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #category="{ row }">
|
<template #category="{ row }">
|
||||||
<el-tag>{{ row.categoryName }}</el-tag>
|
<el-tag>{{ row.categoryName }}</el-tag>
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tag v-if="column.status" :type="statusType(row.approvalStatus)">
|
<el-tag v-if="column.status" :type="statusType(row.approvalStatus)" class="status-text">
|
||||||
{{ row[column.prop] || '-' }}
|
{{ row[column.prop] || '-' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">
|
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">
|
||||||
{{ row[column.prop] }}
|
{{ row[column.prop] }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)">
|
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)" class="status-text">
|
||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -95,7 +95,7 @@
|
|||||||
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">
|
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">
|
||||||
{{ row[column.prop] }}
|
{{ row[column.prop] }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)">
|
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)" class="status-text">
|
||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -114,7 +114,7 @@
|
|||||||
<el-link v-if="column.link" type="primary" @click="openView(row)">{{
|
<el-link v-if="column.link" type="primary" @click="openView(row)">{{
|
||||||
row[column.prop]
|
row[column.prop]
|
||||||
}}</el-link>
|
}}</el-link>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)">{{
|
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)" class="status-text">{{
|
||||||
row[column.prop] || '-'
|
row[column.prop] || '-'
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
<el-link v-if="column.link" type="primary" @click="openDetail(row)">
|
<el-link v-if="column.link" type="primary" @click="openDetail(row)">
|
||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.claimStatus)">
|
<el-tag v-else-if="column.status" :type="statusType(row.claimStatus)" class="status-text">
|
||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -76,7 +76,7 @@
|
|||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<span v-else-if="column.link">{{ displayValue(row[column.prop]) }}</span>
|
<span v-else-if="column.link">{{ displayValue(row[column.prop]) }}</span>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.claimStatus)">
|
<el-tag v-else-if="column.status" :type="statusType(row.claimStatus)" class="status-text">
|
||||||
{{ displayValue(row[column.prop]) }}
|
{{ displayValue(row[column.prop]) }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag>{{ row.statusName }}</el-tag>
|
<el-tag class="status-text">{{ row.statusName }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #category="{ row }">
|
<template #category="{ row }">
|
||||||
<el-tag>{{ row.categoryName }}</el-tag>
|
<el-tag>{{ row.categoryName }}</el-tag>
|
||||||
|
|||||||
@@ -45,7 +45,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag>{{ row.statusName }}</el-tag>
|
<el-tag class="status-text">{{ row.statusName }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #category="{ row }">
|
<template #category="{ row }">
|
||||||
<el-tag>{{ row.categoryName }}</el-tag>
|
<el-tag>{{ row.categoryName }}</el-tag>
|
||||||
|
|||||||
@@ -115,12 +115,13 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tag v-if="column.prop === 'matchResult'" :type="matchTagType(row.matchResult)">{{
|
<el-tag v-if="column.prop === 'matchResult'" :type="matchTagType(row.matchResult)" class="status-text">{{
|
||||||
matchName(row.matchResult)
|
matchName(row.matchResult)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<el-tag
|
<el-tag
|
||||||
v-else-if="column.prop === 'updateResult'"
|
v-else-if="column.prop === 'updateResult'"
|
||||||
:type="updateTagType(row.updateResult)"
|
:type="updateTagType(row.updateResult)"
|
||||||
|
class="status-text"
|
||||||
>{{ updateName(row.updateResult) }}</el-tag
|
>{{ updateName(row.updateResult) }}</el-tag
|
||||||
>
|
>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
@@ -182,7 +183,7 @@
|
|||||||
show-overflow-tooltip
|
show-overflow-tooltip
|
||||||
>
|
>
|
||||||
<template #default="{ row }">
|
<template #default="{ row }">
|
||||||
<el-tag v-if="column.prop === 'matchStatus'" :type="matchTagType(row.matchStatus)">{{
|
<el-tag v-if="column.prop === 'matchStatus'" :type="matchTagType(row.matchStatus)" class="status-text">{{
|
||||||
matchName(row.matchStatus)
|
matchName(row.matchStatus)
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop]) }}</span>
|
||||||
|
|||||||
@@ -108,7 +108,7 @@
|
|||||||
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">{{
|
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openView(row)">{{
|
||||||
row[column.prop]
|
row[column.prop]
|
||||||
}}</el-link>
|
}}</el-link>
|
||||||
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)">{{
|
<el-tag v-else-if="column.status" :type="statusType(row.approvalStatus)" class="status-text">{{
|
||||||
displayValue(row[column.prop])
|
displayValue(row[column.prop])
|
||||||
}}</el-tag>
|
}}</el-tag>
|
||||||
<span v-else-if="column.money">{{ formatMoney(row[column.prop], row.currency) }}</span>
|
<span v-else-if="column.money">{{ formatMoney(row[column.prop], row.currency) }}</span>
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #lockStatus="{ row }">
|
<template #lockStatus="{ row }">
|
||||||
<el-tag
|
<el-tag
|
||||||
|
class="status-text"
|
||||||
:type="row.expired ? 'info' : row.lockStatus === 'LOCKED' ? 'danger' : row.lockStatus === 'PRE_LOCKED' ? 'warning' : 'success'"
|
:type="row.expired ? 'info' : row.lockStatus === 'LOCKED' ? 'danger' : row.lockStatus === 'PRE_LOCKED' ? 'warning' : 'success'"
|
||||||
size="small"
|
size="small"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -49,7 +49,7 @@
|
|||||||
{{ getLeaderValue(row.leaderId, 'phone') }}
|
{{ getLeaderValue(row.leaderId, 'phone') }}
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="Number(row.status) === 1 ? 'success' : 'info'">
|
<el-tag :type="Number(row.status) === 1 ? 'success' : 'info'" class="status-text">
|
||||||
{{ Number(row.status) === 1 ? '启用' : '停用' }}
|
{{ Number(row.status) === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<el-tag @click="handleRowClick(row)" style="cursor: pointer">{{ row.code }}</el-tag>
|
<el-tag @click="handleRowClick(row)" style="cursor: pointer">{{ row.code }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
<el-dialog :title="`[${dictValue}]字典配置`" append-to-body v-model="box" width="1000px">
|
<el-dialog :title="`[${dictValue}]字典配置`" append-to-body v-model="box" width="1000px">
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<el-tag @click="handleRowClick(row)" style="cursor: pointer">{{ row.code }}</el-tag>
|
<el-tag @click="handleRowClick(row)" style="cursor: pointer">{{ row.code }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
<el-dialog :title="`[${dictValue}]字典配置`" append-to-body v-model="box" width="1000px">
|
<el-dialog :title="`[${dictValue}]字典配置`" append-to-body v-model="box" width="1000px">
|
||||||
@@ -86,7 +86,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|||||||
@@ -34,7 +34,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag>{{ row.status === 1 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.status === 1 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</basic-container>
|
</basic-container>
|
||||||
|
|||||||
@@ -73,7 +73,7 @@
|
|||||||
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openWaybill(row)">
|
<el-link v-if="column.link && row[column.prop]" type="primary" @click="openWaybill(row)">
|
||||||
{{ row[column.prop] }}
|
{{ row[column.prop] }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<el-tag v-else-if="column.tag" :type="tagType(row, column.prop)" effect="plain">
|
<el-tag v-else-if="column.tag" :type="tagType(row, column.prop)" effect="plain" class="status-text">
|
||||||
{{ row[column.prop] || '-' }}
|
{{ row[column.prop] || '-' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else>{{ row[column.prop] || '-' }}</span>
|
<span v-else>{{ row[column.prop] || '-' }}</span>
|
||||||
@@ -126,7 +126,7 @@
|
|||||||
<el-link v-if="field.link && detail[field.prop]" type="primary" @click="openWaybill(detail)">
|
<el-link v-if="field.link && detail[field.prop]" type="primary" @click="openWaybill(detail)">
|
||||||
{{ detail[field.prop] }}
|
{{ detail[field.prop] }}
|
||||||
</el-link>
|
</el-link>
|
||||||
<el-tag v-else-if="field.tag" :type="tagType(detail, field.prop)" effect="plain">
|
<el-tag v-else-if="field.tag" :type="tagType(detail, field.prop)" effect="plain" class="status-text">
|
||||||
{{ detail[field.prop] || '-' }}
|
{{ detail[field.prop] || '-' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
<span v-else>{{ detail[field.prop] || '-' }}</span>
|
<span v-else>{{ detail[field.prop] || '-' }}</span>
|
||||||
|
|||||||
@@ -63,7 +63,7 @@
|
|||||||
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -62,7 +62,7 @@
|
|||||||
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
{{ String(row.organizationName || '').replace(/^[\s\u3000]+/, '') }}
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
@@ -70,7 +70,7 @@
|
|||||||
<span>-</span>
|
<span>-</span>
|
||||||
</template>
|
</template>
|
||||||
<template #certificationStatus="{ row }">
|
<template #certificationStatus="{ row }">
|
||||||
<el-tag :type="getCertificationStatus(row).type">
|
<el-tag :type="getCertificationStatus(row).type" class="status-text">
|
||||||
{{ getCertificationStatus(row).label }}
|
{{ getCertificationStatus(row).label }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #menu="scope">
|
<template #menu="scope">
|
||||||
<el-link
|
<el-link
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -71,7 +71,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-col>
|
</el-col>
|
||||||
@@ -75,7 +75,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</div>
|
</div>
|
||||||
@@ -96,7 +96,7 @@
|
|||||||
</el-link>
|
</el-link>
|
||||||
</template>
|
</template>
|
||||||
<template #isSealed="{ row }">
|
<template #isSealed="{ row }">
|
||||||
<el-tag>{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
<el-tag class="status-text">{{ row.isSealed === 0 ? '否' : '是' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -49,6 +49,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #accessType="{ row }">
|
<template #accessType="{ row }">
|
||||||
<el-tag
|
<el-tag
|
||||||
|
class="status-text"
|
||||||
:class="
|
:class="
|
||||||
row.accessType === 'formal' ? 'archive-tag--deep-blue' : 'archive-tag--light-blue'
|
row.accessType === 'formal' ? 'archive-tag--deep-blue' : 'archive-tag--light-blue'
|
||||||
"
|
"
|
||||||
@@ -58,6 +59,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<template #approvalStatus="{ row }">
|
<template #approvalStatus="{ row }">
|
||||||
<el-tag
|
<el-tag
|
||||||
|
class="status-text"
|
||||||
:class="{
|
:class="{
|
||||||
'archive-tag--deep-blue': row.approvalStatus === 'approved',
|
'archive-tag--deep-blue': row.approvalStatus === 'approved',
|
||||||
'archive-tag--light-blue': row.approvalStatus === 'reviewing',
|
'archive-tag--light-blue': row.approvalStatus === 'reviewing',
|
||||||
@@ -72,7 +74,7 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #status="{ row }">
|
<template #status="{ row }">
|
||||||
<el-tag :type="row.status === 1 ? 'primary' : 'info'">
|
<el-tag :type="row.status === 1 ? 'primary' : 'info'" class="status-text">
|
||||||
{{ row.status === 1 ? '启用' : '停用' }}
|
{{ row.status === 1 ? '启用' : '停用' }}
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -33,7 +33,7 @@
|
|||||||
<el-tag>v{{ row.processDefinitionVersion }}</el-tag>
|
<el-tag>v{{ row.processDefinitionVersion }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #processIsFinished="{ row }">
|
<template #processIsFinished="{ row }">
|
||||||
<el-tag>{{ row.processIsFinished === 'finished' ? '已完成' : '未完成' }}</el-tag>
|
<el-tag class="status-text">{{ row.processIsFinished === 'finished' ? '已完成' : '未完成' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
</avue-crud>
|
</avue-crud>
|
||||||
<flow-design
|
<flow-design
|
||||||
|
|||||||
@@ -42,7 +42,7 @@
|
|||||||
<el-tag>v{{ row.version }}</el-tag>
|
<el-tag>v{{ row.version }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #suspensionState="{ row }">
|
<template #suspensionState="{ row }">
|
||||||
<el-tag>{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
<el-tag class="status-text">{{ row.suspensionState === 1 ? '激活' : '挂起' }}</el-tag>
|
||||||
</template>
|
</template>
|
||||||
<template #category="{ row }">
|
<template #category="{ row }">
|
||||||
<el-tag>{{ row.categoryName }}</el-tag>
|
<el-tag>{{ row.categoryName }}</el-tag>
|
||||||
|
|||||||
Reference in New Issue
Block a user