| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <template>
- <div class="page-container">
- <el-row class="counter-wrap">
- <el-col :span="4" class="left-counter-wrap">
- <left-counter ref="LeftCounter" :current-select="viewCode" @selectItem="selectItem" />
- </el-col>
- <el-col :span="20" class="right-counter-wrap">
- <check-task-list ref="TaskList" @operationalUpdate="actionUpdate" />
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import LeftCounter from './LeftCounter.vue'
- import CheckTaskList from './CheckTaskList.vue'
- export default {
- name: 'CheckTaskIndex',
- components: {
- LeftCounter,
- CheckTaskList
- },
- data() {
- return {
- viewCode: 'MyCreated'
- }
- },
- mounted() {
- },
- methods: {
- // 选择变化
- selectItem(action) {
- this.$refs['TaskList'].loadData(action)
- },
- // 操作更新
- actionUpdate() {
- this.$refs['LeftCounter'].loadData()
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- </style>
|