|
|
@ -35,8 +35,9 @@ export default defineComponent({ |
|
|
|
const { getProcessState, processVariables } = useProcessState() |
|
|
|
const { getProcessState, processVariables } = useProcessState() |
|
|
|
|
|
|
|
|
|
|
|
const initData = () => { |
|
|
|
const initData = () => { |
|
|
|
taskStateRef.value = getTaskState(dateRef.value) |
|
|
|
taskStateRef.value = getTaskState(dateRef.value) || taskStateRef.value |
|
|
|
processStateRef.value = getProcessState(dateRef.value) |
|
|
|
processStateRef.value = |
|
|
|
|
|
|
|
getProcessState(dateRef.value) || processStateRef.value |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const handleTaskDate = (val: any) => { |
|
|
|
const handleTaskDate = (val: any) => { |
|
|
|