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
| <template>
| <div style="padding:30px;">
| <el-alert :closable="false" title="menu 1-1" type="success">
| <router-view />
| </el-alert>
| </div>
| </template>
|
| <script>
| export default {
| created() {
| this.getProjectList()
| },
| data() {
| return {}
| },
| methods: {
| // 获取项目信息列表
| async getProjectList() {
| const { data: res } = await this.$http.get('/GET/promsgs',
| { params: this.queryInfo })
| console.log(res)
| if (res.meta.status !== 200) return this.$message.error('获取项目信息列表失败')
|
| this.projectList = res.data.promsgs
| }
| }
| }
| </script>
|
|