会议选人

This commit is contained in:
wyw 2024-09-13 09:25:52 +08:00
parent f4207282b6
commit b2f832612c

View File

@ -93,7 +93,7 @@
<query-selector :multiple="selectorInfo.isMultiple" :show="selectorInfo.showPopup"
:defaultChecked="selectorInfo.defaultChecked" :title="selectorInfo.title" :lists="selectorInfo.dataLists"
@search="handleSearch" @select="handleSelected" @close="selectorInfo.showPopup=false" />
@search="handleSearch" @select="handleSelected" @close="selectorInfo.showPopup=false" :total="selectorInfo.totalCount" />
<u-datetime-picker :show="dateTimePickerInfo.showCheckDate" mode="datetime"
v-model='dateTimePickerInfo.defaultDateTime' @confirm="handleCheckDate"
@close="dateTimePickerInfo.showCheckDate = false"
@ -132,7 +132,8 @@
} from '../../../../services/apply/subPages/SCMT/meeting'
import {
OrderPagedUseful2
OrderPagedUseful2,
UserPagedLimit
} from '../../../../services/common'
import {
@ -229,6 +230,7 @@
name: '',
itemData: {},
index: 0,
totalCount:0,
dataLists: [],
defaultText: '',
defaultValue: '',
@ -621,17 +623,40 @@
break;
case 'UserHost':
case 'UserRecorder':
OrderPagedUseful2(json).then(res => {
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 => {