@ -61,7 +61,7 @@
return {
currentPage: 1, //初始页
pageSize: 10, // 每页的数据
pageSizeArr: [10, 20, 30, 50],
pageSizeArr: [2,5,10],
searchKey: '',
total: 0,
tableData: [],
@ -103,10 +103,10 @@
var params = {
code: this.code,
size: this.currentPage*this.pageSize,
page: this.currentPage
page: 1
}
if (this.searchKey) {
params.filters = "code?" + this.searchKey + " ;hashCode?" + this.searchKey + ";desc?" + this.searchKey
params.filters = " code?" + this.searchKey +";value?" + this.searchKey
GlobalEventBus.$emit('setLoading', {
loading: true
@ -73,7 +73,7 @@ Vue.component('comA', {
time: this.value4.format('yyyy-MM-dd'),
size: this.pageSize*this.currentPage,
@ -173,7 +173,7 @@ Vue.component('comB', {
hosLevel: this.level,
hosHierarchy: this.hos,
@ -84,7 +84,7 @@ Vue.component('comC', {
month: this.value4.format('yyyy-MM'),
page: this.currentPage,
page: 1,
inspect: this.inspect,
@ -137,7 +137,7 @@ Vue.component('comD', {
drugName: $('#dataArr').val(),
eventType: this.eventType,
size: this.pageSize * this.currentPage,