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

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) { if (props.pageFunction) {
initParams.value = param initParams.value = param
initParams.value.size = props.pageSize initParams.value.size = props.pageSize

View File

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

View File

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