|
|
|
@ -125,7 +125,6 @@
|
|
|
|
|
id: props.columns?.id || 0
|
|
|
|
|
}).then(res => {
|
|
|
|
|
createMessage.success(res.message)
|
|
|
|
|
if (res.data) vid.value = res.data
|
|
|
|
|
emits('updateCol', TableColDragRef.value.getColList())
|
|
|
|
|
if (!b) visible.value = false
|
|
|
|
|
})
|
|
|
|
@ -142,9 +141,11 @@
|
|
|
|
|
showNumCol: checked.value
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
if (vid.value) Apidata.id = vid.value
|
|
|
|
|
editColumnSet(Object.assign(Apidata, permissionsInfo())).then((res) => {
|
|
|
|
|
loading.value = false
|
|
|
|
|
createMessage.success(res.message)
|
|
|
|
|
if (res.data) vid.value = res.data
|
|
|
|
|
emits('updateCol', TableColDragRef.value.colData)
|
|
|
|
|
if (!b) visible.value = false
|
|
|
|
|
}).catch(() => {
|
|
|
|
|