八项作业流程图

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

View File

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