riku
2024-06-05 3653db5756ad6ae89eb573409a3b0fa9926175a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<template>
  <div>
    <el-row justify="space-evenly">
      <!-- <div class="f-l">现场巡查跟踪(现场人员巡查情况实时掌握)</div> -->
      <!-- <SubtaskItem v-for="item in subtaskList" :key="item.guid" v-bind="item"> </SubtaskItem> -->
      <el-col :span="4">
        <TaskNode title="新任务" :items="subtaskList" v-slot="{ item, index }">
          <SubtaskItem v-bind="item" :index="index"> </SubtaskItem>
        </TaskNode>
      </el-col>
      <el-col :span="4">
        <TaskNode title="正在执行" :items="subtaskList" v-slot="{ item, index }">
          <SubtaskItem v-bind="item" :index="index"> </SubtaskItem>
        </TaskNode>
      </el-col>
      <el-col :span="4">
        <TaskNode title="待审核" :items="subtaskList" v-slot="{ item, index }">
          <SubtaskExamineItem v-bind="item" :index="index" type="问题审核"> </SubtaskExamineItem>
        </TaskNode>
      </el-col>
      <el-col :span="4">
        <TaskNode title="待整改" :items="subtaskList" v-slot="{ item, index }">
          <SubtaskExamineItem v-bind="item" :index="index" type="待整改"> </SubtaskExamineItem>
        </TaskNode>
      </el-col>
      <el-col :span="4">
        <TaskNode title="待确认" :items="subtaskList" v-slot="{ item, index }">
          <SubtaskExamineItem v-bind="item" :index="index" type="整改审核"> </SubtaskExamineItem>
        </TaskNode>
      </el-col>
    </el-row>
  </div>
</template>
 
<script>
export default {
  data() {
    return {
      subtaskList: []
    }
  },
  watch: {},
  methods: {},
  mounted() {
    let i = 0
    while (i < 5) {
      this.subtaskList.push({
        guid: 'SMuheEkjswioSn7A',
        name: '中科生态数字港项目巡查中科生态数字港项目巡查',
        district: '金山区',
        planTime: '2024-06-04',
        startTime: '2024-06-04 13:31:26',
        endTime: '2024-06-04 13:33:37',
        userName: '朱正强',
        status: '已结束',
        total: 4,
        checked: 2
      })
      i++
    }
  }
}
</script>
 
<style scoped>
.text {
  background-color: aliceblue;
}
</style>