八项作业流程图

pull/1/head
fangjiakai 2024-02-21 10:48:25 +08:00
parent 287201927d
commit f645b8fbe8
2 changed files with 12 additions and 12 deletions

View File

@ -35,12 +35,12 @@ const props = defineProps({
const emits = defineEmits(["update:visible"]);
const visible = useVModel(props, "visible", emits);
const fnGetStatus = (step) => {
if (step.STATUS === 1) {
return "finish";
} else if (step.STATUS < 0) {
return "error";
} else if (step.CURRENT_STEP) {
return "process";
if (step.SIGN_USER) {
return step.SIGN_USER;
} else if (step.FINISHED_SIGN_USER) {
return step.FINISHED_SIGN_USER;
} else if (step.ACT_USER_NAME) {
return step.ACT_USER_NAME;
}
};
</script>

View File

@ -35,12 +35,12 @@ const emits = defineEmits(["update:visible"]);
const visible = useVModel(props, "visible", emits);
const fnGetStatus = (step) => {
if (step.STATUS === 1) {
return "finish";
} else if (step.STATUS < 0) {
return "error";
} else if (step.CURRENT_STEP) {
return "process";
if (step.SIGN_USER) {
return step.SIGN_USER;
} else if (step.FINISHED_SIGN_USER) {
return step.FINISHED_SIGN_USER;
} else if (step.ACT_USER_NAME) {
return step.ACT_USER_NAME;
}
};
</script>