ludc
2023-12-06 28a9dc3f52b879053c79feb216fa868be906cd02
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<template>
  <el-container>
    <el-aside style="width:250px">
      <basic-container>
        <!--          树组件-->
        <master-tree
          :currentPage="this.currentPage"
          :pageSize="this.pageSize"
          @TreeValue="TreeValueEmit"
          @Treedata="TreedataList"
          @codeClassifyOid="codeClassifyOidList"
          @coderuleoid="coderuleoidList"
          @nodeClickTemplateOids="nodeClickTem"
          @tableDataArray="tableDataArrays"
          @tableHeadBttoms="tableHeadBttoms"
          @tableHeadDataFateher="tableHeadDatas"
          @tableHeadFindData="tableHeadFindDatas"
          @nodeClickList="nodeClickLists"
          @total="totals"
          @loading="loadingHandler"
        >
        </master-tree>
      </basic-container>
    </el-aside>
    <el-main>
      <!--        表格组件-->
      <VciMasterCrud
        :TreeValue="TreeValue"
        :Treedata="Treedata"
        :codeClassifyOid="this.codeClassifyOid"
        :coderuleoid="this.coderuleoid"
        :isLoading="isLoading"
        :page="this.page"
        :tableDataArray="tableDataArray"
        :tableHeadBtnData="masterVrBtnList"
        :tableHeadDataFateher="this.tableHeadDataFateher"
        :tableHeadFindData="tableHeadFindData"
        :templateOid="templateOid"
        :total="this.total"
        :nodeClickList="this.nodeClickList"
        @currentPage="currentPages"
        @pageSize="pageSizes"
      >
      </VciMasterCrud>
    </el-main>
  </el-container>
</template>
 
<script>
export default {
  name: "items.vue",
  data() {
    return {
      // 分页
      page: {
        total: 0,
        currentPage: 1,
        pageSize: 100,
        pageSizes: [10, 30, 50, 100, 200],
      },
      pageSize: "100",
      currentPage: "1",
      codeClassifyOid: "",
      coderuleoid: "",
      Treedata: [],
      templateOid: "",
      tableDataArray: [],
      masterVrBtnList: [],
      tableHeadDataFateher: [],
      total: "",
      isLoading: false,
      tableHeadFindData: {},
      TreeValue: '',
      nodeClickList:[]
    }
  },
  created() {
  },
  methods: {
    nodeClickLists(val){
      this.nodeClickList=val;
    },
    TreeValueEmit(val) {
      this.TreeValue = val;
    },
    codeClassifyOidList(val) {
      this.codeClassifyOid = val;
    },
    coderuleoidList(val) {
      this.coderuleoid = val;
    },
    TreedataList(val) {
      this.Treedata = val;
    },
    pageSizes(val) {
      this.pageSize = val;
    },
    currentPages(val) {
      this.currentPage = val;
    },
    tableDataArrays(val) {
      this.tableDataArray = val;
    },
    totals(val) {
      this.total = val;
    },
    tableHeadDatas(val) {
      this.tableHeadDataFateher = val;
    },
    tableHeadFindDatas(val) {
      this.tableHeadFindData = val;
    },
    nodeClickTem(val) {
      this.templateOid = val;
 
    },
    tableHeadBttoms(val) {
      this.masterVrBtnList = val;
    },
    loadingHandler(val) {
      this.isLoading = val;
    }
  }
}
</script>
 
<style scoped>
 
</style>