提交 3586e74b 编写于 作者: zhentian.jia's avatar zhentian.jia

数据调整优化

上级 bf41a069
......@@ -268,7 +268,7 @@ export default {
pageSize: 10
}
);
vm.search();
// vm.search();
},
handleSizeChange(val) {
console.log(`每页 ${val} 条`);
......
......@@ -193,8 +193,12 @@ export default {
mounted: function() {
//父组件传值
this.$on("search", () => {
this.search();
this.lookedDoctor = [];
this.changedDoctor = [];
this.changedDoctor2 = [];
this.resetForm();
this.$refs.multipleTable.clearSelection();
this.search();
});
},
methods: {
......@@ -298,8 +302,9 @@ export default {
vm.formData = Object.assign(
{},
{
record: "",
mathStatus: ""
achievementStatus: "",
status: 1,
pageNo: 1,
}
);
},
......
......@@ -364,7 +364,7 @@ export default {
this.optionsRegion = operationData.setRegionOption(
res.data.provinceList
);
console.log("this.optionsRegion", this.optionsRegion);
// console.log("this.optionsRegion", this.optionsRegion);
}
});
},
......
......@@ -150,7 +150,7 @@ export default {
pageSize: 10,
}
);
vm.search();
// vm.search();
},
// 更改数据显示数量
handleSizeChange(val) {
......
......@@ -30,7 +30,7 @@
</el-col>
<el-col :span="12" style="padding:0;text-align:right;padding-right:15px;">
<el-button type="primary" size="small" @click="searchData()">查询</el-button>
<el-button type="default" size="small" @click="resetMessage" style="margin-left:0;">重置</el-button>
<el-button type="default" size="small" @click="resetForm()" style="margin-left:0;">重置</el-button>
</el-col>
</el-form>
</el-row>
......@@ -153,12 +153,14 @@ export default {
});
},
// 重置搜索信息
resetMessage() {
resetForm() {
this.formData = {
status: "",
name: ""
name: "",
pageNo: 1, //当前是第几页
pageSize: 10 //页面总数
};
vm.search();
// vm.search();
},
// 更改数据显示数量
handleSizeChange(val) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册