| | |
| | | :placeholder="$t('operatManage.BWL.interceptionNumber')" |
| | | /> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | type="info" |
| | | @click="resetInfo('queryInfo')" |
| | | icon="el-icon-refresh" |
| | | size="small" |
| | | >{{ $t("operatManage.BWL.reset") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | type="primary" |
| | | @click="queryBlackInfo()" |
| | |
| | | >{{ $t("operatManage.BWL.search") }} |
| | | </el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | type="info" |
| | | @click="resetInfo('queryInfo')" |
| | | icon="el-icon-refresh" |
| | | size="small" |
| | | >{{ $t("operatManage.BWL.reset") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button |
| | | icon="el-icon-edit" |
| | | v-if="menuStatus.insert" |
| | | type="success" |
| | | size="small" |
| | | @click="showInsertdialog(1)" |
| | | >{{ $t("common.append") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | icon="el-icon-delete" |
| | | v-if="menuStatus.delete" |
| | |
| | | size="small" |
| | | @click="delBWList" |
| | | >{{ $t("common.delete") }}</el-button> |
| | | </el-form-item> |
| | | <el-form-item style="float:right"> |
| | | <el-button |
| | | icon="el-icon-edit" |
| | | v-if="menuStatus.insert" |
| | | type="success" |
| | | size="small" |
| | | @click="showInsertdialog(1)" |
| | | >{{ $t("common.append") }}</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | |
| | | @size-change="BhandleSizeChange" |
| | | @current-change="BhandleCurrentChange" |
| | | :current-page="BListData.pageIndex" |
| | | :page-sizes="[10, 20, 30, 40]" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-size="BListData.pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="Bcount" |
| | |
| | | @size-change="WhandleSizeChange" |
| | | @current-change="WhandleCurrentChange" |
| | | :current-page="WListData.pageIndex" |
| | | :page-sizes="[10, 20, 30, 40]" |
| | | :page-sizes="[10, 20, 50, 100]" |
| | | :page-size="WListData.pageSize" |
| | | layout="total, sizes, prev, pager, next, jumper" |
| | | :total="Wcount" |
| | |
| | | std.push(this.multipleSelection[i].id); |
| | | } |
| | | //deletes |
| | | const data = await deletelacklist({ ids: std.toString() }); |
| | | if (data.code == 200) { |
| | | this.$confirm('此操作将永久删除该名单, 是否继续?', '提示', { |
| | | confirmButtonText: '确定', |
| | | cancelButtonText: '取消', |
| | | type: 'warning' |
| | | }).then(async () => { |
| | | const data = await deletelacklist({ ids: std.toString() }); |
| | | if (data.code == 200) { |
| | | this.InsertFormdialog = false; |
| | | this.$message({ |
| | | message: '删除成功!', |
| | | type: 'success', |
| | | }); |
| | | this.BGetList(); |
| | | this.WGetList(); |
| | | } else { |
| | | this.$message({ |
| | | message: '删除失败!', |
| | | type: 'warning', |
| | | }); |
| | | } |
| | | }).catch(() => { |
| | | this.$message({ |
| | | message: "删除成功!", |
| | | type: "success", |
| | | type: 'info', |
| | | message: '已取消删除' |
| | | }); |
| | | this.BGetList(); |
| | | this.WGetList(); |
| | | } else { |
| | | this.$message({ |
| | | message: "删除失败!", |
| | | type: "warning", |
| | | }); |
| | | } |
| | | }); |
| | | // const data = await deletelacklist({ ids: std.toString() }); |
| | | // if (data.code == 200) { |
| | | // this.$message({ |
| | | // message: "删除成功!", |
| | | // type: "success", |
| | | // }); |
| | | // this.BGetList(); |
| | | // this.WGetList(); |
| | | // } else { |
| | | // this.$message({ |
| | | // message: "删除失败!", |
| | | // type: "warning", |
| | | // }); |
| | | // } |
| | | }, |
| | | blackSelectionChange(val) { |
| | | this.multipleSelection = val; |