You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.4 KiB
38 lines
1.4 KiB
{{template "header" }}
|
|
<div id="app" style="width:100%">
|
|
<template>
|
|
<el-container v-loading.fullscreen.lock="fullscreenLoading">
|
|
{{template "setting_left" .}}
|
|
|
|
<el-main class="mainMain">
|
|
<el-button style="margin-bottom: 10px;" @click="addWelcome" type="primary" size="small">添加欢迎</el-button>
|
|
<el-table
|
|
:data="notices"
|
|
border
|
|
style="width: 100%">
|
|
<el-table-column
|
|
prop="content"
|
|
label="回复内容">
|
|
</el-table-column>
|
|
<el-table-column
|
|
prop="ctime"
|
|
label="添加时间">
|
|
</el-table-column>
|
|
<el-table-column
|
|
prop="id"
|
|
label="操作">
|
|
<template slot-scope="scope">
|
|
<el-button @click="getWelcome(scope.row.id)" type="primary" size="small" plain>编辑</el-button>
|
|
<el-button @click="deleteWelcome(scope.row.id)" type="danger" size="small" plain>删除</el-button>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table>
|
|
</el-main>
|
|
|
|
</el-container>
|
|
</template>
|
|
|
|
</div>
|
|
</body>
|
|
{{template "setting_bottom" .}}
|