longyvfengyun
2023-12-25 d8d792a6842832e8f6af6604274c438b25053afe
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
<template>
  <div class="pages-config">
    <el-table stripe size="mini" header-row-class-name="header-primary" height="100%" :data="tblData">
      <el-table-column
          prop="label"
          label="功能模块"
          min-width="150"
          :resizable="false"
          align="center">
      </el-table-column>
      <el-table-column
          prop="value"
          label="状态"
          min-width="150"
          :resizable="false"
          align="center">
        <template slot-scope="scope">
          <el-checkbox :value="scope.row.value" disabled></el-checkbox>
        </template>
      </el-table-column>
      <el-table-column
          prop="des"
          label="功能描述"
          min-width="380"
          :resizable="false"
          align="center">
      </el-table-column>
    </el-table>
  </div>
</template>
 
<script>
export default {
  name: "configInfo",
  data() {
    return {}
  },
  computed: {
    tblData() {
      let list = [];
      for(let key in this.$CFG) {
        list.push(this.$CFG[key]);
      }
      return list;
    }
  }
}
</script>
 
<style scoped>
.pages-config {
  height: 400px;
}
</style>