提交 88b04e0c 编写于 作者: yi.li's avatar yi.li

样式优化

上级 6036d05a
...@@ -431,6 +431,7 @@ ...@@ -431,6 +431,7 @@
this.patientsData = [] this.patientsData = []
} }
}) })
}, },
getSex(){ getSex(){
this.patientsData.forEach((item,index)=>{ this.patientsData.forEach((item,index)=>{
...@@ -478,14 +479,17 @@ ...@@ -478,14 +479,17 @@
handleSizeChangePre(val) { handleSizeChangePre(val) {
this.paginationSet.pageSize = val; this.paginationSet.pageSize = val;
this.getPatientsList(); this.getPatientsList();
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
}, },
searchHandler() { searchHandler() {
this.paginationSet.pageNum = 1; this.paginationSet.pageNum = 1;
this.getPatientsList(); this.getPatientsList();
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
}, },
resetData(formName) { resetData(formName) {
this.$refs[formName].resetFields(); this.$refs[formName].resetFields();
this.getPatientsList(); this.getPatientsList();
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
}, },
goAddPatient() { goAddPatient() {
// this.$router.push({ // this.$router.push({
...@@ -498,6 +502,7 @@ ...@@ -498,6 +502,7 @@
handleReload() { handleReload() {
this.paginationSet.pageNum = 1; this.paginationSet.pageNum = 1;
this.getPatientsList(); this.getPatientsList();
this.$refs.multipleTable.bodyWrapper.scrollTop = 0;
this.showReloadModal = false; this.showReloadModal = false;
}, },
ageDate(val){ ageDate(val){
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册