-
-
-
- 提交时间:
-
-
{{ item.submitTime }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
发起人:{{ item.initiatorName }}
+
当前节点:{{ item.taskName }}
+
+
+
+
+ 提交时间:
+
+
{{ item.submitTime }}
+
时间要求 {{ item.totalTime }}天
+
+
查看
-
查看
+
@@ -256,6 +279,8 @@ import 'element-plus/theme-chalk/display.css'
import {useAuthStore} from '@/stores/userstore.js'
import * as echarts from 'echarts'
import {toThousands} from "@/utils/changePrice.js";
+import {ElNotification} from "element-plus";
+import {getHomeInfo} from "@/api/home";
const AuthStore = useAuthStore()
const router = useRouter()
@@ -315,7 +340,7 @@ const taskTabList = ref([
const todoList = ref([
{
status: 0,
- targetState: '项目归档',
+ targetState: '00',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -323,7 +348,7 @@ const todoList = ref([
},
{
status: 1,
- targetState: '项目归档',
+ targetState: '10',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -331,7 +356,7 @@ const todoList = ref([
},
{
status: 2,
- targetState: '项目归档',
+ targetState: '20',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -339,7 +364,7 @@ const todoList = ref([
},
{
status: 0,
- targetState: '项目归档',
+ targetState: '40',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -347,7 +372,7 @@ const todoList = ref([
},
{
status: 1,
- targetState: '项目归档',
+ targetState: '50',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -355,7 +380,7 @@ const todoList = ref([
},
{
status: 2,
- targetState: '项目归档',
+ targetState: '80',
initiatorName: '胡晓',
taskName: '审批人',
submitTime: '2024-08-07 19:00:01',
@@ -783,8 +808,22 @@ const init = () => {
data.fundPieCharts = echarts.init(document.getElementById('fundPie')).setOption(fundPieOption.value)
data.moneyPieCharts = echarts.init(document.getElementById('moneyPie')).setOption(moneyPieOption.value)
}
-
+const getTodoList=()=>{
+ getHomeInfo().then(res => {
+ if (res.code === 1000) {
+ // todoList.value=res.data.rows
+ // todoNum.value=res.data.total
+ }else{
+ ElNotification({
+ title: '提示',
+ message: res.msg,
+ type: 'error'
+ })
+ }
+ })
+}
onMounted(() => {
+ // getTodoList()
init()
})
@@ -847,9 +886,6 @@ const handleReport = (row) => {
}
})
}
-const getTotal = (val) => {
- todoNum.value = val
-}
const getReportNumTotal = (val) => {
reportNum.value = val
}