| | |
| | | <template> |
| | | <div class="logLog_box"> |
| | | <My-bread |
| | | :list="[ |
| | | <My-bread :list="[ |
| | | `${$t('operatManage.operatManage')}`, |
| | | `${$t('operatManage.blackwhiteList')}`, |
| | | ]" |
| | | ></My-bread> |
| | | ]"></My-bread> |
| | | <el-divider /> |
| | | <el-tabs v-model="activeName" @tab-click="handleClick"> |
| | | <el-tab-pane :label="$t('operatManage.BWL.blackList')" name="first"> |
| | | <div class="inquire subpage_Div" ref="container"> |
| | | <el-form ref="queryInfo" :model="queryInfo" :inline="true"> |
| | | <el-tabs |
| | | v-model="activeName" |
| | | @tab-click="handleClick" |
| | | > |
| | | <el-tab-pane |
| | | :label="$t('operatManage.BWL.blackList')" |
| | | name="first" |
| | | > |
| | | <div |
| | | class="inquire subpage_Div" |
| | | ref="container" |
| | | > |
| | | <el-form |
| | | ref="queryInfo" |
| | | :model="queryInfo" |
| | | :inline="true" |
| | | > |
| | | <div class="flex_box"> |
| | | <div style="margin-right: auto"> |
| | | <el-form-item |
| | |
| | | v-model="queryInfo.ip" |
| | | :placeholder="$t('operatManage.BWL.blackListIPHolder')" |
| | | > |
| | | <i slot="suffix" class="el-icon-search" @click="queryBlackInfo"></i> |
| | | <i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="queryBlackInfo" |
| | | ></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item--> |
| | |
| | | type="success" |
| | | size="small" |
| | | @click="showInsertdialog(1)" |
| | | >{{ $t("common.append") }}</el-button |
| | | > |
| | | >{{ $t("common.append") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | type="danger" |
| | | size="small" |
| | | @click="delBWList" |
| | | >{{ $t("common.delete") }}</el-button |
| | | > |
| | | >{{ $t("common.delete") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | @click="resetInfo('queryInfo')" |
| | | icon="el-icon-refresh" |
| | | size="small" |
| | | >{{ $t("operatManage.BWL.reset") }}</el-button |
| | | > |
| | | >{{ $t("operatManage.BWL.reset") }}</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | <div class="table_box subpage_Div" :style="styleVar"> |
| | | <div |
| | | class="table_box subpage_Div" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | :data="BTableData" |
| | | border |
| | |
| | | style="width: 100%" |
| | | height="calc(100% - 45px)" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | type="index" |
| | |
| | | type="warning" |
| | | plain |
| | | size="small" |
| | | >{{ $t("common.update") }}</el-button |
| | | > |
| | | >{{ $t("common.update") }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div class="pagination_box" style="margin-top: 10px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 10px" |
| | | > |
| | | <el-pagination |
| | | @size-change="BhandleSizeChange" |
| | | @current-change="BhandleCurrentChange" |
| | |
| | | </div> |
| | | </div> |
| | | </el-tab-pane> |
| | | <el-tab-pane :label="$t('operatManage.BWL.whiteList')" name="second"> |
| | | <el-tab-pane |
| | | :label="$t('operatManage.BWL.whiteList')" |
| | | name="second" |
| | | > |
| | | <div class="inquire subpage_Div"> |
| | | <el-form ref="queryInfo" :model="queryInfo" :inline="true"> |
| | | <el-form |
| | | ref="queryInfo" |
| | | :model="queryInfo" |
| | | :inline="true" |
| | | > |
| | | <div class="flex_box"> |
| | | <div style="margin-right: auto"> |
| | | <el-form-item |
| | |
| | | v-model="queryInfo.ip" |
| | | :placeholder="$t('operatManage.BWL.whiteListIPHolder')" |
| | | > |
| | | <i slot="suffix" class="el-icon-search" @click="queryWhiteInfo"></i> |
| | | <i |
| | | slot="suffix" |
| | | class="el-icon-search" |
| | | @click="queryWhiteInfo" |
| | | ></i> |
| | | </el-input> |
| | | </el-form-item> |
| | | <!-- <el-form-item--> |
| | |
| | | icon="el-icon-edit" |
| | | v-if="menuStatus.insert" |
| | | @click="showInsertdialog(2)" |
| | | >{{ $t("common.append") }}</el-button |
| | | > |
| | | >{{ $t("common.append") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | icon="el-icon-delete" |
| | | v-if="menuStatus.delete" |
| | | @click="delBWList" |
| | | >{{ $t("common.delete") }}</el-button |
| | | > |
| | | >{{ $t("common.delete") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | |
| | | size="small" |
| | | ><i class="el-icon-delete"></i> {{ |
| | | $t("operatManage.BWL.reset") |
| | | }}</el-button |
| | | > |
| | | }}</el-button> |
| | | </el-form-item> |
| | | </div> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | <div class="table_box subpage_Div" :style="styleVar"> |
| | | <div |
| | | class="table_box subpage_Div" |
| | | :style="styleVar" |
| | | > |
| | | <el-table |
| | | :data="WTableData" |
| | | border |
| | |
| | | style="width: 100%" |
| | | height="calc(100% - 45px)" |
| | | > |
| | | <el-table-column type="selection" width="55" /> |
| | | <el-table-column |
| | | type="selection" |
| | | width="55" |
| | | /> |
| | | <el-table-column |
| | | align="center" |
| | | type="index" |
| | |
| | | type="warning" |
| | | plain |
| | | size="small" |
| | | >{{ $t("common.update") }}</el-button |
| | | > |
| | | >{{ $t("common.update") }}</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | |
| | | <div class="pagination_box" style="margin-top: 10px"> |
| | | <div |
| | | class="pagination_box" |
| | | style="margin-top: 10px" |
| | | > |
| | | <el-pagination |
| | | @size-change="WhandleSizeChange" |
| | | @current-change="WhandleCurrentChange" |
| | |
| | | :before-close="handleClose" |
| | | > |
| | | |
| | | <el-form ref="insertform" :model="insertform" label-position="top"> |
| | | <el-form |
| | | ref="insertform" |
| | | :model="insertform" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label-width="formLabelWidth" |
| | | :label="$t('operatManage.tokentoolObj.ip')" |
| | |
| | | </el-form-item> |
| | | </el-form> |
| | | |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="insertFromDataClose">{{ |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="insertFromDataClose" |
| | | >{{ |
| | | $t("common.close") |
| | | }}</el-button> |
| | | <el-button @click="insertFromData" type="primary" size="small">{{ |
| | | <el-button |
| | | @click="insertFromData" |
| | | type="primary" |
| | | size="small" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | </div> |
| | |
| | | :visible.sync="updateFormdialog" |
| | | :before-close="handleCloseEdit" |
| | | > |
| | | <el-form ref="editfrom" :model="editfrom" label-position="top"> |
| | | <el-form-item :label-width="formLabelWidth" label="IP地址"> |
| | | <el-form |
| | | ref="editfrom" |
| | | :model="editfrom" |
| | | label-position="top" |
| | | > |
| | | <el-form-item |
| | | :label-width="formLabelWidth" |
| | | label="IP地址" |
| | | > |
| | | <el-input |
| | | v-model="editfrom.ip" |
| | | :placeholder="$t('common.pleaseInput')" |
| | | style="width:85%" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item :label-width="formLabelWidth" label="访问次数"> |
| | | <el-form-item |
| | | :label-width="formLabelWidth" |
| | | label="访问次数" |
| | | > |
| | | <el-input |
| | | v-model="editfrom.visit" |
| | | :placeholder="$t('common.pleaseInput')" |
| | | style="width:85%" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item :label-width="formLabelWidth" label="描述"> |
| | | <el-form-item |
| | | :label-width="formLabelWidth" |
| | | label="描述" |
| | | > |
| | | <el-input |
| | | v-model="editfrom.descr" |
| | | :placeholder="$t('common.pleaseInput')" |
| | |
| | | /> |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer"> |
| | | <el-button size="small" @click="editFromDataClose">{{ |
| | | <div |
| | | slot="footer" |
| | | class="dialog-footer" |
| | | > |
| | | <el-button |
| | | size="small" |
| | | @click="editFromDataClose" |
| | | >{{ |
| | | $t("common.close") |
| | | }}</el-button> |
| | | <el-button @click="editFromData" type="primary" size="small">{{ |
| | | <el-button |
| | | @click="editFromData" |
| | | type="primary" |
| | | size="small" |
| | | >{{ |
| | | $t("common.confirm") |
| | | }}</el-button> |
| | | </div> |
| | |
| | | var s = time.getSeconds(); |
| | | return ( |
| | | y + "-" + this.add0(m) + "-" + this.add0(d) |
| | | // " " + |
| | | // this.add0(h) + |
| | | // ":" + |
| | | // this.add0(mm) + |
| | | // ":" + |
| | | // this.add0(s) |
| | | |
| | | ); |
| | | }, |
| | | //格式化列表 |