mirror of https://gitee.com/xiaonuobase/snowy
parent
66df79746f
commit
c5ae8971e7
|
@ -58,7 +58,7 @@
|
|||
})
|
||||
|
||||
// 请求数据
|
||||
const onPage = (param) => {
|
||||
const onPage = (param = {}) => {
|
||||
if (props.pageFunction) {
|
||||
initParams.value = param
|
||||
initParams.value.size = props.pageSize
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue