diff --git a/src/views/home/index.vue b/src/views/home/index.vue index 431a050..f775836 100644 --- a/src/views/home/index.vue +++ b/src/views/home/index.vue @@ -355,56 +355,7 @@ const taskTabList = ref([ type: 'check' } ]) -const todoList = ref([ - { - status: 0, - targetState: '00', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, - { - status: 1, - targetState: '10', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, - { - status: 2, - targetState: '20', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, - { - status: 0, - targetState: '40', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, - { - status: 1, - targetState: '50', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, - { - status: 2, - targetState: '80', - initiatorName: '胡晓', - taskName: '审批人', - submitTime: '2024-08-07 19:00:01', - totalTime: '10', - }, -]) +const todoList = ref([]) const noticeList = ref([ // { // articleTitle: '系统升级通知,升级通知,期间部分服务将暂升级通知,期间部分服务将暂升级通知,期间部分服务将暂将暂停' @@ -676,7 +627,7 @@ const getTodoList = () => { getHomeTaskInfo().then(res => { if (res.code === 1000) { todoList.value=res.data.rows - todoNum.value=res.data.total + // todoNum.value=res.data.total } else { ElNotification({ title: '提示',