59 lines
2.2 KiB
HTML
59 lines
2.2 KiB
HTML
|
{{template "header" }}
|
||
|
<div id="app" style="width:100%">
|
||
|
<template>
|
||
|
<el-container v-loading.fullscreen.lock="fullscreenLoading">
|
||
|
|
||
|
<el-main class="mainMain">
|
||
|
<el-form label-width="90px" style="margin-top:20px;width:500px;">
|
||
|
<el-form-item label="IP地址">
|
||
|
<el-input v-model="ipAddress"></el-input>
|
||
|
</el-form-item>
|
||
|
<el-form-item label="名称">
|
||
|
<el-input v-model="ipAddressName"></el-input>
|
||
|
</el-form-item>
|
||
|
<el-form-item>
|
||
|
<el-button type="primary" @click="postIpBlack()">提交</el-button>
|
||
|
</el-form-item>
|
||
|
</el-form>
|
||
|
|
||
|
<el-table
|
||
|
:data="ipblackList"
|
||
|
border
|
||
|
style="width: 100%">
|
||
|
<el-table-column
|
||
|
prop="ip"
|
||
|
label="IP地址">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="ent_id"
|
||
|
label="ent_id">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="kefu_id"
|
||
|
label="kefu_id">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="name"
|
||
|
label="name">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="create_at"
|
||
|
label="添加时间">
|
||
|
</el-table-column>
|
||
|
<el-table-column
|
||
|
prop="id"
|
||
|
label="操作">
|
||
|
<template slot-scope="scope">
|
||
|
<el-button @click="deleteIpblack(scope.row.ip)" type="danger" size="small" plain>删除</el-button>
|
||
|
</template>
|
||
|
</el-table-column>
|
||
|
</el-table>
|
||
|
</el-main>
|
||
|
|
||
|
</el-container>
|
||
|
</template>
|
||
|
|
||
|
</div>
|
||
|
</body>
|
||
|
{{template "setting_bottom" .}}
|