Commit 0abb4323 authored by zhengke's avatar zhengke

修改

parent 841e4d69
<template> <template>
<div> <div>
<el-input size="mini" v-model="msg.Name" placeholder="根据名称搜索" :clearable="true" @clear="getList" <el-input size="mini" v-model="msg.Name" placeholder="根据名称搜索" :clearable="true" @clear="msg.pageIndex=1,getList()"
@keyup.enter.native="getList"> @keyup.enter.native="msg.pageIndex=1,getList()">
<el-button slot="append" @click="getList">搜索</el-button> <el-button slot="append" @click="msg.pageIndex=1,getList()">搜索</el-button>
</el-input> </el-input>
<el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" height="450" style="width: 100%" <el-table ref="multipleTable" :data="dataList" tooltip-effect="dark" height="450" style="width: 100%"
@selection-change="handleSelectionChange"> @selection-change="handleSelectionChange">
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
this.dataList = res.data.data.pageData; this.dataList = res.data.data.pageData;
console.log(this.dataList,'this.dataList');
} else { } else {
this.Info(res.data.message); this.Info(res.data.message);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment