【更新】修改分页下拉框组件参数属性以及人员管理两个地方的参数取消

pull/128/head v2.2.13
小诺 2023-07-07 23:24:25 +08:00 committed by 俞宝山
parent 66df79746f
commit c5ae8971e7
3 changed files with 5 additions and 11 deletions

View File

@ -58,7 +58,7 @@
})
//
const onPage = (param) => {
const onPage = (param = {}) => {
if (props.pageFunction) {
initParams.value = param
initParams.value.size = props.pageSize

View File

@ -426,10 +426,7 @@
orgId: orgId
}
xnPositionPageSelectRef.value.onPage(xnPositionPageSelectParam)
const xnUserPageSelectParam = {
orgId: orgId
}
xnUserPageSelectRef.value.onPage(xnUserPageSelectParam)
xnUserPageSelectRef.value.onPage()
//
if (type === 0) {
formData.value.positionId = undefined
@ -520,7 +517,7 @@
}
formLoading.value = true
bizUserApi
.submitForm(formDatas, !formDatas.id)
.submitForm(formDatas, formDatas.id)
.then(() => {
onClose()
emit('successful')

View File

@ -429,10 +429,7 @@
orgId: orgId
}
xnPositionPageSelectRef.value.onPage(xnPositionPageSelectParam)
const xnUserPageSelectParam = {
orgId: orgId
}
xnUserPageSelectRef.value.onPage(xnUserPageSelectParam)
xnUserPageSelectRef.value.onPage()
//
if (type === 0) {
formData.value.positionId = undefined
@ -524,7 +521,7 @@
}
formLoading.value = true
userApi
.submitForm(formDatas, !formDatas.id)
.submitForm(formDatas, formDatas.id)
.then(() => {
onClose()
emit('successful')