提交 b0229d66 编写于 作者: huangwensu's avatar huangwensu

页面优化

上级 2b95cb0f
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
<!-- 将手机号加入黑名单 --> <!-- 将手机号加入黑名单 -->
<el-dialog <el-dialog
title="提示" title="添加手机号进黑名单"
:visible.sync="addDialogVisible" :visible.sync="addDialogVisible"
width="30%" width="30%"
center> center>
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
</el-dialog> </el-dialog>
<!-- 从黑名单移除二次确认 --> <!-- 从黑名单移除二次确认 -->
<el-dialog <el-dialog
title="提" title="提"
:visible.sync="removeDialogVisible" :visible.sync="removeDialogVisible"
width="30%" width="30%"
center> center>
...@@ -77,7 +77,7 @@ ...@@ -77,7 +77,7 @@
</el-dialog> </el-dialog>
<!-- 批量导入 --> <!-- 批量导入 -->
<el-dialog <el-dialog
title="提示" title="批量导入黑名单"
:visible.sync="importDialogVisible" :visible.sync="importDialogVisible"
width="30%" width="30%"
center> center>
...@@ -215,6 +215,8 @@ export default { ...@@ -215,6 +215,8 @@ export default {
// 新增黑名单 // 新增黑名单
addBlackList() { addBlackList() {
this.addDialogVisible = true; this.addDialogVisible = true;
this.addParam.mobilePhone = '';
this.addParam.remark = '';
}, },
confirmAdd() { confirmAdd() {
let req = this.addParam; let req = this.addParam;
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
</div> </div>
<!-- 将手机号加入假空号 --> <!-- 将手机号加入假空号 -->
<el-dialog <el-dialog
title="提示" title="添加手机号进假空号"
:visible.sync="addDialogVisible" :visible.sync="addDialogVisible"
width="30%" width="30%"
center> center>
...@@ -65,11 +65,11 @@ ...@@ -65,11 +65,11 @@
</el-dialog> </el-dialog>
<!-- 从假空号移除二次确认 --> <!-- 从假空号移除二次确认 -->
<el-dialog <el-dialog
title="提" title="提"
:visible.sync="removeDialogVisible" :visible.sync="removeDialogVisible"
width="30%" width="30%"
center> center>
<span>您确定将{{removeTel}}移除假空号</span> <span>您确定将{{removeTel}}假空号移除</span>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button @click="removeDialogVisible = false">取 消</el-button> <el-button @click="removeDialogVisible = false">取 消</el-button>
<el-button type="primary" @click="confirmRemove">确 定</el-button> <el-button type="primary" @click="confirmRemove">确 定</el-button>
...@@ -77,12 +77,12 @@ ...@@ -77,12 +77,12 @@
</el-dialog> </el-dialog>
<!-- 批量导入 --> <!-- 批量导入 -->
<el-dialog <el-dialog
title="提示" title="批量导入假空号"
:visible.sync="importDialogVisible" :visible.sync="importDialogVisible"
width="30%" width="30%"
center> center>
<el-form ref="importForm" :model="searchParam" label-suffix=":" style="width:100%;"> <el-form ref="importForm" :model="searchParam" label-suffix=":" style="width:100%;">
<el-form-item label="上传文件"> <el-form-item label="请选择上传文件">
<el-upload <el-upload
class="upload-demo" class="upload-demo"
accept=".xlsx" accept=".xlsx"
...@@ -145,12 +145,10 @@ export default { ...@@ -145,12 +145,10 @@ export default {
}, },
methods: { methods: {
search(param) { search(param) {
openLoading(this);
if(param) this.searchParam.pageNo = 1; if(param) this.searchParam.pageNo = 1;
getData(this, getData(this,
"get", `/riskcontrol/emptyNumber/list?searchName=${this.searchParam.searchName}&pageNo=${this.searchParam.pageNo}&pageSize=${this.searchParam.pageSize}`, {}, "get", `/riskcontrol/emptyNumber/list?searchName=${this.searchParam.searchName}&pageNo=${this.searchParam.pageNo}&pageSize=${this.searchParam.pageSize}`, {},
data => { data => {
closeLoading(this);
this.tableData = data.data.blackListResps; this.tableData = data.data.blackListResps;
this.totalRows = data.data.total; this.totalRows = data.data.total;
} }
...@@ -159,6 +157,8 @@ export default { ...@@ -159,6 +157,8 @@ export default {
// 新增假空号 // 新增假空号
addBlackList() { addBlackList() {
this.addDialogVisible = true; this.addDialogVisible = true;
this.addParam.mobilePhone = '';
this.addParam.remark = '';
}, },
confirmAdd() { confirmAdd() {
let req = this.addParam; let req = this.addParam;
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</div> </div>
<!-- 调整风险定级 --> <!-- 调整风险定级 -->
<el-dialog <el-dialog
title="提示" title="变更风险定级"
:visible.sync="changeDialogVisible" :visible.sync="changeDialogVisible"
width="30%" width="30%"
center> center>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册