基于廊坊系统为基础,国防科技大学系统演示Demo
surprise
2024-04-29 8a90585f32ff7f0ceb807581db2d7b59e9820874
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
130
131
132
133
134
135
136
137
138
139
<template>
  <div class="subpage_Box">
    <My-bread :list="[
          `数据资源管理`,
          `通用模板管理`,
        ]"></My-bread>
    <el-divider />
    <div class="mainBox">
      <div class="mainContent">
        <div></div>
        <div>
          <el-button size="small"
                     type="success"
                     plain>新增模板</el-button>
          <el-button size="small"
                     plain
                     type="danger">删除模板</el-button>
        </div>
      </div>
      <div class="taleBox">
        <el-table :data="tableData"
                  style="width: 100%;height:calc(100% - 1px)">
          <el-table-column prop="date"
                           label="日期"
                           width="180">
          </el-table-column>
          <el-table-column prop="name"
                           label="姓名"
                           width="180">
          </el-table-column>
          <el-table-column prop="address"
                           label="地址">
          </el-table-column>
        </el-table>
      </div>
      <div class="pageBox">
        <el-pagination @size-change="handleSizeChange"
                       @current-change="handleCurrentChange"
                       :current-page.sync="currentPage2"
                       :page-sizes="[100, 200, 300, 400]"
                       :page-size="100"
                       layout="sizes, prev, pager, next"
                       :total="1000">
        </el-pagination>
      </div>
    </div>
 
  </div>
</template>
 
<script>
 
import MyBread from "../../components/MyBread.vue";
 
export default {
  name: "catalogueManage",
  components: {
    MyBread,
  },
  data () {
 
    return {
      tableData: [{
        date: '2016-05-02',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1518 弄'
      },{
        date: '2016-05-04',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1517 弄'
      },{
        date: '2016-05-01',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1519 弄'
      },{
        date: '2016-05-03',
        name: '王小虎',
        address: '上海市普陀区金沙江路 1516 弄'
      }]
    };
  },
  methods: {
 
  },
  mounted () {
 
  },
};
</script>
 
<style lang="less" scoped>
.subpage_Box {
  //height: 96%;
  width: calc(98% - 20px);
  height: calc(95.5% - 20px);
 
  border-radius: 10px;
  background: #f4f8ff;
  margin: 10px;
}
 
.mainBox {
  padding-top: 10px;
  width: 100%;
  height: calc(100% - 40px);
  display: flex;
  flex-direction: column;
  .mainContent {
    display: flex;
    justify-content: space-between;
  }
  .taleBox {
    flex: 1;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .pageBox {
    display: flex;
    justify-content: center;
  }
}
.loadBox {
  z-index: 2002;
  background: rgba(0, 0, 0, 0.2);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  .el-loading-mask {
    background: transparent !important;
  }
}
.btnBox {
  position: absolute;
  bottom: 0;
  right: 0;
}
</style>