This commit is contained in:
Teo
2025-08-30 07:31:11 +08:00
parent e0a4b1e8fa
commit 81d22d0b69
4 changed files with 244 additions and 7 deletions

View File

@ -432,7 +432,10 @@ const handleStartWorkFlow = async (data: LeaveForm) => {
};
//审批记录
const handleApprovalRecord = () => {
approvalRecordRef.value.init(form.value.id + '_audit');
if (form.value.id.indexOf('_audit') == -1) {
form.value.id = form.value.id + '_audit';
}
approvalRecordRef.value.init(form.value.id);
};
//提交回调
const submitCallback = async () => {
@ -508,7 +511,9 @@ onMounted(() => {
.el-input__inner,
.el-select .el-input__inner {
border-radius: 4px;
transition: border-color 0.2s, box-shadow 0.2s;
transition:
border-color 0.2s,
box-shadow 0.2s;
&:focus {
border-color: var(--primary-light);
@ -518,7 +523,9 @@ onMounted(() => {
.el-textarea__inner {
border-radius: 4px;
transition: border-color 0.2s, box-shadow 0.2s;
transition:
border-color 0.2s,
box-shadow 0.2s;
&:focus {
border-color: var(--primary-light);