diff --git a/pages/apply/subPages/SCMT/meeting.vue b/pages/apply/subPages/SCMT/meeting.vue index e282acd..8d46352 100644 --- a/pages/apply/subPages/SCMT/meeting.vue +++ b/pages/apply/subPages/SCMT/meeting.vue @@ -93,7 +93,7 @@ + @search="handleSearch" @select="handleSelected" @close="selectorInfo.showPopup=false" :total="selectorInfo.totalCount" /> { - if (res.IsSuccessful) { - this.selectorInfo.dataLists = res.Data.map(i => { - return { - ...i, - name: i.NAME, - code: i.CODE - } - }) - } + + // OrderPagedUseful2(json).then(res => { + // if (res.IsSuccessful) { + // this.selectorInfo.dataLists = res.Data.map(i => { + // return { + // ...i, + // name: i.NAME, + // code: i.CODE + // } + // }) + // } + // }) + + json.PageIndex = pageIndex ?? 1 + json.Limit = 20 + json.Sort = 'NAME' + if (p.pageIndex) { + json.Start = (p.pageIndex - 1) * json.Limit; + } + + // let dataSelect = [] + UserPagedLimit(json).then(res => { + this.selectorInfo.totalCount = res.TotalCount + this.selectorInfo.dataLists = res.Data.map(i => { + return { + ...i, + name: i.NAME, + code: i.CODE + } + }) }) + + + break; case 'CONTENT': OrderPagedContentName(json).then(res => {