|
|
@@ -49,12 +49,21 @@
|
|
|
执行核算
|
|
|
</el-button>
|
|
|
<el-button v-if="$hasPermission('hr:payrollBatches:recalculate')" type="warning"
|
|
|
- icon="el-icon-refresh-right" size="small" plain :loading="calcActionRunning === 'recalculate'"
|
|
|
+ icon="el-icon-refresh-right" size="small" :loading="calcActionRunning === 'recalculate'"
|
|
|
:disabled="!canRecalculate || !!calcActionRunning || calcPrompting" @click="runCalc('recalculate')">
|
|
|
重算
|
|
|
</el-button>
|
|
|
+ <!--
|
|
|
+ 提交审批:走公共 BPM 流程(processSubmitDialog),权限码 hr:payrollBatches:submit。
|
|
|
+ 能否点击完全以后端 availableActions 里的 SUBMIT_APPROVAL 为准(核算完成且无阻断异常)。
|
|
|
+ -->
|
|
|
+ <el-button v-if="$hasPermission('hr:payrollBatches:submit')" type="success"
|
|
|
+ icon="el-icon-s-promotion" size="small" :disabled="!canSubmitApproval"
|
|
|
+ :title="actionHint || '仅核算完成且无阻断异常的批次可提交审批'" @click="openSubmitApproval">
|
|
|
+ 提交审批
|
|
|
+ </el-button>
|
|
|
<el-button v-if="canCancel && $hasPermission('hr:payrollBatches:cancel')" type="danger"
|
|
|
- icon="el-icon-circle-close" size="small" plain :loading="cancelLoading"
|
|
|
+ icon="el-icon-circle-close" size="small" :loading="cancelLoading"
|
|
|
:disabled="!!calcActionRunning || calcPrompting" @click="openCancel">
|
|
|
取消批次
|
|
|
</el-button>
|
|
|
@@ -73,25 +82,14 @@
|
|
|
<i class="el-icon-info"></i>
|
|
|
<span>{{ actionHint }}</span>
|
|
|
<template v-if="actionLabels.length">
|
|
|
- <span class="steps-hint-label">当前可执行操作:</span>
|
|
|
+ <span class="steps-hint-label">当前可操作:</span>
|
|
|
<el-tag v-for="item in actionLabels" :key="item" size="mini" effect="plain" class="steps-hint-tag">
|
|
|
{{ item }}
|
|
|
</el-tag>
|
|
|
</template>
|
|
|
</div>
|
|
|
- <p class="steps-note">
|
|
|
- 批次没有单独的「已发布」状态,故流程条到「锁定」为止;工资条是否已发布以下方列表的状态为准。
|
|
|
- 执行核算后若停在「取数(存在阻断)」,需先在上方「核算异常」里处理阻断项,再点「重新核算」继续 ——
|
|
|
- 按钮能不能点,以系统当前允许执行的操作为准,不会按批次名称或阶段去猜。
|
|
|
- </p>
|
|
|
- <p class="steps-note steps-note--muted">
|
|
|
- <i class="el-icon-warning-outline"></i>
|
|
|
- <b>取消批次</b>仅对<b>未锁定且未发布工资条</b>的
|
|
|
- 取数 / 核算 / 待确认批次开放 —— 已锁定或已发布工资条的批次会被拒绝,
|
|
|
- 那时只能走工资条的更正草稿或人工调整来修正。误建的批次建议尽早取消,
|
|
|
- 避免它以「已取消」状态留在统计口径之外却仍占用同月唯一性。
|
|
|
- 核算前置检查发现的悬空引用(如模板引用了已停用的五险一金方案)会以 <b>阻断异常</b>出现在下方异常卡里,
|
|
|
- 处理后再重算。
|
|
|
+ <p v-if="!actionHint" class="steps-note">
|
|
|
+ 批次没有单独的「已发布」状态,流程条到「锁定」为止,工资条是否已发布以下方列表的状态为准。
|
|
|
</p>
|
|
|
</el-card>
|
|
|
|
|
|
@@ -100,7 +98,8 @@
|
|
|
<div slot="header" class="sync-card-header">
|
|
|
<span class="section-bar"></span>
|
|
|
<span class="section-title">批次数据同步与核算概况</span>
|
|
|
- <el-tag size="mini" class="sync-status-tag" :type="overview.synced ? 'success' : 'warning'">
|
|
|
+ <!-- 同步正常时不挂标签(步骤条「取数」节点已有状态),只在未同步 / 待取数时提示 -->
|
|
|
+ <el-tag v-if="!overview.synced" size="mini" type="warning" class="sync-status-tag">
|
|
|
{{ overview.syncStatusLabel || '暂无批次' }}
|
|
|
</el-tag>
|
|
|
<el-tag v-if="overview.alertLevel && overview.alertLevel !== 'NONE'" size="mini"
|
|
|
@@ -161,7 +160,8 @@
|
|
|
<div slot="header" class="sync-card-header">
|
|
|
<span class="section-bar"></span>
|
|
|
<span class="section-title">核算异常</span>
|
|
|
- <el-tag size="mini" type="danger" class="warn-total-tag">
|
|
|
+ <!-- 0/0 不挂红色标签(下方空态已说明无异常),有异常才提示且阻断优先用红 -->
|
|
|
+ <el-tag v-if="hasUnclosedException" size="mini" :type="exceptionTagType" class="warn-total-tag">
|
|
|
阻断 {{ overview.blockExceptionCount || 0 }} · 未关闭
|
|
|
{{ overview.openExceptionCount || 0 }} 条
|
|
|
</el-tag>
|
|
|
@@ -207,28 +207,16 @@
|
|
|
</div>
|
|
|
<div class="table-header-right">
|
|
|
<el-button v-if="$hasPermission('hr:payrollBatches:publishPayslips')" type="primary" icon="el-icon-s-promotion"
|
|
|
- plain :disabled="!canPublish" :title="actionHint || '仅审批锁定批次可发布'" @click="handleBatchPublish">
|
|
|
+ :disabled="!canPublish" :title="actionHint || '仅审批锁定批次可发布'" @click="handleBatchPublish">
|
|
|
批量发布工资条
|
|
|
</el-button>
|
|
|
- <el-button v-if="$hasPermission('hr:payrollBatches:export')" type="primary" icon="el-icon-download" plain
|
|
|
+ <el-button v-if="$hasPermission('hr:payrollBatches:export')" type="primary" icon="el-icon-download"
|
|
|
:disabled="!canExport" :title="actionHint || '仅审批锁定批次可导出'" @click="openExport">
|
|
|
导出薪资表
|
|
|
</el-button>
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <!--
|
|
|
- P2-10 / C19:讲清工资条的两个查看维度。
|
|
|
- C19 已确认 `POST /hr/payroll/payslips/page` 的 batchId 与 payrollMonth 可二选一
|
|
|
- (同时选时取交集),所以「清空批次 + 顶部选月份」就能跨批次按月看;
|
|
|
- 界面说明跟上,避免 HR 以为「选了月份看不到上个月」是故障。
|
|
|
- -->
|
|
|
- <div class="sheet-note">
|
|
|
- <i class="el-icon-info" />
|
|
|
- 工资条按「薪资批次」查看:切换上方批次可看该批次的人员明细;<b>清空批次</b>后在顶部选择核算月份,即可跨批次按月查看;
|
|
|
- 跨批次的金额汇总请到「薪资统计」。
|
|
|
- </div>
|
|
|
-
|
|
|
<!-- 快速筛选 -->
|
|
|
<!-- label-width 用 96px:「工资条状态」5 个字 + 默认 12px 右内边距需 82px,
|
|
|
原来 80px 差 2px 会把最后一个字挤到第二行 -->
|
|
|
@@ -464,6 +452,10 @@
|
|
|
<el-button type="danger" :loading="cancelLoading" @click="submitCancel">确认取消批次</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
+
|
|
|
+ <!-- 提交审批:公共 BPM 弹框(选流程 / 执行人 / 流程图,提交后回调刷新 dashboard) -->
|
|
|
+ <processSubmitDialog :processSubmitDialogFlag.sync="processSubmitDialogFlag" v-if="processSubmitDialogFlag"
|
|
|
+ ref="processSubmitDialogRef" @reload="onProcessSubmitReload" />
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
@@ -474,6 +466,7 @@ import { getOrgOptions, getCurrentOrgId } from '@/utils/current-org';
|
|
|
import {
|
|
|
BATCH_ACTION,
|
|
|
PAYSLIP_STATUS_OPTIONS,
|
|
|
+ PAYROLL_BATCH_APPROVAL_BUSINESS_KEY,
|
|
|
batchActionHint,
|
|
|
batchActionLabel,
|
|
|
canBatchAction,
|
|
|
@@ -496,6 +489,9 @@ import { download } from '@/utils/file';
|
|
|
import StartCalcDialog from './components/StartCalcDialog.vue';
|
|
|
import SalaryAdjustDialog from './components/SalaryAdjustDialog.vue';
|
|
|
import PayslipCorrectionDialog from './components/PayslipCorrectionDialog.vue';
|
|
|
+/* 提交审批统一走公共 BPM 弹框(与合同 / 离职 / 转正同一套) */
|
|
|
+import processSubmitDialog from '@/BIZComponents/processSubmitDialog/processSubmitDialog.vue';
|
|
|
+import { getCurrentUser } from '@/utils/token-util';
|
|
|
|
|
|
function formatAmount(val) {
|
|
|
if (val === null || val === undefined || val === '') return '--';
|
|
|
@@ -516,7 +512,7 @@ function fmtDateTime(val) {
|
|
|
export default {
|
|
|
name: 'SalarySlip',
|
|
|
mixins: [tabMixins],
|
|
|
- components: { StartCalcDialog, SalaryAdjustDialog, PayslipCorrectionDialog },
|
|
|
+ components: { StartCalcDialog, SalaryAdjustDialog, PayslipCorrectionDialog, processSubmitDialog },
|
|
|
data() {
|
|
|
return {
|
|
|
where: {
|
|
|
@@ -552,6 +548,8 @@ export default {
|
|
|
cancelVisible: false,
|
|
|
cancelLoading: false,
|
|
|
cancelForm: { reason: '' },
|
|
|
+ /* 提交审批:公共 BPM 弹框开关(提交成功后 @reload 里刷新 dashboard 与列表) */
|
|
|
+ processSubmitDialogFlag: false,
|
|
|
// 启动核算 / 人工调整 / 更正 / 导出
|
|
|
startCalcVisible: false,
|
|
|
adjustVisible: false,
|
|
|
@@ -666,6 +664,16 @@ export default {
|
|
|
if (rate >= 50) return '#1890ff';
|
|
|
return '#db7a25';
|
|
|
},
|
|
|
+ /** 是否存在未关闭异常:0/0 时不挂异常标签,避免「红色 0 条」造成误读 */
|
|
|
+ hasUnclosedException() {
|
|
|
+ const block = Number(this.overview.blockExceptionCount) || 0;
|
|
|
+ const open = Number(this.overview.openExceptionCount) || 0;
|
|
|
+ return block + open > 0;
|
|
|
+ },
|
|
|
+ /** 异常标签颜色:有阻断用红,仅有非阻断预警用橙 */
|
|
|
+ exceptionTagType() {
|
|
|
+ return (Number(this.overview.blockExceptionCount) || 0) > 0 ? 'danger' : 'warning';
|
|
|
+ },
|
|
|
/** 当前批次主键:工资条列表、导出、发布都以批次为维度 */
|
|
|
currentBatchId() {
|
|
|
return this.currentBatch?.id || '';
|
|
|
@@ -714,6 +722,14 @@ export default {
|
|
|
if (!this.currentBatchId || !this.overviewReady) return false;
|
|
|
return canBatchAction(this.overview, BATCH_ACTION.CANCEL);
|
|
|
},
|
|
|
+ /**
|
|
|
+ * 提交审批:契约里 SUBMIT_APPROVAL 由后端在 availableActions 给出
|
|
|
+ * (核算完成且无阻断异常时才给),前端不自按 batchStatus 猜。
|
|
|
+ */
|
|
|
+ canSubmitApproval() {
|
|
|
+ if (!this.currentBatchId || !this.overviewReady) return false;
|
|
|
+ return canBatchAction(this.overview, BATCH_ACTION.SUBMIT_APPROVAL);
|
|
|
+ },
|
|
|
/** 批量发布:契约「仅审批锁定批次可发布」(后端仍会校验阻断异常与发布状态) */
|
|
|
canPublish() {
|
|
|
if (!this.currentBatchId || !this.overviewReady) return false;
|
|
|
@@ -744,38 +760,43 @@ export default {
|
|
|
},
|
|
|
/** 按钮禁用原因(把后端状态机讲清楚,避免 HR 猜「为什么不能点」) */
|
|
|
actionHint() {
|
|
|
- if (!this.currentBatchId) return '请先选择薪资批次';
|
|
|
+ if (!this.currentBatchId) return '尚未选择薪资批次';
|
|
|
/*
|
|
|
* ★ 2026-10-09:可执行动作完全由后端 availableActions 给出,
|
|
|
* 「取不到」与「终态空数组」都会让按钮全灰 —— 必须给出明确原因,不能静默。
|
|
|
*/
|
|
|
if (!this.overviewReady) {
|
|
|
- return '暂未获取到当前可执行的操作:正在加载,或加载失败 / 无权限(请重试或联系管理员)';
|
|
|
+ return '暂时取不到该批次的执行状态(加载中、加载失败或无权限),请稍后重试';
|
|
|
}
|
|
|
if (!this.availableActions.length) {
|
|
|
- return '当前批次已无可用操作(流程已结束),如需继续请新建批次';
|
|
|
+ return '该批次流程已结束,没有可执行的操作';
|
|
|
}
|
|
|
- if (this.batchStatus === 'DRAFT') return '新建批次后点「执行核算」开始取数与试算';
|
|
|
+ /* 文案只说明「批次现在是什么状态、下一步的关键约束」,
|
|
|
+ 不再逐个复述按钮名 —— 右侧「当前可操作」标签已经把可点的动作列出来了 */
|
|
|
+ if (this.batchStatus === 'DRAFT') return '批次已创建,尚未取数';
|
|
|
+ if (this.batchStatus === 'FETCHING') return '批次已创建,尚未取数';
|
|
|
if (this.batchStatus === 'FETCHED') {
|
|
|
- return '批次停在取数:先处理完下方阻断异常,再点「重算」继续';
|
|
|
+ return '取数已完成,但存在阻断项,处理完下方异常后才能继续核算';
|
|
|
}
|
|
|
- if (this.batchStatus === 'CALCULATING') return '核算进行中,请稍候刷新';
|
|
|
- if (this.batchStatus === 'CALCULATED') return '核算完成,可「重算」或在异常清零后送审批';
|
|
|
- if (this.batchStatus === 'APPROVING') return '审批中:批次已进入流程,不能再核算或取消';
|
|
|
+ if (this.batchStatus === 'CALCULATING') return '核算进行中,请稍候';
|
|
|
+ if (this.batchStatus === 'CALCULATED') {
|
|
|
+ const blockCount = Number(this.overview.blockExceptionCount) || 0;
|
|
|
+ return blockCount > 0
|
|
|
+ ? `核算已完成,但存在 ${blockCount} 条阻断异常,处理完并重新核算后才能送审`
|
|
|
+ : '核算已完成,结果确认无误即可提交审批';
|
|
|
+ }
|
|
|
+ if (this.batchStatus === 'APPROVING') return '审批中,等待审批结果,此期间不能核算或取消';
|
|
|
if (this.batchStatus === 'APPROVED_LOCKED') {
|
|
|
- return '审批锁定:可发布工资条或导出;金额修正走更正草稿 / 人工调整';
|
|
|
+ return '审批已锁定,可发布工资条或导出;金额修正走更正草稿或人工调整';
|
|
|
}
|
|
|
if (this.batchStatus === 'APPROVED') {
|
|
|
- return '已审批(历史批次):如需修正金额请走更正草稿 / 人工调整';
|
|
|
+ return '历史批次(已审批),金额修正走更正草稿或人工调整';
|
|
|
}
|
|
|
- if (this.batchStatus === 'CONFIRMING') return '确认中:等待员工确认后再送审批';
|
|
|
- /* FETCHING = 建批次后尚未取数,取数由「执行核算」触发,必须给出可操作的引导
|
|
|
- (2026-11-12 变基合并:本地版文案与之等价,保留上游这句) */
|
|
|
- if (this.batchStatus === 'FETCHING') return '批次待取数:点「执行核算」开始取数与试算';
|
|
|
- if (this.batchStatus === 'PAID') return '该批次工资已发放,不再支持核算类操作';
|
|
|
+ if (this.batchStatus === 'CONFIRMING') return '工资条确认中,员工确认完成后才能送审';
|
|
|
+ if (this.batchStatus === 'PAID') return '工资已发放,不再支持核算类操作';
|
|
|
if (this.batchStatus === 'CLOSED') return '批次已关闭,不再参与核算与统计';
|
|
|
if (this.batchStatus === 'VOID') return '批次已作废,不再参与核算与统计';
|
|
|
- if (this.batchStatus === 'REJECTED') return '审批已驳回:修正数据后可「重算」再送审';
|
|
|
+ if (this.batchStatus === 'REJECTED') return '审批已驳回,修正数据后重新核算再提交';
|
|
|
if (this.batchStatus === 'CANCELLED') return '批次已取消,不再参与核算与统计';
|
|
|
/*
|
|
|
* P2-7:兜底不再返回空字符串。
|
|
|
@@ -784,8 +805,8 @@ export default {
|
|
|
*/
|
|
|
const raw = this.currentBatch?.batchStatusRaw || this.currentBatch?.batchStatus;
|
|
|
return raw
|
|
|
- ? `当前批次状态「${raw}」下没有可执行的动作;如确需继续,请把该状态反馈给系统管理员`
|
|
|
- : '当前批次状态下没有可执行的动作,请刷新后重试或联系管理员';
|
|
|
+ ? `当前批次状态「${raw}」暂不支持任何操作,请联系管理员`
|
|
|
+ : '暂不支持对该批次执行操作,请刷新后重试或联系管理员';
|
|
|
},
|
|
|
/** 步骤条进度:建批次 → 取数 → 核算 → 送审 → 锁定 */
|
|
|
batchStepActive() {
|
|
|
@@ -1345,6 +1366,64 @@ export default {
|
|
|
this.publishLoading = false;
|
|
|
}
|
|
|
},
|
|
|
+ /* ---------- 提交审批(公共 BPM 流程,businessKey = hr_payroll_batch_approval) ---------- */
|
|
|
+ async openSubmitApproval() {
|
|
|
+ if (!this.currentBatchId) {
|
|
|
+ this.$message.warning('请先选择薪资批次');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if (!this.canSubmitApproval) {
|
|
|
+ this.$message.warning(
|
|
|
+ batchActionHint(this.overview, BATCH_ACTION.SUBMIT_APPROVAL) ||
|
|
|
+ `当前批次不可提交审批,批次状态:${
|
|
|
+ this.currentBatch?.batchStatusLabel || this.batchStatus || '-'
|
|
|
+ }`
|
|
|
+ );
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ try {
|
|
|
+ await this.$confirm(
|
|
|
+ `提交后批次进入审批中,核算 / 重算 / 取消批次都不能再用,审批锁定后才能发布工资条。确认提交「${
|
|
|
+ this.currentBatch?.batchNo || this.currentBatchId
|
|
|
+ }」的薪资审批?`,
|
|
|
+ '提交审批',
|
|
|
+ { type: 'warning', confirmButtonText: '确认提交', cancelButtonText: '再想想' }
|
|
|
+ );
|
|
|
+ } catch (error) {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ this.launchApproval();
|
|
|
+ },
|
|
|
+ /** 打开公共 BPM 提交审核弹框(变量供流程分支 / 抄送取值,缺省不传空串) */
|
|
|
+ launchApproval() {
|
|
|
+ const batch = this.currentBatch || {};
|
|
|
+ const company = this.legalEntities.find(
|
|
|
+ (item) => String(item.id) === String(batch.companyId)
|
|
|
+ );
|
|
|
+ this.processSubmitDialogFlag = true;
|
|
|
+ this.$nextTick(() => {
|
|
|
+ const currentUser = getCurrentUser() || {};
|
|
|
+ this.$refs.processSubmitDialogRef?.init({
|
|
|
+ businessId: batch.id || this.currentBatchId,
|
|
|
+ businessKey: PAYROLL_BATCH_APPROVAL_BUSINESS_KEY,
|
|
|
+ formCreateUserId:
|
|
|
+ batch.createUserId || currentUser.id || currentUser.userId || '',
|
|
|
+ variables: {
|
|
|
+ businessCode: batch.batchNo || '',
|
|
|
+ businessName: `${batch.payrollMonth || ''} 薪资核算`.trim(),
|
|
|
+ businessType: '薪资核算',
|
|
|
+ groupId: batch.companyId || '',
|
|
|
+ groupName: company?.name || '',
|
|
|
+ payrollMonth: batch.payrollMonth || '',
|
|
|
+ employeeCount: this.overview.calculatedEmployeeCount || 0
|
|
|
+ }
|
|
|
+ });
|
|
|
+ });
|
|
|
+ },
|
|
|
+ /* 弹框提交成功:批次已进入审批中,重拉批次(状态 + dashboard 动作集),核算类动作随之消失 */
|
|
|
+ onProcessSubmitReload() {
|
|
|
+ this.loadBatches();
|
|
|
+ },
|
|
|
/* ---------- Y19:受控导出(契约 body 只有 reason;仅审批锁定批次可导出 + 写审计) ---------- */
|
|
|
openExport() {
|
|
|
if (!this.currentBatchId) {
|
|
|
@@ -1496,18 +1575,6 @@ export default {
|
|
|
font-size: 12.5px;
|
|
|
line-height: 1.7;
|
|
|
color: #909399;
|
|
|
-
|
|
|
- &--muted {
|
|
|
- margin-top: 6px;
|
|
|
- padding: 8px 10px;
|
|
|
- border-left: 2px solid #e6a23c;
|
|
|
- background: #fdf6ec;
|
|
|
- color: #a8845c;
|
|
|
-
|
|
|
- b {
|
|
|
- color: #b88230;
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
/* 当前状态可做什么(后端 availableActions 驱动) */
|
|
|
@@ -1731,20 +1798,6 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /* P2-10:工资条「按批次查看」的说明行 */
|
|
|
- .sheet-note {
|
|
|
- display: flex;
|
|
|
- gap: 6px;
|
|
|
- align-items: center;
|
|
|
- margin-bottom: 12px;
|
|
|
- font-size: 12.5px;
|
|
|
- line-height: 1.7;
|
|
|
- color: #909399;
|
|
|
-
|
|
|
- i {
|
|
|
- flex: none;
|
|
|
- }
|
|
|
- }
|
|
|
|
|
|
.calc-table-filter {
|
|
|
margin-bottom: 12px;
|
|
|
@@ -1815,11 +1868,56 @@ export default {
|
|
|
color: #7a8699;
|
|
|
}
|
|
|
|
|
|
+/*
|
|
|
+ * 完成率 / 核算异常两卡等高对齐:
|
|
|
+ * 左卡有圆环(固定 120px)+ 3 行统计,右卡空态只有一行,等高后右卡会剩一大片空白。
|
|
|
+ * 这里让两列 flex 拉伸,卡片 body 变纵向 flex,异常列表撑满剩余高度(多了可滚动),
|
|
|
+ * 空态用 margin:auto 垂直居中,视觉上和左卡底部对齐。
|
|
|
+ */
|
|
|
+.salary-calc-center .calc-overview-row {
|
|
|
+ display: flex;
|
|
|
+ flex-wrap: wrap;
|
|
|
+ align-items: stretch;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row::before,
|
|
|
+.salary-calc-center .calc-overview-row::after {
|
|
|
+ display: none;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row > .el-col {
|
|
|
+ float: none;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row .overview-card {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ height: 100%;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row .overview-card > .el-card__body {
|
|
|
+ flex: 1;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ min-height: 0;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row .completion-block {
|
|
|
+ flex: 1;
|
|
|
+}
|
|
|
+
|
|
|
+.salary-calc-center .calc-overview-row .warning-list {
|
|
|
+ flex: 1;
|
|
|
+ min-height: 0;
|
|
|
+ overflow-y: auto;
|
|
|
+}
|
|
|
+
|
|
|
.salary-calc-center .warning-empty {
|
|
|
padding: 24px 0;
|
|
|
text-align: center;
|
|
|
font-size: 14px;
|
|
|
color: #909399;
|
|
|
+ margin: auto;
|
|
|
}
|
|
|
|
|
|
.salary-calc-center .warning-empty i {
|