forked from integrated_whb/integrated_whb_vue
八项作业流程图
parent
287201927d
commit
f645b8fbe8
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue