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