code review:驳回逻辑

This commit is contained in:
YunaiV
2023-09-24 23:05:33 +08:00
parent ada93a160b
commit 245147223f
3 changed files with 14 additions and 20 deletions

View File

@ -249,7 +249,7 @@ const getResultCss = (result) => {
return 'highlight-cancel'
} else if (result === 5) {
// 退回
return 'highlight-rollback'
return 'highlight-return'
}
return ''
}
@ -586,41 +586,41 @@ watch(
}
/** 回退 */
.highlight-rollback.djs-shape .djs-visual > :nth-child(1) {
.highlight-return.djs-shape .djs-visual > :nth-child(1) {
fill: #e6a23c !important;
stroke: #e6a23c !important;
fill-opacity: 0.2 !important;
}
.highlight-rollback.djs-shape .djs-visual > :nth-child(2) {
.highlight-return.djs-shape .djs-visual > :nth-child(2) {
fill: #e6a23c !important;
}
.highlight-rollback.djs-shape .djs-visual > path {
.highlight-return.djs-shape .djs-visual > path {
fill: #e6a23c !important;
fill-opacity: 0.2 !important;
stroke: #e6a23c !important;
}
.highlight-rollback.djs-connection > .djs-visual > path {
.highlight-return.djs-connection > .djs-visual > path {
stroke: #e6a23c !important;
}
.highlight-rollback:not(.djs-connection) .djs-visual > :nth-child(1) {
.highlight-return:not(.djs-connection) .djs-visual > :nth-child(1) {
fill: #e6a23c !important; /* color elements as green */
}
:deep(.highlight-rollback.djs-shape .djs-visual > :nth-child(1)) {
:deep(.highlight-return.djs-shape .djs-visual > :nth-child(1)) {
fill: #e6a23c !important;
stroke: #e6a23c !important;
fill-opacity: 0.2 !important;
}
:deep(.highlight-rollback.djs-shape .djs-visual > :nth-child(2)) {
:deep(.highlight-return.djs-shape .djs-visual > :nth-child(2)) {
fill: #e6a23c !important;
}
:deep(.highlight-rollback.djs-shape .djs-visual > path) {
:deep(.highlight-return.djs-shape .djs-visual > path) {
fill: #e6a23c !important;
fill-opacity: 0.2 !important;
stroke: #e6a23c !important;
}
:deep(.highlight-rollback.djs-connection > .djs-visual > path) {
:deep(.highlight-return.djs-connection > .djs-visual > path) {
stroke: #e6a23c !important;
}